← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 788 · 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.👆 The user taps the button 4 times. What number does the label show now?
    let lives = 4;
    button.onTap = function () {
      lives = lives + 3;
      label.text = lives;
    };
  2. 2.🗒️ The first small, working version of an app is often called an ___. (a) CPU (b) URL (c) MVP (d) FAQ
  3. 3.🐞 What is a good first step when an app gives a wrong result? (a) add more colours (b) buy a new phone (c) find where it goes wrong (d) delete the app
  4. 4.🧪 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(350) → expected 40
    Test 2: delivery(400) → expected 0
    Test 3: delivery(500) → expected 0
    (a) Test 1 (b) Test 3 (c) Test 2
  5. 5.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Score card”
    2. tap Back
    3. tap the Home tab
    4. tap the Home tab
    5. open “Match report”
    How many times must you tap Back to reach the main screen of this tab?
  6. 6.True or false: the search box changes is a load event. (a) False (b) True
  7. 7.🔍 Which is the odd one out? (a) captions on videos (b) labels on every icon (c) fast-flashing lights (d) strong colour contrast
  8. 8.Which of these is a user need? (a) a share button (b) a search bar (c) “What should I cook?” (d) a dark mode switch
  9. 9.Which of these is a screen? (a) the home page of an app (b) a slider for volume (c) tap to go Next (d) a date picker
  10. 10.🎨 Is this about UI or UX: how easy sign-up is? (a) UI (b) UX
  11. 11.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(8));
  12. 12.🔔 What is a message an app shows on your lock screen called? (a) a notification (b) a variable (c) a wireframe (d) a web address
  13. 13.Which of these is a user need? (a) a search bar (b) a dark mode switch (c) “I keep missing the bus” (d) a reminder alarm
  14. 14.🛠️ At which stage do you draw the user flow? (a) the plan stage (b) the idea stage (c) the release stage (d) the build stage
  15. 15.⚙️ In an app, is a pop-up message an input, processing or an output? (a) processing (b) output (c) input
  16. 16.👥 A school app has 135 students, 30 teachers and 120 parents as users. How many users does it have in all?
  17. 17.True or false: a class leaderboard fits saving on the phone. (a) True (b) False
  18. 18.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 12, and 100 for everyone else.
    function price(age) {
      if (age < 12) {
        return 50;
      }
      return 100;
    }
    Test 1: price(18) → expected 100
    Test 2: price(17) → expected 100
    Test 3: price(11) → expected 50
  19. 19.🗒️ 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: 1 days
    show the score: 3 days
  20. 20.🧰 Why write a function? (a) to make code longer (b) to reuse code (c) to hide errors (d) to slow the app
  21. 21.🔀 What does this sign-up rule show?
    let age = 16;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  22. 22.True or false: buttons almost touching is poor button design. (a) True (b) False
  23. 23.🧭 Which part of navigation shows 3 to 5 icons? (a) the back button (b) a tab bar (c) a menu button
  24. 24.🔍 Which is the odd one out? (a) the icon shapes (b) the theme colours (c) whether users get lost (d) the font size
  25. 25.🔀 What does this PIN rule show?
    let pin = "203";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  26. 26.🔀 What number does this shop app show?
    let total = 670;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  27. 27.True or false: a website is installed on a phone. (a) False (b) True
  28. 28.🖼️ In this wireframe (top to bottom), what is right above the Add button?
    [ Save button ]
    [ big picture ]
    [ title text ]
    [ tab bar ]
    [ Add button ]
    (a) Save button (b) title text (c) tab bar (d) big picture
  29. 29.True or false: working out a tip is processing. (a) False (b) True
  30. 30.🔁 What does a loop do? (a) deletes code (b) draws icons (c) saves photos (d) repeats code
  31. 31.🧩 Scores, notes and settings that an app keeps are called ___. (a) screens (b) data (c) tabs (d) buttons
  32. 32.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Item → Confirm → Pay
    Design B: Home → Shop → Pens → Search → Address → Cart
  33. 33.👆 The user taps the button 7 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) ON (b) OFF
  34. 34.🔀 What does this sign-up rule show?
    let age = 13;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  35. 35.💡 An app that tries to do everything at once is usually ___. (a) very small (b) hard to use (c) finished fast (d) easy to build
  36. 36.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Friend list”
    2. open “Match report”
    3. tap the Profile tab
    Which screen are you on now?
    (a) Profile (b) Match report (c) Friend list (d) Home
  37. 37.👥 A school app has 70 students, 55 teachers and 90 parents as users. How many more parents than students are there?
  38. 38.True or false: the home page of an app is a screen. (a) True (b) False
  39. 39.🔢 In a food-order flow, which comes LAST? (a) pay for the order (b) pick a dish (c) track the order (d) open the menu
  40. 40.🧩 How many buttons does this app screen have?
    [title] New Note
    [text box] Email
    [button] Start
    [slider] Brightness
    [text box] Due date

Answer key

  1. 16
  2. MVP
  3. find where it goes wrong
  4. Test 2
  5. 1
  6. False
  7. fast-flashing lights
  8. “What should I cook?”
  9. the home page of an app
  10. UX
  11. 24
  12. a notification
  13. “I keep missing the bus”
  14. the plan stage
  15. output
  16. 285
  17. False
  18. 3
  19. 6
  20. to reuse code
  21. Welcome!
  22. True
  23. a tab bar
  24. whether users get lost
  25. Use 4 digits
  26. 620
  27. False
  28. tab bar
  29. True
  30. repeats code
  31. data
  32. 3
  33. ON
  34. Welcome!
  35. hard to use
  36. Profile
  37. 20
  38. True
  39. track the order
  40. 1

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