← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 53 · 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.True or false: tap to Save is a button. (a) False (b) True
  2. 2.💾 Saving data in the cloud lets you ___. (a) skip the internet (b) use it on any device (c) shrink the app (d) never need a password
  3. 3.🔢 In a sign-up flow, which comes first: “enter the code sent” or “tap “Sign up””? (a) enter the code sent (b) tap “Sign up”
  4. 4.Which of these happens at the release stage? (a) pick the features (b) write the code (c) add the buttons (d) write the store text
  5. 5.🧪 How many of these test cases pass?
    🚚 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(700) → expected 0
    Test 2: delivery(350) → expected 40
    Test 3: delivery(750) → expected 0
  6. 6.🧭 Which part of navigation undoes one move? (a) a menu button (b) the back button (c) a tab bar
  7. 7.🔀 What number does this shop app show?
    let total = 350;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  8. 8.📊 Survey: which problem bugs you most? How many students voted in all?
    missing the bus: 8 votes
    forgetting birthdays: 7 votes
    wasting pocket money: 9 votes
  9. 9.⚙️ Which line does the processing (works out the answer)?
    line 1: let km = 12; // typed by the user
    line 2: let metres = km * 1000;
    line 3: show(metres);
    (a) line 1 (b) line 3 (c) line 2
  10. 10.🧑 Who is an app really made for? (a) its icon (b) its coder only (c) its charger (d) its users
  11. 11.🔍 Which is the odd one out? (a) taking a photo (b) tapping a button (c) typing your age (d) a buzz (vibration)
  12. 12.⚙️ What number does this app show?
    let bill = 222; // typed by the user
    let friends = 3; // typed by the user
    let share = bill / friends;
    show(share);
  13. 13.👆 The user taps the button 6 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
  14. 14.🔀 When does the else part run? (a) never (b) always (c) when the test is false (d) when the test is true
  15. 15.True or false: a library due-date alert solves a real problem. (a) True (b) False
  16. 16.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(10));
  17. 17.⚙️ In an app, is tapping a button an input, processing or an output? (a) processing (b) input (c) output
  18. 18.True or false: a big-text reader is the best fit for a grandparent with weak eyesight. (a) True (b) False
  19. 19.👥 A clinic app has 200 patients, 50 doctors and 100 nurses as users. How many users does it have in all?
  20. 20.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Badges”
    2. tap Back
    3. open “Map”
    Which screen are you on now?
    (a) Map (b) Search (c) Badges (d) Home
  21. 21.⚙️ Which line does the processing (works out the answer)?
    line 1: let bill = 39; // typed by the user
    line 2: let friends = 3; // typed by the user
    line 3: let share = bill / friends;
    line 4: show(share);
    (a) line 1 (b) line 3 (c) line 4 (d) line 2
  22. 22.🔘 Is this good or poor button design: a clear word like Save? (a) good design (b) poor design
  23. 23.True or false: your saved notes is data. (a) False (b) True
  24. 24.True or false: an app updates from the store. (a) False (b) True
  25. 25.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) export to a file (b) savings stickers (c) pie-chart colours (d) add money received
  26. 26.🎨 UI stands for user ___. (a) idea (b) internet (c) input (d) interface
  27. 27.🔁 What does a loop do? (a) saves photos (b) draws icons (c) deletes code (d) repeats code
  28. 28.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Help button: 52 px tall
    Cancel button: 32 px tall
    Send button: 32 px tall
  29. 29.🗂️ What kind of app is a racing challenge? (a) a game (b) a health app (c) a tool app (d) a learning app
  30. 30.🧰 What does this code show?
    function greet(name) {
      return "Hi, " + name + "!";
    }
    show(greet("Meera"));
    (a) Hi, Meera! (b) Hi, name! (c) Meera (d) greet
  31. 31.True or false: a beep sound is an output. (a) False (b) True
  32. 32.📱 Which one comes from an app store: an app or a website? (a) an app (b) a website
  33. 33.👥 A school app has 180 students, 225 teachers and 215 parents as users. Which user group is the biggest? (a) students (b) parents (c) teachers
  34. 34.Which of these fits saving on the phone? (a) a shared to-do list (b) notes to read offline (c) a class leaderboard (d) chat messages to friends
  35. 35.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    missing the bus: 7 votes
    losing water bottles: 12 votes
    forgetting birthdays: 4 votes
    (a) missing the bus (b) losing water bottles (c) forgetting birthdays
  36. 36.👥 A clinic app has 125 patients, 80 doctors and 230 nurses as users. How many users does it have in all?
  37. 37.🔁 A loop over a list of 5 items runs its body how many times? (a) 1 (b) 4 (c) 5 (d) 6
  38. 38.🔍 Which is the odd one out? (a) try every button (b) let friends try it (c) write down the bugs (d) add the buttons
  39. 39.⚙️ What number does this app show?
    let price = 65; // typed by the user
    let qty = 3; // typed by the user
    let total = price * qty;
    show(total);
  40. 40.🔁 What is the LAST line this code shows?
    let names = ["Riya", "Aman", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Meera (b) Hi, Aman (c) Hi, Riya

Answer key

  1. True
  2. use it on any device
  3. tap “Sign up”
  4. write the store text
  5. 3
  6. the back button
  7. 350
  8. 24
  9. line 2
  10. its users
  11. a buzz (vibration)
  12. 74
  13. OFF
  14. when the test is false
  15. True
  16. 20
  17. input
  18. True
  19. 350
  20. Map
  21. line 3
  22. good design
  23. True
  24. True
  25. add money received
  26. interface
  27. repeats code
  28. 1
  29. a game
  30. Hi, Meera!
  31. True
  32. an app
  33. teachers
  34. notes to read offline
  35. losing water bottles
  36. 435
  37. 5
  38. add the buttons
  39. 195
  40. Hi, Meera

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