← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 985 · 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: you add the buttons at the plan stage. (a) False (b) True
  2. 2.👆 What kind of event is this: the user taps Play? (a) a load event (b) a timer event (c) a text event (d) a tap event
  3. 3.True or false: working out a tip is processing. (a) False (b) True
  4. 4.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Shop → Results → Item → Search → Pay
    Design B: Home → Shop → Size → Menu → Address → Offers → Search
  5. 5.True or false: notes to read offline fits saving in the cloud. (a) False (b) True
  6. 6.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Size → Cart
    Design B: Home → Pens → Shop → Size → Confirm → Cart
  7. 7.🔁 What number does this code show?
    let marks = [13, 1, 1];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  8. 8.✏️ What is a wireframe? (a) the finished app (b) a charging cable (c) a simple screen sketch (d) a type of password
  9. 9.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Save button: 36 px tall
    Help button: 48 px tall
    Done button: 44 px tall
  10. 10.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Shop → Search → Confirm
    Design B: Home → Size → Confirm → Results → Item → Cart
  11. 11.Which of these is an input? (a) working out a tip (b) adding up a bill (c) a result on screen (d) taking a photo
  12. 12.🔢 In a food-order flow, what comes right after “add it to the cart”? (a) track the order (b) pick a dish (c) check the cart (d) open the menu
  13. 13.🧪 What is the ACTUAL result of Test 3?
    🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 500) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(300) → expected 40
    Test 2: delivery(500) → expected 0
    Test 3: delivery(800) → expected 0
  14. 14.🌗 Is red on green easy or hard to read on a button? (a) easy to read (b) hard to read
  15. 15.🔍 Which is the odd one out? (a) labels on every icon (b) text that can grow (c) colour as the only clue (d) strong colour contrast
  16. 16.True or false: you add the buttons at the idea stage. (a) True (b) False
  17. 17.👆 The user taps the button 1 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 4) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  18. 18.🎯 Is this a user need or a feature: “I keep missing the bus”? (a) a user need (b) a feature
  19. 19.📊 Survey: which problem bugs you most? How many more votes did “wasting pocket money” get than “losing water bottles”?
    losing water bottles: 10 votes
    wasting pocket money: 15 votes
    forgetting homework: 3 votes
  20. 20.🔀 When does the else part run? (a) never (b) when the test is true (c) always (d) when the test is false
  21. 21.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 5 or more right answers.
    function result(right) {
      if (right > 5) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(5) → expected Pass
    Test 2: result(2) → expected Try again
    Test 3: result(6) → expected Pass
  22. 22.👥 A school app has 185 students, 245 teachers and 190 parents as users. How many users does it have in all?
  23. 23.True or false: the settings page is a screen. (a) False (b) True
  24. 24.👆 The user taps the button 4 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
  25. 25.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Sign Up
    [button] Send
    [text box] Subject
    [button] Done
    [switch] Remind me
  26. 26.👥 A library app has 50 readers, 120 librarians and 150 volunteers as users. How many more librarians than readers are there?
  27. 27.⚙️ In an app, is working out a tip an input, processing or an output? (a) input (b) output (c) processing
  28. 28.🎯 Why learn about users before you build? (a) to slow it down (b) to pick a logo (c) to build what they need (d) to make it longer
  29. 29.True or false: the sound on/off setting fits saving on the phone. (a) True (b) False
  30. 30.True or false: a big-text reader is the best fit for a student who keeps forgetting due dates. (a) True (b) False
  31. 31.🖼️ In this wireframe (top to bottom), what is right above the filter buttons?
    [ big picture ]
    [ filter buttons ]
    [ Save button ]
    [ top bar ]
    [ tab bar ]
    (a) tab bar (b) Save button (c) top bar (d) big picture
  32. 32.👆 A tap handler runs how many times if the user taps 4 times? (a) 0 (b) 4 (c) 1 (d) 8
  33. 33.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Help button: 64 px tall
    Cancel button: 72 px tall
    Back button: 44 px tall
    (a) Help (b) Cancel (c) Back
  34. 34.🔐 Is this permission request fair or too much: quiz app → microphone? (a) too much (b) fair
  35. 35.Which of these fits saving on the phone? (a) photos on two devices (b) your last game level (c) chat messages to friends (d) a shared to-do list
  36. 36.👆 The user taps the button 6 times. What number does the label show now?
    let points = 10;
    button.onTap = function () {
      points = points + 5;
      label.text = points;
    };
  37. 37.True or false: a library due-date alert solves no real problem. (a) False (b) True
  38. 38.🗒️ Version 1 of a water reminder must be ready in 14 days. How many days are left for extras after the must-haves?
    set a reminder time: 3 days
    log a glass of water: 2 days
    see today’s total: 4 days
  39. 39.⚙️ What number does this app show?
    let bill = 72; // typed by the user
    let friends = 3; // typed by the user
    let share = bill / friends;
    show(share);
  40. 40.True or false: a final design uses plain grey boxes. (a) False (b) True

Answer key

  1. False
  2. a tap event
  3. True
  4. 5
  5. False
  6. 2
  7. 15
  8. a simple screen sketch
  9. 1
  10. 3
  11. taking a photo
  12. check the cart
  13. 0
  14. hard to read
  15. colour as the only clue
  16. False
  17. 1
  18. a user need
  19. 5
  20. when the test is false
  21. 2
  22. 620
  23. True
  24. OFF
  25. 2
  26. 70
  27. processing
  28. to build what they need
  29. True
  30. False
  31. big picture
  32. 4
  33. Back
  34. too much
  35. your last game level
  36. 40
  37. False
  38. 5
  39. 24
  40. False

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