← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 305 · 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: a medicine reminder solves no real problem. (a) True (b) False
  2. 2.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Help button: 28 px tall
    Back button: 68 px tall
    Save button: 68 px tall
    (a) Help (b) Save (c) Back
  3. 3.🔀 What does this PIN rule show?
    let pin = "93133";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  4. 4.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Footer: 20 px
    Title: 14 px
    Hint: 17 px
    Body text: 19 px
    Caption: 16 px
    (a) Body text (b) Footer (c) Hint (d) Title
  5. 5.True or false: the user presses Save is a text event. (a) True (b) False
  6. 6.♿ What does a screen reader do? (a) makes text tiny (b) takes photos (c) plays music (d) reads the screen aloud
  7. 7.🔀 What does this PIN rule show?
    let pin = "994";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  8. 8.🔁 What number does this code show?
    let scores = [5, 11, 6, 19, 4];
    let best = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] > best) {
        best = scores[i];
      }
    }
    show(best);
  9. 9.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Send button: 60 px tall
    Save button: 32 px tall
    Done button: 56 px tall
    Next button: 68 px tall
    (a) Done (b) Next (c) Send (d) Save
  10. 10.🔁 list.length tells you ___. (a) the biggest item (b) how many items it has (c) the last item (d) the first item
  11. 11.🔍 Which is the odd one out? (a) strong colour contrast (b) captions on videos (c) colour as the only clue (d) big touch targets
  12. 12.🔀 What does this PIN rule show?
    let pin = "668";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  13. 13.🧪 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(550) → expected 0
    Test 2: delivery(400) → expected 0
    Test 3: delivery(300) → expected 40
    (a) Test 3 (b) Test 1 (c) Test 2
  14. 14.📊 Survey: which problem bugs you most? How many more votes did “losing water bottles” get than “missing the bus”?
    missing the bus: 7 votes
    wasting pocket money: 20 votes
    losing water bottles: 8 votes
  15. 15.🧩 In an app, what is tap to Save? (a) a button (b) data (c) a screen (d) an input
  16. 16.🔀 What does this battery rule show?
    let battery = 46;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  17. 17.🔁 A loop over a list of 5 items runs its body how many times? (a) 6 (b) 5 (c) 1 (d) 4
  18. 18.🔁 What number does this code show?
    let steps = [19, 7, 9, 1];
    let best = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] > best) {
        best = steps[i];
      }
    }
    show(best);
  19. 19.👆 What kind of event is this: the search box changes? (a) a timer event (b) a text event (c) a tap event (d) a load event
  20. 20.🔍 Which is the odd one out? (a) icons with no labels (b) colour as the only clue (c) captions on videos (d) fast-flashing lights
  21. 21.🧪 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(11) → expected 50
    Test 2: price(13) → expected 100
    Test 3: price(15) → expected 100
  22. 22.📊 Survey: which problem bugs you most? How many more votes did “wasting pocket money” get than “forgetting birthdays”?
    losing water bottles: 23 votes
    wasting pocket money: 24 votes
    forgetting birthdays: 22 votes
  23. 23.🔀 What is a user flow? (a) a colour theme (b) a type of font (c) the path through screens (d) a charging cable
  24. 24.♿ A screen has 11 icon buttons. Only 8 of them have a text label for screen readers. How many still need a label?
  25. 25.🖼️ How many parts (boxes) does this wireframe have?
    [ list of items ]
    [ big picture ]
    [ menu icon ]
    [ Add button ]
    [ top bar ]
    [ Save button ]
  26. 26.🔁 What number does this code show?
    let marks = [85, 33, 36];
    let count = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] >= 70) {
        count = count + 1;
      }
    }
    show(count);
  27. 27.Which of these is a button? (a) a switch for dark mode (b) your saved notes (c) tap to Send (d) a date picker
  28. 28.🔢 In a quiz-app flow, which comes first: “pick an answer” or “read a question”? (a) pick an answer (b) read a question
  29. 29.🗒️ The first small, working version of an app is often called an ___. (a) FAQ (b) CPU (c) MVP (d) URL
  30. 30.🧪 What is the ACTUAL result of Test 1?
    🚚 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(650) → expected 0
    Test 2: delivery(350) → expected 40
    Test 3: delivery(750) → expected 0
  31. 31.🚀 In version 2.5.1, which number is the major version? (a) 1 (b) 2 (c) 251 (d) 5
  32. 32.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “wasting pocket money”?
    forgetting homework: 25 votes
    wasting pocket money: 14 votes
    losing water bottles: 6 votes
  33. 33.Which of these is an input? (a) adding up a bill (b) taking a photo (c) checking a password (d) a pop-up message
  34. 34.🔘 Is this good or poor button design: a tiny 20 px button? (a) poor design (b) good design
  35. 35.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let points = 42; // start at 40
    line 2: points = points + 2; // add 2
    line 3: points = points * 2; // double it
    line 4: points = points * 2; // double it
    line 5: show(points); // show it
  36. 36.🧩 How many buttons does this app screen have?
    [title] Order Snacks
    [button] Next
    [text box] Phone
    [slider] Brightness
    [button] Start
    [switch] Dark mode
    [button] Save
  37. 37.🧩 How many buttons does this app screen have?
    [title] Add Homework
    [button] Save
    [text box] Phone
    [slider] Brightness
    [switch] Dark mode
    [text box] Subject
  38. 38.🧑 Who is an app really made for? (a) its charger (b) its coder only (c) its users (d) its icon
  39. 39.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Address → Confirm → Cart → Pay → Shop
    Design B: Home → Shop → Menu → Offers → Pens → Cart → Item
  40. 40.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Help page”
    2. tap Back
    3. open “Match report”
    4. tap Back
    5. open “Video”
    How many times must you tap Back to reach the main screen of this tab?

Answer key

  1. False
  2. Help
  3. Use 4 digits
  4. Title
  5. False
  6. reads the screen aloud
  7. Use 4 digits
  8. 19
  9. Save
  10. how many items it has
  11. colour as the only clue
  12. Use 4 digits
  13. Test 2
  14. 1
  15. a button
  16. Battery OK
  17. 5
  18. 19
  19. a text event
  20. captions on videos
  21. 3
  22. 2
  23. the path through screens
  24. 3
  25. 6
  26. 1
  27. tap to Send
  28. read a question
  29. MVP
  30. 0
  31. 2
  32. 11
  33. taking a photo
  34. poor design
  35. 176
  36. 3
  37. 1
  38. its users
  39. 1
  40. 1

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