← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 729 · 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 is a user need? (a) a type of button (b) a colour theme (c) a problem a user has (d) a phone setting
  2. 2.♿ Does this help everyone, or make the app harder to use: sudden loud sounds? (a) helps everyone (b) makes it harder
  3. 3.True or false: notes to read offline fits saving on the phone. (a) True (b) False
  4. 4.🗒️ The first small, working version of an app is often called an ___. (a) FAQ (b) MVP (c) URL (d) CPU
  5. 5.🧩 Which of these is a button on this screen?
    [title] New Note
    [button] Save
    [text box] Email
    [text box] Notes
    [button] Cancel
    (a) Notes (b) Email (c) Save
  6. 6.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Zoya"));
    (a) greet (b) Hello, Zoya! (c) Hello, name! (d) Zoya
  7. 7.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let stars = 34; // start at 31
    line 2: stars = stars - 4; // take away 4
    line 3: stars = stars - 4; // take away 4
    line 4: stars = stars + 4; // add 4
    line 5: show(stars); // show it
  8. 8.🔁 What number does this code show?
    let steps = [75, 79, 26, 99];
    let count = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  9. 9.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Size → Search
    Design B: Home → Size → Shop → Search → Pens → Cart → Results
    (a) Design B (b) Design A
  10. 10.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Search → Results
    Design B: Home → Offers → Cart → Shop → Item
  11. 11.📊 Survey: which problem bugs you most? How many students voted in all?
    forgetting homework: 21 votes
    missing the bus: 13 votes
    losing water bottles: 25 votes
  12. 12.Which of these is true of a website? (a) is installed on a phone (b) has a home-screen icon (c) updates from the store (d) has a web address
  13. 13.True or false: a website is installed on a phone. (a) False (b) True
  14. 14.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(16));
  15. 15.📅 An app team plans for 5 days, builds for 8 days, tests for 3 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
  16. 16.🎯 Is this a user need or a feature: “I keep missing the bus”? (a) a feature (b) a user need
  17. 17.Which of these is true of the back button? (a) sits at the bottom (b) opens a list of pages (c) goes to the last screen (d) switches main sections
  18. 18.🔁 What number does this code show?
    let runs = [11, 13, 16, 16, 19];
    let best = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] > best) {
        best = runs[i];
      }
    }
    show(best);
  19. 19.🔀 What is a user flow? (a) a type of font (b) a charging cable (c) a colour theme (d) the path through screens
  20. 20.✏️ Is this true of a wireframe or of a final design: has no real colours? (a) a wireframe (b) a final design
  21. 21.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 38; // start at 38
    line 2: points = points - 3; // take away 3
    line 3: points = points + 5; // add 5
    line 4: points = points - 3; // add 3
    line 5: show(points); // show it
    (a) line 1 (b) line 3 (c) line 2 (d) line 4
  22. 22.Which of these is a feature? (a) “I forget my homework” (b) “I keep missing the bus” (c) a reminder alarm (d) “Small text is hard”
  23. 23.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Caption: 25 px
    Hint: 21 px
    Menu: 26 px
    Title: 14 px
    (a) Hint (b) Caption (c) Menu (d) Title
  24. 24.🔁 A loop over a list of 5 items runs its body how many times? (a) 5 (b) 1 (c) 4 (d) 6
  25. 25.🔀 What does this PIN rule show?
    let pin = "101";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  26. 26.🔀 Why plan the user flow before building? (a) to hide the buttons (b) to skip testing (c) to add more taps (d) so each step is clear
  27. 27.✏️ Do wireframes usually show the final colours? (a) Yes (b) No
  28. 28.⚙️ Which line does the processing (works out the answer)?
    line 1: let km = 13; // typed by the user
    line 2: let metres = km * 1000;
    line 3: show(metres);
    (a) line 3 (b) line 1 (c) line 2
  29. 29.✏️ What is a wireframe? (a) the finished app (b) a simple screen sketch (c) a type of password (d) a charging cable
  30. 30.🧪 What is the ACTUAL result of Test 2?
    🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
    function price(age) {
      if (age < 13) {
        return 50;
      }
      return 100;
    }
    Test 1: price(13) → expected 100
    Test 2: price(12) → expected 50
    Test 3: price(16) → expected 100
  31. 31.True or false: a countdown hits zero is a text event. (a) True (b) False
  32. 32.🔍 Which is the odd one out? (a) a puzzle with levels (b) a torch (c) a unit converter (d) a calculator
  33. 33.🚀 Your app is at version 2.9.2. The next release adds a new feature. What is its version number? (a) 2.10.0 (b) 2.9.3 (c) 3.0.0 (d) 2.10.2
  34. 34.True or false: icons with no meaning is good button design. (a) True (b) False
  35. 35.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Done button: 28 px tall
    Cancel button: 68 px tall
    Save button: 68 px tall
    Start button: 68 px tall
    (a) Done (b) Save (c) Start (d) Cancel
  36. 36.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 31; // start at 30
    line 2: score = score - 4; // take away 4
    line 3: score = score - 2; // take away 2
    line 4: show(score); // show it
  37. 37.👥 A cricket club app has 190 players, 270 coaches and 140 fans as users. How many users does it have in all?
  38. 38.Which of these is a feature? (a) “I keep missing the bus” (b) “What should I cook?” (c) “I forget my homework” (d) a search bar
  39. 39.🎯 Which app would help this user most: a pupil juggling five projects? (a) a pocket-money tracker (b) a bus tracker (c) a homework planner (d) a big-text reader
  40. 40.🧭 Tapping a tab usually takes you to ___. (a) the last app used (b) that tab’s main screen (c) a random page (d) the phone settings

Answer key

  1. a problem a user has
  2. makes it harder
  3. True
  4. MVP
  5. Save
  6. Hello, Zoya!
  7. 27
  8. 3
  9. Design A
  10. 2
  11. 59
  12. has a web address
  13. False
  14. 48
  15. 13
  16. a user need
  17. goes to the last screen
  18. 19
  19. the path through screens
  20. a wireframe
  21. line 4
  22. a reminder alarm
  23. Title
  24. 5
  25. Use 4 digits
  26. so each step is clear
  27. No
  28. line 2
  29. a simple screen sketch
  30. 50
  31. False
  32. a puzzle with levels
  33. 2.10.0
  34. False
  35. Done
  36. 25
  37. 600
  38. a search bar
  39. a homework planner
  40. that tab’s main screen

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