← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 417 · 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 is a problem statement? (a) “Kids forget homework” (b) “Make it fast” (c) “Add a logo” (d) “Use blue buttons”
  2. 2.Which of these is a button? (a) a switch for dark mode (b) the settings page (c) the game-over page (d) tap to Save
  3. 3.🧩 Which input is best for typing your name? (a) a picture (b) a switch (c) a text box (d) a slider
  4. 4.👆 What kind of event is this: the user types a letter? (a) a tap event (b) a text event (c) a timer event (d) a load event
  5. 5.🖼️ In this wireframe (top to bottom), what is right below the tab bar?
    [ tab bar ]
    [ list of items ]
    [ Add button ]
    [ Save button ]
    [ top bar ]
    [ title text ]
    (a) Add button (b) title text (c) list of items (d) Save button
  6. 6.🗂️ What kind of app is a unit converter? (a) a health app (b) a tool app (c) a game (d) a learning app
  7. 7.🧩 In an app, what is tap to go Next? (a) an input (b) a button (c) data (d) a screen
  8. 8.🔍 Which is the odd one out? (a) speaking a command (b) a pop-up message (c) taking a photo (d) tapping a button
  9. 9.True or false: today’s step count is data. (a) True (b) False
  10. 10.True or false: today’s step count is a screen. (a) False (b) True
  11. 11.🗒️ When should nice-to-have features be built? (a) after the must-haves (b) never (c) before anything (d) on day one
  12. 12.📊 Survey: which problem bugs you most? How many students voted in all?
    wasting pocket money: 18 votes
    forgetting homework: 24 votes
    no quiet study place: 16 votes
  13. 13.Which of these app ideas solves a real problem? (a) an app that just says hi (b) a blank grey screen (c) a library due-date alert (d) a page of random dots
  14. 14.🌗 Is dark blue on white easy or hard to read on a button? (a) hard to read (b) easy to read
  15. 15.📱 Which one needs no installing: an app or a website? (a) an app (b) a website
  16. 16.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Edit photo”
    2. tap the Feed tab
    3. open “Edit photo”
    4. tap Back
    Which screen are you on now?
    (a) Settings (b) Chat (c) Feed (d) Edit photo
  17. 17.🧪 One test case fails. Which one?
    🎟️ 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(11) → expected 100
    Test 2: price(10) → expected 50
    Test 3: price(13) → expected 100
    (a) Test 3 (b) Test 2 (c) Test 1
  18. 18.🚀 Which of these versions is the NEWEST?
    2.10.3, 2.7.2, 1.20.7, 2.3.6
    (a) 2.7.2 (b) 2.3.6 (c) 1.20.7 (d) 2.10.3
  19. 19.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 5 or more right answers.
    function result(right) {
      if (right > 5) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(5) → expected Pass
    Test 2: result(6) → expected Pass
    Test 3: result(3) → expected Try again
    (a) Test 3 (b) Test 1 (c) Test 2
  20. 20.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(4) + points(5));
  21. 21.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    forgetting homework: 15 votes
    losing water bottles: 9 votes
    missing the bus: 21 votes
    (a) forgetting homework (b) missing the bus (c) losing water bottles
  22. 22.🔢 In a food-order flow, which comes first: “pay for the order” or “check the cart”? (a) pay for the order (b) check the cart
  23. 23.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(3) + points(5));
  24. 24.True or false: the user taps Play is a load event. (a) False (b) True
  25. 25.📅 An app team plans for 2 days, builds for 11 days, tests for 3 days and releases on 1 more day. How many more days does building take than testing?
  26. 26.🔍 Which is the odd one out? (a) a racing challenge (b) a flashcard trainer (c) a spelling coach (d) a times-table quiz
  27. 27.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 60;
    }
    show(fee(6) + fee(12));
  28. 28.🔁 What does a loop do? (a) saves photos (b) repeats code (c) deletes code (d) draws icons
  29. 29.📅 An app team plans for 5 days, builds for 12 days, tests for 1 days and releases on 1 more day. How many days does the whole project take?
  30. 30.💾 Where should the app save the sound on/off setting: on the phone or in the cloud? (a) in the cloud (b) on the phone
  31. 31.🔁 What number does this code show?
    let scores = [20, 7, 10, 11, 1];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  32. 32.🧰 How do you run (call) a function called greet? (a) run greet (b) #greet (c) greet[] (d) greet()
  33. 33.True or false: a slider for volume is an input. (a) False (b) True
  34. 34.📅 An app team plans for 2 days, builds for 12 days, tests for 1 days and releases on 1 more day. How many more days does building take than testing?
  35. 35.True or false: one second passes is a timer event. (a) True (b) False
  36. 36.👆 The user taps the button 3 times. What number does the label show now?
    let score = 1;
    button.onTap = function () {
      score = score + 5;
      label.text = score;
    };
  37. 37.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money received (b) show the balance (c) add money spent (d) export to a file
  38. 38.👆 The user types Meera in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Hello, " + nameBox.text + "!";
    };
    (a) Meera (b) Hello, nameBox.text! (c) Hello! (d) Hello, Meera!
  39. 39.True or false: the user types a letter is a text event. (a) True (b) False
  40. 40.🧩 Which of these is a button on this screen?
    [title] Order Snacks
    [button] Send
    [button] Back
    [slider] Brightness
    [switch] Remind me
    [text box] City
    (a) City (b) Send (c) Remind me (d) Brightness

Answer key

  1. “Kids forget homework”
  2. tap to Save
  3. a text box
  4. a text event
  5. list of items
  6. a tool app
  7. a button
  8. a pop-up message
  9. True
  10. False
  11. after the must-haves
  12. 58
  13. a library due-date alert
  14. easy to read
  15. a website
  16. Feed
  17. Test 1
  18. 2.10.3
  19. Test 1
  20. 100
  21. missing the bus
  22. check the cart
  23. 90
  24. False
  25. 8
  26. a racing challenge
  27. 120
  28. repeats code
  29. 19
  30. on the phone
  31. 49
  32. greet()
  33. True
  34. 11
  35. True
  36. 16
  37. export to a file
  38. Hello, Meera!
  39. True
  40. Send

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