← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 357 · 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 = 42; // start at 42
    line 2: stars = stars + 3; // add 3
    line 3: stars = stars - 3; // add 3
    line 4: stars = stars * 2; // double it
    line 5: show(stars); // show it
  2. 2.🎨 Is this about UI or UX: the font size? (a) UI (b) UX
  3. 3.🔁 What number does this code show?
    let steps = [1, 1, 15, 19, 9];
    let best = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] > best) {
        best = steps[i];
      }
    }
    show(best);
  4. 4.🔀 What does this PIN rule show?
    let pin = "867";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  5. 5.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Score card”
    2. tap the Search tab
    3. open “Badges”
    4. open “Video”
    5. tap the Search tab
    Which screen are you on now?
    (a) Badges (b) Video (c) Score card (d) Search
  6. 6.✏️ What is a wireframe? (a) a charging cable (b) a type of password (c) a simple screen sketch (d) the finished app
  7. 7.🔢 In a sign-up flow, what comes right after “tap “Sign up””? (a) enter the code sent (b) type name and email (c) see the home screen (d) open the app
  8. 8.💾 In most code, the first item of a list is at position ___. (a) 0 (b) 10 (c) 1 (d) 2
  9. 9.Which of these is about UI (the look)? (a) the font size (b) how fast a task is done (c) how easy sign-up is (d) whether users get lost
  10. 10.🗂️ What kind of app is a flashcard trainer? (a) a learning app (b) a health app (c) a tool app (d) a game
  11. 11.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(1) + points(1));
  12. 12.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Score card”
    2. tap Back
    3. tap the Search tab
    4. tap the Home tab
    How many times must you tap Back to reach the main screen of this tab?
  13. 13.Which of these is true of a website? (a) has a home-screen icon (b) comes from an app store (c) opens from a link (d) is installed on a phone
  14. 14.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Save button: 64 px tall
    Send button: 32 px tall
    Next button: 56 px tall
    Start button: 52 px tall
  15. 15.🧭 Which part of navigation opens a list of pages? (a) the back button (b) a tab bar (c) a menu button
  16. 16.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) edge cases (b) easy cases (c) phone cases (d) old cases
  17. 17.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Friend list”
    2. open “Friend list”
    3. tap Back
    4. tap Back
    How many times must you tap Back to reach the main screen of this tab?
  18. 18.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
    function price(age) {
      if (age <= 9) {
        return 50;
      }
      return 100;
    }
    Test 1: price(11) → expected 100
    Test 2: price(9) → expected 100
    Test 3: price(7) → expected 50
  19. 19.True or false: a final design uses the final pictures. (a) False (b) True
  20. 20.🔀 Which badge does this quiz app show?
    let marks = 96;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Bronze (c) Gold
  21. 21.True or false: a barcode scanner needs the microphone. (a) False (b) True
  22. 22.🎨 UI stands for user ___. (a) idea (b) internet (c) input (d) interface
  23. 23.🖼️ How many parts (boxes) does this wireframe have?
    [ big picture ]
    [ Save button ]
    [ Add button ]
    [ top bar ]
  24. 24.🎯 Which app would help this user most: a teen whose money runs out by Friday? (a) a homework planner (b) a bus tracker (c) a recipe finder (d) a pocket-money tracker
  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.👆 An event in an app is ___. (a) an app store (b) something that happens (c) a kind of list (d) a colour theme
  27. 27.♿ A screen has 7 icon buttons. Only 5 of them have a text label for screen readers. How many still need a label?
  28. 28.🔁 What number does this code show?
    let scores = [60, 12, 39];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  29. 29.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    losing water bottles: 15 votes
    forgetting birthdays: 19 votes
    missing the bus: 9 votes
    (a) losing water bottles (b) missing the bus (c) forgetting birthdays
  30. 30.Which of these is true of the back button? (a) undoes one move (b) sits at the bottom (c) opens a list of pages (d) hides extra links
  31. 31.🔀 What does this sign-up rule show?
    let age = 16;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  32. 32.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(6));
  33. 33.🗒️ Version 1 of a bus tracker must be ready in 12 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: 5 days
  34. 34.🔢 In a food-order flow, what comes right after “check the cart”? (a) track the order (b) open the menu (c) pay for the order (d) pick a dish
  35. 35.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Shop → Menu → Results → Cart → Size → Item
    Design B: Home → Item → Cart → Confirm → Address → Pens
    (a) Design A (b) Design B
  36. 36.🧭 Which part of navigation sits at the bottom? (a) the back button (b) a tab bar (c) a menu button
  37. 37.🐞 What is a good first step when an app gives a wrong result? (a) buy a new phone (b) find where it goes wrong (c) add more colours (d) delete the app
  38. 38.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let stars = 34; // start at 34
    line 2: stars = stars + 6; // add 4
    line 3: stars = stars + 6; // add 6
    line 4: show(stars); // show it
  39. 39.Which of these is true of a wireframe? (a) has no real colours (b) uses the final pictures (c) looks like the real app (d) shows the real fonts
  40. 40.📅 An app team plans for 3 days, builds for 4 days, tests for 1 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?

Answer key

  1. 84
  2. UI
  3. 19
  4. Use 4 digits
  5. Search
  6. a simple screen sketch
  7. type name and email
  8. 0
  9. the font size
  10. a learning app
  11. 30
  12. 0
  13. opens from a link
  14. 3
  15. a menu button
  16. edge cases
  17. 0
  18. 2
  19. True
  20. Gold
  21. False
  22. interface
  23. 4
  24. a pocket-money tracker
  25. hard to read
  26. something that happens
  27. 2
  28. 1
  29. forgetting birthdays
  30. undoes one move
  31. Welcome!
  32. 12
  33. 5
  34. pay for the order
  35. Design B
  36. a tab bar
  37. find where it goes wrong
  38. 46
  39. has no real colours
  40. 7

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