← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 547 · 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.🧩 Which of these is a button on this screen?
    [title] Order Snacks
    [slider] Text size
    [text box] Phone
    [button] Done
    [text box] Subject
    [text box] Due date
    (a) Due date (b) Subject (c) Phone (d) Done
  2. 2.💡 After a survey, which need should version 1 solve? (a) a random need (b) the most common need (c) the rarest need (d) the newest trend
  3. 3.⚙️ Which line does the processing (works out the answer)?
    line 1: let km = 15; // typed by the user
    line 2: let metres = km * 1000;
    line 3: show(metres);
    (a) line 1 (b) line 3 (c) line 2
  4. 4.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let coins = 37; // start at 37
    line 2: coins = coins - 4; // take away 4
    line 3: coins = coins + 2; // double it
    line 4: coins = coins + 2; // add 2
    line 5: show(coins); // show it
  5. 5.True or false: a medicine reminder solves a real problem. (a) False (b) True
  6. 6.🧰 How do you run (call) a function called greet? (a) greet() (b) #greet (c) run greet (d) greet[]
  7. 7.🔀 What number does this shop app show?
    let total = 370;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  8. 8.🧭 Where is a tab bar usually placed in a phone app? (a) at the bottom (b) inside a button (c) nowhere (d) in the middle
  9. 9.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(45, 2));
  10. 10.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) export to a file (b) pie-chart colours (c) savings stickers (d) add money spent
  11. 11.💾 Where should the app save photos on two devices: on the phone or in the cloud? (a) on the phone (b) in the cloud
  12. 12.👆 The user taps the button 3 times. What does the label show now?
    let on = false;
    button.onTap = function () {
      on = !on;
      if (on) {
        label.text = "ON";
      } else {
        label.text = "OFF";
      }
    };
    (a) OFF (b) ON
  13. 13.💡 Which app idea solves this problem: a patient misses doses? (a) a medicine reminder (b) a study-room finder (c) a bill splitter (d) a homework planner
  14. 14.🔐 Is this permission request fair or too much: timer → your photos? (a) too much (b) fair
  15. 15.⚙️ What number does this app show?
    let bill = 136; // typed by the user
    let friends = 2; // typed by the user
    let share = bill / friends;
    show(share);
  16. 16.Which of these is processing? (a) tapping a button (b) a beep sound (c) speaking a command (d) working out a tip
  17. 17.🔐 Which permission does a party-invite app for friends really need? (a) the camera (b) contacts (c) the microphone (d) location
  18. 18.⚙️ In an app, is tapping a button an input, processing or an output? (a) output (b) processing (c) input
  19. 19.Which of these happens at the plan stage? (a) add the buttons (b) write the store text (c) sketch the screens (d) spot a problem to solve
  20. 20.📱 Which one has a web address: an app or a website? (a) an app (b) a website
  21. 21.📊 Survey: which problem bugs you most? How many more votes did “no quiet study place” get than “missing the bus”?
    missing the bus: 4 votes
    forgetting homework: 3 votes
    no quiet study place: 6 votes
  22. 22.True or false: a lost-and-found board solves no real problem. (a) False (b) True
  23. 23.👆 What kind of event is this: a countdown hits zero? (a) a timer event (b) a text event (c) a load event (d) a tap event
  24. 24.🛠️ At which stage do you share the download link? (a) the release stage (b) the idea stage (c) the plan stage (d) the test stage
  25. 25.🔢 In a food-order flow, which comes first: “open the menu” or “track the order”? (a) track the order (b) open the menu
  26. 26.True or false: a wireframe looks like the real app. (a) True (b) False
  27. 27.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Menu: 16 px
    Footer: 22 px
    Caption: 13 px
  28. 28.Which of these is a user need? (a) a share button (b) a dark mode switch (c) “Small text is hard” (d) a reminder alarm
  29. 29.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 45; // start at 44
    line 2: lives = lives + 2; // add 2
    line 3: lives = lives + 6; // add 6
    line 4: show(lives); // show it
  30. 30.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Results → Size → Pay → Pens → Item
    Design B: Home → Shop → Cart → Item → Results → Menu → Pens
    (a) Design A (b) Design B
  31. 31.💡 Does an app idea like a medicine reminder solve a real problem? (a) No (b) Yes
  32. 32.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let score = 42; // start at 39
    line 2: score = score - 5; // take away 5
    line 3: score = score - 3; // take away 3
    line 4: score = score + 4; // add 4
    line 5: show(score); // show it
  33. 33.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Edit Profile
    [text box] Email
    [button] Save
    [slider] Text size
    [switch] Dark mode
  34. 34.🔍 Which is the odd one out? (a) a buzz (vibration) (b) a result on screen (c) a beep sound (d) typing your age
  35. 35.🧪 What is the actual result of a test? (a) the app’s name (b) what the app really does (c) what we hope for (d) the test’s number
  36. 36.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) pick your bus stop (b) see where the bus is (c) rate the driver (d) show arrival time
  37. 37.🔘 Is this good or poor button design: a big, easy tap area? (a) good design (b) poor design
  38. 38.⚙️ In an app, is typing your age an input, processing or an output? (a) input (b) processing (c) output
  39. 39.🔍 Which is the odd one out? (a) a torch (b) a unit converter (c) a calculator (d) a puzzle with levels
  40. 40.👆 The user taps the button 4 times. What does the label show now?
    let on = false;
    button.onTap = function () {
      on = !on;
      if (on) {
        label.text = "ON";
      } else {
        label.text = "OFF";
      }
    };
    (a) ON (b) OFF

Answer key

  1. Done
  2. the most common need
  3. line 2
  4. 68
  5. True
  6. greet()
  7. 370
  8. at the bottom
  9. 90
  10. add money spent
  11. in the cloud
  12. ON
  13. a medicine reminder
  14. too much
  15. 68
  16. working out a tip
  17. contacts
  18. input
  19. sketch the screens
  20. a website
  21. 2
  22. False
  23. a timer event
  24. the release stage
  25. open the menu
  26. False
  27. 1
  28. “Small text is hard”
  29. 52
  30. Design A
  31. Yes
  32. 35
  33. 3
  34. typing your age
  35. what the app really does
  36. rate the driver
  37. good design
  38. input
  39. a puzzle with levels
  40. OFF

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