← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 11 · 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 scores = [12, 1, 9, 20];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  2. 2.🔢 In a food-order flow, which comes first: “check the cart” or “add it to the cart”? (a) check the cart (b) add it to the cart
  3. 3.Which of these happens at the plan stage? (a) write the store text (b) pick the features (c) connect the data (d) try every button
  4. 4.Which of these requests is fair? (a) camera app → camera (b) quiz app → microphone (c) timer → your photos (d) calculator → location
  5. 5.🎯 Which app would help this user most: a runner who forgets to sip water? (a) a homework planner (b) a bus tracker (c) a pocket-money tracker (d) a water reminder
  6. 6.🐞 What is a bug? (a) a new feature (b) a mistake in the code (c) a fast phone (d) a nice icon
  7. 7.True or false: a final design has the real colours. (a) True (b) False
  8. 8.👥 A clinic app has 290 patients, 85 doctors and 80 nurses as users. How many users does it have in all?
  9. 9.💡 Does an app idea like an app that just says hi solve a real problem? (a) No (b) Yes
  10. 10.💡 Which app idea solves this problem: the library is always full? (a) a homework planner (b) a study-room finder (c) a lost-and-found board (d) a medicine reminder
  11. 11.👥 A library app has 165 readers, 255 librarians and 200 volunteers as users. How many more volunteers than readers are there?
  12. 12.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(4));
  13. 13.♿ Why add captions to videos? (a) so anyone can follow (b) to hide the sound (c) to add colour (d) to slow them down
  14. 14.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let stars = 51; // start at 49
    line 2: stars = stars - 5; // take away 5
    line 3: stars = stars + 4; // add 4
    line 4: stars = stars * 2; // double it
    line 5: show(stars); // show it
  15. 15.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
    function price(age) {
      if (age < 8) {
        return 50;
      }
      return 100;
    }
    Test 1: price(13) → expected 100
    Test 2: price(7) → expected 50
    Test 3: price(15) → expected 100
  16. 16.True or false: a beep sound is an input. (a) False (b) True
  17. 17.Which of these app ideas solves a real problem? (a) a button with no action (b) a blank grey screen (c) a bill splitter (d) a page of random dots
  18. 18.🔢 In a sign-up flow, which comes first: “tap “Sign up”” or “enter the code sent”? (a) tap “Sign up” (b) enter the code sent
  19. 19.Which of these is a user need? (a) a dark mode switch (b) a search bar (c) a reminder alarm (d) “I forget my homework”
  20. 20.🔘 Is this good or poor button design: icons with no meaning? (a) good design (b) poor design
  21. 21.🔁 What is the LAST line this code shows?
    let names = ["Riya", "Arjun", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Arjun (b) Hi, Meera (c) Hi, Riya
  22. 22.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(60, 2));
  23. 23.🧪 What is the ACTUAL result of Test 2?
    🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
    function price(age) {
      if (age <= 8) {
        return 50;
      }
      return 100;
    }
    Test 1: price(13) → expected 100
    Test 2: price(15) → expected 100
    Test 3: price(5) → expected 50
  24. 24.🌗 Is red on green easy or hard to read on a button? (a) hard to read (b) easy to read
  25. 25.🐞 Finding and fixing bugs is called ___. (a) debugging (b) decorating (c) designing (d) downloading
  26. 26.💡 After a survey, which need should version 1 solve? (a) a random need (b) the newest trend (c) the most common need (d) the rarest need
  27. 27.True or false: an app has a web address. (a) True (b) False
  28. 28.🚀 Your app is at version 3.2.7. The next release adds a new feature. What is its version number? (a) 3.3.0 (b) 4.0.0 (c) 3.2.8 (d) 3.3.7
  29. 29.True or false: a wireframe is a quick sketch. (a) True (b) False
  30. 30.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Pens → Search → Results
    Design B: Home → Cart → Pay → Confirm → Pens → Item → Address
    (a) Design B (b) Design A
  31. 31.🛠️ At which stage do you share the download link? (a) the test stage (b) the build stage (c) the release stage (d) the plan stage
  32. 32.🧰 What does return do in a function? (a) closes the screen (b) deletes the app (c) sends back a value (d) repeats the code
  33. 33.📲 What happens when you tap an app’s icon? (a) the app opens (b) the app is deleted (c) the sound turns off (d) the phone charges
  34. 34.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) an avatar shop (b) show the score (c) confetti effects (d) background music
  35. 35.🧪 A test case is an input together with its ___. (a) app icon (b) screen colour (c) expected result (d) font size
  36. 36.True or false: a blank grey screen solves a real problem. (a) False (b) True
  37. 37.Which of these is a user need? (a) “Small text is hard” (b) a search bar (c) a reminder alarm (d) a dark mode switch
  38. 38.🧩 Which input is best for turning something ON or OFF? (a) a title (b) a slider (c) a switch (d) a text box
  39. 39.🧪 A test fails when ___. (a) the app is new (b) actual is not expected (c) the font is big (d) both are the same
  40. 40.🧭 What does the back button usually do? (a) goes to the last screen (b) deletes the page (c) closes all apps (d) opens settings

Answer key

  1. 42
  2. add it to the cart
  3. pick the features
  4. camera app → camera
  5. a water reminder
  6. a mistake in the code
  7. True
  8. 455
  9. No
  10. a study-room finder
  11. 35
  12. 12
  13. so anyone can follow
  14. 96
  15. 3
  16. False
  17. a bill splitter
  18. tap “Sign up”
  19. “I forget my homework”
  20. poor design
  21. Hi, Meera
  22. 120
  23. 100
  24. hard to read
  25. debugging
  26. the most common need
  27. False
  28. 3.3.0
  29. True
  30. Design A
  31. the release stage
  32. sends back a value
  33. the app opens
  34. show the score
  35. expected result
  36. False
  37. “Small text is hard”
  38. a switch
  39. actual is not expected
  40. goes to the last screen

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