← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 379 · 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.🗒️ In MVP, the M stands for ___. (a) music (b) mobile (c) minimum (d) maximum
  2. 2.🔁 What is the LAST line this code shows?
    let names = ["Riya", "Arjun", "Kabir"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Riya (b) Hi, Arjun (c) Hi, Kabir
  3. 3.🛠️ At which stage do you write the code? (a) the release stage (b) the idea stage (c) the build stage (d) the plan stage
  4. 4.🧩 In an app, what is a date picker? (a) a button (b) an input (c) a screen (d) data
  5. 5.🔢 After an app is released, what comes right after “fix and improve”? (a) read user reviews (b) list what to fix (c) test it again (d) release an update
  6. 6.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(33));
  7. 7.Which of these is a user need? (a) a reminder alarm (b) “I keep missing the bus” (c) a share button (d) a search bar
  8. 8.🎯 Is this a user need or a feature: “I keep missing the bus”? (a) a feature (b) a user need
  9. 9.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 20;
    }
    show(fee(2) + fee(1));
  10. 10.✏️ What is a wireframe? (a) a type of password (b) the finished app (c) a simple screen sketch (d) a charging cable
  11. 11.🔍 Which is the odd one out? (a) captions on videos (b) sudden loud sounds (c) text that can grow (d) labels on every icon
  12. 12.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Edit photo”
    2. open “Edit photo”
    3. open “Score card”
    Which screen are you on now?
    (a) Score card (b) Search (c) Home (d) Edit photo
  13. 13.🌐 Which program do you need to open a website? (a) a calculator (b) a web browser (c) a camera app (d) an app store
  14. 14.Which of these is true of a wireframe? (a) is a quick sketch (b) has the real colours (c) uses the final pictures (d) shows the real fonts
  15. 15.🧪 What is the ACTUAL result of Test 3?
    🎟️ 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(11) → expected 50
    Test 2: price(14) → expected 100
    Test 3: price(15) → expected 100
  16. 16.Which of these is true of the back button? (a) opens a list of pages (b) shows 3 to 5 icons (c) switches main sections (d) undoes one move
  17. 17.🧪 What is the ACTUAL result of Test 2?
    🎟️ 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(18) → expected 100
    Test 2: price(16) → expected 100
    Test 3: price(10) → expected 50
  18. 18.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Lessons tab
    2. open “Score card”
    3. tap the Quiz tab
    Which screen are you on now?
    (a) Me (b) Lessons (c) Quiz (d) Score card
  19. 19.Which of these is true of an app? (a) updates from the store (b) opens in a web browser (c) needs no installing (d) has a web address
  20. 20.👆 What kind of event is this: the app starts up? (a) a tap event (b) a timer event (c) a load event (d) a text event
  21. 21.👆 A tap handler runs how many times if the user taps 4 times? (a) 0 (b) 4 (c) 1 (d) 8
  22. 22.🧪 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(7) → expected Pass
    Test 2: result(10) → expected Pass
    Test 3: result(4) → expected Try again
  23. 23.🔍 Which is the odd one out? (a) a torch (b) a puzzle with levels (c) a unit converter (d) a calculator
  24. 24.True or false: “captions on videos” makes the app harder to use. (a) True (b) False
  25. 25.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) savings stickers (b) add money spent (c) export to a file (d) pie-chart colours
  26. 26.🗒️ Why keep version 1 small? (a) to learn from users soon (b) to look bigger (c) to confuse users (d) to use up storage
  27. 27.🧰 What does return do in a function? (a) deletes the app (b) sends back a value (c) repeats the code (d) closes the screen
  28. 28.Which of these is a user need? (a) a dark mode switch (b) a reminder alarm (c) “I forget my homework” (d) a search bar
  29. 29.True or false: a 5-minute alarm ends is a load event. (a) True (b) False
  30. 30.🎨 Is this about UI or UX: how easy sign-up is? (a) UI (b) UX
  31. 31.Which of these is an output? (a) speaking a command (b) a beep sound (c) sorting the scores (d) working out a tip
  32. 32.♿ A screen has 7 icon buttons. Only 6 of them have a text label for screen readers. How many still need a label?
  33. 33.⚙️ In an app, is sorting the scores an input, processing or an output? (a) output (b) processing (c) input
  34. 34.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 400) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(400) → expected 0
    Test 2: delivery(550) → expected 0
    Test 3: delivery(250) → expected 40
    (a) Test 1 (b) Test 3 (c) Test 2
  35. 35.⚙️ What number does this app show?
    let km = 9; // typed by the user
    let metres = km * 1000;
    show(metres);
  36. 36.💾 Where should the app save chat messages to friends: on the phone or in the cloud? (a) in the cloud (b) on the phone
  37. 37.🔀 What does this battery rule show?
    let battery = 12;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  38. 38.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 40;
    }
    show(fee(1) + fee(8));
  39. 39.🔀 What does >= mean? (a) less than (b) smaller or equal (c) not equal (d) greater than or equal
  40. 40.True or false: a draft you are typing fits saving in the cloud. (a) True (b) False

Answer key

  1. minimum
  2. Hi, Kabir
  3. the build stage
  4. an input
  5. test it again
  6. 99
  7. “I keep missing the bus”
  8. a user need
  9. 0
  10. a simple screen sketch
  11. sudden loud sounds
  12. Score card
  13. a web browser
  14. is a quick sketch
  15. 100
  16. undoes one move
  17. 100
  18. Quiz
  19. updates from the store
  20. a load event
  21. 4
  22. 3
  23. a puzzle with levels
  24. False
  25. add money spent
  26. to learn from users soon
  27. sends back a value
  28. “I forget my homework”
  29. False
  30. UX
  31. a beep sound
  32. 1
  33. processing
  34. Test 1
  35. 9000
  36. in the cloud
  37. Low battery
  38. 40
  39. greater than or equal
  40. False

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