← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 351 · 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: an app opens from a link. (a) True (b) False
  2. 2.🧪 What is the ACTUAL result of Test 1?
    🎟️ 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(13) → expected 100
    Test 2: price(6) → expected 50
    Test 3: price(12) → expected 100
  3. 3.🔀 What does >= mean? (a) smaller or equal (b) less than (c) greater than or equal (d) not equal
  4. 4.True or false: a wireframe shows the real fonts. (a) False (b) True
  5. 5.🔁 What number does this code show?
    let marks = [14, 14, 13, 18, 5];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  6. 6.🔀 A screen with no way forward or back is called a ___. (a) shortcut (b) home screen (c) tab bar (d) dead end
  7. 7.🔀 What does this battery rule show?
    let battery = 24;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  8. 8.🚀 Which version is newer: 3.18.0 or 3.5.3? (a) 3.5.3 (b) 3.18.0
  9. 9.🧭 Which part of navigation opens a list of pages? (a) the back button (b) a tab bar (c) a menu button
  10. 10.🗒️ Version 1 of a water reminder must be ready in 14 days. How many days are left for extras after the must-haves?
    set a reminder time: 4 days
    log a glass of water: 1 days
    see today’s total: 5 days
  11. 11.⚙️ Which line does the processing (works out the answer)?
    line 1: let km = 4; // typed by the user
    line 2: let metres = km * 1000;
    line 3: show(metres);
    (a) line 1 (b) line 3 (c) line 2
  12. 12.👥 A clinic app has 200 patients, 250 doctors and 195 nurses as users. Which user group is the biggest? (a) doctors (b) patients (c) nurses
  13. 13.🧭 About how many tabs suit a tab bar best? (a) 1 (b) 3 to 5 (c) 20 (d) 10 to 12
  14. 14.🚀 Which of these versions is the NEWEST?
    4.18.3, 3.23.5, 4.19.3, 4.3.8
    (a) 3.23.5 (b) 4.18.3 (c) 4.3.8 (d) 4.19.3
  15. 15.🔢 In a quiz-app flow, what comes right after “pick an answer”? (a) read a question (b) see the final score (c) see if it is right (d) tap “Start quiz”
  16. 16.True or false: how many taps it takes is about UX (the experience). (a) False (b) True
  17. 17.💡 Does an app idea like a bill splitter solve a real problem? (a) Yes (b) No
  18. 18.🗂️ What kind of app is a times-table quiz? (a) a learning app (b) a health app (c) a tool app (d) a game
  19. 19.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let score = 30; // start at 30
    line 2: score = score - 2; // add 2
    line 3: score = score + 2; // add 2
    line 4: score = score + 4; // add 4
    line 5: show(score); // show it
  20. 20.True or false: a bus tracker is the best fit for a teen learning to make snacks. (a) True (b) False
  21. 21.🌗 Is white on black easy or hard to read on a button? (a) hard to read (b) easy to read
  22. 22.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 51; // start at 50
    line 2: lives = lives + 3; // add 3
    line 3: lives = lives - 4; // take away 4
    line 4: lives = lives + 3; // add 3
    line 5: show(lives); // show it
    (a) line 2 (b) line 3 (c) line 1 (d) line 4
  23. 23.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let score = 45; // start at 44
    line 2: score = score - 2; // take away 2
    line 3: score = score * 2; // double it
    line 4: score = score + 3; // add 3
    line 5: show(score); // show it
  24. 24.Which of these app ideas solves a real problem? (a) a blank grey screen (b) a button with no action (c) a bill splitter (d) an app that just says hi
  25. 25.🔢 In a sign-up flow, which comes first: “see the home screen” or “enter the code sent”? (a) enter the code sent (b) see the home screen
  26. 26.🔁 A loop over a list of 5 items runs its body how many times? (a) 6 (b) 4 (c) 5 (d) 1
  27. 27.True or false: a speak-to-type notes app needs the microphone. (a) False (b) True
  28. 28.🛠️ At which stage do you let friends try it? (a) the idea stage (b) the build stage (c) the release stage (d) the test stage
  29. 29.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Pay → Results → Search → Item
    Design B: Home → Results → Pay → Shop → Address → Search
  30. 30.🔀 What number does this shop app show?
    let total = 240;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  31. 31.True or false: a puzzle with levels is a game. (a) True (b) False
  32. 32.True or false: you list what users need at the test stage. (a) False (b) True
  33. 33.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(5) + points(0));
  34. 34.🧭 Which part of navigation undoes one move? (a) a tab bar (b) the back button (c) a menu button
  35. 35.Which of these fits saving on the phone? (a) a class leaderboard (b) a shared to-do list (c) chat messages to friends (d) your last game level
  36. 36.♿ Does this help everyone, or make the app harder to use: captions on videos? (a) helps everyone (b) makes it harder
  37. 37.True or false: you sketch the screens at the release stage. (a) True (b) False
  38. 38.🔀 What does if / else let an app do? (a) save a photo (b) draw a screen (c) pick one of two actions (d) repeat forever
  39. 39.🔀 What does this battery rule show?
    let battery = 20;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  40. 40.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 35; // typed by the user
    line 2: let qty = 3; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 3 (b) line 2 (c) line 1 (d) line 4

Answer key

  1. False
  2. 100
  3. greater than or equal
  4. False
  5. 18
  6. dead end
  7. Battery OK
  8. 3.18.0
  9. a menu button
  10. 4
  11. line 2
  12. doctors
  13. 3 to 5
  14. 4.19.3
  15. see if it is right
  16. True
  17. Yes
  18. a learning app
  19. 38
  20. False
  21. easy to read
  22. line 1
  23. 87
  24. a bill splitter
  25. enter the code sent
  26. 5
  27. True
  28. the test stage
  29. 4
  30. 240
  31. True
  32. False
  33. 60
  34. the back button
  35. your last game level
  36. helps everyone
  37. False
  38. pick one of two actions
  39. Battery OK
  40. line 3

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