← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 143 · 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.True or false: strong colour contrast is good button design. (a) False (b) True
  2. 2.🖼️ How many parts (boxes) does this wireframe have?
    [ Add button ]
    [ list of items ]
    [ Save button ]
    [ tab bar ]
    [ big picture ]
    [ search box ]
  3. 3.🧰 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(11));
  4. 4.Which colour pair is easy to read? (a) red on green (b) dark blue on white (c) yellow on white (d) pale pink on white
  5. 5.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    no quiet study place: 13 votes
    forgetting homework: 20 votes
    forgetting birthdays: 4 votes
    (a) no quiet study place (b) forgetting birthdays (c) forgetting homework
  6. 6.♿ A screen has 8 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
  7. 7.🗒️ The first small, working version of an app is often called an ___. (a) URL (b) MVP (c) CPU (d) FAQ
  8. 8.🗒️ Version 1 of a homework planner must be ready in 13 days. How many days are left for extras after the must-haves?
    add a homework task: 4 days
    set a due date: 1 days
    see tasks by day: 5 days
  9. 9.🔁 What number does this code show?
    let scores = [5, 16, 17, 5];
    let best = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] > best) {
        best = scores[i];
      }
    }
    show(best);
  10. 10.Which of these is an input? (a) tap to Send (b) a slider for volume (c) your saved notes (d) the game-over page
  11. 11.🔍 Which is the odd one out? (a) fast-flashing lights (b) tiny tap areas (c) icons with no labels (d) big touch targets
  12. 12.🔁 A loop over a list of 5 items runs its body how many times? (a) 6 (b) 4 (c) 5 (d) 1
  13. 13.True or false: a wireframe shows the real fonts. (a) True (b) False
  14. 14.🗂️ What kind of app is a racing challenge? (a) a health app (b) a tool app (c) a learning app (d) a game
  15. 15.🔁 What number does this code show?
    let scores = [77, 38, 77];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  16. 16.🔁 What number does this code show?
    let runs = [64, 94, 31];
    let count = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] >= 50) {
        count = count + 1;
      }
    }
    show(count);
  17. 17.🔘 Our rule: buttons are at least 48 px tall. The Done button is 32 px tall. How many px taller must it be?
  18. 18.Which of these is true of a website? (a) has a home-screen icon (b) is installed on a phone (c) has a web address (d) comes from an app store
  19. 19.🎯 Why learn about users before you build? (a) to build what they need (b) to pick a logo (c) to slow it down (d) to make it longer
  20. 20.🖼️ In this wireframe (top to bottom), what is right below the Save button?
    [ list of items ]
    [ Save button ]
    [ filter buttons ]
    [ big picture ]
    [ top bar ]
    (a) list of items (b) filter buttons (c) top bar (d) big picture
  21. 21.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
    function price(age) {
      if (age < 10) {
        return 50;
      }
      return 100;
    }
    Test 1: price(7) → expected 50
    Test 2: price(10) → expected 100
    Test 3: price(12) → expected 100
  22. 22.Which colour pair is easy to read? (a) pale pink on white (b) light grey on white (c) yellow on white (d) white on dark green
  23. 23.💾 What number does this code show?
    let score = 6;
    score = score - 5;
    score = score + 3;
    show(score);
  24. 24.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Order Snacks
    [button] Help
    [button] Send
    [slider] Volume
    [text box] Subject
    [switch] Sound
  25. 25.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 1, 2, 3 (b) 0, 1, 2 (c) 3 (d) 0, 1, 2, 3
  26. 26.🔢 In a sign-up flow, which comes LAST? (a) type name and email (b) see the home screen (c) enter the code sent (d) tap “Sign up”
  27. 27.🗒️ A to-do app with no “add a task” feature is ___. (a) ready to release (b) well planned (c) a nice extra (d) missing a must-have
  28. 28.True or false: a website is installed on a phone. (a) False (b) True
  29. 29.🧩 How many buttons does this app screen have?
    [title] Edit Profile
    [button] Start
    [switch] Remind me
    [text box] Phone
  30. 30.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Help button: 52 px tall
    Save button: 56 px tall
    Start button: 36 px tall
    (a) Help (b) Start (c) Save
  31. 31.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let score = 40; // start at 40
    line 2: score = score + 2; // double it
    line 3: score = score + 3; // add 3
    line 4: show(score); // show it
  32. 32.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
    function price(age) {
      if (age < 8) {
        return 50;
      }
      return 100;
    }
    Test 1: price(14) → expected 100
    Test 2: price(16) → expected 100
    Test 3: price(6) → expected 50
  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(10) → expected 100
    Test 2: price(11) → expected 100
    Test 3: price(7) → expected 50
  34. 34.🗒️ Version 1 of a water reminder must be ready in 13 days. How many days are left for extras after the must-haves?
    set a reminder time: 1 days
    log a glass of water: 2 days
    see today’s total: 4 days
  35. 35.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money spent (b) show the balance (c) pie-chart colours (d) add money received
  36. 36.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) show arrival time (b) see where the bus is (c) a dark mode (d) pick your bus stop
  37. 37.True or false: a date picker is a screen. (a) True (b) False
  38. 38.🔀 What number does this shop app show?
    let total = 210;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  39. 39.True or false: a pocket-money tracker is the best fit for a reader who finds small print hard. (a) True (b) False
  40. 40.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) log a glass of water (b) see today’s total (c) share your streak (d) set a reminder time

Answer key

  1. True
  2. 6
  3. 20
  4. dark blue on white
  5. forgetting homework
  6. 6
  7. MVP
  8. 3
  9. 17
  10. a slider for volume
  11. big touch targets
  12. 5
  13. False
  14. a game
  15. 2
  16. 2
  17. 16
  18. has a web address
  19. to build what they need
  20. filter buttons
  21. 3
  22. white on dark green
  23. 4
  24. 3
  25. 0, 1, 2
  26. see the home screen
  27. missing a must-have
  28. False
  29. 1
  30. Start
  31. 83
  32. 3
  33. 3
  34. 6
  35. pie-chart colours
  36. a dark mode
  37. False
  38. 210
  39. False
  40. share your streak

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