← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 753 · 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.Which of these is true of a final design? (a) is a quick sketch (b) looks like the real app (c) uses plain grey boxes (d) shows where things go
  2. 2.Which of these is about UX (the experience)? (a) the font size (b) the button colours (c) whether users get lost (d) the icon shapes
  3. 3.🗒️ When should nice-to-have features be built? (a) on day one (b) never (c) before anything (d) after the must-haves
  4. 4.💾 Saving data in the cloud lets you ___. (a) use it on any device (b) never need a password (c) shrink the app (d) skip the internet
  5. 5.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(9));
  6. 6.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
    function price(age) {
      if (age <= 13) {
        return 50;
      }
      return 100;
    }
    Test 1: price(13) → expected 100
    Test 2: price(18) → expected 100
    Test 3: price(11) → expected 50
    (a) Test 3 (b) Test 2 (c) Test 1
  7. 7.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(45, 2));
  8. 8.🎨 Is this about UI or UX: the icon shapes? (a) UI (b) UX
  9. 9.Which of these app ideas solves no real problem? (a) a medicine reminder (b) a blank grey screen (c) a bill splitter (d) a free study-room finder
  10. 10.True or false: a recipe finder is the best fit for a runner who forgets to sip water. (a) False (b) True
  11. 11.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Me tab
    2. tap the Lessons tab
    3. open “Score card”
    Which screen are you on now?
    (a) Me (b) Quiz (c) Score card (d) Lessons
  12. 12.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) set a reminder time (b) see today’s total (c) water animations (d) log a glass of water
  13. 13.🔁 What number does this code show?
    let scores = [6, 9, 8, 1];
    let best = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] > best) {
        best = scores[i];
      }
    }
    show(best);
  14. 14.🔘 Our rule: buttons are at least 48 px tall. The Next button is 36 px tall. How many px taller must it be?
  15. 15.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) pie-chart colours (b) savings stickers (c) export to a file (d) show the balance
  16. 16.Which of these is true of an app? (a) needs no installing (b) comes from an app store (c) has a web address (d) opens in a web browser
  17. 17.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] New Note
    [switch] Remind me
    [text box] Age
    [button] Cancel
    [button] Send
    [button] Back
  18. 18.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 6 or more right answers.
    function result(right) {
      if (right > 6) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(9) → expected Pass
    Test 2: result(7) → expected Pass
    Test 3: result(3) → expected Try again
  19. 19.True or false: strong colour contrast is poor button design. (a) False (b) True
  20. 20.🎨 UI stands for user ___. (a) input (b) internet (c) interface (d) idea
  21. 21.🔀 What number does this shop app show?
    let total = 770;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  22. 22.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Address → Pens
    Design B: Home → Address → Confirm → Menu
  23. 23.🧰 In function tip(bill), what is bill? (a) a loop (b) a screen (c) an event (d) a parameter
  24. 24.🔀 What is a user flow? (a) a charging cable (b) a colour theme (c) a type of font (d) the path through screens
  25. 25.🔁 What is the LAST line this code shows?
    let names = ["Kabir", "Aman", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Aman (b) Hi, Kabir (c) Hi, Meera
  26. 26.🔢 In a sign-up flow, what comes right after “open the app”? (a) make a password (b) tap “Sign up” (c) see the home screen (d) type name and email
  27. 27.🔢 After an app is released, which comes FIRST? (a) list what to fix (b) test it again (c) read user reviews (d) release an update
  28. 28.🧪 What is the actual result of a test? (a) the app’s name (b) what we hope for (c) what the app really does (d) the test’s number
  29. 29.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Video”
    2. tap the Feed tab
    3. tap the Settings tab
    4. tap the Feed tab
    5. open “Badges”
    Which screen are you on now?
    (a) Feed (b) Badges (c) Video (d) Chat
  30. 30.👥 A school app has 60 students, 170 teachers and 295 parents as users. How many users does it have in all?
  31. 31.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Start button: 36 px tall
    Help button: 52 px tall
    Cancel button: 52 px tall
    Back button: 56 px tall
  32. 32.🧩 Which input is best for typing your name? (a) a slider (b) a text box (c) a picture (d) a switch
  33. 33.🔀 Why plan the user flow before building? (a) to add more taps (b) to skip testing (c) so each step is clear (d) to hide the buttons
  34. 34.💾 What is a variable? (a) a type of screen (b) a named box for a value (c) a picture (d) a phone setting
  35. 35.🖼️ In this wireframe (top to bottom), what is right below the search box?
    [ filter buttons ]
    [ Save button ]
    [ list of items ]
    [ search box ]
    [ tab bar ]
    [ menu icon ]
    (a) filter buttons (b) Save button (c) tab bar (d) list of items
  36. 36.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 3 (b) 0, 1, 2 (c) 0, 1, 2, 3 (d) 1, 2, 3
  37. 37.🧪 What is the ACTUAL result of Test 3?
    🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 800) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(850) → expected 0
    Test 2: delivery(750) → expected 40
    Test 3: delivery(950) → expected 0
  38. 38.🚀 Which version is newer: 4.3.1 or 4.19.2? (a) 4.3.1 (b) 4.19.2
  39. 39.💡 Which app idea solves this problem: bottles go missing at school? (a) a medicine reminder (b) a lost-and-found board (c) a homework planner (d) a study-room finder
  40. 40.🧪 What is the ACTUAL result of Test 2?
    🎟️ 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(14) → expected 100
    Test 2: price(6) → expected 50
    Test 3: price(12) → expected 100

Answer key

  1. looks like the real app
  2. whether users get lost
  3. after the must-haves
  4. use it on any device
  5. 18
  6. Test 1
  7. 90
  8. UI
  9. a blank grey screen
  10. False
  11. Score card
  12. water animations
  13. 9
  14. 12
  15. show the balance
  16. comes from an app store
  17. 2
  18. 3
  19. False
  20. interface
  21. 720
  22. 1
  23. a parameter
  24. the path through screens
  25. Hi, Meera
  26. tap “Sign up”
  27. read user reviews
  28. what the app really does
  29. Badges
  30. 525
  31. 3
  32. a text box
  33. so each step is clear
  34. a named box for a value
  35. tab bar
  36. 0, 1, 2
  37. 0
  38. 4.19.2
  39. a lost-and-found board
  40. 50

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