← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 872 · 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.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “no quiet study place”?
    losing water bottles: 13 votes
    no quiet study place: 5 votes
    forgetting homework: 17 votes
  2. 2.🔘 Is this good or poor button design: space between buttons? (a) poor design (b) good design
  3. 3.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Settings tab
    2. open “Edit photo”
    3. tap the Feed tab
    4. open “Edit photo”
    Which screen are you on now?
    (a) Feed (b) Chat (c) Settings (d) Edit photo
  4. 4.👆 The user taps the button 4 times. What number does the label show now?
    let coins = 8;
    button.onTap = function () {
      coins = coins + 5;
      label.text = coins;
    };
  5. 5.True or false: a pocket-money tracker is the best fit for a runner who forgets to sip water. (a) True (b) False
  6. 6.🧩 In an app, what is a switch for dark mode? (a) data (b) an input (c) a screen (d) a button
  7. 7.🗒️ Version 1 of a quiz app must be ready in 9 days. How many days are left for extras after the must-haves?
    show a question: 4 days
    check the answer: 1 days
    show the score: 4 days
  8. 8.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 36; // start at 35
    line 2: points = points + 6; // add 6
    line 3: points = points + 6; // add 6
    line 4: points = points + 4; // add 4
    line 5: show(points); // show it
    (a) line 3 (b) line 4 (c) line 2 (d) line 1
  9. 9.🧰 Why write a function? (a) to hide errors (b) to slow the app (c) to make code longer (d) to reuse code
  10. 10.🚀 Which of these versions is the NEWEST?
    2.7.1, 2.16.6, 1.22.9, 2.15.3
    (a) 2.15.3 (b) 1.22.9 (c) 2.7.1 (d) 2.16.6
  11. 11.True or false: a final design looks like the real app. (a) True (b) False
  12. 12.🔍 Which is the odd one out? (a) a unit converter (b) a racing challenge (c) a calculator (d) a torch
  13. 13.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 36; // start at 36
    line 2: score = score - 3; // take away 1
    line 3: score = score + 2; // add 2
    line 4: score = score + 3; // add 3
    line 5: show(score); // show it
    (a) line 1 (b) line 4 (c) line 2 (d) line 3
  14. 14.🔘 Our rule: buttons are at least 48 px tall. The Done button is 40 px tall. How many px taller must it be?
  15. 15.🧪 One test case fails. Which one?
    🎟️ 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(14) → expected 100
    Test 2: price(10) → expected 100
    Test 3: price(7) → expected 50
    (a) Test 3 (b) Test 1 (c) Test 2
  16. 16.🖼️ How many parts (boxes) does this wireframe have?
    [ list of items ]
    [ title text ]
    [ filter buttons ]
    [ Add button ]
    [ big picture ]
  17. 17.💾 In most code, the first item of a list is at position ___. (a) 10 (b) 2 (c) 1 (d) 0
  18. 18.🚀 Which of these versions is the NEWEST?
    4.15.3, 4.6.3, 4.7.1, 3.21.5
    (a) 4.7.1 (b) 3.21.5 (c) 4.15.3 (d) 4.6.3
  19. 19.🔀 Which badge does this quiz app show?
    let marks = 52;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Bronze (b) Silver (c) Gold
  20. 20.🗒️ What is a must-have feature? (a) one the app cannot skip (b) a colour theme (c) a nice extra (d) a sound effect
  21. 21.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Shop → Cart → Menu → Pay → Pens
    Design B: Home → Confirm → Item → Pay
  22. 22.True or false: a wireframe looks like the real app. (a) False (b) True
  23. 23.🔢 After an app is released, which comes first: “list what to fix” or “read user reviews”? (a) read user reviews (b) list what to fix
  24. 24.👥 A clinic app has 30 patients, 215 doctors and 245 nurses as users. How many more nurses than patients are there?
  25. 25.True or false: an app has a web address. (a) True (b) False
  26. 26.💾 Where should the app save chat messages to friends: on the phone or in the cloud? (a) on the phone (b) in the cloud
  27. 27.🔀 What does this battery rule show?
    let battery = 58;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  28. 28.🗒️ Version 1 of a homework planner must be ready in 10 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: 2 days
  29. 29.🔍 Which is the odd one out? (a) labels on every icon (b) tiny tap areas (c) big touch targets (d) text that can grow
  30. 30.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Order Snacks
    [switch] Show hints
    [button] Send
    [text box] Name
    [button] Done
    [slider] Volume
    [button] Back
    [text box] Email
    [text box] Age
  31. 31.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Map”
    2. open “Score card”
    3. open “Score card”
    4. tap the Quiz tab
    5. open “Badges”
    Which screen are you on now?
    (a) Score card (b) Badges (c) Map (d) Lessons
  32. 32.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Video”
    2. tap the Search tab
    3. tap the Home tab
    4. tap the Search tab
    How many times must you tap Back to reach the main screen of this tab?
  33. 33.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(2) + points(2));
  34. 34.🔍 Which is the odd one out? (a) captions on videos (b) fast-flashing lights (c) icons with no labels (d) sudden loud sounds
  35. 35.🔘 Our rule: buttons are at least 48 px tall. The Back button is 32 px tall. How many px taller must it be?
  36. 36.🔢 After an app is released, which comes first: “list what to fix” or “release an update”? (a) release an update (b) list what to fix
  37. 37.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(40, 5));
  38. 38.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Badges”
    2. open “Edit photo”
    3. tap the Settings tab
    Which screen are you on now?
    (a) Feed (b) Edit photo (c) Settings (d) Badges
  39. 39.🔀 What does this battery rule show?
    let battery = 67;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  40. 40.🔁 What number does this code show?
    let steps = [2, 19, 19, 19];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);

Answer key

  1. 12
  2. good design
  3. Edit photo
  4. 28
  5. False
  6. an input
  7. 0
  8. line 1
  9. to reuse code
  10. 2.16.6
  11. True
  12. a racing challenge
  13. line 2
  14. 8
  15. Test 2
  16. 5
  17. 0
  18. 4.15.3
  19. Silver
  20. one the app cannot skip
  21. 2
  22. False
  23. read user reviews
  24. 215
  25. False
  26. in the cloud
  27. Battery OK
  28. 4
  29. tiny tap areas
  30. 5
  31. Badges
  32. 0
  33. 50
  34. captions on videos
  35. 16
  36. list what to fix
  37. 200
  38. Settings
  39. Battery OK
  40. 59

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