← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 233 · 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.🧪 What is the ACTUAL result of Test 1?
    🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 300) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(300) → expected 0
    Test 2: delivery(100) → expected 40
    Test 3: delivery(500) → expected 0
  2. 2.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) water animations (b) custom alert sounds (c) log a glass of water (d) share your streak
  3. 3.Which of these fits saving in the cloud? (a) chat messages to friends (b) the sound on/off setting (c) your last game level (d) notes to read offline
  4. 4.♿ A screen has 9 icon buttons. Only 1 of them have a text label for screen readers. How many still need a label?
  5. 5.Which of these is true of a wireframe? (a) looks like the real app (b) has the real colours (c) uses the final pictures (d) uses plain grey boxes
  6. 6.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Menu → Cart → Address → Pay → Confirm → Pens
    Design B: Home → Offers → Cart
  7. 7.🛠️ At which stage do you let friends try it? (a) the plan stage (b) the release stage (c) the idea stage (d) the test stage
  8. 8.True or false: today’s step count is data. (a) False (b) True
  9. 9.True or false: a shared to-do list fits saving in the cloud. (a) False (b) True
  10. 10.🗒️ Version 1 of a bus tracker must be ready in 10 days. How many days are left for extras after the must-haves?
    see where the bus is: 2 days
    show arrival time: 3 days
    pick your bus stop: 4 days
  11. 11.True or false: a pop-up message is an output. (a) True (b) False
  12. 12.🗒️ What is a must-have feature? (a) a sound effect (b) a colour theme (c) one the app cannot skip (d) a nice extra
  13. 13.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ search box ]
    [ big picture ]
    [ Save button ]
    [ list of items ]
    (a) big picture (b) Save button (c) search box (d) list of items
  14. 14.🔀 What number does this shop app show?
    let total = 320;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  15. 15.Which of these is true of a final design? (a) has no real colours (b) uses the final pictures (c) uses plain grey boxes (d) is a quick sketch
  16. 16.🧩 How many buttons does this app screen have?
    [title] Order Snacks
    [button] Save
    [text box] Subject
    [text box] Notes
    [switch] Show hints
    [button] Cancel
    [button] Done
  17. 17.🗂️ What kind of app is a step counter? (a) a tool app (b) a game (c) a learning app (d) a health app
  18. 18.🔁 What number does this code show?
    let runs = [75, 18, 35];
    let count = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] >= 50) {
        count = count + 1;
      }
    }
    show(count);
  19. 19.True or false: a wireframe uses the final pictures. (a) False (b) True
  20. 20.🔁 What number does this code show?
    let scores = [20, 13, 7, 19];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  21. 21.🎨 Is this about UI or UX: how users feel after? (a) UI (b) UX
  22. 22.Which of these is a user need? (a) a dark mode switch (b) a share button (c) a reminder alarm (d) “Small text is hard”
  23. 23.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Cancel button: 44 px tall
    Save button: 44 px tall
    Back button: 40 px tall
  24. 24.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Title: 28 px
    Body text: 28 px
    Footer: 11 px
    Caption: 24 px
    (a) Body text (b) Caption (c) Footer (d) Title
  25. 25.♿ Does this help everyone, or make the app harder to use: icons with no labels? (a) makes it harder (b) helps everyone
  26. 26.Which of these is a user need? (a) “I keep missing the bus” (b) a dark mode switch (c) a search bar (d) a reminder alarm
  27. 27.💾 pop() takes off the last item. What does this code show?
    let notes = ["Hindi", "Music", "Sports"];
    notes.pop();
    show(notes[notes.length - 1]);
    (a) Sports (b) Hindi (c) Music
  28. 28.🔁 What number does this code show?
    let scores = [62, 16, 72, 27, 20];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  29. 29.🔀 Which badge does this quiz app show?
    let marks = 21;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Gold (c) Bronze
  30. 30.🖼️ In this wireframe (top to bottom), what is right below the top bar?
    [ tab bar ]
    [ menu icon ]
    [ Save button ]
    [ search box ]
    [ top bar ]
    [ list of items ]
    (a) search box (b) list of items (c) tab bar (d) menu icon
  31. 31.🔍 Which is the odd one out? (a) strong colour contrast (b) big touch targets (c) captions on videos (d) colour as the only clue
  32. 32.Which of these is true of a wireframe? (a) uses the final pictures (b) looks like the real app (c) shows where things go (d) has the real colours
  33. 33.🔘 Our rule: buttons are at least 48 px tall. The Send button is 36 px tall. How many px taller must it be?
  34. 34.🧪 What is the ACTUAL result of Test 1?
    🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
    function price(age) {
      if (age < 9) {
        return 50;
      }
      return 100;
    }
    Test 1: price(9) → expected 100
    Test 2: price(11) → expected 100
    Test 3: price(7) → expected 50
  35. 35.♿ Showing right or wrong only in red and green is a problem for ___. (a) fast typists (b) the server (c) colour-blind users (d) the battery
  36. 36.💡 Which app idea solves this problem: the library is always full? (a) a homework planner (b) a bill splitter (c) a study-room finder (d) a lost-and-found board
  37. 37.🧪 What is the ACTUAL result of Test 2?
    🎟️ 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(10) → expected 50
    Test 2: price(12) → expected 100
    Test 3: price(13) → expected 100
  38. 38.♿ What should every icon-only button have for screen readers? (a) a sound (b) a text label (c) a bright colour (d) a long animation
  39. 39.🔘 Is this good or poor button design: space between buttons? (a) poor design (b) good design
  40. 40.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Shop → Results → Size
    Design B: Home → Results → Search → Item → Pay

Answer key

  1. 0
  2. log a glass of water
  3. chat messages to friends
  4. 8
  5. uses plain grey boxes
  6. 6
  7. the test stage
  8. True
  9. True
  10. 1
  11. True
  12. one the app cannot skip
  13. list of items
  14. 320
  15. uses the final pictures
  16. 3
  17. a health app
  18. 1
  19. False
  20. 59
  21. UX
  22. “Small text is hard”
  23. 0
  24. Footer
  25. makes it harder
  26. “I keep missing the bus”
  27. Music
  28. 2
  29. Bronze
  30. list of items
  31. colour as the only clue
  32. shows where things go
  33. 12
  34. 100
  35. colour-blind users
  36. a study-room finder
  37. 100
  38. a text label
  39. good design
  40. 1

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