← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 805 · 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.🔀 With if / else if / else, how many parts run? (a) two (b) none (c) all of them (d) only one
  2. 2.⚙️ Which line does the processing (works out the answer)?
    line 1: let bill = 144; // typed by the user
    line 2: let friends = 3; // typed by the user
    line 3: let share = bill / friends;
    line 4: show(share);
    (a) line 2 (b) line 1 (c) line 4 (d) line 3
  3. 3.Which of these is a screen? (a) a date picker (b) a box to type a name (c) the settings page (d) your saved notes
  4. 4.🧪 What is the ACTUAL result of Test 3?
    🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 400) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(600) → expected 0
    Test 2: delivery(400) → expected 0
    Test 3: delivery(250) → expected 40
  5. 5.🚀 Your app is at version 1.10.4. The next release adds a new feature. What is its version number? (a) 1.11.4 (b) 2.0.0 (c) 1.10.5 (d) 1.11.0
  6. 6.🔢 When you make an app, which comes FIRST? (a) get an idea (b) test the app (c) plan the screens (d) release it
  7. 7.🔍 Which is the odd one out? (a) a times-table quiz (b) a word battle (c) a flashcard trainer (d) a spelling coach
  8. 8.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) show a question (b) show the score (c) check the answer (d) background music
  9. 9.👥 A clinic app has 290 patients, 90 doctors and 140 nurses as users. Which user group is the biggest? (a) patients (b) doctors (c) nurses
  10. 10.♿ What does a screen reader do? (a) takes photos (b) makes text tiny (c) plays music (d) reads the screen aloud
  11. 11.True or false: “text that can grow” makes the app harder to use. (a) True (b) False
  12. 12.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ filter buttons ]
    [ search box ]
    [ title text ]
    [ menu icon ]
    [ list of items ]
    [ top bar ]
    (a) filter buttons (b) title text (c) list of items (d) top bar
  13. 13.Which of these is a user need? (a) “Small text is hard” (b) a dark mode switch (c) a reminder alarm (d) a search bar
  14. 14.♿ Does this help everyone, or make the app harder to use: text that can grow? (a) makes it harder (b) helps everyone
  15. 15.🧩 Which of these is a button on this screen?
    [title] New Note
    [button] Next
    [button] Send
    [text box] City
    [text box] Age
    [switch] Dark mode
    [button] Save
    (a) Dark mode (b) Next (c) City (d) Age
  16. 16.True or false: a water reminder is the best fit for a gamer who forgets to drink. (a) False (b) True
  17. 17.⚙️ In an app, is a beep sound an input, processing or an output? (a) processing (b) input (c) output
  18. 18.Which of these helps everyone use the app? (a) captions on videos (b) icons with no labels (c) colour as the only clue (d) tiny tap areas
  19. 19.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 500) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(700) → expected 0
    Test 2: delivery(850) → expected 0
    Test 3: delivery(300) → expected 40
  20. 20.🧪 What is the ACTUAL result of Test 2?
    🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
    function price(age) {
      if (age <= 9) {
        return 50;
      }
      return 100;
    }
    Test 1: price(5) → expected 50
    Test 2: price(14) → expected 100
    Test 3: price(13) → expected 100
  21. 21.👥 A cricket club app has 300 players, 225 coaches and 180 fans as users. Which user group is the biggest? (a) coaches (b) players (c) fans
  22. 22.📅 An app team plans for 4 days, builds for 9 days, tests for 3 days and releases on 1 more day. How many days does the whole project take?
  23. 23.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(24));
  24. 24.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 32; // start at 32
    line 2: score = score - 1; // take away 1
    line 3: score = score - 3; // add 3
    line 4: show(score); // show it
  25. 25.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 31; // start at 31
    line 2: score = score + 2; // double it
    line 3: score = score - 3; // take away 3
    line 4: show(score); // show it
  26. 26.💡 Does an app idea like a medicine reminder solve a real problem? (a) Yes (b) No
  27. 27.True or false: a torch is a tool app. (a) False (b) True
  28. 28.Which of these is a button? (a) your high score (b) a switch for dark mode (c) tap to Save (d) your friends list
  29. 29.🔁 list.length tells you ___. (a) the first item (b) the last item (c) how many items it has (d) the biggest item
  30. 30.🧪 One test case fails. Which one?
    🚚 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(100) → expected 40
    Test 2: delivery(350) → expected 0
    Test 3: delivery(300) → expected 0
    (a) Test 1 (b) Test 2 (c) Test 3
  31. 31.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Title: 18 px
    Hint: 12 px
    Body text: 18 px
  32. 32.True or false: checking a password is processing. (a) False (b) True
  33. 33.🔁 What number does this code show?
    let scores = [70, 89, 35, 31, 78];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 70) {
        count = count + 1;
      }
    }
    show(count);
  34. 34.True or false: how users feel after is about UX (the experience). (a) False (b) True
  35. 35.🗒️ When should nice-to-have features be built? (a) after the must-haves (b) before anything (c) never (d) on day one
  36. 36.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 30;
    }
    show(fee(5) + fee(6));
  37. 37.🖼️ In this wireframe (top to bottom), what is right below the menu icon?
    [ list of items ]
    [ title text ]
    [ menu icon ]
    [ tab bar ]
    [ big picture ]
    (a) tab bar (b) list of items (c) title text (d) big picture
  38. 38.🚀 Which of these versions is the NEWEST?
    2.23.2, 3.11.9, 3.15.7, 3.16.4
    (a) 2.23.2 (b) 3.16.4 (c) 3.11.9 (d) 3.15.7
  39. 39.🧩 How many buttons does this app screen have?
    [title] Settings
    [text box] Name
    [button] Cancel
    [text box] Phone
    [text box] Email
    [button] Back
  40. 40.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 20;
    }
    show(fee(2) + fee(2));

Answer key

  1. only one
  2. line 3
  3. the settings page
  4. 40
  5. 1.11.0
  6. get an idea
  7. a word battle
  8. background music
  9. patients
  10. reads the screen aloud
  11. False
  12. top bar
  13. “Small text is hard”
  14. helps everyone
  15. Next
  16. True
  17. output
  18. captions on videos
  19. 3
  20. 100
  21. players
  22. 17
  23. 48
  24. 28
  25. 30
  26. Yes
  27. True
  28. tap to Save
  29. how many items it has
  30. Test 3
  31. 1
  32. True
  33. 3
  34. True
  35. after the must-haves
  36. 60
  37. tab bar
  38. 3.16.4
  39. 2
  40. 0

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