← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 23 · 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: checking a password is an input. (a) True (b) False
  2. 2.🔢 When you make an app, what comes right after “plan the screens”? (a) build the app (b) test the app (c) release it (d) get an idea
  3. 3.🧭 Which part of navigation opens a list of pages? (a) a tab bar (b) the back button (c) a menu button
  4. 4.👥 A clinic app has 115 patients, 290 doctors and 140 nurses as users. Which user group is the biggest? (a) nurses (b) doctors (c) patients
  5. 5.🧰 What is a function? (a) a named block of code (b) a type of phone (c) a list of colours (d) a screen size
  6. 6.⚙️ In an app, is taking a photo an input, processing or an output? (a) output (b) processing (c) input
  7. 7.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 30;
    }
    show(fee(9) + fee(8));
  8. 8.💾 Where should the app save notes to read offline: on the phone or in the cloud? (a) in the cloud (b) on the phone
  9. 9.True or false: “sudden loud sounds” makes the app harder to use. (a) True (b) False
  10. 10.🔀 What does this battery rule show?
    let battery = 3;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  11. 11.🎯 A short made-up profile of a typical user is called a ___. (a) persona (b) password (c) pixel (d) protocol
  12. 12.🔢 After an app is released, what comes right after “fix and improve”? (a) release an update (b) list what to fix (c) read user reviews (d) test it again
  13. 13.Which of these fits saving in the cloud? (a) a class leaderboard (b) your last game level (c) notes to read offline (d) a draft you are typing
  14. 14.Which of these is a screen? (a) tap to Save (b) tap to Send (c) tap to go Next (d) the game-over page
  15. 15.🧩 How many buttons does this app screen have?
    [title] Order Snacks
    [button] Cancel
    [button] Done
    [text box] City
    [slider] Text size
    [text box] Due date
    [text box] Name
  16. 16.True or false: a final design is a quick sketch. (a) True (b) False
  17. 17.🔀 When does the else part run? (a) always (b) never (c) when the test is false (d) when the test is true
  18. 18.🌗 Is pale pink on white easy or hard to read on a button? (a) easy to read (b) hard to read
  19. 19.🔀 What does this battery rule show?
    let battery = 97;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  20. 20.📅 An app team plans for 2 days, builds for 4 days, tests for 2 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
  21. 21.💡 Which app idea solves this problem: nobody knows whose bag it is? (a) a study-room finder (b) a bill splitter (c) a lost-and-found board (d) a medicine reminder
  22. 22.🧰 How do you run (call) a function called greet? (a) greet() (b) greet[] (c) run greet (d) #greet
  23. 23.True or false: a clear word like Save is good button design. (a) False (b) True
  24. 24.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Pens → Results → Item → Shop → Confirm → Menu
    Design B: Home → Pay → Address → Offers
  25. 25.⚙️ What number does this app show?
    let price = 40; // typed by the user
    let qty = 3; // typed by the user
    let total = price * qty;
    show(total);
  26. 26.🚀 Which version is newer: 1.5.6 or 1.5.10? (a) 1.5.6 (b) 1.5.10
  27. 27.Which of these is processing? (a) taking a photo (b) tapping a button (c) typing your age (d) checking a password
  28. 28.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Lessons tab
    2. open “Friend list”
    3. open “Match report”
    4. open “Edit photo”
    5. tap the Lessons tab
    How many times must you tap Back to reach the main screen of this tab?
  29. 29.🔁 list.length tells you ___. (a) the first item (b) the biggest item (c) the last item (d) how many items it has
  30. 30.🧩 Which of these is a button on this screen?
    [title] Sign Up
    [text box] Age
    [button] Send
    [button] Help
    (a) Send (b) Age
  31. 31.💾 Where should the app save a draft you are typing: on the phone or in the cloud? (a) on the phone (b) in the cloud
  32. 32.🛠️ At which stage do you talk to possible users? (a) the test stage (b) the release stage (c) the idea stage (d) the plan stage
  33. 33.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 40;
    }
    show(fee(5) + fee(11));
  34. 34.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let coins = 49; // start at 46
    line 2: coins = coins - 4; // take away 4
    line 3: coins = coins * 2; // double it
    line 4: coins = coins - 5; // take away 5
    line 5: show(coins); // show it
  35. 35.🔢 In a quiz-app flow, which comes FIRST? (a) see if it is right (b) tap “Start quiz” (c) see the final score (d) read a question
  36. 36.True or false: your last game level fits saving on the phone. (a) True (b) False
  37. 37.True or false: a box to type a name is a screen. (a) True (b) False
  38. 38.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Caption: 13 px
    Title: 18 px
    Hint: 27 px
    Label: 25 px
    Body text: 22 px
    (a) Hint (b) Caption (c) Title (d) Label
  39. 39.True or false: a shared to-do list fits saving on the phone. (a) False (b) True
  40. 40.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let score = 31; // start at 31
    line 2: score = score - 3; // take away 3
    line 3: score = score + 2; // double it
    line 4: show(score); // show it

Answer key

  1. False
  2. build the app
  3. a menu button
  4. doctors
  5. a named block of code
  6. input
  7. 60
  8. on the phone
  9. True
  10. Low battery
  11. persona
  12. test it again
  13. a class leaderboard
  14. the game-over page
  15. 2
  16. False
  17. when the test is false
  18. hard to read
  19. Battery OK
  20. 6
  21. a lost-and-found board
  22. greet()
  23. True
  24. 3
  25. 120
  26. 1.5.10
  27. checking a password
  28. 0
  29. how many items it has
  30. Send
  31. on the phone
  32. the idea stage
  33. 80
  34. 85
  35. tap “Start quiz”
  36. True
  37. False
  38. Caption
  39. False
  40. 56

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