← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 271 · 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: the sound on/off setting fits saving on the phone. (a) False (b) True
  2. 2.💾 What number does this code show?
    let points = 8;
    points = points - 7;
    points = points + 1;
    show(points);
  3. 3.True or false: a final design shows where things go. (a) True (b) False
  4. 4.True or false: you list what users need at the plan stage. (a) False (b) True
  5. 5.🔀 In this course’s code, which sign tests “is equal to”? (a) === (b) = (c) !== (d) =>
  6. 6.📱 The word “app” is short for ___. (a) appetite (b) apparatus (c) appointment (d) application
  7. 7.🖼️ In this wireframe (top to bottom), what is right below the search box?
    [ top bar ]
    [ search box ]
    [ Add button ]
    [ menu icon ]
    [ title text ]
    (a) Add button (b) title text (c) menu icon (d) top bar
  8. 8.💾 Where should the app save photos on two devices: on the phone or in the cloud? (a) in the cloud (b) on the phone
  9. 9.🔘 Is this good or poor button design: buttons almost touching? (a) poor design (b) good design
  10. 10.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Map”
    2. open “Edit photo”
    3. tap Back
    How many times must you tap Back to reach the main screen of this tab?
  11. 11.💡 After a survey, which need should version 1 solve? (a) a random need (b) the newest trend (c) the rarest need (d) the most common need
  12. 12.True or false: a website needs no installing. (a) True (b) False
  13. 13.Which of these makes the app harder to use? (a) text that can grow (b) sudden loud sounds (c) captions on videos (d) labels on every icon
  14. 14.Which of these is true of an app? (a) has a web address (b) comes from an app store (c) opens from a link (d) needs no installing
  15. 15.🗒️ Version 1 of a bus tracker must be ready in 6 days. How many days are left for extras after the must-haves?
    see where the bus is: 1 days
    show arrival time: 1 days
    pick your bus stop: 3 days
  16. 16.Which of these is an input? (a) tap to Start (b) your saved notes (c) the home page of an app (d) a switch for dark mode
  17. 17.🧪 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(16) → expected 100
    Test 2: price(15) → expected 100
    Test 3: price(8) → expected 50
  18. 18.🔁 What number does this code show?
    let runs = [19, 3, 20, 17, 7];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  19. 19.🔀 What does this sign-up rule show?
    let age = 16;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  20. 20.Which of these is about UX (the experience)? (a) how many taps it takes (b) the font size (c) the screen layout (d) the icon shapes
  21. 21.🔢 After an app is released, which comes first: “test it again” or “fix and improve”? (a) fix and improve (b) test it again
  22. 22.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 43; // start at 43
    line 2: score = score - 4; // add 4
    line 3: score = score + 4; // add 4
    line 4: show(score); // show it
    (a) line 3 (b) line 2 (c) line 1
  23. 23.💡 How can you check that people really have the problem? (a) copy another app (b) pick a colour (c) just guess (d) ask possible users
  24. 24.🧪 A test fails when ___. (a) the app is new (b) the font is big (c) actual is not expected (d) both are the same
  25. 25.🌗 Is pale pink on white easy or hard to read on a button? (a) easy to read (b) hard to read
  26. 26.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Pens → Results → Item → Offers
    Design B: Home → Cart → Pens → Menu → Size → Confirm → Search
    (a) Design B (b) Design A
  27. 27.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(55, 3));
  28. 28.📊 Survey: which problem bugs you most? How many more votes did “forgetting birthdays” get than “no quiet study place”?
    forgetting homework: 5 votes
    forgetting birthdays: 21 votes
    no quiet study place: 10 votes
  29. 29.🔐 Which permission does a speak-to-type notes app really need? (a) the microphone (b) contacts (c) the camera (d) location
  30. 30.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Lessons tab
    2. tap the Me tab
    3. tap the Quiz tab
    How many times must you tap Back to reach the main screen of this tab?
  31. 31.👆 The user types Meera in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Hello, " + nameBox.text + "!";
    };
    (a) Hello, nameBox.text! (b) Meera (c) Hello, Meera! (d) Hello!
  32. 32.🚀 Which of these versions is the OLDEST?
    3.3.3, 3.19.4, 3.13.0, 2.28.2
    (a) 3.19.4 (b) 3.13.0 (c) 2.28.2 (d) 3.3.3
  33. 33.True or false: a website has a web address. (a) False (b) True
  34. 34.🗒️ Why keep version 1 small? (a) to look bigger (b) to use up storage (c) to learn from users soon (d) to confuse users
  35. 35.⚙️ What number does this app show?
    let km = 3; // typed by the user
    let metres = km * 1000;
    show(metres);
  36. 36.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 600) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(600) → expected 0
    Test 2: delivery(550) → expected 40
    Test 3: delivery(700) → expected 0
    (a) Test 2 (b) Test 3 (c) Test 1
  37. 37.🧩 Which of these is a button on this screen?
    [title] Order Snacks
    [button] Help
    [text box] Phone
    [button] Start
    (a) Phone (b) Help
  38. 38.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Me tab
    2. open “Map”
    3. tap Back
    How many times must you tap Back to reach the main screen of this tab?
  39. 39.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Help page”
    2. tap Back
    3. open “Badges”
    How many times must you tap Back to reach the main screen of this tab?
  40. 40.👆 Which of these is an event? (a) the icon colour (b) the font size (c) a list of names (d) the user taps a button

Answer key

  1. True
  2. 2
  3. False
  4. False
  5. ===
  6. application
  7. Add button
  8. in the cloud
  9. poor design
  10. 1
  11. the most common need
  12. True
  13. sudden loud sounds
  14. comes from an app store
  15. 1
  16. a switch for dark mode
  17. 100
  18. 66
  19. Welcome!
  20. how many taps it takes
  21. fix and improve
  22. line 2
  23. ask possible users
  24. actual is not expected
  25. hard to read
  26. Design A
  27. 165
  28. 11
  29. the microphone
  30. 0
  31. Hello, Meera!
  32. 2.28.2
  33. True
  34. to learn from users soon
  35. 3000
  36. Test 1
  37. Help
  38. 0
  39. 1
  40. the user taps a button

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