← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 127 · 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 should every icon-only button have for screen readers? (a) a sound (b) a long animation (c) a bright colour (d) a text label
  2. 2.🔢 In a quiz-app flow, what comes right after “pick an answer”? (a) tap “Start quiz” (b) see the final score (c) see if it is right (d) read a question
  3. 3.True or false: a pop-up message is an input. (a) False (b) True
  4. 4.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Settings tab
    2. tap the Chat tab
    3. open “Friend list”
    4. open “Match report”
    5. tap Back
    How many times must you tap Back to reach the main screen of this tab?
  5. 5.🔘 Is this good or poor button design: a tiny 20 px button? (a) good design (b) poor design
  6. 6.🎯 Who are the users of an app? (a) only the testers (b) the people who use it (c) only the coders (d) the app icons
  7. 7.🔘 Is this good or poor button design: a clear word like Save? (a) good design (b) poor design
  8. 8.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    wasting pocket money: 15 votes
    no quiet study place: 14 votes
    losing water bottles: 11 votes
    (a) losing water bottles (b) no quiet study place (c) wasting pocket money
  9. 9.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Cart → Size → Offers → Search → Item → Menu
    Design B: Home → Address → Pens → Menu
  10. 10.🔀 What does this battery rule show?
    let battery = 25;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  11. 11.True or false: a website comes from an app store. (a) True (b) False
  12. 12.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(70, 6));
  13. 13.🔀 What number does this shop app show?
    let total = 810;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  14. 14.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    no quiet study place: 24 votes
    losing water bottles: 19 votes
    forgetting homework: 13 votes
    (a) no quiet study place (b) losing water bottles (c) forgetting homework
  15. 15.True or false: the screen layout is about UX (the experience). (a) False (b) True
  16. 16.Which of these is a user need? (a) a dark mode switch (b) a share button (c) a reminder alarm (d) “I keep missing the bus”
  17. 17.🔁 What number does this code show?
    let marks = [28, 44, 93];
    let count = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  18. 18.✏️ Is this true of a wireframe or of a final design: uses plain grey boxes? (a) a final design (b) a wireframe
  19. 19.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 800) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(750) → expected 40
    Test 2: delivery(950) → expected 0
    Test 3: delivery(850) → expected 0
  20. 20.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Settings tab
    2. tap the Feed tab
    3. open “Edit photo”
    How many times must you tap Back to reach the main screen of this tab?
  21. 21.👆 The user taps the button 3 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 2) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  22. 22.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. tap the Profile tab
    2. open “Match report”
    3. tap the Profile tab
    4. open “Video”
    5. open “Video”
    Which screen are you on now?
    (a) Match report (b) Video (c) Search (d) Home
  23. 23.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) show the balance (b) add money spent (c) add money received (d) pie-chart colours
  24. 24.Which of these requests is fair? (a) timer → your photos (b) camera app → camera (c) calculator → location (d) torch → contacts
  25. 25.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(33));
  26. 26.🧪 A test fails when ___. (a) the font is big (b) both are the same (c) actual is not expected (d) the app is new
  27. 27.🔐 Which permission does a guitar tuner really need? (a) location (b) the microphone (c) contacts (d) the camera
  28. 28.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 40; // start at 38
    line 2: stars = stars * 2; // double it
    line 3: stars = stars * 2; // double it
    line 4: show(stars); // show it
    (a) line 2 (b) line 1 (c) line 3
  29. 29.True or false: a switch for dark mode is an input. (a) False (b) True
  30. 30.💾 Where should the app save a shared to-do list: on the phone or in the cloud? (a) in the cloud (b) on the phone
  31. 31.🔢 When you make an app, which comes FIRST? (a) plan the screens (b) get an idea (c) build the app (d) release it
  32. 32.💡 An app that tries to do everything at once is usually ___. (a) hard to use (b) very small (c) easy to build (d) finished fast
  33. 33.True or false: a pop-up message is an output. (a) True (b) False
  34. 34.🔁 What number does this code show?
    let marks = [14, 20, 1, 2, 2];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  35. 35.👆 The user taps the button 4 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 2) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  36. 36.🧩 How many buttons does this app screen have?
    [title] Edit Profile
    [text box] Due date
    [button] Next
    [button] Cancel
    [button] Save
    [text box] Age
    [text box] Notes
  37. 37.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Pay → Item → Menu
    Design B: Home → Item → Confirm
  38. 38.🐞 A comment in code (after //) is for ___. (a) the app store (b) the phone screen (c) people reading the code (d) the battery
  39. 39.True or false: a blank grey screen solves a real problem. (a) True (b) False
  40. 40.🔢 In a quiz-app flow, what comes right after “see if it is right”? (a) pick an answer (b) see the final score (c) tap “Start quiz” (d) read a question

Answer key

  1. a text label
  2. see if it is right
  3. False
  4. 1
  5. poor design
  6. the people who use it
  7. good design
  8. wasting pocket money
  9. 6
  10. Battery OK
  11. False
  12. 420
  13. 760
  14. no quiet study place
  15. False
  16. “I keep missing the bus”
  17. 2
  18. a wireframe
  19. 3
  20. 1
  21. 2
  22. Video
  23. pie-chart colours
  24. camera app → camera
  25. 66
  26. actual is not expected
  27. the microphone
  28. line 1
  29. True
  30. in the cloud
  31. get an idea
  32. hard to use
  33. True
  34. 20
  35. 2
  36. 3
  37. 1
  38. people reading the code
  39. False
  40. see the final score

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