← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 324 · 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.🔁 What number does this code show?
    let steps = [7, 18, 6, 15];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);
  2. 2.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] New Note
    [button] Start
    [slider] Text size
    [switch] Remind me
    [text box] Due date
    [text box] City
  3. 3.👥 A school app has 70 students, 130 teachers and 20 parents as users. Which user group is the biggest? (a) parents (b) students (c) teachers
  4. 4.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) a dark mode (b) rate the driver (c) pick your bus stop (d) change the bus icon
  5. 5.🔘 Our rule: buttons are at least 48 px tall. The Help button is 36 px tall. How many px taller must it be?
  6. 6.🔢 In a photo-post flow, which comes first: “take the photo” or “post the photo”? (a) post the photo (b) take the photo
  7. 7.🔘 Is this good or poor button design: a clear word like Save? (a) good design (b) poor design
  8. 8.🚀 Which version is newer: 3.2.3 or 3.11.2? (a) 3.11.2 (b) 3.2.3
  9. 9.True or false: “fast-flashing lights” makes the app harder to use. (a) False (b) True
  10. 10.🔍 Which is the odd one out? (a) a beep sound (b) a pop-up message (c) working out a tip (d) a result on screen
  11. 11.🗒️ Version 1 of a quiz app must be ready in 12 days. How many days are left for extras after the must-haves?
    show a question: 3 days
    check the answer: 1 days
    show the score: 2 days
  12. 12.🎯 Is this a user need or a feature: “Small text is hard”? (a) a feature (b) a user need
  13. 13.True or false: the user presses Save is a tap event. (a) True (b) False
  14. 14.🧪 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(16) → expected 100
    Test 2: price(12) → expected 50
    Test 3: price(13) → expected 100
    (a) Test 2 (b) Test 1 (c) Test 3
  15. 15.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) share tasks to friends (b) pick a theme colour (c) earn stickers (d) set a due date
  16. 16.🧩 What does a button do when you tap it? (a) shows the time (b) starts an action (c) saves the battery (d) changes the phone
  17. 17.🔢 After an app is released, what comes right after “list what to fix”? (a) fix and improve (b) test it again (c) release an update (d) read user reviews
  18. 18.🔢 In a sign-up flow, which comes first: “open the app” or “enter the code sent”? (a) open the app (b) enter the code sent
  19. 19.🧰 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(8) + fee(8));
  20. 20.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Video”
    2. open “Badges”
    3. tap the Me tab
    4. open “Match report”
    5. tap Back
    Which screen are you on now?
    (a) Me (b) Match report (c) Video (d) Badges
  21. 21.📊 Survey: which problem bugs you most? How many more votes did “forgetting birthdays” get than “forgetting homework”?
    forgetting homework: 12 votes
    forgetting birthdays: 20 votes
    losing water bottles: 21 votes
  22. 22.True or false: a bus tracker needs your contacts. (a) True (b) False
  23. 23.🚀 What should an app ask for only when it really needs it? (a) its icon (b) a permission (c) a font (d) its name
  24. 24.🔀 What is a user flow? (a) a type of font (b) the path through screens (c) a colour theme (d) a charging cable
  25. 25.True or false: a bill splitter solves no real problem. (a) False (b) True
  26. 26.True or false: a word battle is a learning app. (a) True (b) False
  27. 27.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Settings tab
    2. open “Badges”
    3. open “Badges”
    Which screen are you on now?
    (a) Settings (b) Badges (c) Feed (d) Chat
  28. 28.🔢 In a sign-up flow, what comes right after “enter the code sent”? (a) type name and email (b) see the home screen (c) tap “Sign up” (d) open the app
  29. 29.🔍 Which is the odd one out? (a) typing your age (b) a beep sound (c) tapping a button (d) speaking a command
  30. 30.♿ A screen has 12 icon buttons. Only 8 of them have a text label for screen readers. How many still need a label?
  31. 31.🔍 Which is the odd one out? (a) a result on screen (b) speaking a command (c) a pop-up message (d) a beep sound
  32. 32.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) pie-chart colours (b) savings stickers (c) export to a file (d) add money received
  33. 33.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 11, and 100 for everyone else.
    function price(age) {
      if (age <= 11) {
        return 50;
      }
      return 100;
    }
    Test 1: price(11) → expected 100
    Test 2: price(9) → expected 50
    Test 3: price(14) → expected 100
    (a) Test 1 (b) Test 3 (c) Test 2
  34. 34.🐞 What is a good first step when an app gives a wrong result? (a) add more colours (b) buy a new phone (c) delete the app (d) find where it goes wrong
  35. 35.🔁 What number does this code show?
    let scores = [38, 55, 99];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  36. 36.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) show arrival time (b) pick your bus stop (c) see where the bus is (d) rate the driver
  37. 37.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) old cases (b) phone cases (c) easy cases (d) edge cases
  38. 38.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Shop → Pay → Menu → Item → Pens
    Design B: Home → Address → Pens → Results → Pay
  39. 39.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 270; // typed by the user
    line 2: let off = 50; // typed by the user
    line 3: let pay = price - off;
    line 4: show(pay);
    (a) line 2 (b) line 1 (c) line 4 (d) line 3
  40. 40.🔢 When you make an app, which comes first: “test the app” or “plan the screens”? (a) plan the screens (b) test the app

Answer key

  1. 46
  2. 4
  3. teachers
  4. pick your bus stop
  5. 12
  6. take the photo
  7. good design
  8. 3.11.2
  9. True
  10. working out a tip
  11. 6
  12. a user need
  13. True
  14. Test 3
  15. set a due date
  16. starts an action
  17. fix and improve
  18. open the app
  19. 80
  20. Me
  21. 8
  22. False
  23. a permission
  24. the path through screens
  25. False
  26. False
  27. Badges
  28. see the home screen
  29. a beep sound
  30. 4
  31. speaking a command
  32. add money received
  33. Test 1
  34. find where it goes wrong
  35. 1
  36. rate the driver
  37. edge cases
  38. 1
  39. line 3
  40. plan the screens

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