← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 534 · 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.✏️ Do wireframes usually show the final colours? (a) Yes (b) No
  2. 2.🔘 Our rule: buttons are at least 48 px tall. The Send button is 32 px tall. How many px taller must it be?
  3. 3.🗒️ Version 1 of a water reminder must be ready in 9 days. How many days are left for extras after the must-haves?
    set a reminder time: 1 days
    log a glass of water: 3 days
    see today’s total: 4 days
  4. 4.True or false: a recipe finder is the best fit for a reader who finds small print hard. (a) False (b) True
  5. 5.🧪 What is the ACTUAL result of Test 3?
    🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 800) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(600) → expected 40
    Test 2: delivery(850) → expected 0
    Test 3: delivery(800) → expected 0
  6. 6.🎨 Is this about UI or UX: how easy sign-up is? (a) UI (b) UX
  7. 7.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 3 (b) 1, 2, 3 (c) 0, 1, 2, 3 (d) 0, 1, 2
  8. 8.🎨 Who should you test the UX with? (a) the app icon (b) nobody (c) real users (d) only yourself
  9. 9.True or false: an app has a home-screen icon. (a) False (b) True
  10. 10.True or false: a bus tracker is the best fit for a student who often misses the school bus. (a) False (b) True
  11. 11.True or false: your friends list is data. (a) False (b) True
  12. 12.Which colour pair is hard to read? (a) white on dark green (b) black on pale grey (c) light grey on white (d) white on black
  13. 13.🔐 Is this permission request fair or too much: camera app → camera? (a) too much (b) fair
  14. 14.🧪 One test case fails. Which one?
    🚚 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(600) → expected 0
    Test 2: delivery(500) → expected 0
    Test 3: delivery(350) → expected 40
    (a) Test 2 (b) Test 3 (c) Test 1
  15. 15.🧩 How many buttons does this app screen have?
    [title] Edit Profile
    [switch] Remind me
    [text box] Notes
    [button] Done
    [text box] Due date
    [button] Send
  16. 16.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let points = 44; // start at 44
    line 2: points = points * 3; // double it
    line 3: points = points + 3; // add 3
    line 4: points = points - 4; // take away 4
    line 5: show(points); // show it
  17. 17.Which of these is true of a wireframe? (a) uses the final pictures (b) is a quick sketch (c) looks like the real app (d) shows the real fonts
  18. 18.🔁 What number does this code show?
    let runs = [3, 6, 3, 17];
    let best = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] > best) {
        best = runs[i];
      }
    }
    show(best);
  19. 19.Which of these requests asks for too much? (a) torch → contacts (b) voice notes → microphone (c) calling app → contacts (d) camera app → camera
  20. 20.📅 An app team plans for 3 days, builds for 6 days, tests for 1 days and releases on 1 more day. How many days does the whole project take?
  21. 21.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Friend list”
    2. tap Back
    3. tap the Lessons tab
    4. tap the Me tab
    5. tap the Lessons tab
    How many times must you tap Back to reach the main screen of this tab?
  22. 22.🔢 In a sign-up flow, which comes first: “tap “Sign up”” or “type name and email”? (a) type name and email (b) tap “Sign up”
  23. 23.🧩 In an app, what is tap to go Next? (a) data (b) an input (c) a button (d) a screen
  24. 24.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(32));
  25. 25.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) see where the bus is (b) pick your bus stop (c) show arrival time (d) change the bus icon
  26. 26.💾 Saving data in the cloud lets you ___. (a) never need a password (b) shrink the app (c) use it on any device (d) skip the internet
  27. 27.Which of these app ideas solves no real problem? (a) a medicine reminder (b) a page of random dots (c) a lost-and-found board (d) a free study-room finder
  28. 28.🔢 In a food-order flow, which comes first: “track the order” or “pay for the order”? (a) pay for the order (b) track the order
  29. 29.🎯 Which app would help this user most: a cook with no idea for dinner? (a) a big-text reader (b) a pocket-money tracker (c) a recipe finder (d) a homework planner
  30. 30.True or false: adding up a bill is processing. (a) True (b) False
  31. 31.🧑 Who is an app really made for? (a) its users (b) its icon (c) its charger (d) its coder only
  32. 32.🚀 Which of these versions is the OLDEST?
    0.22.5, 1.10.9, 1.4.9, 1.14.9
    (a) 1.14.9 (b) 1.10.9 (c) 1.4.9 (d) 0.22.5
  33. 33.🔀 What number does this shop app show?
    let total = 660;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  34. 34.🔍 Which is the odd one out? (a) typing your age (b) a buzz (vibration) (c) a beep sound (d) a result on screen
  35. 35.⚙️ What number does this app show?
    let price = 10; // typed by the user
    let qty = 3; // typed by the user
    let total = price * qty;
    show(total);
  36. 36.🔀 What does this battery rule show?
    let battery = 88;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  37. 37.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Score card”
    2. tap the Settings tab
    3. open “Friend list”
    4. open “Match report”
    5. open “Badges”
    Which screen are you on now?
    (a) Friend list (b) Badges (c) Match report (d) Score card
  38. 38.🔁 Why use a loop to show 100 messages? (a) it hides them (b) less code to write (c) it is slower (d) it uses more lines
  39. 39.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) change the bus icon (b) rate the driver (c) show arrival time (d) a dark mode
  40. 40.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 11, and 100 for everyone else.
    function price(age) {
      if (age < 11) {
        return 50;
      }
      return 100;
    }
    Test 1: price(14) → expected 100
    Test 2: price(10) → expected 50
    Test 3: price(15) → expected 100

Answer key

  1. No
  2. 16
  3. 1
  4. False
  5. 40
  6. UX
  7. 0, 1, 2
  8. real users
  9. True
  10. True
  11. True
  12. light grey on white
  13. fair
  14. Test 2
  15. 2
  16. 87
  17. is a quick sketch
  18. 17
  19. torch → contacts
  20. 11
  21. 0
  22. tap “Sign up”
  23. a button
  24. 96
  25. change the bus icon
  26. use it on any device
  27. a page of random dots
  28. pay for the order
  29. a recipe finder
  30. True
  31. its users
  32. 0.22.5
  33. 610
  34. typing your age
  35. 30
  36. Battery OK
  37. Badges
  38. less code to write
  39. show arrival time
  40. 3

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