← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 620 · 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 “missing the bus” get than “losing water bottles”?
    forgetting homework: 23 votes
    missing the bus: 8 votes
    losing water bottles: 6 votes
  2. 2.📊 Survey: which problem bugs you most? How many more votes did “losing water bottles” get than “no quiet study place”?
    no quiet study place: 3 votes
    losing water bottles: 24 votes
    missing the bus: 8 votes
  3. 3.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Badges”
    2. tap Back
    3. open “Score card”
    Which screen are you on now?
    (a) Score card (b) Home (c) Search (d) Badges
  4. 4.True or false: a final design looks like the real app. (a) False (b) True
  5. 5.🔢 In a photo-post flow, what comes right after “open the camera screen”? (a) post the photo (b) add a filter (c) write a caption (d) take the photo
  6. 6.🔐 A torch app asks for your contacts. What should you do? (a) post them online (b) deny it (c) share them all (d) allow it
  7. 7.🧪 A test case is an input together with its ___. (a) app icon (b) expected result (c) screen colour (d) font size
  8. 8.🌗 Is yellow on white easy or hard to read on a button? (a) hard to read (b) easy to read
  9. 9.True or false: space between buttons is poor button design. (a) False (b) True
  10. 10.🎯 Is this a user need or a feature: a search bar? (a) a user need (b) a feature
  11. 11.🔢 After an app is released, which comes first: “fix and improve” or “list what to fix”? (a) list what to fix (b) fix and improve
  12. 12.🔢 In a food-order flow, which comes first: “track the order” or “pay for the order”? (a) track the order (b) pay for the order
  13. 13.Which of these is a user need? (a) a dark mode switch (b) a search bar (c) “I forget my homework” (d) a share button
  14. 14.👆 The user taps the button 7 times. What does the label show now?
    let on = false;
    button.onTap = function () {
      on = !on;
      if (on) {
        label.text = "ON";
      } else {
        label.text = "OFF";
      }
    };
    (a) OFF (b) ON
  15. 15.🧰 In function tip(bill), what is bill? (a) a parameter (b) a loop (c) a screen (d) an event
  16. 16.True or false: a homework planner is the best fit for a student who often misses the school bus. (a) True (b) False
  17. 17.🔁 What is the LAST line this code shows?
    let names = ["Riya", "Zoya", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Meera (b) Hi, Zoya (c) Hi, Riya
  18. 18.🧪 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(7) → expected 50
    Test 2: price(13) → expected 100
    Test 3: price(16) → expected 100
  19. 19.🧰 How do you run (call) a function called greet? (a) #greet (b) run greet (c) greet() (d) greet[]
  20. 20.♿ Does this help everyone, or make the app harder to use: tiny tap areas? (a) helps everyone (b) makes it harder
  21. 21.🚀 Which version is newer: 3.12.0 or 3.9.0? (a) 3.12.0 (b) 3.9.0
  22. 22.💾 What does this code show? (Positions start at 0.)
    let songs = ["Stars", "Monsoon", "Rain", "Kites"];
    show(songs[2]);
    (a) Rain (b) Monsoon (c) Kites (d) Stars
  23. 23.🚀 Your app is at version 1.4.8. The next release fixes a small bug. What is its version number? (a) 2.0.0 (b) 1.5.8 (c) 1.5.0 (d) 1.4.9
  24. 24.Which of these is true of a tab bar? (a) switches main sections (b) hides extra links (c) goes to the last screen (d) opens a list of pages
  25. 25.Which of these is true of a website? (a) has a web address (b) has a home-screen icon (c) comes from an app store (d) is installed on a phone
  26. 26.🎨 Fewer taps to finish a task usually means ___. (a) a bigger app (b) worse UX (c) better UX (d) more colours
  27. 27.True or false: a water reminder is a learning app. (a) False (b) True
  28. 28.🔀 When does the else part run? (a) never (b) when the test is true (c) when the test is false (d) always
  29. 29.Which colour pair is hard to read? (a) white on black (b) black on pale grey (c) red on green (d) dark blue on white
  30. 30.🧪 What is the ACTUAL result of Test 1?
    🎟️ Rule: a ticket costs 50 for children under 11, and 100 for everyone else.
    function price(age) {
      if (age <= 11) {
        return 50;
      }
      return 100;
    }
    Test 1: price(15) → expected 100
    Test 2: price(17) → expected 100
    Test 3: price(10) → expected 50
  31. 31.🔐 Which permission does a homework photo scanner really need? (a) contacts (b) location (c) the microphone (d) the camera
  32. 32.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(35, 6));
  33. 33.📊 Survey: which problem bugs you most? How many more votes did “missing the bus” get than “no quiet study place”?
    no quiet study place: 6 votes
    missing the bus: 20 votes
    forgetting birthdays: 9 votes
  34. 34.💾 What number does this code show?
    let friends = ["Riya", "Meera", "Kabir", "Aman"];
    friends.push("Arjun");
    show(friends.length);
  35. 35.👆 Which of these is an event? (a) the font size (b) the user taps a button (c) the icon colour (d) a list of names
  36. 36.💾 Which can hold many values in order? (a) a single number (b) a list (c) a switch (d) a button
  37. 37.🔁 What does a loop do? (a) repeats code (b) saves photos (c) deletes code (d) draws icons
  38. 38.🧪 What is the ACTUAL result of Test 3?
    🎟️ 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(15) → expected 100
    Test 3: price(10) → expected 50
  39. 39.🗒️ Version 1 of a bus tracker must be ready in 15 days. How many days are left for extras after the must-haves?
    see where the bus is: 3 days
    show arrival time: 4 days
    pick your bus stop: 3 days
  40. 40.Which of these helps everyone use the app? (a) fast-flashing lights (b) tiny tap areas (c) labels on every icon (d) icons with no labels

Answer key

  1. 2
  2. 21
  3. Score card
  4. True
  5. take the photo
  6. deny it
  7. expected result
  8. hard to read
  9. False
  10. a feature
  11. list what to fix
  12. pay for the order
  13. “I forget my homework”
  14. ON
  15. a parameter
  16. False
  17. Hi, Meera
  18. 3
  19. greet()
  20. makes it harder
  21. 3.12.0
  22. Rain
  23. 1.4.9
  24. switches main sections
  25. has a web address
  26. better UX
  27. False
  28. when the test is false
  29. red on green
  30. 100
  31. the camera
  32. 210
  33. 14
  34. 5
  35. the user taps a button
  36. a list
  37. repeats code
  38. 50
  39. 5
  40. labels on every icon

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