← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 426 · 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.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Menu → Confirm → Shop → Results → Offers → Size
    Design B: Home → Shop → Menu → Search → Cart
  2. 2.🔍 Which is the odd one out? (a) an alarm clock (b) a step counter (c) a unit converter (d) a torch
  3. 3.🔢 After an app is released, which comes first: “test it again” or “fix and improve”? (a) test it again (b) fix and improve
  4. 4.Which of these fits saving in the cloud? (a) notes to read offline (b) the sound on/off setting (c) a draft you are typing (d) chat messages to friends
  5. 5.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) background music (b) an avatar shop (c) check the answer (d) confetti effects
  6. 6.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 36; // start at 36
    line 2: stars = stars + 7; // add 4
    line 3: stars = stars + 3; // add 3
    line 4: show(stars); // show it
    (a) line 3 (b) line 2 (c) line 1
  7. 7.🧪 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(11) → expected 100
    Test 2: price(16) → expected 100
    Test 3: price(10) → expected 50
  8. 8.🔘 Our rule: buttons are at least 48 px tall. The Save button is 20 px tall. How many px taller must it be?
  9. 9.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 50; // start at 49
    line 2: points = points + 2; // add 2
    line 3: points = points + 3; // add 3
    line 4: show(points); // show it
    (a) line 2 (b) line 1 (c) line 3
  10. 10.🔀 Which badge does this quiz app show?
    let marks = 38;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Gold (c) Bronze
  11. 11.🔢 In a quiz-app flow, what comes right after “read a question”? (a) pick an answer (b) tap “Start quiz” (c) see the final score (d) see if it is right
  12. 12.🧰 In function tip(bill), what is bill? (a) a screen (b) a parameter (c) a loop (d) an event
  13. 13.🗒️ Version 1 of a bus tracker must be ready in 11 days. How many days are left for extras after the must-haves?
    see where the bus is: 3 days
    show arrival time: 2 days
    pick your bus stop: 4 days
  14. 14.🧪 How many of these test cases pass?
    🎟️ 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(20) → expected 100
    Test 2: price(12) → expected 50
    Test 3: price(19) → expected 100
  15. 15.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) share your streak (b) see today’s total (c) set a reminder time (d) log a glass of water
  16. 16.🎨 Is this about UI or UX: how many taps it takes? (a) UX (b) UI
  17. 17.⚙️ Which line does the processing (works out the answer)?
    line 1: let bill = 136; // typed by the user
    line 2: let friends = 2; // typed by the user
    line 3: let share = bill / friends;
    line 4: show(share);
    (a) line 4 (b) line 3 (c) line 2 (d) line 1
  18. 18.⚙️ Which line does the processing (works out the answer)?
    line 1: let km = 3; // typed by the user
    line 2: let metres = km * 1000;
    line 3: show(metres);
    (a) line 3 (b) line 1 (c) line 2
  19. 19.Which of these app ideas solves a real problem? (a) an app that just says hi (b) a button with no action (c) a free study-room finder (d) a blank grey screen
  20. 20.True or false: icons with no meaning is good button design. (a) False (b) True
  21. 21.True or false: the font size is about UX (the experience). (a) False (b) True
  22. 22.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 50;
    }
    show(fee(1) + fee(1));
  23. 23.🔐 Is this permission request fair or too much: map app → location? (a) fair (b) too much
  24. 24.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Item → Results → Menu → Shop → Address
    Design B: Home → Confirm → Pens → Pay → Menu
  25. 25.🎯 Is this a user need or a feature: “I forget my homework”? (a) a user need (b) a feature
  26. 26.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Results → Menu → Pens → Search → Pay
    Design B: Home → Address → Menu → Confirm → Shop → Pay → Offers
    (a) Design B (b) Design A
  27. 27.🔍 Which is the odd one out? (a) labels on every icon (b) strong colour contrast (c) colour as the only clue (d) text that can grow
  28. 28.📊 Survey: which problem bugs you most? How many more votes did “forgetting birthdays” get than “wasting pocket money”?
    wasting pocket money: 16 votes
    forgetting birthdays: 22 votes
    no quiet study place: 9 votes
  29. 29.🔀 What does this sign-up rule show?
    let age = 8;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  30. 30.🔀 What does this PIN rule show?
    let pin = "960";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  31. 31.🐞 After fixing a bug you should ___. (a) never test (b) release at once (c) test it again (d) delete the test
  32. 32.🧰 What is a function? (a) a screen size (b) a type of phone (c) a named block of code (d) a list of colours
  33. 33.🗒️ Version 1 of a pocket-money tracker must be ready in 9 days. How many days are left for extras after the must-haves?
    add money received: 3 days
    add money spent: 1 days
    show the balance: 4 days
  34. 34.🔢 In a photo-post flow, what comes right after “open the camera screen”? (a) post the photo (b) take the photo (c) add a filter (d) write a caption
  35. 35.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 300) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(450) → expected 0
    Test 2: delivery(400) → expected 0
    Test 3: delivery(250) → expected 40
  36. 36.Which of these is an input? (a) a result on screen (b) checking a password (c) adding up a bill (d) taking a photo
  37. 37.🧰 How do you run (call) a function called greet? (a) run greet (b) greet() (c) greet[] (d) #greet
  38. 38.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 50;
    }
    show(fee(10) + fee(9));
  39. 39.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Results → Shop
    Design B: Home → Menu → Pens → Offers → Size → Shop → Cart
    (a) Design A (b) Design B
  40. 40.🌗 Is white on black easy or hard to read on a button? (a) hard to read (b) easy to read

Answer key

  1. 2
  2. a step counter
  3. fix and improve
  4. chat messages to friends
  5. check the answer
  6. line 2
  7. 50
  8. 28
  9. line 1
  10. Bronze
  11. pick an answer
  12. a parameter
  13. 2
  14. 3
  15. share your streak
  16. UX
  17. line 3
  18. line 2
  19. a free study-room finder
  20. False
  21. False
  22. 0
  23. fair
  24. 1
  25. a user need
  26. Design A
  27. colour as the only clue
  28. 6
  29. Ask a parent
  30. Use 4 digits
  31. test it again
  32. a named block of code
  33. 1
  34. take the photo
  35. 3
  36. taking a photo
  37. greet()
  38. 100
  39. Design A
  40. easy to read

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