← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 652 · 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.👥 A library app has 180 readers, 265 librarians and 175 volunteers as users. How many users does it have in all?
  2. 2.🖼️ In this wireframe (top to bottom), what is right above the list of items?
    [ search box ]
    [ list of items ]
    [ menu icon ]
    [ top bar ]
    (a) search box (b) top bar (c) menu icon
  3. 3.Which of these is true of a final design? (a) uses plain grey boxes (b) shows where things go (c) is a quick sketch (d) shows the real fonts
  4. 4.🔍 Which is the odd one out? (a) how easy sign-up is (b) how fast a task is done (c) the icon shapes (d) how many taps it takes
  5. 5.🔍 Which is the odd one out? (a) a water reminder (b) a unit converter (c) a step counter (d) a sleep tracker
  6. 6.👆 “On tap → do this” links an event to ___. (a) a font (b) a charger (c) an action (d) a web address
  7. 7.True or false: your saved notes is data. (a) True (b) False
  8. 8.🧭 Which part of navigation sits at the bottom? (a) a menu button (b) the back button (c) a tab bar
  9. 9.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) log a glass of water (b) see today’s total (c) set a reminder time (d) custom alert sounds
  10. 10.🛠️ At which stage do you add the buttons? (a) the build stage (b) the plan stage (c) the idea stage (d) the release stage
  11. 11.🔢 In a sign-up flow, what comes right after “enter the code sent”? (a) make a password (b) type name and email (c) see the home screen (d) open the app
  12. 12.🔢 After an app is released, which comes first: “list what to fix” or “read user reviews”? (a) read user reviews (b) list what to fix
  13. 13.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 300) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(600) → expected 0
    Test 2: delivery(250) → expected 40
    Test 3: delivery(550) → expected 0
  14. 14.🔀 What does this battery rule show?
    let battery = 97;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  15. 15.✏️ What is a wireframe? (a) the finished app (b) a simple screen sketch (c) a charging cable (d) a type of password
  16. 16.✏️ Is this true of a wireframe or of a final design: has the real colours? (a) a wireframe (b) a final design
  17. 17.🧪 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(4) → expected Try again
    Test 2: result(8) → expected Pass
    Test 3: result(6) → expected Pass
    (a) Test 3 (b) Test 1 (c) Test 2
  18. 18.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Pay → Item → Menu → Offers → Shop → Confirm
    Design B: Home → Address → Pens
  19. 19.🧩 Which input is best for turning something ON or OFF? (a) a text box (b) a title (c) a switch (d) a slider
  20. 20.🔀 Which badge does this quiz app show?
    let marks = 70;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Gold (b) Silver (c) Bronze
  21. 21.🔁 What number does this code show?
    let steps = [47, 48, 87, 94, 65];
    let count = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  22. 22.🔀 What does this PIN rule show?
    let pin = "804";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  23. 23.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 20;
    }
    show(fee(12) + fee(1));
  24. 24.🔀 In this course’s code, which sign tests “is equal to”? (a) = (b) !== (c) => (d) ===
  25. 25.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 45; // start at 45
    line 2: lives = lives - 1; // take away 1
    line 3: lives = lives - 4; // add 4
    line 4: show(lives); // show it
  26. 26.👥 A library app has 95 readers, 180 librarians and 85 volunteers as users. Which user group is the biggest? (a) volunteers (b) librarians (c) readers
  27. 27.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Chat tab
    2. tap the Chat tab
    3. open “Help page”
    4. open “Score card”
    How many times must you tap Back to reach the main screen of this tab?
  28. 28.Which of these is about UX (the experience)? (a) the font size (b) how easy sign-up is (c) the button colours (d) the theme colours
  29. 29.Which of these is a feature? (a) “Small text is hard” (b) “What should I cook?” (c) “I keep missing the bus” (d) a search bar
  30. 30.True or false: a medicine reminder solves no real problem. (a) False (b) True
  31. 31.True or false: a step counter is a health app. (a) True (b) False
  32. 32.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Start button: 56 px tall
    Save button: 32 px tall
    Done button: 32 px tall
    Next button: 44 px tall
  33. 33.🔘 Is this good or poor button design: a clear word like Save? (a) poor design (b) good design
  34. 34.🔁 What number does this code show?
    let steps = [20, 7, 20, 18];
    let best = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] > best) {
        best = steps[i];
      }
    }
    show(best);
  35. 35.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money spent (b) show the balance (c) export to a file (d) add money received
  36. 36.🎯 Who are the users of an app? (a) only the testers (b) the app icons (c) only the coders (d) the people who use it
  37. 37.📊 Survey: which problem bugs you most? How many students voted in all?
    forgetting homework: 22 votes
    forgetting birthdays: 21 votes
    no quiet study place: 17 votes
  38. 38.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 1, 2, 3 (b) 3 (c) 0, 1, 2, 3 (d) 0, 1, 2
  39. 39.🧭 Which part of navigation shows 3 to 5 icons? (a) the back button (b) a tab bar (c) a menu button
  40. 40.🧰 In function tip(bill), what is bill? (a) an event (b) a loop (c) a parameter (d) a screen

Answer key

  1. 620
  2. search box
  3. shows the real fonts
  4. the icon shapes
  5. a unit converter
  6. an action
  7. True
  8. a tab bar
  9. custom alert sounds
  10. the build stage
  11. see the home screen
  12. read user reviews
  13. 3
  14. Battery OK
  15. a simple screen sketch
  16. a final design
  17. Test 3
  18. 6
  19. a switch
  20. Silver
  21. 3
  22. Use 4 digits
  23. 20
  24. ===
  25. 48
  26. librarians
  27. 2
  28. how easy sign-up is
  29. a search bar
  30. False
  31. True
  32. 1
  33. good design
  34. 20
  35. export to a file
  36. the people who use it
  37. 60
  38. 0, 1, 2
  39. a tab bar
  40. a parameter

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