← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 739 · 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 an app, what is a switch for dark mode? (a) a button (b) a screen (c) an input (d) data
  2. 2.🎯 Is this a user need or a feature: a dark mode switch? (a) a user need (b) a feature
  3. 3.Which of these fits saving in the cloud? (a) notes to read offline (b) your last game level (c) a draft you are typing (d) photos on two devices
  4. 4.Which of these is true of a website? (a) has a home-screen icon (b) is installed on a phone (c) has a web address (d) updates from the store
  5. 5.⚙️ Which line does the processing (works out the answer)?
    line 1: let km = 2; // typed by the user
    line 2: let metres = km * 1000;
    line 3: show(metres);
    (a) line 3 (b) line 1 (c) line 2
  6. 6.💾 What number does this code show?
    let songs = ["Ocean", "Rain", "Kites", "Stars"];
    songs.push("Sunrise");
    songs.push("Monsoon");
    show(songs.length);
  7. 7.Which of these app ideas solves a real problem? (a) a page of random dots (b) a bill splitter (c) a blank grey screen (d) a button with no action
  8. 8.🔢 When you make an app, which comes first: “release it” or “build the app”? (a) release it (b) build the app
  9. 9.👥 A library app has 205 readers, 240 librarians and 35 volunteers as users. Which user group is the biggest? (a) volunteers (b) readers (c) librarians
  10. 10.Which of these is an output? (a) adding up a bill (b) speaking a command (c) a pop-up message (d) tapping a button
  11. 11.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Map”
    2. tap the Home tab
    3. open “Badges”
    Which screen are you on now?
    (a) Search (b) Badges (c) Home (d) Map
  12. 12.True or false: “colour as the only clue” makes the app harder to use. (a) True (b) False
  13. 13.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 44; // start at 44
    line 2: coins = coins + 2; // add 2
    line 3: coins = coins - 4; // add 4
    line 4: coins = coins - 1; // take away 1
    line 5: show(coins); // show it
    (a) line 3 (b) line 2 (c) line 4 (d) line 1
  14. 14.Which of these is processing? (a) tapping a button (b) speaking a command (c) adding up a bill (d) a beep sound
  15. 15.🧪 A test case is an input together with its ___. (a) app icon (b) font size (c) expected result (d) screen colour
  16. 16.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let score = 39; // start at 39
    line 2: score = score * 3; // double it
    line 3: score = score + 4; // add 4
    line 4: show(score); // show it
  17. 17.🧪 What is the ACTUAL result of Test 1?
    🎟️ 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(15) → expected 100
    Test 2: price(7) → expected 50
    Test 3: price(11) → expected 100
  18. 18.🌗 Is yellow on white easy or hard to read on a button? (a) easy to read (b) hard to read
  19. 19.🌗 Is white on black easy or hard to read on a button? (a) easy to read (b) hard to read
  20. 20.🔁 What is the LAST line this code shows?
    let names = ["Aman", "Zoya", "Kabir", "Arjun", "Riya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Zoya (b) Hi, Aman (c) Hi, Kabir (d) Hi, Riya
  21. 21.Which of these is an output? (a) taking a photo (b) tapping a button (c) checking a password (d) a buzz (vibration)
  22. 22.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Search → Cart → Shop → Address → Menu → Confirm
    Design B: Home → Results → Menu → Pay → Address
  23. 23.🎯 Is this a user need or a feature: “I keep missing the bus”? (a) a feature (b) a user need
  24. 24.💡 Does an app idea like a library due-date alert solve a real problem? (a) No (b) Yes
  25. 25.🧭 What does the back button usually do? (a) goes to the last screen (b) deletes the page (c) closes all apps (d) opens settings
  26. 26.🎯 Who are the users of an app? (a) the people who use it (b) only the testers (c) only the coders (d) the app icons
  27. 27.🎯 Is this a user need or a feature: “I forget my homework”? (a) a feature (b) a user need
  28. 28.True or false: “text that can grow” makes the app harder to use. (a) True (b) False
  29. 29.🔁 What number does this code show?
    let runs = [14, 99, 34, 29];
    let count = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  30. 30.Which of these is data? (a) the game-over page (b) tap to go Next (c) today’s step count (d) tap to Send
  31. 31.🔘 Is this good or poor button design: icons with no meaning? (a) good design (b) poor design
  32. 32.🧩 Which input is best for typing your name? (a) a slider (b) a switch (c) a picture (d) a text box
  33. 33.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 36; // start at 35
    line 2: score = score + 3; // add 3
    line 3: score = score + 6; // add 6
    line 4: show(score); // show it
  34. 34.🧩 Which of these is a button on this screen?
    [title] New Note
    [text box] Subject
    [text box] Name
    [text box] Notes
    [button] Save
    (a) Notes (b) Subject (c) Save (d) Name
  35. 35.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) share tasks to friends (b) add a homework task (c) earn stickers (d) pick a theme colour
  36. 36.🔍 Which is the odd one out? (a) speaking a command (b) typing your age (c) checking a password (d) taking a photo
  37. 37.🧰 What is a function? (a) a screen size (b) a list of colours (c) a named block of code (d) a type of phone
  38. 38.🔀 What does if / else let an app do? (a) repeat forever (b) save a photo (c) draw a screen (d) pick one of two actions
  39. 39.True or false: a pocket-money tracker is the best fit for a parent waiting at the bus stop. (a) True (b) False
  40. 40.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(95, 6));

Answer key

  1. an input
  2. a feature
  3. photos on two devices
  4. has a web address
  5. line 2
  6. 6
  7. a bill splitter
  8. build the app
  9. librarians
  10. a pop-up message
  11. Badges
  12. True
  13. line 3
  14. adding up a bill
  15. expected result
  16. 82
  17. 100
  18. hard to read
  19. easy to read
  20. Hi, Riya
  21. a buzz (vibration)
  22. 2
  23. a user need
  24. Yes
  25. goes to the last screen
  26. the people who use it
  27. a user need
  28. False
  29. 1
  30. today’s step count
  31. poor design
  32. a text box
  33. 45
  34. Save
  35. add a homework task
  36. checking a password
  37. a named block of code
  38. pick one of two actions
  39. False
  40. 570

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