← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 813 · 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.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 43; // start at 43
    line 2: coins = coins + 6; // add 3
    line 3: coins = coins - 4; // take away 4
    line 4: show(coins); // show it
    (a) line 2 (b) line 1 (c) line 3
  2. 2.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) log a glass of water (b) water animations (c) see today’s total (d) set a reminder time
  3. 3.🗒️ In MVP, the M stands for ___. (a) music (b) minimum (c) maximum (d) mobile
  4. 4.💡 Does an app idea like a bill splitter solve a real problem? (a) Yes (b) No
  5. 5.Which of these is true of a final design? (a) uses the final pictures (b) shows where things go (c) is a quick sketch (d) uses plain grey boxes
  6. 6.✏️ Is this true of a wireframe or of a final design: uses the final pictures? (a) a final design (b) a wireframe
  7. 7.⚙️ In an app, is speaking a command an input, processing or an output? (a) output (b) input (c) processing
  8. 8.🔍 Which is the odd one out? (a) how fast a task is done (b) how easy sign-up is (c) how users feel after (d) the theme colours
  9. 9.🔀 What does this sign-up rule show?
    let age = 12;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  10. 10.True or false: photos on two devices fits saving in the cloud. (a) False (b) True
  11. 11.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Edit photo”
    2. tap Back
    3. open “Score card”
    4. tap the Search tab
    5. tap the Search tab
    How many times must you tap Back to reach the main screen of this tab?
  12. 12.True or false: a box to type a name is a button. (a) True (b) False
  13. 13.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(25, 4));
  14. 14.🧪 What is the ACTUAL result of Test 3?
    🎟️ 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(15) → expected 100
    Test 2: price(9) → expected 50
    Test 3: price(18) → expected 100
  15. 15.Which of these requests asks for too much? (a) voice notes → microphone (b) timer → your photos (c) camera app → camera (d) calling app → contacts
  16. 16.Which of these is an input? (a) the game-over page (b) today’s step count (c) your friends list (d) a date picker
  17. 17.🔀 What does this PIN rule show?
    let pin = "423";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  18. 18.Which of these makes the app harder to use? (a) big touch targets (b) tiny tap areas (c) captions on videos (d) labels on every icon
  19. 19.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(65, 3));
  20. 20.Which of these fits saving on the phone? (a) photos on two devices (b) a class leaderboard (c) the sound on/off setting (d) chat messages to friends
  21. 21.📊 Survey: which problem bugs you most? How many more votes did “missing the bus” get than “forgetting birthdays”?
    missing the bus: 23 votes
    forgetting birthdays: 13 votes
    forgetting homework: 10 votes
  22. 22.True or false: a cricket run chase is a tool app. (a) False (b) True
  23. 23.🌗 Is dark blue on black easy or hard to read on a button? (a) hard to read (b) easy to read
  24. 24.🔀 In a good flow, each screen should lead to ___. (a) a random page (b) a dead end (c) a clear next step (d) the same screen
  25. 25.True or false: a wireframe uses plain grey boxes. (a) False (b) True
  26. 26.🧰 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(12) + fee(9));
  27. 27.🎯 Is this a user need or a feature: a share button? (a) a user need (b) a feature
  28. 28.♿ Does this help everyone, or make the app harder to use: text that can grow? (a) makes it harder (b) helps everyone
  29. 29.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) export to a file (b) savings stickers (c) pie-chart colours (d) add money received
  30. 30.🧪 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(5) → expected Try again
    Test 3: result(6) → expected Pass
    (a) Test 1 (b) Test 2 (c) Test 3
  31. 31.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 100; // typed by the user
    line 2: let qty = 2; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 2 (b) line 3 (c) line 4 (d) line 1
  32. 32.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 33; // start at 33
    line 2: score = score - 5; // add 5
    line 3: score = score * 2; // double it
    line 4: show(score); // show it
    (a) line 1 (b) line 3 (c) line 2
  33. 33.True or false: you spot a problem to solve at the idea stage. (a) False (b) True
  34. 34.🧪 What is the ACTUAL result of Test 3?
    🎟️ 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(10) → expected 100
    Test 2: price(15) → expected 100
    Test 3: price(7) → expected 50
  35. 35.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Edit photo”
    2. open “Score card”
    3. tap Back
    4. tap Back
    5. open “Video”
    How many times must you tap Back to reach the main screen of this tab?
  36. 36.True or false: a homework planner is the best fit for a child saving up for a cycle. (a) False (b) True
  37. 37.🔢 In a sign-up flow, what comes right after “open the app”? (a) see the home screen (b) enter the code sent (c) make a password (d) tap “Sign up”
  38. 38.True or false: a bill splitter solves a real problem. (a) True (b) False
  39. 39.📴 Which of these can often still work with no internet? (a) a video call (b) an installed app (c) a new website (d) an online search
  40. 40.🔀 Which badge does this quiz app show?
    let marks = 48;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Gold (b) Silver (c) Bronze

Answer key

  1. line 2
  2. water animations
  3. minimum
  4. Yes
  5. uses the final pictures
  6. a final design
  7. input
  8. the theme colours
  9. Ask a parent
  10. True
  11. 0
  12. False
  13. 100
  14. 100
  15. timer → your photos
  16. a date picker
  17. Use 4 digits
  18. tiny tap areas
  19. 195
  20. the sound on/off setting
  21. 10
  22. False
  23. hard to read
  24. a clear next step
  25. True
  26. 60
  27. a feature
  28. helps everyone
  29. add money received
  30. Test 3
  31. line 3
  32. line 2
  33. True
  34. 50
  35. 1
  36. False
  37. tap “Sign up”
  38. True
  39. an installed app
  40. Bronze

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