← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 44 · 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 should nice-to-have features be built? (a) before anything (b) never (c) on day one (d) after the must-haves
  2. 2.True or false: the user taps Play is a tap event. (a) True (b) False
  3. 3.True or false: how fast a task is done is about UI (the look). (a) True (b) False
  4. 4.🖼️ In this wireframe (top to bottom), what is right above the title text?
    [ menu icon ]
    [ Add button ]
    [ title text ]
    [ search box ]
    (a) Add button (b) search box (c) menu icon
  5. 5.🔀 What does this PIN rule show?
    let pin = "2042";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  6. 6.🔔 What is a message an app shows on your lock screen called? (a) a notification (b) a web address (c) a variable (d) a wireframe
  7. 7.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Start button: 40 px tall
    Save button: 56 px tall
    Send button: 52 px tall
    (a) Start (b) Send (c) Save
  8. 8.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Menu → Offers → Results
    Design B: Home → Shop → Menu
    (a) Design B (b) Design A
  9. 9.🧪 A test fails when ___. (a) the app is new (b) both are the same (c) the font is big (d) actual is not expected
  10. 10.🚀 Your app is at version 1.10.6. The next release is a big redesign that changes how the app works. What is its version number? (a) 2.0.0 (b) 1.11.0 (c) 1.10.7 (d) 1.11.6
  11. 11.🔢 After an app is released, which comes first: “test it again” or “read user reviews”? (a) read user reviews (b) test it again
  12. 12.🧪 What is the actual result of a test? (a) what we hope for (b) the app’s name (c) the test’s number (d) what the app really does
  13. 13.⚙️ In an app, is a result on screen an input, processing or an output? (a) input (b) processing (c) output
  14. 14.🔍 Which is the odd one out? (a) add the buttons (b) write the code (c) spot a problem to solve (d) connect the data
  15. 15.🧰 What does this code show?
    function greet(name) {
      return "Well done, " + name + "!";
    }
    show(greet("Zoya"));
    (a) Well done, Zoya! (b) Zoya (c) greet (d) Well done, name!
  16. 16.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ Add button ]
    [ filter buttons ]
    [ menu icon ]
    [ list of items ]
    [ tab bar ]
    (a) tab bar (b) menu icon (c) filter buttons (d) Add button
  17. 17.🧩 Which of these is a button on this screen?
    [title] Add Homework
    [text box] Email
    [switch] Dark mode
    [button] Cancel
    [text box] Due date
    [button] Done
    [button] Next
    (a) Dark mode (b) Due date (c) Next (d) Email
  18. 18.True or false: “sudden loud sounds” helps everyone use the app. (a) False (b) True
  19. 19.Which colour pair is hard to read? (a) black on yellow (b) yellow on white (c) white on dark green (d) white on black
  20. 20.Which of these happens at the idea stage? (a) talk to possible users (b) pick the features (c) try every button (d) sketch the screens
  21. 21.True or false: a wireframe has no real colours. (a) False (b) True
  22. 22.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(7));
  23. 23.🧰 What is a function? (a) a named block of code (b) a type of phone (c) a screen size (d) a list of colours
  24. 24.🎯 Is this a user need or a feature: “I forget my homework”? (a) a feature (b) a user need
  25. 25.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Offers → Search → Pay → Menu
    Design B: Home → Address → Shop
  26. 26.♿ A screen has 8 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
  27. 27.Which of these fits saving in the cloud? (a) a draft you are typing (b) your last game level (c) the sound on/off setting (d) a class leaderboard
  28. 28.👆 The user taps the button 6 times. What number does the label show now?
    let score = 4;
    button.onTap = function () {
      score = score + 4;
      label.text = score;
    };
  29. 29.True or false: a beep sound is an output. (a) False (b) True
  30. 30.Which of these is true of a final design? (a) is a quick sketch (b) uses plain grey boxes (c) looks like the real app (d) has no real colours
  31. 31.🔐 Is this permission request fair or too much: voice notes → microphone? (a) too much (b) fair
  32. 32.💾 Where should the app save your last game level: on the phone or in the cloud? (a) on the phone (b) in the cloud
  33. 33.🧪 How many of these test cases pass?
    🎟️ 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(12) → expected 100
    Test 2: price(5) → expected 50
    Test 3: price(11) → expected 100
  34. 34.🧪 What is the ACTUAL result of Test 2?
    🚚 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(500) → expected 0
    Test 2: delivery(600) → expected 0
    Test 3: delivery(450) → expected 40
  35. 35.🧩 Which of these is a button on this screen?
    [title] Sign Up
    [button] Done
    [text box] Due date
    [text box] Age
    (a) Age (b) Done (c) Due date
  36. 36.🔁 list.length tells you ___. (a) the biggest item (b) how many items it has (c) the first item (d) the last item
  37. 37.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a new feature (b) a new app (c) a bug fix (d) a big redesign
  38. 38.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let coins = 33; // start at 33
    line 2: coins = coins + 5; // take away 5
    line 3: coins = coins - 5; // take away 5
    line 4: coins = coins + 6; // add 6
    line 5: show(coins); // show it
  39. 39.🔍 Which is the odd one out? (a) list what users need (b) pick the features (c) spot a problem to solve (d) talk to possible users
  40. 40.💾 Where should the app save notes to read offline: on the phone or in the cloud? (a) in the cloud (b) on the phone

Answer key

  1. after the must-haves
  2. True
  3. False
  4. Add button
  5. PIN saved
  6. a notification
  7. Start
  8. Design B
  9. actual is not expected
  10. 2.0.0
  11. read user reviews
  12. what the app really does
  13. output
  14. spot a problem to solve
  15. Well done, Zoya!
  16. tab bar
  17. Next
  18. False
  19. yellow on white
  20. talk to possible users
  21. True
  22. 21
  23. a named block of code
  24. a user need
  25. 4
  26. 6
  27. a class leaderboard
  28. 28
  29. True
  30. looks like the real app
  31. fair
  32. on the phone
  33. 3
  34. 0
  35. Done
  36. how many items it has
  37. a bug fix
  38. 29
  39. pick the features
  40. on the phone

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