← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 225 · 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.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let stars = 50; // start at 50
    line 2: stars = stars - 1; // take away 1
    line 3: stars = stars + 2; // double it
    line 4: stars = stars * 2; // double it
    line 5: show(stars); // show it
  2. 2.🎨 A beautiful app that confuses everyone has ___. (a) perfect UX (b) good UI but poor UX (c) good UX but poor UI (d) no UI at all
  3. 3.🧪 A test fails when ___. (a) actual is not expected (b) the app is new (c) both are the same (d) the font is big
  4. 4.Which of these is a user need? (a) a dark mode switch (b) a share button (c) a search bar (d) “I forget my homework”
  5. 5.True or false: a water reminder is the best fit for a runner who forgets to sip water. (a) True (b) False
  6. 6.🔍 Which is the odd one out? (a) a spelling coach (b) a times-table quiz (c) a step counter (d) a flashcard trainer
  7. 7.♿ Does this help everyone, or make the app harder to use: sudden loud sounds? (a) makes it harder (b) helps everyone
  8. 8.Which of these is data? (a) tap to Send (b) the home page of an app (c) a slider for volume (d) today’s step count
  9. 9.True or false: a recipe finder is the best fit for a teen whose money runs out by Friday. (a) True (b) False
  10. 10.🗂️ What kind of app is a times-table quiz? (a) a health app (b) a game (c) a tool app (d) a learning app
  11. 11.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 50;
    }
    show(fee(6) + fee(5));
  12. 12.🎯 Why learn about users before you build? (a) to build what they need (b) to pick a logo (c) to slow it down (d) to make it longer
  13. 13.♿ A screen has 11 icon buttons. Only 1 of them have a text label for screen readers. How many still need a label?
  14. 14.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 47; // start at 45
    line 2: stars = stars - 1; // take away 1
    line 3: stars = stars - 1; // take away 1
    line 4: stars = stars - 2; // take away 2
    line 5: show(stars); // show it
    (a) line 4 (b) line 3 (c) line 1 (d) line 2
  15. 15.🔁 What number does this code show?
    let steps = [28, 42, 84, 51, 40];
    let count = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] >= 50) {
        count = count + 1;
      }
    }
    show(count);
  16. 16.📊 Survey: which problem bugs you most? How many more votes did “no quiet study place” get than “forgetting birthdays”?
    forgetting homework: 21 votes
    forgetting birthdays: 4 votes
    no quiet study place: 17 votes
  17. 17.👆 “On tap → do this” links an event to ___. (a) an action (b) a charger (c) a font (d) a web address
  18. 18.👆 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) ON (b) OFF
  19. 19.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Size → Shop → Pens → Cart → Item → Pay
    Design B: Home → Cart → Confirm
    (a) Design B (b) Design A
  20. 20.📲 What happens when you tap an app’s icon? (a) the sound turns off (b) the phone charges (c) the app is deleted (d) the app opens
  21. 21.🔢 In a photo-post flow, what comes right after “open the camera screen”? (a) write a caption (b) take the photo (c) post the photo (d) add a filter
  22. 22.🔁 What number does this code show?
    let runs = [25, 65, 46, 40];
    let count = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  23. 23.👆 The user taps the button 1 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) ON (b) OFF
  24. 24.True or false: a blank grey screen solves no real problem. (a) True (b) False
  25. 25.🧩 How many buttons does this app screen have?
    [title] New Note
    [button] Help
    [button] Start
    [text box] Due date
  26. 26.True or false: a page of random dots solves a real problem. (a) True (b) False
  27. 27.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 44; // start at 41
    line 2: stars = stars * 2; // double it
    line 3: stars = stars - 4; // take away 4
    line 4: stars = stars + 3; // add 3
    line 5: show(stars); // show it
    (a) line 3 (b) line 1 (c) line 2 (d) line 4
  28. 28.🔁 A loop over a list of 5 items runs its body how many times? (a) 5 (b) 1 (c) 6 (d) 4
  29. 29.🧩 In an app, what is your friends list? (a) an input (b) a button (c) a screen (d) data
  30. 30.🧩 How many buttons does this app screen have?
    [title] Add Homework
    [text box] City
    [button] Start
    [text box] Phone
    [button] Done
    [button] Send
    [text box] Subject
  31. 31.True or false: how easy sign-up is is about UX (the experience). (a) False (b) True
  32. 32.True or false: “colour as the only clue” helps everyone use the app. (a) False (b) True
  33. 33.👥 A library app has 125 readers, 280 librarians and 190 volunteers as users. How many users does it have in all?
  34. 34.🔢 In a photo-post flow, which comes first: “add a filter” or “take the photo”? (a) add a filter (b) take the photo
  35. 35.🚀 Which of these versions is the OLDEST?
    4.11.3, 3.22.8, 4.14.4, 4.2.4
    (a) 3.22.8 (b) 4.11.3 (c) 4.14.4 (d) 4.2.4
  36. 36.📊 Survey: which problem bugs you most? How many students voted in all?
    forgetting homework: 3 votes
    no quiet study place: 21 votes
    missing the bus: 18 votes
  37. 37.👥 A clinic app has 65 patients, 170 doctors and 210 nurses as users. Which user group is the biggest? (a) nurses (b) patients (c) doctors
  38. 38.True or false: a box to type a name is an input. (a) False (b) True
  39. 39.🧰 What does this code show?
    function greet(name) {
      return "Hi, " + name + "!";
    }
    show(greet("Aman"));
    (a) greet (b) Aman (c) Hi, Aman! (d) Hi, name!
  40. 40.💾 Where should the app save a draft you are typing: on the phone or in the cloud? (a) in the cloud (b) on the phone

Answer key

  1. 102
  2. good UI but poor UX
  3. actual is not expected
  4. “I forget my homework”
  5. True
  6. a step counter
  7. makes it harder
  8. today’s step count
  9. False
  10. a learning app
  11. 100
  12. to build what they need
  13. 10
  14. line 1
  15. 2
  16. 13
  17. an action
  18. OFF
  19. Design B
  20. the app opens
  21. take the photo
  22. 3
  23. ON
  24. True
  25. 2
  26. False
  27. line 1
  28. 5
  29. data
  30. 3
  31. True
  32. False
  33. 595
  34. take the photo
  35. 3.22.8
  36. 42
  37. nurses
  38. True
  39. Hi, Aman!
  40. on the phone

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