← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 656 · 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.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
    function price(age) {
      if (age <= 9) {
        return 50;
      }
      return 100;
    }
    Test 1: price(6) → expected 50
    Test 2: price(9) → expected 100
    Test 3: price(10) → expected 100
    (a) Test 1 (b) Test 3 (c) Test 2
  2. 2.Which of these is an output? (a) sorting the scores (b) a result on screen (c) working out a tip (d) tapping a button
  3. 3.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(10, 4));
  4. 4.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(2) + points(1));
  5. 5.🚀 Which version is newer: 2.8.12 or 2.8.7? (a) 2.8.12 (b) 2.8.7
  6. 6.🔀 When does the else part run? (a) never (b) when the test is true (c) always (d) when the test is false
  7. 7.🎯 Is this a user need or a feature: a share button? (a) a user need (b) a feature
  8. 8.🧭 About how many tabs suit a tab bar best? (a) 3 to 5 (b) 10 to 12 (c) 20 (d) 1
  9. 9.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 7 or more right answers.
    function result(right) {
      if (right > 7) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(5) → expected Try again
    Test 2: result(8) → expected Pass
    Test 3: result(7) → expected Pass
  10. 10.🧪 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(14) → expected 100
    Test 2: price(10) → expected 50
    Test 3: price(13) → expected 100
    (a) Test 2 (b) Test 1 (c) Test 3
  11. 11.🧪 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(19) → expected 100
    Test 2: price(18) → expected 100
    Test 3: price(12) → expected 50
  12. 12.True or false: a blank grey screen solves a real problem. (a) True (b) False
  13. 13.Which of these app ideas solves a real problem? (a) an app that just says hi (b) a page of random dots (c) a button with no action (d) a library due-date alert
  14. 14.🔢 After an app is released, what comes right after “fix and improve”? (a) read user reviews (b) list what to fix (c) release an update (d) test it again
  15. 15.🔀 With if / else if / else, how many parts run? (a) two (b) none (c) only one (d) all of them
  16. 16.🔁 What does a loop do? (a) repeats code (b) saves photos (c) deletes code (d) draws icons
  17. 17.Which colour pair is hard to read? (a) black on pale grey (b) dark blue on white (c) white on dark green (d) light grey on white
  18. 18.👥 A cricket club app has 185 players, 235 coaches and 250 fans as users. How many more coaches than players are there?
  19. 19.🛠️ At which stage do you write the store text? (a) the test stage (b) the build stage (c) the release stage (d) the idea stage
  20. 20.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Back button: 32 px tall
    Help button: 52 px tall
    Start button: 72 px tall
    Next button: 64 px tall
    (a) Help (b) Back (c) Next (d) Start
  21. 21.Which of these is about UI (the look)? (a) the theme colours (b) how fast a task is done (c) how easy sign-up is (d) how users feel after
  22. 22.🧩 In an app, what is the game-over page? (a) a button (b) data (c) an input (d) a screen
  23. 23.🔢 In a sign-up flow, which comes FIRST? (a) open the app (b) enter the code sent (c) make a password (d) type name and email
  24. 24.Which of these is a user need? (a) a share button (b) “Small text is hard” (c) a search bar (d) a reminder alarm
  25. 25.♿ Does this help everyone, or make the app harder to use: fast-flashing lights? (a) helps everyone (b) makes it harder
  26. 26.True or false: a step counter is a health app. (a) False (b) True
  27. 27.✏️ Is this true of a wireframe or of a final design: shows the real fonts? (a) a wireframe (b) a final design
  28. 28.✏️ Do wireframes usually show the final colours? (a) Yes (b) No
  29. 29.True or false: a final design uses plain grey boxes. (a) True (b) False
  30. 30.💡 Which app idea solves this problem: pupils forget due dates? (a) a homework planner (b) a bill splitter (c) a lost-and-found board (d) a medicine reminder
  31. 31.🔢 When you make an app, what comes right after “plan the screens”? (a) get an idea (b) test the app (c) release it (d) build the app
  32. 32.🔢 In a food-order flow, which comes first: “add it to the cart” or “open the menu”? (a) open the menu (b) add it to the cart
  33. 33.🔁 list.length tells you ___. (a) the last item (b) how many items it has (c) the first item (d) the biggest item
  34. 34.📅 An app team plans for 5 days, builds for 6 days, tests for 1 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
  35. 35.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Video”
    2. tap the Quiz tab
    3. tap the Me tab
    Which screen are you on now?
    (a) Lessons (b) Me (c) Video (d) Quiz
  36. 36.True or false: a buzz (vibration) is an output. (a) True (b) False
  37. 37.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Settings tab
    2. tap the Chat tab
    3. open “Match report”
    4. tap Back
    5. open “Map”
    How many times must you tap Back to reach the main screen of this tab?
  38. 38.💡 A good app idea starts with ___. (a) a problem to solve (b) a long name (c) a cool logo (d) many colours
  39. 39.True or false: a selfie sticker app needs your location. (a) False (b) True
  40. 40.💾 What number does this code show?
    let points = 6;
    points = points - 5;
    points = points + 1;
    show(points);

Answer key

  1. Test 2
  2. a result on screen
  3. 40
  4. 40
  5. 2.8.12
  6. when the test is false
  7. a feature
  8. 3 to 5
  9. 2
  10. Test 3
  11. 100
  12. False
  13. a library due-date alert
  14. test it again
  15. only one
  16. repeats code
  17. light grey on white
  18. 50
  19. the release stage
  20. Back
  21. the theme colours
  22. a screen
  23. open the app
  24. “Small text is hard”
  25. makes it harder
  26. True
  27. a final design
  28. No
  29. False
  30. a homework planner
  31. build the app
  32. open the menu
  33. how many items it has
  34. 11
  35. Me
  36. True
  37. 1
  38. a problem to solve
  39. False
  40. 2

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