← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 277 · 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.👆 The user taps the button 6 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 3) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  2. 2.True or false: a pop-up message is an output. (a) True (b) False
  3. 3.Which of these makes the app harder to use? (a) fast-flashing lights (b) strong colour contrast (c) labels on every icon (d) captions on videos
  4. 4.Which of these fits saving on the phone? (a) photos on two devices (b) the sound on/off setting (c) a class leaderboard (d) a shared to-do list
  5. 5.🛠️ At which stage do you write the code? (a) the release stage (b) the idea stage (c) the plan stage (d) the build stage
  6. 6.🔢 In a photo-post flow, which comes first: “open the camera screen” or “post the photo”? (a) post the photo (b) open the camera screen
  7. 7.🧭 Which part of navigation opens a list of pages? (a) a tab bar (b) the back button (c) a menu button
  8. 8.🔍 Which is the odd one out? (a) how users feel after (b) how easy sign-up is (c) the screen layout (d) whether users get lost
  9. 9.⚙️ Which line does the processing (works out the answer)?
    line 1: let km = 12; // typed by the user
    line 2: let metres = km * 1000;
    line 3: show(metres);
    (a) line 1 (b) line 2 (c) line 3
  10. 10.🔍 Which is the odd one out? (a) tiny tap areas (b) strong colour contrast (c) big touch targets (d) text that can grow
  11. 11.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 5 or more right answers.
    function result(right) {
      if (right > 5) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(3) → expected Try again
    Test 2: result(5) → expected Pass
    Test 3: result(6) → expected Pass
  12. 12.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 43; // start at 43
    line 2: score = score * 2; // double it
    line 3: score = score * 3; // double it
    line 4: show(score); // show it
    (a) line 1 (b) line 2 (c) line 3
  13. 13.🔍 Which is the odd one out? (a) an alarm clock (b) a torch (c) a unit converter (d) a sleep tracker
  14. 14.🎯 Is this a user need or a feature: “I keep missing the bus”? (a) a user need (b) a feature
  15. 15.Which colour pair is easy to read? (a) white on black (b) light grey on white (c) yellow on white (d) dark blue on black
  16. 16.True or false: a pocket-money tracker is the best fit for a child saving up for a cycle. (a) False (b) True
  17. 17.True or false: an app comes from an app store. (a) False (b) True
  18. 18.🧰 In function tip(bill), what is bill? (a) a loop (b) a screen (c) an event (d) a parameter
  19. 19.Which of these happens at the idea stage? (a) try every button (b) spot a problem to solve (c) write the code (d) draw the user flow
  20. 20.True or false: checking a password is an input. (a) False (b) True
  21. 21.Which of these fits saving in the cloud? (a) the sound on/off setting (b) a draft you are typing (c) a class leaderboard (d) your last game level
  22. 22.🧰 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(7) + fee(10));
  23. 23.♿ Does this help everyone, or make the app harder to use: strong colour contrast? (a) helps everyone (b) makes it harder
  24. 24.🔍 Which is the odd one out? (a) sketch the screens (b) spot a problem to solve (c) list what users need (d) talk to possible users
  25. 25.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ filter buttons ]
    [ menu icon ]
    [ tab bar ]
    [ top bar ]
    [ list of items ]
    (a) top bar (b) tab bar (c) list of items (d) filter buttons
  26. 26.True or false: tap to Save is a button. (a) True (b) False
  27. 27.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(38));
  28. 28.🎯 What is a user need? (a) a colour theme (b) a problem a user has (c) a type of button (d) a phone setting
  29. 29.📊 Survey: which problem bugs you most? How many students voted in all?
    no quiet study place: 12 votes
    forgetting homework: 18 votes
    missing the bus: 17 votes
  30. 30.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Quiz tab
    2. open “Edit photo”
    3. tap Back
    4. open “Match report”
    5. open “Map”
    How many times must you tap Back to reach the main screen of this tab?
  31. 31.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) export to a file (b) savings stickers (c) pie-chart colours (d) add money received
  32. 32.✏️ Do wireframes usually show the final colours? (a) No (b) Yes
  33. 33.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Help page”
    2. open “Match report”
    3. open “Edit photo”
    4. open “Match report”
    5. tap Back
    Which screen are you on now?
    (a) Match report (b) Help page (c) Home (d) Edit photo
  34. 34.🧩 In an app, what is a date picker? (a) an input (b) a screen (c) data (d) a button
  35. 35.🚀 Your app is at version 2.10.9. The next release fixes a small bug. What is its version number? (a) 2.10.10 (b) 3.0.0 (c) 2.11.0 (d) 2.11.9
  36. 36.💾 Where should the app save the sound on/off setting: on the phone or in the cloud? (a) on the phone (b) in the cloud
  37. 37.🗒️ Version 1 of a water reminder must be ready in 12 days. How many days are left for extras after the must-haves?
    set a reminder time: 1 days
    log a glass of water: 3 days
    see today’s total: 5 days
  38. 38.True or false: a medicine reminder solves no real problem. (a) False (b) True
  39. 39.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Search → Item → Cart → Size → Menu
    Design B: Home → Pens → Shop → Menu → Offers
    (a) Design B (b) Design A
  40. 40.🚀 Which version is newer: 3.2.4 or 3.2.19? (a) 3.2.19 (b) 3.2.4

Answer key

  1. 3
  2. True
  3. fast-flashing lights
  4. the sound on/off setting
  5. the build stage
  6. open the camera screen
  7. a menu button
  8. the screen layout
  9. line 2
  10. tiny tap areas
  11. 2
  12. line 3
  13. a sleep tracker
  14. a user need
  15. white on black
  16. True
  17. True
  18. a parameter
  19. spot a problem to solve
  20. False
  21. a class leaderboard
  22. 100
  23. helps everyone
  24. sketch the screens
  25. list of items
  26. True
  27. 76
  28. a problem a user has
  29. 47
  30. 2
  31. add money received
  32. No
  33. Edit photo
  34. an input
  35. 2.10.10
  36. on the phone
  37. 3
  38. False
  39. Design B
  40. 3.2.19

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