← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 802 · 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 number does this app show?
    let price = 270; // typed by the user
    let off = 40; // typed by the user
    let pay = price - off;
    show(pay);
  2. 2.👆 Code that runs when an event happens is called a ___. (a) handler (b) hashtag (c) header (d) headline
  3. 3.True or false: a slider for volume is an input. (a) True (b) False
  4. 4.🧪 What is the actual result of a test? (a) what the app really does (b) the app’s name (c) what we hope for (d) the test’s number
  5. 5.🗒️ What is a must-have feature? (a) one the app cannot skip (b) a sound effect (c) a nice extra (d) a colour theme
  6. 6.🔁 What number does this code show?
    let marks = [6, 18, 20];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  7. 7.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(13));
  8. 8.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Add Homework
    [text box] Subject
    [button] Help
    [button] Done
    [button] Save
  9. 9.🔘 Our rule: buttons are at least 48 px tall. The Next button is 44 px tall. How many px taller must it be?
  10. 10.True or false: the screen layout is about UI (the look). (a) True (b) False
  11. 11.True or false: typing your age is an input. (a) False (b) True
  12. 12.🔀 What number does this shop app show?
    let total = 880;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  13. 13.👥 A school app has 25 students, 110 teachers and 40 parents as users. How many users does it have in all?
  14. 14.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Add Homework
    [text box] Notes
    [button] Help
    [text box] Subject
    [text box] Email
  15. 15.👥 A library app has 220 readers, 155 librarians and 240 volunteers as users. How many users does it have in all?
  16. 16.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Map”
    2. tap the Feed tab
    3. open “Score card”
    How many times must you tap Back to reach the main screen of this tab?
  17. 17.👆 The user taps the button 4 times. What number does the label show now?
    let stars = 3;
    button.onTap = function () {
      stars = stars + 3;
      label.text = stars;
    };
  18. 18.💡 Which app idea solves this problem: nobody knows whose bag it is? (a) a homework planner (b) a bill splitter (c) a lost-and-found board (d) a medicine reminder
  19. 19.🧩 How many buttons does this app screen have?
    [title] Sign Up
    [slider] Volume
    [button] Next
    [button] Save
    [button] Cancel
    [text box] Due date
  20. 20.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Item → Pens → Cart → Offers → Results → Shop
    Design B: Home → Pay → Search
  21. 21.Which of these happens at the build stage? (a) put it on an app store (b) connect the data (c) sketch the screens (d) try every button
  22. 22.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Edit photo”
    2. tap Back
    3. open “Match report”
    4. tap the Home tab
    5. tap the Search tab
    Which screen are you on now?
    (a) Edit photo (b) Home (c) Match report (d) Search
  23. 23.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Shop → Address → Item → Pay → Size
    Design B: Home → Search → Results → Cart → Pens → Size → Item
    (a) Design A (b) Design B
  24. 24.🎯 Which app would help this user most: a grandparent with weak eyesight? (a) a homework planner (b) a water reminder (c) a pocket-money tracker (d) a big-text reader
  25. 25.🎯 Is this a user need or a feature: “Small text is hard”? (a) a user need (b) a feature
  26. 26.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) savings stickers (b) pie-chart colours (c) add money spent (d) export to a file
  27. 27.🔀 What does this battery rule show?
    let battery = 36;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  28. 28.Which of these fits saving on the phone? (a) the sound on/off setting (b) chat messages to friends (c) a class leaderboard (d) a shared to-do list
  29. 29.🔢 In a food-order flow, which comes LAST? (a) track the order (b) add it to the cart (c) pay for the order (d) pick a dish
  30. 30.🔘 Is this good or poor button design: space between buttons? (a) poor design (b) good design
  31. 31.📊 Survey: which problem bugs you most? How many more votes did “missing the bus” get than “no quiet study place”?
    missing the bus: 9 votes
    no quiet study place: 3 votes
    forgetting birthdays: 10 votes
  32. 32.🎯 Which app would help this user most: a teen learning to make snacks? (a) a recipe finder (b) a bus tracker (c) a homework planner (d) a big-text reader
  33. 33.🗂️ What kind of app is a puzzle with levels? (a) a health app (b) a tool app (c) a learning app (d) a game
  34. 34.🧪 How many of these test cases pass?
    🚚 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(250) → expected 40
    Test 2: delivery(300) → expected 0
    Test 3: delivery(600) → expected 0
  35. 35.🔀 What does this PIN rule show?
    let pin = "63722";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  36. 36.🎨 Fewer taps to finish a task usually means ___. (a) better UX (b) worse UX (c) more colours (d) a bigger app
  37. 37.Which of these app ideas solves a real problem? (a) a blank grey screen (b) an app that just says hi (c) a page of random dots (d) a medicine reminder
  38. 38.♿ Showing right or wrong only in red and green is a problem for ___. (a) the server (b) the battery (c) fast typists (d) colour-blind users
  39. 39.True or false: how fast a task is done is about UI (the look). (a) True (b) False
  40. 40.✏️ Is this true of a wireframe or of a final design: uses plain grey boxes? (a) a wireframe (b) a final design

Answer key

  1. 230
  2. handler
  3. True
  4. what the app really does
  5. one the app cannot skip
  6. 20
  7. 39
  8. 1
  9. 4
  10. True
  11. True
  12. 830
  13. 175
  14. 3
  15. 615
  16. 1
  17. 15
  18. a lost-and-found board
  19. 3
  20. 6
  21. connect the data
  22. Search
  23. Design A
  24. a big-text reader
  25. a user need
  26. add money spent
  27. Battery OK
  28. the sound on/off setting
  29. track the order
  30. good design
  31. 6
  32. a recipe finder
  33. a game
  34. 2
  35. Use 4 digits
  36. better UX
  37. a medicine reminder
  38. colour-blind users
  39. False
  40. a wireframe

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