← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 399 · 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.✏️ Is this true of a wireframe or of a final design: shows the real fonts? (a) a wireframe (b) a final design
  2. 2.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Back button: 52 px tall
    Help button: 64 px tall
    Start button: 28 px tall
    Done button: 60 px tall
    (a) Start (b) Back (c) Done (d) Help
  3. 3.📱 Which one has a web address: an app or a website? (a) a website (b) an app
  4. 4.🔐 Which permission does a weather-near-me app really need? (a) the microphone (b) the camera (c) location (d) contacts
  5. 5.🚀 Your app is at version 3.4.4. The next release adds a new feature. What is its version number? (a) 3.5.4 (b) 4.0.0 (c) 3.4.5 (d) 3.5.0
  6. 6.True or false: an app is installed on a phone. (a) True (b) False
  7. 7.🎯 Is this a user need or a feature: “I keep missing the bus”? (a) a feature (b) a user need
  8. 8.🔁 What is the LAST line this code shows?
    let names = ["Riya", "Kabir", "Arjun"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Riya (b) Hi, Arjun (c) Hi, Kabir
  9. 9.🔁 What number does this code show?
    let steps = [53, 23, 37];
    let count = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  10. 10.🐞 Finding and fixing bugs is called ___. (a) downloading (b) designing (c) decorating (d) debugging
  11. 11.👆 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) OFF (b) ON
  12. 12.🔘 Is this good or poor button design: a clear word like Save? (a) poor design (b) good design
  13. 13.📊 Survey: which problem bugs you most? How many more votes did “missing the bus” get than “losing water bottles”?
    wasting pocket money: 19 votes
    losing water bottles: 7 votes
    missing the bus: 18 votes
  14. 14.True or false: the theme colours is about UI (the look). (a) False (b) True
  15. 15.🗂️ What kind of app is a unit converter? (a) a learning app (b) a health app (c) a tool app (d) a game
  16. 16.♿ Accessibility means an app works for ___. (a) only experts (b) everyone (c) nobody (d) only the coder
  17. 17.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) easy cases (b) phone cases (c) old cases (d) edge cases
  18. 18.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Video”
    2. tap Back
    3. open “Help page”
    4. tap Back
    How many times must you tap Back to reach the main screen of this tab?
  19. 19.True or false: the user presses Save is a tap event. (a) False (b) True
  20. 20.🔁 What is the LAST line this code shows?
    let names = ["Kabir", "Riya", "Meera", "Zoya", "Arjun"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Kabir (b) Hi, Arjun (c) Hi, Meera (d) Hi, Riya
  21. 21.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 42; // start at 39
    line 2: score = score + 4; // add 4
    line 3: score = score + 3; // add 3
    line 4: show(score); // show it
  22. 22.♿ A screen has 5 icon buttons. Only 4 of them have a text label for screen readers. How many still need a label?
  23. 23.Which of these makes the app harder to use? (a) labels on every icon (b) captions on videos (c) text that can grow (d) colour as the only clue
  24. 24.🔍 Which is the odd one out? (a) let friends try it (b) write down the bugs (c) try every button (d) put it on an app store
  25. 25.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Help button: 40 px tall
    Next button: 68 px tall
    Save button: 72 px tall
    (a) Help (b) Next (c) Save
  26. 26.📊 Survey: which problem bugs you most? How many more votes did “forgetting birthdays” get than “losing water bottles”?
    losing water bottles: 6 votes
    forgetting birthdays: 15 votes
    no quiet study place: 21 votes
  27. 27.True or false: a library due-date alert solves a real problem. (a) True (b) False
  28. 28.🧪 What is the ACTUAL result of Test 1?
    🚚 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(650) → expected 0
    Test 2: delivery(800) → expected 0
    Test 3: delivery(450) → expected 40
  29. 29.💾 What number does this code show?
    let coins = 5;
    coins = coins - 1;
    coins = coins + 2;
    show(coins);
  30. 30.Which of these makes the app harder to use? (a) labels on every icon (b) captions on videos (c) icons with no labels (d) big touch targets
  31. 31.💡 Does an app idea like a blank grey screen solve a real problem? (a) Yes (b) No
  32. 32.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Score card”
    2. open “Map”
    3. open “Match report”
    Which screen are you on now?
    (a) Feed (b) Map (c) Score card (d) Match report
  33. 33.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 6 or more right answers.
    function result(right) {
      if (right > 6) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(7) → expected Pass
    Test 2: result(3) → expected Try again
    Test 3: result(6) → expected Pass
    (a) Test 1 (b) Test 3 (c) Test 2
  34. 34.🔁 What number does this code show?
    let marks = [2, 6, 3, 11];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  35. 35.🔁 What does a loop do? (a) saves photos (b) deletes code (c) draws icons (d) repeats code
  36. 36.💾 Where should the app save your last game level: on the phone or in the cloud? (a) on the phone (b) in the cloud
  37. 37.♿ Does this help everyone, or make the app harder to use: labels on every icon? (a) makes it harder (b) helps everyone
  38. 38.True or false: a sleep tracker is a game. (a) False (b) True
  39. 39.✏️ A box with a cross in a wireframe usually means ___. (a) an error (b) a closed app (c) delete this (d) a picture goes here
  40. 40.True or false: a big-text reader is the best fit for a reader who finds small print hard. (a) True (b) False

Answer key

  1. a final design
  2. Start
  3. a website
  4. location
  5. 3.5.0
  6. True
  7. a user need
  8. Hi, Arjun
  9. 1
  10. debugging
  11. OFF
  12. good design
  13. 11
  14. True
  15. a tool app
  16. everyone
  17. edge cases
  18. 0
  19. True
  20. Hi, Arjun
  21. 49
  22. 1
  23. colour as the only clue
  24. put it on an app store
  25. Help
  26. 9
  27. True
  28. 0
  29. 6
  30. icons with no labels
  31. No
  32. Match report
  33. Test 3
  34. 22
  35. repeats code
  36. on the phone
  37. helps everyone
  38. False
  39. a picture goes here
  40. True

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