← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 993 · 40 questions
TalentJR

Developer's tip (Plan, design, build, check): Find the topic: what apps are, designing apps, or logic and building. Read every screen, list or code line carefully, top to bottom. For code, write each value down step by step and check it again.

NameDateTime takenScore ___ / 40
  1. 1.🔢 When you make an app, what comes right after “get an idea”? (a) test the app (b) plan the screens (c) build the app (d) release it
  2. 2.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 40; // typed by the user
    line 2: let qty = 3; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 4 (b) line 1 (c) line 2 (d) line 3
  3. 3.👆 The user taps the button 1 times. What does the label show now?
    let on = false;
    button.onTap = function () {
      on = !on;
      if (on) {
        label.text = "ON";
      } else {
        label.text = "OFF";
      }
    };
    (a) ON (b) OFF
  4. 4.🧩 Which input is best for typing your name? (a) a slider (b) a switch (c) a text box (d) a picture
  5. 5.💾 Which can hold many values in order? (a) a single number (b) a button (c) a switch (d) a list
  6. 6.Which of these is true of the back button? (a) switches main sections (b) opens a list of pages (c) sits at the bottom (d) goes to the last screen
  7. 7.Which of these is true of a website? (a) comes from an app store (b) has a home-screen icon (c) needs no installing (d) updates from the store
  8. 8.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let coins = 40; // start at 39
    line 2: coins = coins + 5; // add 5
    line 3: coins = coins + 5; // add 5
    line 4: show(coins); // show it
  9. 9.🔁 What number does this code show?
    let scores = [13, 19, 20];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  10. 10.🔀 What does >= mean? (a) less than (b) smaller or equal (c) not equal (d) greater than or equal
  11. 11.🔘 Our rule: buttons are at least 48 px tall. The Save button is 28 px tall. How many px taller must it be?
  12. 12.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    losing water bottles: 16 votes
    missing the bus: 4 votes
    forgetting homework: 8 votes
    (a) missing the bus (b) losing water bottles (c) forgetting homework
  13. 13.Which of these is true of a tab bar? (a) undoes one move (b) opens a list of pages (c) sits at the bottom (d) hides extra links
  14. 14.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(5) + points(2));
  15. 15.True or false: your high score is data. (a) True (b) False
  16. 16.🔀 A screen with no way forward or back is called a ___. (a) tab bar (b) dead end (c) shortcut (d) home screen
  17. 17.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) export to a file (b) add money received (c) savings stickers (d) pie-chart colours
  18. 18.⚙️ What number does this app show?
    let bill = 90; // typed by the user
    let friends = 2; // typed by the user
    let share = bill / friends;
    show(share);
  19. 19.💡 Which is a problem statement? (a) “Kids forget homework” (b) “Add a logo” (c) “Use blue buttons” (d) “Make it fast”
  20. 20.Which of these happens at the build stage? (a) spot a problem to solve (b) talk to possible users (c) connect the data (d) write the store text
  21. 21.Which of these is true of a tab bar? (a) goes to the last screen (b) opens a list of pages (c) hides extra links (d) switches main sections
  22. 22.🔍 Which is the odd one out? (a) text that can grow (b) labels on every icon (c) captions on videos (d) sudden loud sounds
  23. 23.True or false: a voice recorder needs your contacts. (a) True (b) False
  24. 24.Which of these is about UX (the experience)? (a) the button colours (b) the icon shapes (c) how users feel after (d) the font size
  25. 25.🔘 Is this good or poor button design: a clear word like Save? (a) poor design (b) good design
  26. 26.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    losing water bottles: 9 votes
    missing the bus: 24 votes
    forgetting birthdays: 22 votes
    (a) forgetting birthdays (b) missing the bus (c) losing water bottles
  27. 27.🎯 Who are the users of an app? (a) only the testers (b) only the coders (c) the app icons (d) the people who use it
  28. 28.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(85, 3));
  29. 29.🔢 In a photo-post flow, what comes right after “add a filter”? (a) write a caption (b) open the camera screen (c) post the photo (d) take the photo
  30. 30.🔢 When you make an app, which comes FIRST? (a) plan the screens (b) test the app (c) build the app (d) get an idea
  31. 31.🔀 What number does this shop app show?
    let total = 550;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  32. 32.True or false: a website comes from an app store. (a) True (b) False
  33. 33.✏️ Is this true of a wireframe or of a final design: has no real colours? (a) a final design (b) a wireframe
  34. 34.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
    function price(age) {
      if (age <= 14) {
        return 50;
      }
      return 100;
    }
    Test 1: price(14) → expected 100
    Test 2: price(16) → expected 100
    Test 3: price(11) → expected 50
    (a) Test 2 (b) Test 3 (c) Test 1
  35. 35.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a new app (b) a big redesign (c) a new feature (d) a bug fix
  36. 36.🔢 After an app is released, what comes right after “read user reviews”? (a) test it again (b) list what to fix (c) release an update (d) fix and improve
  37. 37.True or false: a switch for dark mode is data. (a) False (b) True
  38. 38.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 300) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(350) → expected 0
    Test 2: delivery(450) → expected 0
    Test 3: delivery(200) → expected 40
  39. 39.💡 Which app idea solves this problem: a patient misses doses? (a) a lost-and-found board (b) a medicine reminder (c) a study-room finder (d) a bill splitter
  40. 40.🎯 Which app would help this user most: a teen whose money runs out by Friday? (a) a pocket-money tracker (b) a recipe finder (c) a big-text reader (d) a water reminder

Answer key

  1. plan the screens
  2. line 3
  3. ON
  4. a text box
  5. a list
  6. goes to the last screen
  7. needs no installing
  8. 50
  9. 52
  10. greater than or equal
  11. 20
  12. losing water bottles
  13. sits at the bottom
  14. 80
  15. True
  16. dead end
  17. add money received
  18. 45
  19. “Kids forget homework”
  20. connect the data
  21. switches main sections
  22. sudden loud sounds
  23. False
  24. how users feel after
  25. good design
  26. missing the bus
  27. the people who use it
  28. 255
  29. write a caption
  30. get an idea
  31. 500
  32. False
  33. a wireframe
  34. Test 1
  35. a bug fix
  36. list what to fix
  37. False
  38. 3
  39. a medicine reminder
  40. a pocket-money tracker

Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students