← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 607 · 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.🎨 Is this about UI or UX: the theme colours? (a) UI (b) UX
  2. 2.👆 The user taps the button 6 times. What number does the label show now?
    let stars = 3;
    button.onTap = function () {
      stars = stars + 2;
      label.text = stars;
    };
  3. 3.Which of these is true of a menu button? (a) shows 3 to 5 icons (b) opens a list of pages (c) switches main sections (d) goes to the last screen
  4. 4.🧪 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(100) → expected 40
    Test 3: delivery(300) → expected 0
  5. 5.Which of these is a screen? (a) tap to go Next (b) a box to type a name (c) the settings page (d) tap to Start
  6. 6.🔍 Which is the odd one out? (a) let friends try it (b) write the store text (c) write down the bugs (d) try every button
  7. 7.🗒️ Version 1 of a quiz app must be ready in 12 days. How many days are left for extras after the must-haves?
    show a question: 2 days
    check the answer: 4 days
    show the score: 5 days
  8. 8.🗂️ What kind of app is a torch? (a) a learning app (b) a tool app (c) a health app (d) a game
  9. 9.🔁 What number does this code show?
    let scores = [31, 52, 84];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  10. 10.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money spent (b) add money received (c) show the balance (d) pie-chart colours
  11. 11.Which of these is a user need? (a) “Small text is hard” (b) a reminder alarm (c) a dark mode switch (d) a search bar
  12. 12.🧰 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(3) + fee(3));
  13. 13.🔁 What number does this code show?
    let steps = [12, 4, 18];
    let best = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] > best) {
        best = steps[i];
      }
    }
    show(best);
  14. 14.🔁 What number does this code show?
    let scores = [2, 12, 14];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  15. 15.🎨 Is this about UI or UX: how easy sign-up is? (a) UI (b) UX
  16. 16.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Back button: 28 px tall
    Start button: 64 px tall
    Done button: 56 px tall
    (a) Done (b) Start (c) Back
  17. 17.🔁 What is the LAST line this code shows?
    let names = ["Arjun", "Kabir", "Zoya", "Meera", "Riya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Arjun (b) Hi, Zoya (c) Hi, Riya (d) Hi, Kabir
  18. 18.🧭 What does the back button usually do? (a) deletes the page (b) opens settings (c) goes to the last screen (d) closes all apps
  19. 19.🔢 In a photo-post flow, which comes FIRST? (a) post the photo (b) open the camera screen (c) write a caption (d) add a filter
  20. 20.🔢 In a photo-post flow, which comes first: “write a caption” or “take the photo”? (a) write a caption (b) take the photo
  21. 21.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 34; // start at 32
    line 2: coins = coins + 5; // add 5
    line 3: coins = coins - 4; // take away 4
    line 4: coins = coins + 3; // add 3
    line 5: show(coins); // show it
    (a) line 2 (b) line 3 (c) line 4 (d) line 1
  22. 22.🔐 Which permission does a selfie sticker app really need? (a) the microphone (b) the camera (c) contacts (d) location
  23. 23.True or false: a bill splitter solves no real problem. (a) False (b) True
  24. 24.True or false: a final design uses plain grey boxes. (a) False (b) True
  25. 25.🔢 In a food-order flow, which comes FIRST? (a) pay for the order (b) pick a dish (c) check the cart (d) open the menu
  26. 26.🔀 What does this battery rule show?
    let battery = 22;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  27. 27.🧭 Why should every screen show where you are? (a) to use more battery (b) to look busy (c) to hide the menu (d) so users do not get lost
  28. 28.💾 Where should the app save your last game level: on the phone or in the cloud? (a) in the cloud (b) on the phone
  29. 29.Which of these is an input? (a) a box to type a name (b) tap to Start (c) the log-in page (d) the settings page
  30. 30.👥 A school app has 85 students, 60 teachers and 150 parents as users. Which user group is the biggest? (a) parents (b) teachers (c) students
  31. 31.🔢 In a quiz-app flow, what comes right after “see if it is right”? (a) tap “Start quiz” (b) read a question (c) pick an answer (d) see the final score
  32. 32.♿ Does this help everyone, or make the app harder to use: labels on every icon? (a) makes it harder (b) helps everyone
  33. 33.🔢 In a photo-post flow, which comes first: “take the photo” or “post the photo”? (a) take the photo (b) post the photo
  34. 34.True or false: a walking map needs your location. (a) False (b) True
  35. 35.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let points = 43; // start at 43
    line 2: points = points * 2; // double it
    line 3: points = points - 4; // take away 4
    line 4: points = points - 6; // add 6
    line 5: show(points); // show it
  36. 36.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) a dark mode (b) rate the driver (c) pick your bus stop (d) change the bus icon
  37. 37.🔢 After an app is released, what comes right after “fix and improve”? (a) read user reviews (b) list what to fix (c) release an update (d) test it again
  38. 38.Which of these is about UX (the experience)? (a) the theme colours (b) the button colours (c) whether users get lost (d) the icon shapes
  39. 39.📱 Where do people usually download phone apps from? (a) a printer (b) an app store (c) a web server (d) a charger
  40. 40.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] New Note
    [button] Cancel
    [button] Start
    [text box] Subject
    [button] Help
    [switch] Sound

Answer key

  1. UI
  2. 15
  3. opens a list of pages
  4. 2
  5. the settings page
  6. write the store text
  7. 1
  8. a tool app
  9. 2
  10. pie-chart colours
  11. “Small text is hard”
  12. 0
  13. 18
  14. 28
  15. UX
  16. Back
  17. Hi, Riya
  18. goes to the last screen
  19. open the camera screen
  20. take the photo
  21. line 1
  22. the camera
  23. False
  24. False
  25. open the menu
  26. Battery OK
  27. so users do not get lost
  28. on the phone
  29. a box to type a name
  30. parents
  31. see the final score
  32. helps everyone
  33. take the photo
  34. True
  35. 76
  36. pick your bus stop
  37. test it again
  38. whether users get lost
  39. an app store
  40. 2

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