← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 332 · 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.🧰 In function tip(bill), what is bill? (a) an event (b) a loop (c) a parameter (d) a screen
  2. 2.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let points = 42; // start at 42
    line 2: points = points + 5; // add 5
    line 3: points = points + 2; // double it
    line 4: show(points); // show it
  3. 3.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Lessons tab
    2. open “Map”
    3. open “Video”
    Which screen are you on now?
    (a) Map (b) Video (c) Quiz (d) Lessons
  4. 4.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Help page”
    2. open “Video”
    3. tap Back
    4. tap Back
    How many times must you tap Back to reach the main screen of this tab?
  5. 5.🧩 What does a button do when you tap it? (a) shows the time (b) changes the phone (c) starts an action (d) saves the battery
  6. 6.🧪 One test case fails. Which one?
    🎟️ 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(18) → expected 100
    Test 2: price(13) → expected 100
    Test 3: price(12) → expected 50
    (a) Test 1 (b) Test 3 (c) Test 2
  7. 7.🔀 What does this PIN rule show?
    let pin = "167";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  8. 8.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 12, and 100 for everyone else.
    function price(age) {
      if (age < 12) {
        return 50;
      }
      return 100;
    }
    Test 1: price(12) → expected 100
    Test 2: price(10) → expected 50
    Test 3: price(13) → expected 100
  9. 9.🌗 Is white on dark green easy or hard to read on a button? (a) easy to read (b) hard to read
  10. 10.📅 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?
  11. 11.🚀 A privacy policy tells users ___. (a) what data is collected (b) the app’s price (c) the screen size (d) the app’s colours
  12. 12.🔢 In a photo-post flow, which comes FIRST? (a) post the photo (b) open the camera screen (c) write a caption (d) take the photo
  13. 13.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Cart → Menu → Offers
    Design B: Home → Results → Confirm → Search → Address → Pay → Shop
  14. 14.🧪 Who else should try an app before release? (a) nobody (b) only the coder (c) real users (d) the app icon
  15. 15.🔀 What does this PIN rule show?
    let pin = "19558";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  16. 16.🔢 In a quiz-app flow, which comes LAST? (a) see the final score (b) tap “Start quiz” (c) pick an answer (d) read a question
  17. 17.🧩 Scores, notes and settings that an app keeps are called ___. (a) data (b) buttons (c) tabs (d) screens
  18. 18.Which colour pair is hard to read? (a) white on dark green (b) white on black (c) dark blue on white (d) dark blue on black
  19. 19.🔀 When does the else part run? (a) always (b) never (c) when the test is false (d) when the test is true
  20. 20.🔢 In a food-order flow, which comes FIRST? (a) track the order (b) open the menu (c) add it to the cart (d) pay for the order
  21. 21.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 37; // start at 34
    line 2: coins = coins - 2; // take away 2
    line 3: coins = coins + 2; // add 2
    line 4: show(coins); // show it
    (a) line 2 (b) line 1 (c) line 3
  22. 22.Which colour pair is easy to read? (a) dark blue on black (b) dark blue on white (c) red on green (d) yellow on white
  23. 23.💾 pop() takes off the last item. What does this code show?
    let songs = ["Monsoon", "Kites", "Stars", "Rain"];
    songs.pop();
    show(songs[songs.length - 1]);
    (a) Rain (b) Monsoon (c) Stars (d) Kites
  24. 24.🔢 In a quiz-app flow, which comes first: “see the final score” or “pick an answer”? (a) pick an answer (b) see the final score
  25. 25.🧪 A test fails when ___. (a) actual is not expected (b) the font is big (c) both are the same (d) the app is new
  26. 26.💾 Which works with no internet at all? (a) a cloud backup (b) a cloud leaderboard (c) a shared chat (d) data saved on the phone
  27. 27.🗒️ 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: 4 days
    show arrival time: 3 days
    pick your bus stop: 4 days
  28. 28.🗒️ The first small, working version of an app is often called an ___. (a) MVP (b) FAQ (c) URL (d) CPU
  29. 29.True or false: typing your age is an output. (a) False (b) True
  30. 30.✏️ Is this true of a wireframe or of a final design: is a quick sketch? (a) a final design (b) a wireframe
  31. 31.✏️ Is this true of a wireframe or of a final design: uses plain grey boxes? (a) a wireframe (b) a final design
  32. 32.Which of these is an input? (a) tapping a button (b) working out a tip (c) checking a password (d) adding up a bill
  33. 33.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Help page”
    2. open “Video”
    3. open “Map”
    4. open “Friend list”
    5. tap the Me tab
    How many times must you tap Back to reach the main screen of this tab?
  34. 34.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
    function price(age) {
      if (age <= 14) {
        return 50;
      }
      return 100;
    }
    Test 1: price(17) → expected 100
    Test 2: price(13) → expected 50
    Test 3: price(14) → expected 100
    (a) Test 1 (b) Test 2 (c) Test 3
  35. 35.🧭 Which part of navigation sits at the bottom? (a) a tab bar (b) a menu button (c) the back button
  36. 36.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) earn stickers (b) share tasks to friends (c) add a homework task (d) pick a theme colour
  37. 37.👆 Code that runs when an event happens is called a ___. (a) header (b) hashtag (c) headline (d) handler
  38. 38.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Title: 15 px
    Hint: 21 px
    Body text: 10 px
    Label: 23 px
  39. 39.True or false: an app that just says hi solves no real problem. (a) True (b) False
  40. 40.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Me tab
    2. open “Map”
    3. tap the Quiz tab
    4. open “Video”
    How many times must you tap Back to reach the main screen of this tab?

Answer key

  1. a parameter
  2. 49
  3. Video
  4. 0
  5. starts an action
  6. Test 2
  7. Use 4 digits
  8. 3
  9. easy to read
  10. 6
  11. what data is collected
  12. open the camera screen
  13. 3
  14. real users
  15. Use 4 digits
  16. see the final score
  17. data
  18. dark blue on black
  19. when the test is false
  20. open the menu
  21. line 1
  22. dark blue on white
  23. Stars
  24. pick an answer
  25. actual is not expected
  26. data saved on the phone
  27. 1
  28. MVP
  29. False
  30. a wireframe
  31. a wireframe
  32. tapping a button
  33. 0
  34. Test 3
  35. a tab bar
  36. add a homework task
  37. handler
  38. 2
  39. True
  40. 1

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