← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 515 · 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 of these is a button on this screen?
    [title] New Note
    [button] Back
    [text box] Email
    [text box] Subject
    [switch] Remind me
    [slider] Text size
    [button] Start
    (a) Subject (b) Email (c) Start (d) Remind me
  2. 2.Which of these is a user need? (a) a search bar (b) a dark mode switch (c) a reminder alarm (d) “Small text is hard”
  3. 3.🔢 In a sign-up flow, which comes LAST? (a) enter the code sent (b) type name and email (c) see the home screen (d) tap “Sign up”
  4. 4.💾 Which can hold many values in order? (a) a button (b) a switch (c) a list (d) a single number
  5. 5.🔀 What does this PIN rule show?
    let pin = "855";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  6. 6.📱 Which one comes from an app store: an app or a website? (a) a website (b) an app
  7. 7.True or false: an app needs no installing. (a) False (b) True
  8. 8.🔢 In a food-order flow, which comes first: “check the cart” or “pick a dish”? (a) pick a dish (b) check the cart
  9. 9.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 95; // typed by the user
    line 2: let qty = 5; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 4 (b) line 1 (c) line 3 (d) line 2
  10. 10.💾 Where should the app save chat messages to friends: on the phone or in the cloud? (a) on the phone (b) in the cloud
  11. 11.📅 An app team plans for 3 days, builds for 7 days, tests for 2 days and releases on 1 more day. How many more days does building take than testing?
  12. 12.⚙️ What number does this app show?
    let price = 350; // typed by the user
    let off = 10; // typed by the user
    let pay = price - off;
    show(pay);
  13. 13.🐞 Finding and fixing bugs is called ___. (a) downloading (b) designing (c) decorating (d) debugging
  14. 14.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Shop → Confirm → Results → Pens
    Design B: Home → Pay → Cart → Confirm → Address → Item
    (a) Design A (b) Design B
  15. 15.🧩 Which input is best for typing your name? (a) a text box (b) a picture (c) a switch (d) a slider
  16. 16.🧰 What does return do in a function? (a) repeats the code (b) deletes the app (c) sends back a value (d) closes the screen
  17. 17.👥 A school app has 225 students, 255 teachers and 165 parents as users. Which user group is the biggest? (a) students (b) parents (c) teachers
  18. 18.True or false: working out a tip is an output. (a) True (b) False
  19. 19.True or false: a tiny 20 px button is poor button design. (a) False (b) True
  20. 20.True or false: a final design is a quick sketch. (a) True (b) False
  21. 21.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Quiz tab
    2. tap the Lessons tab
    3. open “Map”
    4. tap Back
    How many times must you tap Back to reach the main screen of this tab?
  22. 22.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    forgetting birthdays: 25 votes
    losing water bottles: 6 votes
    forgetting homework: 14 votes
    (a) forgetting homework (b) forgetting birthdays (c) losing water bottles
  23. 23.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) pick a theme colour (b) add a homework task (c) share tasks to friends (d) earn stickers
  24. 24.Which of these is true of a final design? (a) has no real colours (b) shows where things go (c) looks like the real app (d) uses plain grey boxes
  25. 25.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) set a due date (b) see tasks by day (c) add a homework task (d) earn stickers
  26. 26.🔀 What does >= mean? (a) less than (b) greater than or equal (c) not equal (d) smaller or equal
  27. 27.🛠️ At which stage do you sketch the screens? (a) the idea stage (b) the plan stage (c) the release stage (d) the test stage
  28. 28.🧪 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(350) → expected 40
    Test 2: delivery(650) → expected 0
    Test 3: delivery(600) → expected 0
  29. 29.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let coins = 49; // start at 49
    line 2: coins = coins + 2; // add 2
    line 3: coins = coins * 3; // double it
    line 4: coins = coins * 2; // double it
    line 5: show(coins); // show it
  30. 30.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 40;
    }
    show(fee(3) + fee(2));
  31. 31.🔢 When you make an app, which comes first: “test the app” or “get an idea”? (a) test the app (b) get an idea
  32. 32.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. tap the Search tab
    2. open “Badges”
    3. open “Edit photo”
    How many times must you tap Back to reach the main screen of this tab?
  33. 33.🧪 How many of these test cases pass?
    🎟️ 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(14) → expected 100
    Test 2: price(10) → expected 50
    Test 3: price(11) → expected 100
  34. 34.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) pick a theme colour (b) share tasks to friends (c) earn stickers (d) set a due date
  35. 35.📊 Survey: which problem bugs you most? How many students voted in all?
    wasting pocket money: 8 votes
    forgetting birthdays: 20 votes
    forgetting homework: 18 votes
  36. 36.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] New Note
    [button] Next
    [text box] Name
    [text box] Email
    [button] Help
    [button] Cancel
  37. 37.🧪 What is the ACTUAL result of Test 1?
    🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 600) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(900) → expected 0
    Test 2: delivery(550) → expected 40
    Test 3: delivery(1000) → expected 0
  38. 38.True or false: the font size is about UX (the experience). (a) False (b) True
  39. 39.🗂️ What kind of app is a water reminder? (a) a learning app (b) a tool app (c) a game (d) a health app
  40. 40.🔢 In a sign-up flow, what comes right after “type name and email”? (a) see the home screen (b) open the app (c) enter the code sent (d) make a password

Answer key

  1. Start
  2. “Small text is hard”
  3. see the home screen
  4. a list
  5. Use 4 digits
  6. an app
  7. False
  8. pick a dish
  9. line 3
  10. in the cloud
  11. 5
  12. 340
  13. debugging
  14. Design A
  15. a text box
  16. sends back a value
  17. teachers
  18. False
  19. True
  20. False
  21. 0
  22. forgetting birthdays
  23. add a homework task
  24. looks like the real app
  25. earn stickers
  26. greater than or equal
  27. the plan stage
  28. 3
  29. 306
  30. 0
  31. get an idea
  32. 2
  33. 3
  34. set a due date
  35. 46
  36. 2
  37. 0
  38. False
  39. a health app
  40. make a password

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