← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 50 · 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.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) show arrival time (b) change the bus icon (c) see where the bus is (d) pick your bus stop
  2. 2.Which of these is true of a final design? (a) shows where things go (b) has no real colours (c) has the real colours (d) uses plain grey boxes
  3. 3.Which of these happens at the test stage? (a) spot a problem to solve (b) try every button (c) write the store text (d) share the download link
  4. 4.🔀 Which badge does this quiz app show?
    let marks = 57;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Bronze (b) Gold (c) Silver
  5. 5.🧪 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(10) → expected 50
    Test 3: price(20) → expected 100
    (a) Test 2 (b) Test 3 (c) Test 1
  6. 6.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Edit photo”
    2. tap the Feed tab
    3. open “Match report”
    4. open “Score card”
    How many times must you tap Back to reach the main screen of this tab?
  7. 7.🔀 What number does this shop app show?
    let total = 720;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  8. 8.Which of these is true of a website? (a) updates from the store (b) comes from an app store (c) is installed on a phone (d) opens in a web browser
  9. 9.True or false: “strong colour contrast” helps everyone use the app. (a) False (b) True
  10. 10.🎯 Is this a user need or a feature: “Small text is hard”? (a) a feature (b) a user need
  11. 11.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let points = 35; // start at 35
    line 2: points = points * 3; // double it
    line 3: points = points - 2; // take away 2
    line 4: points = points * 2; // double it
    line 5: show(points); // show it
  12. 12.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
    function price(age) {
      if (age <= 13) {
        return 50;
      }
      return 100;
    }
    Test 1: price(11) → expected 50
    Test 2: price(18) → expected 100
    Test 3: price(13) → expected 100
    (a) Test 3 (b) Test 1 (c) Test 2
  13. 13.🗒️ Why keep version 1 small? (a) to look bigger (b) to use up storage (c) to confuse users (d) to learn from users soon
  14. 14.🔁 What does a loop do? (a) repeats code (b) saves photos (c) draws icons (d) deletes code
  15. 15.🖼️ How many parts (boxes) does this wireframe have?
    [ menu icon ]
    [ Save button ]
    [ top bar ]
    [ big picture ]
    [ filter buttons ]
  16. 16.♿ Does this help everyone, or make the app harder to use: strong colour contrast? (a) makes it harder (b) helps everyone
  17. 17.🔀 Which badge does this quiz app show?
    let marks = 77;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Bronze (b) Silver (c) Gold
  18. 18.🧩 Which of these is a button on this screen?
    [title] New Note
    [button] Start
    [text box] Email
    (a) Email (b) Start
  19. 19.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 6 or more right answers.
    function result(right) {
      if (right > 6) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(7) → expected Pass
    Test 2: result(6) → expected Pass
    Test 3: result(5) → expected Try again
    (a) Test 3 (b) Test 1 (c) Test 2
  20. 20.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a new feature (b) a bug fix (c) a new app (d) a big redesign
  21. 21.🧰 What does return do in a function? (a) deletes the app (b) closes the screen (c) sends back a value (d) repeats the code
  22. 22.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let points = 48; // start at 46
    line 2: points = points + 3; // add 3
    line 3: points = points + 6; // add 6
    line 4: show(points); // show it
  23. 23.💡 Does an app idea like an app that just says hi solve a real problem? (a) No (b) Yes
  24. 24.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Feed tab
    2. open “Edit photo”
    3. open “Friend list”
    4. tap Back
    5. tap Back
    How many times must you tap Back to reach the main screen of this tab?
  25. 25.🔍 Which is the odd one out? (a) icons with no labels (b) colour as the only clue (c) fast-flashing lights (d) labels on every icon
  26. 26.True or false: a medicine reminder solves a real problem. (a) True (b) False
  27. 27.⚙️ What number does this app show?
    let price = 50; // typed by the user
    let qty = 3; // typed by the user
    let total = price * qty;
    show(total);
  28. 28.💾 Saving data in the cloud lets you ___. (a) skip the internet (b) shrink the app (c) never need a password (d) use it on any device
  29. 29.True or false: a final design shows where things go. (a) True (b) False
  30. 30.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(40, 6));
  31. 31.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “wasting pocket money”?
    wasting pocket money: 13 votes
    no quiet study place: 24 votes
    forgetting homework: 23 votes
  32. 32.True or false: a flashcard trainer is a learning app. (a) False (b) True
  33. 33.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(31));
  34. 34.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
    function price(age) {
      if (age < 13) {
        return 50;
      }
      return 100;
    }
    Test 1: price(13) → expected 100
    Test 2: price(17) → expected 100
    Test 3: price(10) → expected 50
  35. 35.👥 A clinic app has 75 patients, 115 doctors and 245 nurses as users. How many users does it have in all?
  36. 36.True or false: an app opens from a link. (a) True (b) False
  37. 37.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) a dark mode (b) pick your bus stop (c) show arrival time (d) see where the bus is
  38. 38.🔢 In a sign-up flow, which comes first: “open the app” or “see the home screen”? (a) see the home screen (b) open the app
  39. 39.🔁 What number does this code show?
    let marks = [19, 17, 6, 7, 9];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  40. 40.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) share your streak (b) see today’s total (c) water animations (d) custom alert sounds

Answer key

  1. change the bus icon
  2. has the real colours
  3. try every button
  4. Silver
  5. Test 1
  6. 2
  7. 670
  8. opens in a web browser
  9. True
  10. a user need
  11. 136
  12. Test 3
  13. to learn from users soon
  14. repeats code
  15. 5
  16. helps everyone
  17. Silver
  18. Start
  19. Test 2
  20. a bug fix
  21. sends back a value
  22. 55
  23. No
  24. 0
  25. labels on every icon
  26. True
  27. 150
  28. use it on any device
  29. False
  30. 240
  31. 10
  32. True
  33. 93
  34. 3
  35. 435
  36. False
  37. a dark mode
  38. open the app
  39. 19
  40. see today’s total

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