← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 758 · 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.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let points = 49; // start at 47
    line 2: points = points + 4; // add 4
    line 3: points = points + 5; // add 5
    line 4: points = points + 5; // add 5
    line 5: show(points); // show it
  2. 2.🔍 Which is the odd one out? (a) speaking a command (b) a result on screen (c) taking a photo (d) typing your age
  3. 3.🎯 Is this a user need or a feature: a dark mode switch? (a) a user need (b) a feature
  4. 4.🧰 Why write a function? (a) to hide errors (b) to reuse code (c) to slow the app (d) to make code longer
  5. 5.Which of these happens at the release stage? (a) list what users need (b) draw the user flow (c) sketch the screens (d) put it on an app store
  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(12) → expected 50
    Test 2: price(19) → expected 100
    Test 3: price(13) → expected 100
    (a) Test 2 (b) Test 1 (c) Test 3
  7. 7.True or false: a website opens in a web browser. (a) True (b) False
  8. 8.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(5) + points(3));
  9. 9.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Item → Address
    Design B: Home → Size → Shop → Pay → Pens → Results → Item
  10. 10.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) add a homework task (b) set a due date (c) share tasks to friends (d) see tasks by day
  11. 11.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) show the score (b) check the answer (c) background music (d) show a question
  12. 12.🌗 Is dark blue on white easy or hard to read on a button? (a) hard to read (b) easy to read
  13. 13.💡 Which app idea solves this problem: nobody knows whose bag it is? (a) a homework planner (b) a lost-and-found board (c) a study-room finder (d) a medicine reminder
  14. 14.💾 pop() takes off the last item. What does this code show?
    let notes = ["Sports", "Maths", "Art", "Music", "Science"];
    notes.pop();
    show(notes[notes.length - 1]);
    (a) Art (b) Sports (c) Music (d) Maths
  15. 15.True or false: the user taps Play is a tap event. (a) True (b) False
  16. 16.True or false: notes to read offline fits saving in the cloud. (a) False (b) True
  17. 17.🔍 Which is the odd one out? (a) tapping a button (b) checking a password (c) adding up a bill (d) working out a tip
  18. 18.🔁 list.length tells you ___. (a) the biggest item (b) the last item (c) the first item (d) how many items it has
  19. 19.🔀 When does the else part run? (a) when the test is false (b) when the test is true (c) never (d) always
  20. 20.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    wasting pocket money: 17 votes
    missing the bus: 20 votes
    no quiet study place: 19 votes
    (a) missing the bus (b) wasting pocket money (c) no quiet study place
  21. 21.Which of these is an input? (a) taking a photo (b) checking a password (c) a result on screen (d) adding up a bill
  22. 22.🔁 What is the LAST line this code shows?
    let names = ["Arjun", "Kabir", "Zoya", "Riya", "Aman"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Arjun (b) Hi, Zoya (c) Hi, Kabir (d) Hi, Aman
  23. 23.🔢 In a quiz-app flow, which comes first: “read a question” or “tap “Start quiz””? (a) tap “Start quiz” (b) read a question
  24. 24.📊 Survey: which problem bugs you most? How many students voted in all?
    missing the bus: 21 votes
    forgetting birthdays: 4 votes
    wasting pocket money: 5 votes
  25. 25.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Friend list”
    2. open “Help page”
    3. tap Back
    4. open “Map”
    How many times must you tap Back to reach the main screen of this tab?
  26. 26.🔢 When you make an app, which comes first: “build the app” or “get an idea”? (a) build the app (b) get an idea
  27. 27.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) pick a theme colour (b) earn stickers (c) see tasks by day (d) share tasks to friends
  28. 28.🔀 In a good flow, each screen should lead to ___. (a) the same screen (b) a clear next step (c) a random page (d) a dead end
  29. 29.🧰 In function tip(bill), what is bill? (a) a screen (b) a loop (c) a parameter (d) an event
  30. 30.Which of these is data? (a) the settings page (b) a date picker (c) the game-over page (d) your high score
  31. 31.👆 The user taps the button 4 times. What number does the label show now?
    let points = 8;
    button.onTap = function () {
      points = points + 2;
      label.text = points;
    };
  32. 32.🖼️ In this wireframe (top to bottom), what is right below the top bar?
    [ top bar ]
    [ search box ]
    [ Add button ]
    [ list of items ]
    [ title text ]
    (a) Add button (b) search box (c) list of items (d) title text
  33. 33.True or false: the screen first opens is a timer event. (a) False (b) True
  34. 34.🔀 What does this battery rule show?
    let battery = 97;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  35. 35.🔐 Is this permission request fair or too much: timer → your photos? (a) too much (b) fair
  36. 36.⚙️ In an app, is working out a tip an input, processing or an output? (a) processing (b) input (c) output
  37. 37.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let coins = 39; // start at 39
    line 2: coins = coins * 2; // double it
    line 3: coins = coins + 2; // double it
    line 4: show(coins); // show it
  38. 38.🔢 After an app is released, which comes LAST? (a) release an update (b) read user reviews (c) test it again (d) list what to fix
  39. 39.🧩 Which input is best for choosing a volume level? (a) a title (b) a switch (c) a text box (d) a slider
  40. 40.👥 A library app has 30 readers, 145 librarians and 75 volunteers as users. How many users does it have in all?

Answer key

  1. 63
  2. a result on screen
  3. a feature
  4. to reuse code
  5. put it on an app store
  6. Test 3
  7. True
  8. 90
  9. 4
  10. share tasks to friends
  11. background music
  12. easy to read
  13. a lost-and-found board
  14. Music
  15. True
  16. False
  17. tapping a button
  18. how many items it has
  19. when the test is false
  20. missing the bus
  21. taking a photo
  22. Hi, Aman
  23. tap “Start quiz”
  24. 30
  25. 2
  26. get an idea
  27. see tasks by day
  28. a clear next step
  29. a parameter
  30. your high score
  31. 16
  32. search box
  33. False
  34. Battery OK
  35. too much
  36. processing
  37. 156
  38. release an update
  39. a slider
  40. 250

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