← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 90 · 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.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let coins = 32; // start at 32
    line 2: coins = coins + 2; // double it
    line 3: coins = coins - 4; // take away 4
    line 4: coins = coins + 6; // add 6
    line 5: show(coins); // show it
  2. 2.🔢 In a sign-up flow, what comes right after “enter the code sent”? (a) make a password (b) type name and email (c) see the home screen (d) tap “Sign up”
  3. 3.⚙️ What number does this app show?
    let km = 2; // typed by the user
    let metres = km * 1000;
    show(metres);
  4. 4.True or false: a countdown hits zero is a load event. (a) True (b) False
  5. 5.📱 Which one has a home-screen icon: an app or a website? (a) an app (b) a website
  6. 6.📅 An app team plans for 5 days, builds for 12 days, tests for 2 days and releases on 1 more day. How many days does the whole project take?
  7. 7.🔀 What number does this shop app show?
    let total = 570;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  8. 8.♿ Does this help everyone, or make the app harder to use: text that can grow? (a) helps everyone (b) makes it harder
  9. 9.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Menu: 12 px
    Title: 23 px
    Hint: 18 px
    Body text: 19 px
    (a) Hint (b) Body text (c) Menu (d) Title
  10. 10.🔘 Our rule: buttons are at least 48 px tall. The Back button is 32 px tall. How many px taller must it be?
  11. 11.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Pay → Menu → Search → Shop → Pens
    Design B: Home → Menu → Cart → Pens → Results
  12. 12.💡 Which app idea solves this problem: a patient misses doses? (a) a homework planner (b) a bill splitter (c) a medicine reminder (d) a lost-and-found board
  13. 13.🧩 How many buttons does this app screen have?
    [title] Settings
    [text box] Age
    [button] Next
    [switch] Sound
    [text box] Notes
    [text box] Phone
  14. 14.🔁 What number does this code show?
    let marks = [6, 1, 9];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  15. 15.💾 What is a variable? (a) a type of screen (b) a phone setting (c) a picture (d) a named box for a value
  16. 16.🔐 Is this permission request fair or too much: map app → location? (a) too much (b) fair
  17. 17.🗒️ A to-do app with no “add a task” feature is ___. (a) a nice extra (b) missing a must-have (c) well planned (d) ready to release
  18. 18.🔢 In a quiz-app flow, which comes first: “see the final score” or “tap “Start quiz””? (a) tap “Start quiz” (b) see the final score
  19. 19.🧰 What does return do in a function? (a) repeats the code (b) sends back a value (c) deletes the app (d) closes the screen
  20. 20.Which of these is a screen? (a) a slider for volume (b) the home page of an app (c) a switch for dark mode (d) tap to go Next
  21. 21.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) share your streak (b) custom alert sounds (c) see today’s total (d) water animations
  22. 22.Which of these is about UX (the experience)? (a) the icon shapes (b) the font size (c) how users feel after (d) the theme colours
  23. 23.🔘 Our rule: buttons are at least 48 px tall. The Start button is 32 px tall. How many px taller must it be?
  24. 24.🧭 Which part of navigation undoes one move? (a) a tab bar (b) a menu button (c) the back button
  25. 25.👆 What kind of event is this: a countdown hits zero? (a) a load event (b) a timer event (c) a text event (d) a tap event
  26. 26.🎨 Is this about UI or UX: the font size? (a) UI (b) UX
  27. 27.👥 A cricket club app has 25 players, 85 coaches and 135 fans as users. Which user group is the biggest? (a) fans (b) coaches (c) players
  28. 28.True or false: the search box changes is a load event. (a) False (b) True
  29. 29.🔀 What does this battery rule show?
    let battery = 72;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  30. 30.🔍 Which is the odd one out? (a) how easy sign-up is (b) how users feel after (c) how fast a task is done (d) the font size
  31. 31.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(23));
  32. 32.📊 Survey: which problem bugs you most? How many students voted in all?
    missing the bus: 14 votes
    wasting pocket money: 25 votes
    losing water bottles: 11 votes
  33. 33.True or false: a guitar tuner needs the microphone. (a) False (b) True
  34. 34.🗒️ Version 1 of a pocket-money tracker must be ready in 8 days. How many days are left for extras after the must-haves?
    add money received: 4 days
    add money spent: 2 days
    show the balance: 2 days
  35. 35.Which of these happens at the idea stage? (a) draw the user flow (b) spot a problem to solve (c) sketch the screens (d) write the code
  36. 36.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Cancel button: 44 px tall
    Start button: 48 px tall
    Save button: 48 px tall
    (a) Start (b) Cancel (c) Save
  37. 37.🎯 What is a user need? (a) a colour theme (b) a phone setting (c) a type of button (d) a problem a user has
  38. 38.Which of these helps everyone use the app? (a) icons with no labels (b) colour as the only clue (c) labels on every icon (d) fast-flashing lights
  39. 39.🗂️ What kind of app is a flashcard trainer? (a) a health app (b) a game (c) a tool app (d) a learning app
  40. 40.True or false: how fast a task is done is about UI (the look). (a) False (b) True

Answer key

  1. 66
  2. see the home screen
  3. 2000
  4. False
  5. an app
  6. 20
  7. 520
  8. helps everyone
  9. Menu
  10. 16
  11. 5
  12. a medicine reminder
  13. 1
  14. 16
  15. a named box for a value
  16. fair
  17. missing a must-have
  18. tap “Start quiz”
  19. sends back a value
  20. the home page of an app
  21. see today’s total
  22. how users feel after
  23. 16
  24. the back button
  25. a timer event
  26. UI
  27. fans
  28. False
  29. Battery OK
  30. the font size
  31. 46
  32. 50
  33. True
  34. 0
  35. spot a problem to solve
  36. Cancel
  37. a problem a user has
  38. labels on every icon
  39. a learning app
  40. False

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