← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 657 · 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.💾 Data saved only on the phone is lost when ___. (a) the screen turns off (b) the phone is lost (c) you send a message (d) the app is closed
  2. 2.🧪 What is the ACTUAL result of Test 3?
    🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 500) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(750) → expected 0
    Test 2: delivery(500) → expected 0
    Test 3: delivery(450) → expected 40
  3. 3.🧰 In function tip(bill), what is bill? (a) a parameter (b) a loop (c) a screen (d) an event
  4. 4.🎯 Which app would help this user most: a teen whose money runs out by Friday? (a) a homework planner (b) a bus tracker (c) a pocket-money tracker (d) a big-text reader
  5. 5.🔢 In a quiz-app flow, which comes LAST? (a) pick an answer (b) tap “Start quiz” (c) see the final score (d) read a question
  6. 6.🔀 What does if / else let an app do? (a) pick one of two actions (b) draw a screen (c) save a photo (d) repeat forever
  7. 7.Which of these is true of the back button? (a) shows 3 to 5 icons (b) switches main sections (c) undoes one move (d) hides extra links
  8. 8.True or false: tap to Save is a button. (a) False (b) True
  9. 9.True or false: a homework planner is the best fit for a student who keeps forgetting due dates. (a) False (b) True
  10. 10.🔐 Which permission does a party-invite app for friends really need? (a) contacts (b) the camera (c) the microphone (d) location
  11. 11.💡 Which app idea solves this problem: students cannot find a quiet room? (a) a bill splitter (b) a homework planner (c) a lost-and-found board (d) a study-room finder
  12. 12.🔍 Which is the odd one out? (a) a unit converter (b) a calculator (c) an alarm clock (d) a step counter
  13. 13.♿ What does a screen reader do? (a) reads the screen aloud (b) plays music (c) takes photos (d) makes text tiny
  14. 14.🔍 Which is the odd one out? (a) adding up a bill (b) sorting the scores (c) speaking a command (d) working out a tip
  15. 15.🔀 What number does this shop app show?
    let total = 320;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  16. 16.🧪 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(4) → expected Try again
    Test 2: result(7) → expected Pass
    Test 3: result(6) → expected Pass
  17. 17.🔍 Which is the odd one out? (a) the screen layout (b) the theme colours (c) how easy sign-up is (d) the button colours
  18. 18.🧭 Which part of navigation switches main sections? (a) a tab bar (b) the back button (c) a menu button
  19. 19.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Help page”
    2. tap the Search tab
    3. open “Edit photo”
    4. open “Help page”
    Which screen are you on now?
    (a) Home (b) Help page (c) Edit photo (d) Search
  20. 20.🧰 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(1) + fee(12));
  21. 21.Which of these requests is fair? (a) timer → your photos (b) map app → location (c) torch → contacts (d) quiz app → microphone
  22. 22.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) pie-chart colours (b) export to a file (c) show the balance (d) savings stickers
  23. 23.🔐 Which permission does a barcode scanner really need? (a) location (b) the microphone (c) the camera (d) contacts
  24. 24.True or false: a library due-date alert solves no real problem. (a) False (b) True
  25. 25.True or false: a water reminder is the best fit for a teen learning to make snacks. (a) False (b) True
  26. 26.🧩 Which part lets the user give the app information? (a) an icon (b) a logo (c) a title (d) an input
  27. 27.👆 The user taps the button 1 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 5) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  28. 28.⚙️ Which line does the processing (works out the answer)?
    line 1: let bill = 36; // typed by the user
    line 2: let friends = 2; // typed by the user
    line 3: let share = bill / friends;
    line 4: show(share);
    (a) line 3 (b) line 2 (c) line 4 (d) line 1
  29. 29.🎯 What is the best first step to learn what users need? (a) pick the colours (b) write the code (c) guess on your own (d) ask and watch users
  30. 30.True or false: a weather-near-me app needs your location. (a) False (b) True
  31. 31.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 60;
    }
    show(fee(4) + fee(1));
  32. 32.💾 Where should the app save a shared to-do list: on the phone or in the cloud? (a) on the phone (b) in the cloud
  33. 33.✏️ What is a wireframe? (a) a simple screen sketch (b) a charging cable (c) the finished app (d) a type of password
  34. 34.Which of these is true of a wireframe? (a) uses the final pictures (b) has the real colours (c) shows where things go (d) shows the real fonts
  35. 35.🗒️ When should nice-to-have features be built? (a) after the must-haves (b) on day one (c) never (d) before anything
  36. 36.Which of these happens at the idea stage? (a) share the download link (b) spot a problem to solve (c) pick the features (d) write the store text
  37. 37.👆 The user taps the button 2 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 2) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  38. 38.Which colour pair is easy to read? (a) pale pink on white (b) light grey on white (c) dark blue on white (d) yellow on white
  39. 39.Which of these is true of a menu button? (a) undoes one move (b) goes to the last screen (c) switches main sections (d) opens a list of pages
  40. 40.🔀 What number does this shop app show?
    let total = 620;
    if (total > 500) {
      total = total - 50;
    }
    show(total);

Answer key

  1. the phone is lost
  2. 40
  3. a parameter
  4. a pocket-money tracker
  5. see the final score
  6. pick one of two actions
  7. undoes one move
  8. True
  9. True
  10. contacts
  11. a study-room finder
  12. a step counter
  13. reads the screen aloud
  14. speaking a command
  15. 320
  16. 3
  17. how easy sign-up is
  18. a tab bar
  19. Help page
  20. 50
  21. map app → location
  22. show the balance
  23. the camera
  24. False
  25. False
  26. an input
  27. 1
  28. line 3
  29. ask and watch users
  30. True
  31. 0
  32. in the cloud
  33. a simple screen sketch
  34. shows where things go
  35. after the must-haves
  36. spot a problem to solve
  37. 2
  38. dark blue on white
  39. opens a list of pages
  40. 570

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