← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 452 · 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 a food-order flow, which comes FIRST? (a) track the order (b) pay for the order (c) pick a dish (d) open the menu
  2. 2.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(2) + points(1));
  3. 3.🗒️ Version 1 of a water reminder must be ready in 11 days. How many days are left for extras after the must-haves?
    set a reminder time: 4 days
    log a glass of water: 1 days
    see today’s total: 4 days
  4. 4.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money received (b) show the balance (c) add money spent (d) pie-chart colours
  5. 5.Which of these happens at the release stage? (a) pick the features (b) sketch the screens (c) share the download link (d) connect the data
  6. 6.🚀 Your app is at version 3.4.7. The next release adds a new feature. What is its version number? (a) 4.0.0 (b) 3.4.8 (c) 3.5.7 (d) 3.5.0
  7. 7.🎯 Is this a user need or a feature: “I keep missing the bus”? (a) a user need (b) a feature
  8. 8.Which colour pair is easy to read? (a) red on green (b) light grey on white (c) yellow on white (d) white on black
  9. 9.🚀 Which version is newer: 3.7.4 or 3.7.13? (a) 3.7.4 (b) 3.7.13
  10. 10.💾 What number does this code show?
    let songs = ["Stars", "Kites", "Monsoon"];
    songs.push("Ocean");
    songs.push("Rain");
    show(songs.length);
  11. 11.🐞 What is a good first step when an app gives a wrong result? (a) buy a new phone (b) delete the app (c) find where it goes wrong (d) add more colours
  12. 12.🛠️ At which stage do you share the download link? (a) the test stage (b) the build stage (c) the release stage (d) the idea stage
  13. 13.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 44; // start at 42
    line 2: lives = lives + 2; // add 2
    line 3: lives = lives * 2; // double it
    line 4: show(lives); // show it
    (a) line 3 (b) line 1 (c) line 2
  14. 14.🔘 Is this good or poor button design: buttons almost touching? (a) good design (b) poor design
  15. 15.Which colour pair is hard to read? (a) white on dark green (b) red on green (c) dark blue on white (d) black on yellow
  16. 16.🎨 Is this about UI or UX: how many taps it takes? (a) UI (b) UX
  17. 17.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) confetti effects (b) show the score (c) check the answer (d) show a question
  18. 18.📊 Survey: which problem bugs you most? How many more votes did “missing the bus” get than “wasting pocket money”?
    wasting pocket money: 8 votes
    no quiet study place: 19 votes
    missing the bus: 14 votes
  19. 19.🧰 What does return do in a function? (a) deletes the app (b) closes the screen (c) repeats the code (d) sends back a value
  20. 20.True or false: a voice recorder needs the camera. (a) True (b) False
  21. 21.🛠️ At which stage do you talk to possible users? (a) the idea stage (b) the build stage (c) the plan stage (d) the release stage
  22. 22.🧭 Where is a tab bar usually placed in a phone app? (a) inside a button (b) in the middle (c) nowhere (d) at the bottom
  23. 23.🚀 In version 2.5.1, which number is the major version? (a) 1 (b) 5 (c) 2 (d) 251
  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.🔍 Which is the odd one out? (a) let friends try it (b) share the download link (c) write down the bugs (d) try every button
  26. 26.🔁 What number does this code show?
    let steps = [14, 4, 7];
    let best = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] > best) {
        best = steps[i];
      }
    }
    show(best);
  27. 27.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Feed tab
    2. open “Edit photo”
    3. open “Score card”
    4. tap Back
    5. open “Match report”
    How many times must you tap Back to reach the main screen of this tab?
  28. 28.🗒️ Why keep version 1 small? (a) to look bigger (b) to confuse users (c) to use up storage (d) to learn from users soon
  29. 29.🔀 When does the else part run? (a) when the test is false (b) when the test is true (c) always (d) never
  30. 30.🗒️ A to-do app with no “add a task” feature is ___. (a) a nice extra (b) well planned (c) ready to release (d) missing a must-have
  31. 31.🧭 Which part of navigation switches main sections? (a) a menu button (b) the back button (c) a tab bar
  32. 32.🔀 What does this battery rule show?
    let battery = 92;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  33. 33.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money spent (b) add money received (c) show the balance (d) export to a file
  34. 34.🔘 Is this good or poor button design: strong colour contrast? (a) poor design (b) good design
  35. 35.True or false: the user taps Play is a load event. (a) True (b) False
  36. 36.🧪 How many of these test cases pass?
    🎟️ 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(9) → expected 50
    Test 2: price(15) → expected 100
    Test 3: price(11) → expected 100
  37. 37.🗒️ Version 1 of a quiz app must be ready in 15 days. How many days are left for extras after the must-haves?
    show a question: 4 days
    check the answer: 2 days
    show the score: 3 days
  38. 38.Which of these app ideas solves a real problem? (a) an app that just says hi (b) a medicine reminder (c) a button with no action (d) a page of random dots
  39. 39.🐞 A comment in code (after //) is for ___. (a) the app store (b) people reading the code (c) the phone screen (d) the battery
  40. 40.🔁 A loop over a list of 5 items runs its body how many times? (a) 6 (b) 5 (c) 1 (d) 4

Answer key

  1. open the menu
  2. 40
  3. 2
  4. pie-chart colours
  5. share the download link
  6. 3.5.0
  7. a user need
  8. white on black
  9. 3.7.13
  10. 5
  11. find where it goes wrong
  12. the release stage
  13. line 1
  14. poor design
  15. red on green
  16. UX
  17. confetti effects
  18. 6
  19. sends back a value
  20. False
  21. the idea stage
  22. at the bottom
  23. 2
  24. the path through screens
  25. share the download link
  26. 14
  27. 2
  28. to learn from users soon
  29. when the test is false
  30. missing a must-have
  31. a tab bar
  32. Battery OK
  33. export to a file
  34. good design
  35. False
  36. 3
  37. 6
  38. a medicine reminder
  39. people reading the code
  40. 5

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