← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 792 · 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.♿ A screen has 6 icon buttons. Only 4 of them have a text label for screen readers. How many still need a label?
  2. 2.Which of these is data? (a) a date picker (b) your saved notes (c) a slider for volume (d) the settings page
  3. 3.💡 Which app idea solves this problem: the library is always full? (a) a homework planner (b) a bill splitter (c) a medicine reminder (d) a study-room finder
  4. 4.⚙️ What number does this app show?
    let bill = 268; // typed by the user
    let friends = 4; // typed by the user
    let share = bill / friends;
    show(share);
  5. 5.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 300) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(350) → expected 0
    Test 2: delivery(150) → expected 40
    Test 3: delivery(400) → expected 0
  6. 6.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Title: 15 px
    Caption: 20 px
    Label: 13 px
    Menu: 12 px
    Footer: 12 px
  7. 7.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 35; // typed by the user
    line 2: let qty = 5; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 2 (b) line 3 (c) line 1 (d) line 4
  8. 8.True or false: a box to type a name is a screen. (a) False (b) True
  9. 9.🗒️ Version 1 of a quiz app must be ready in 17 days. How many days are left for extras after the must-haves?
    show a question: 3 days
    check the answer: 4 days
    show the score: 5 days
  10. 10.🖼️ How many parts (boxes) does this wireframe have?
    [ search box ]
    [ title text ]
    [ menu icon ]
    [ Save button ]
    [ big picture ]
  11. 11.🧪 How many of these test cases pass?
    🎟️ 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(9) → expected 50
    Test 3: price(15) → expected 100
  12. 12.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let points = 44; // start at 42
    line 2: points = points * 2; // double it
    line 3: points = points + 2; // add 2
    line 4: points = points + 6; // add 6
    line 5: show(points); // show it
  13. 13.🔁 A loop over a list of 5 items runs its body how many times? (a) 1 (b) 4 (c) 6 (d) 5
  14. 14.🧩 What does a button do when you tap it? (a) shows the time (b) starts an action (c) saves the battery (d) changes the phone
  15. 15.🔐 Is this permission request fair or too much: quiz app → microphone? (a) too much (b) fair
  16. 16.⚙️ What number does this app show?
    let km = 5; // typed by the user
    let metres = km * 1000;
    show(metres);
  17. 17.🔍 Which is the odd one out? (a) labels on every icon (b) colour as the only clue (c) icons with no labels (d) tiny tap areas
  18. 18.🌗 Is dark blue on white easy or hard to read on a button? (a) easy to read (b) hard to read
  19. 19.🧰 How do you run (call) a function called greet? (a) greet() (b) greet[] (c) #greet (d) run greet
  20. 20.True or false: the search box changes is a tap event. (a) False (b) True
  21. 21.🌗 Is dark blue on black easy or hard to read on a button? (a) easy to read (b) hard to read
  22. 22.♿ Does this help everyone, or make the app harder to use: captions on videos? (a) makes it harder (b) helps everyone
  23. 23.⚙️ In an app, is checking a password an input, processing or an output? (a) output (b) input (c) processing
  24. 24.True or false: your friends list is data. (a) True (b) False
  25. 25.Which of these is a feature? (a) “I keep missing the bus” (b) “What should I cook?” (c) “Small text is hard” (d) a reminder alarm
  26. 26.🔍 Which is the odd one out? (a) colour as the only clue (b) tiny tap areas (c) sudden loud sounds (d) big touch targets
  27. 27.🔢 When you make an app, what comes right after “build the app”? (a) get an idea (b) plan the screens (c) test the app (d) release it
  28. 28.🎨 Is this about UI or UX: the font size? (a) UI (b) UX
  29. 29.🧰 In function tip(bill), what is bill? (a) a loop (b) a parameter (c) an event (d) a screen
  30. 30.🚀 Which version is newer: 2.16.3 or 2.4.2? (a) 2.16.3 (b) 2.4.2
  31. 31.🧩 In an app, what is tap to Start? (a) a screen (b) data (c) a button (d) an input
  32. 32.🔢 When you make an app, which comes FIRST? (a) release it (b) test the app (c) get an idea (d) plan the screens
  33. 33.🔢 After an app is released, which comes first: “fix and improve” or “read user reviews”? (a) fix and improve (b) read user reviews
  34. 34.Which of these is true of the back button? (a) switches main sections (b) shows 3 to 5 icons (c) goes to the last screen (d) sits at the bottom
  35. 35.True or false: a date picker is an input. (a) False (b) True
  36. 36.🎨 Is this about UI or UX: how many taps it takes? (a) UI (b) UX
  37. 37.👥 A library app has 30 readers, 140 librarians and 45 volunteers as users. Which user group is the biggest? (a) volunteers (b) readers (c) librarians
  38. 38.🗒️ Why keep version 1 small? (a) to confuse users (b) to use up storage (c) to learn from users soon (d) to look bigger
  39. 39.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
    function price(age) {
      if (age < 14) {
        return 50;
      }
      return 100;
    }
    Test 1: price(13) → expected 50
    Test 2: price(15) → expected 100
    Test 3: price(14) → expected 100
  40. 40.🔍 Which is the odd one out? (a) how many taps it takes (b) the button colours (c) the icon shapes (d) the font size

Answer key

  1. 2
  2. your saved notes
  3. a study-room finder
  4. 67
  5. 3
  6. 4
  7. line 3
  8. False
  9. 5
  10. 5
  11. 3
  12. 96
  13. 5
  14. starts an action
  15. too much
  16. 5000
  17. labels on every icon
  18. easy to read
  19. greet()
  20. False
  21. hard to read
  22. helps everyone
  23. processing
  24. True
  25. a reminder alarm
  26. big touch targets
  27. test the app
  28. UI
  29. a parameter
  30. 2.16.3
  31. a button
  32. get an idea
  33. read user reviews
  34. goes to the last screen
  35. True
  36. UX
  37. librarians
  38. to learn from users soon
  39. 3
  40. how many taps it takes

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