← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 408 · 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.💡 An app that tries to do everything at once is usually ___. (a) hard to use (b) very small (c) easy to build (d) finished fast
  2. 2.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Help button: 48 px tall
    Cancel button: 48 px tall
    Send button: 36 px tall
    Back button: 40 px tall
  3. 3.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(25, 4));
  4. 4.Which of these is true of a wireframe? (a) shows the real fonts (b) uses the final pictures (c) uses plain grey boxes (d) has the real colours
  5. 5.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Aman"));
    (a) greet (b) Hello, Aman! (c) Hello, name! (d) Aman
  6. 6.True or false: a beep sound is an output. (a) False (b) True
  7. 7.🔁 What is the LAST line this code shows?
    let names = ["Arjun", "Aman", "Zoya", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Aman (b) Hi, Arjun (c) Hi, Zoya (d) Hi, Meera
  8. 8.🔁 A loop over a list of 5 items runs its body how many times? (a) 1 (b) 4 (c) 6 (d) 5
  9. 9.True or false: “captions on videos” helps everyone use the app. (a) True (b) False
  10. 10.🎨 UI stands for user ___. (a) interface (b) internet (c) idea (d) input
  11. 11.🔍 Which is the odd one out? (a) how many taps it takes (b) the theme colours (c) the icon shapes (d) the font size
  12. 12.🔁 What is the LAST line this code shows?
    let names = ["Riya", "Kabir", "Zoya", "Arjun"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Arjun (b) Hi, Kabir (c) Hi, Zoya (d) Hi, Riya
  13. 13.🔀 With if / else if / else, how many parts run? (a) two (b) only one (c) all of them (d) none
  14. 14.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(37));
  15. 15.🔀 What number does this shop app show?
    let total = 730;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  16. 16.📱 Which one is installed on a phone: an app or a website? (a) a website (b) an app
  17. 17.📊 Survey: which problem bugs you most? How many more votes did “no quiet study place” get than “wasting pocket money”?
    missing the bus: 17 votes
    no quiet study place: 18 votes
    wasting pocket money: 7 votes
  18. 18.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Confirm → Search → Pay → Offers → Address
    Design B: Home → Pay → Size → Item → Pens → Menu → Confirm
  19. 19.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “wasting pocket money”?
    losing water bottles: 21 votes
    wasting pocket money: 4 votes
    forgetting homework: 20 votes
  20. 20.🔢 In a food-order flow, which comes first: “track the order” or “pay for the order”? (a) pay for the order (b) track the order
  21. 21.💡 Which is a problem statement? (a) “Add a logo” (b) “Make it fast” (c) “Kids forget homework” (d) “Use blue buttons”
  22. 22.🗒️ In MVP, the M stands for ___. (a) maximum (b) mobile (c) minimum (d) music
  23. 23.👆 The user taps the button 1 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 5) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  24. 24.🎯 Why learn about users before you build? (a) to make it longer (b) to pick a logo (c) to slow it down (d) to build what they need
  25. 25.🚀 Your app is at version 4.2.6. The next release adds a new feature. What is its version number? (a) 5.0.0 (b) 4.2.7 (c) 4.3.0 (d) 4.3.6
  26. 26.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Help page”
    2. tap Back
    3. open “Friend list”
    How many times must you tap Back to reach the main screen of this tab?
  27. 27.🔁 What does a loop do? (a) deletes code (b) saves photos (c) repeats code (d) draws icons
  28. 28.🔀 What does this battery rule show?
    let battery = 88;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  29. 29.🧪 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(15) → expected 100
    Test 2: price(16) → expected 100
    Test 3: price(11) → expected 50
  30. 30.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “losing water bottles”?
    forgetting birthdays: 3 votes
    losing water bottles: 9 votes
    forgetting homework: 12 votes
  31. 31.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Lessons tab
    2. open “Edit photo”
    3. open “Score card”
    4. tap Back
    5. open “Help page”
    Which screen are you on now?
    (a) Lessons (b) Edit photo (c) Help page (d) Score card
  32. 32.🎯 Is this a user need or a feature: “Small text is hard”? (a) a user need (b) a feature
  33. 33.🧩 Scores, notes and settings that an app keeps are called ___. (a) screens (b) tabs (c) buttons (d) data
  34. 34.👥 A clinic app has 50 patients, 155 doctors and 250 nurses as users. How many users does it have in all?
  35. 35.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(30));
  36. 36.🔢 In a sign-up flow, what comes right after “make a password”? (a) open the app (b) tap “Sign up” (c) enter the code sent (d) type name and email
  37. 37.🔁 What is the LAST line this code shows?
    let names = ["Aman", "Riya", "Kabir", "Zoya", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Aman (b) Hi, Meera (c) Hi, Kabir (d) Hi, Riya
  38. 38.Which of these fits saving on the phone? (a) a class leaderboard (b) chat messages to friends (c) photos on two devices (d) your last game level
  39. 39.🗒️ Version 1 of a quiz app must be ready in 13 days. How many days are left for extras after the must-haves?
    show a question: 3 days
    check the answer: 1 days
    show the score: 5 days
  40. 40.🔢 In a sign-up flow, which comes first: “open the app” or “make a password”? (a) make a password (b) open the app

Answer key

  1. hard to use
  2. 2
  3. 100
  4. uses plain grey boxes
  5. Hello, Aman!
  6. True
  7. Hi, Meera
  8. 5
  9. True
  10. interface
  11. how many taps it takes
  12. Hi, Arjun
  13. only one
  14. 111
  15. 680
  16. an app
  17. 11
  18. 1
  19. 16
  20. pay for the order
  21. “Kids forget homework”
  22. minimum
  23. 1
  24. to build what they need
  25. 4.3.0
  26. 1
  27. repeats code
  28. Battery OK
  29. 50
  30. 3
  31. Help page
  32. a user need
  33. data
  34. 455
  35. 60
  36. enter the code sent
  37. Hi, Meera
  38. your last game level
  39. 4
  40. open the app

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