← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 276 · 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.🖼️ How many parts (boxes) does this wireframe have?
    [ Add button ]
    [ tab bar ]
    [ filter buttons ]
    [ list of items ]
    [ search box ]
  2. 2.♿ Does this help everyone, or make the app harder to use: sudden loud sounds? (a) makes it harder (b) helps everyone
  3. 3.Which of these is true of an app? (a) opens in a web browser (b) opens from a link (c) needs no installing (d) updates from the store
  4. 4.💾 Which can hold many values in order? (a) a single number (b) a switch (c) a list (d) a button
  5. 5.🔁 What does a loop do? (a) repeats code (b) deletes code (c) saves photos (d) draws icons
  6. 6.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) rate the driver (b) change the bus icon (c) show arrival time (d) a dark mode
  7. 7.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 34; // start at 34
    line 2: coins = coins * 2; // double it
    line 3: coins = coins * 2; // double it
    line 4: coins = coins * 3; // double it
    line 5: show(coins); // show it
    (a) line 4 (b) line 3 (c) line 2 (d) line 1
  8. 8.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) an avatar shop (b) background music (c) confetti effects (d) check the answer
  9. 9.🔁 Why use a loop to show 100 messages? (a) less code to write (b) it is slower (c) it uses more lines (d) it hides them
  10. 10.True or false: how users feel after is about UX (the experience). (a) True (b) False
  11. 11.🔘 Is this good or poor button design: grey text on grey? (a) poor design (b) good design
  12. 12.🧭 Where is a tab bar usually placed in a phone app? (a) in the middle (b) inside a button (c) nowhere (d) at the bottom
  13. 13.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let points = 44; // start at 44
    line 2: points = points * 2; // double it
    line 3: points = points * 3; // double it
    line 4: show(points); // show it
  14. 14.Which of these app ideas solves no real problem? (a) a library due-date alert (b) a lost-and-found board (c) a bill splitter (d) an app that just says hi
  15. 15.🔀 In a good flow, each screen should lead to ___. (a) the same screen (b) a random page (c) a dead end (d) a clear next step
  16. 16.🔢 In a sign-up flow, which comes first: “tap “Sign up”” or “make a password”? (a) make a password (b) tap “Sign up”
  17. 17.🧪 One test case fails. Which one?
    🎟️ 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(8) → expected 100
    Test 2: price(9) → expected 100
    Test 3: price(7) → expected 50
    (a) Test 3 (b) Test 2 (c) Test 1
  18. 18.♿ Does this help everyone, or make the app harder to use: captions on videos? (a) helps everyone (b) makes it harder
  19. 19.True or false: a medicine reminder solves no real problem. (a) True (b) False
  20. 20.🧰 What is a function? (a) a list of colours (b) a screen size (c) a type of phone (d) a named block of code
  21. 21.Which of these requests is fair? (a) torch → contacts (b) timer → your photos (c) calculator → location (d) map app → location
  22. 22.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ search box ]
    [ top bar ]
    [ list of items ]
    [ menu icon ]
    (a) list of items (b) menu icon (c) search box (d) top bar
  23. 23.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(60, 4));
  24. 24.🔀 What does this PIN rule show?
    let pin = "965";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  25. 25.🔁 What number does this code show?
    let marks = [11, 13, 12, 3];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  26. 26.True or false: a water reminder is a health app. (a) True (b) False
  27. 27.True or false: a homework planner is the best fit for a student who often misses the school bus. (a) True (b) False
  28. 28.🔀 What does this battery rule show?
    let battery = 8;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  29. 29.👥 A cricket club app has 40 players, 50 coaches and 250 fans as users. Which user group is the biggest? (a) coaches (b) players (c) fans
  30. 30.🔢 In a sign-up flow, which comes FIRST? (a) tap “Sign up” (b) enter the code sent (c) make a password (d) open the app
  31. 31.🔍 Which is the odd one out? (a) draw the user flow (b) write the store text (c) pick the features (d) sketch the screens
  32. 32.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Caption: 10 px
    Body text: 18 px
    Title: 28 px
    (a) Body text (b) Caption (c) Title
  33. 33.True or false: you write the store text at the release stage. (a) False (b) True
  34. 34.🧪 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(15) → expected 100
    Test 2: price(7) → expected 50
    Test 3: price(9) → expected 100
  35. 35.🗒️ Version 1 of a homework planner must be ready in 9 days. How many days are left for extras after the must-haves?
    add a homework task: 1 days
    set a due date: 3 days
    see tasks by day: 5 days
  36. 36.🧰 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(7) + fee(2));
  37. 37.💡 Does an app idea like a blank grey screen solve a real problem? (a) Yes (b) No
  38. 38.True or false: a big, easy tap area is good button design. (a) True (b) False
  39. 39.🛠️ At which stage do you list what users need? (a) the build stage (b) the plan stage (c) the release stage (d) the idea stage
  40. 40.🐞 Finding and fixing bugs is called ___. (a) designing (b) downloading (c) debugging (d) decorating

Answer key

  1. 5
  2. makes it harder
  3. updates from the store
  4. a list
  5. repeats code
  6. show arrival time
  7. line 4
  8. check the answer
  9. less code to write
  10. True
  11. poor design
  12. at the bottom
  13. 264
  14. an app that just says hi
  15. a clear next step
  16. tap “Sign up”
  17. Test 1
  18. helps everyone
  19. False
  20. a named block of code
  21. map app → location
  22. menu icon
  23. 240
  24. Use 4 digits
  25. 13
  26. True
  27. False
  28. Low battery
  29. fans
  30. open the app
  31. write the store text
  32. Caption
  33. True
  34. 2
  35. 0
  36. 30
  37. No
  38. True
  39. the idea stage
  40. debugging

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