← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 508 · 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.True or false: the game-over page is an input. (a) True (b) False
  2. 2.💾 Which works with no internet at all? (a) a shared chat (b) data saved on the phone (c) a cloud backup (d) a cloud leaderboard
  3. 3.📱 Which one has a web address: an app or a website? (a) an app (b) a website
  4. 4.🔀 What does this PIN rule show?
    let pin = "68195";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  5. 5.True or false: how users feel after is about UX (the experience). (a) True (b) False
  6. 6.✏️ Is this true of a wireframe or of a final design: has the real colours? (a) a wireframe (b) a final design
  7. 7.🔁 What number does this code show?
    let steps = [13, 16, 13, 8];
    let best = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] > best) {
        best = steps[i];
      }
    }
    show(best);
  8. 8.Which of these is a feature? (a) a share button (b) “What should I cook?” (c) “I forget my homework” (d) “Small text is hard”
  9. 9.🔀 What number does this shop app show?
    let total = 340;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  10. 10.Which of these is processing? (a) a beep sound (b) typing your age (c) a pop-up message (d) sorting the scores
  11. 11.🔘 Our rule: buttons are at least 48 px tall. The Next button is 20 px tall. How many px taller must it be?
  12. 12.Which of these app ideas solves no real problem? (a) a library due-date alert (b) a free study-room finder (c) a medicine reminder (d) a blank grey screen
  13. 13.🔀 What does this sign-up rule show?
    let age = 13;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  14. 14.🔀 In this course’s code, which sign tests “is equal to”? (a) === (b) !== (c) => (d) =
  15. 15.🔀 Why plan the user flow before building? (a) to hide the buttons (b) to add more taps (c) to skip testing (d) so each step is clear
  16. 16.True or false: a water reminder is the best fit for a gamer who forgets to drink. (a) False (b) True
  17. 17.🧩 In an app, what is a slider for volume? (a) an input (b) a screen (c) a button (d) data
  18. 18.Which of these app ideas solves no real problem? (a) a library due-date alert (b) a bill splitter (c) a medicine reminder (d) a button with no action
  19. 19.🔍 Which is the odd one out? (a) colour as the only clue (b) strong colour contrast (c) sudden loud sounds (d) tiny tap areas
  20. 20.Which of these is true of a menu button? (a) goes to the last screen (b) shows 3 to 5 icons (c) undoes one move (d) hides extra links
  21. 21.🧩 Which of these is a button on this screen?
    [title] Sign Up
    [text box] Age
    [slider] Text size
    [button] Send
    [text box] Phone
    (a) Phone (b) Send (c) Text size (d) Age
  22. 22.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) change the bus icon (b) a dark mode (c) pick your bus stop (d) rate the driver
  23. 23.Which of these helps everyone use the app? (a) captions on videos (b) sudden loud sounds (c) tiny tap areas (d) icons with no labels
  24. 24.🧩 Which of these is a button on this screen?
    [title] Add Homework
    [button] Send
    [text box] Email
    [button] Save
    [text box] Due date
    [text box] Phone
    (a) Due date (b) Phone (c) Email (d) Save
  25. 25.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ search box ]
    [ title text ]
    [ top bar ]
    [ Save button ]
    [ tab bar ]
    (a) Save button (b) top bar (c) title text (d) tab bar
  26. 26.👆 An event in an app is ___. (a) a colour theme (b) something that happens (c) an app store (d) a kind of list
  27. 27.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Add Homework
    [text box] Name
    [slider] Text size
    [text box] Phone
    [button] Send
  28. 28.🚀 Which version is newer: 2.0.17 or 2.0.3? (a) 2.0.3 (b) 2.0.17
  29. 29.🔢 In a photo-post flow, which comes FIRST? (a) add a filter (b) post the photo (c) take the photo (d) open the camera screen
  30. 30.⚙️ In an app, is a buzz (vibration) an input, processing or an output? (a) output (b) input (c) processing
  31. 31.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
    function price(age) {
      if (age < 14) {
        return 50;
      }
      return 100;
    }
    Test 1: price(13) → expected 50
    Test 2: price(21) → expected 100
    Test 3: price(20) → expected 100
  32. 32.🔀 With if / else if / else, how many parts run? (a) none (b) all of them (c) only one (d) two
  33. 33.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 20;
    }
    show(fee(12) + fee(10));
  34. 34.🖼️ In this wireframe (top to bottom), what is right below the Save button?
    [ Save button ]
    [ search box ]
    [ menu icon ]
    [ title text ]
    [ top bar ]
    (a) title text (b) search box (c) menu icon (d) top bar
  35. 35.🔘 Our rule: buttons are at least 48 px tall. The Done button is 32 px tall. How many px taller must it be?
  36. 36.🧰 How do you run (call) a function called greet? (a) greet[] (b) greet() (c) #greet (d) run greet
  37. 37.🔁 What number does this code show?
    let steps = [90, 90, 31];
    let count = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  38. 38.🔢 In a photo-post flow, which comes first: “open the camera screen” or “write a caption”? (a) write a caption (b) open the camera screen
  39. 39.🧪 What is the ACTUAL result of Test 2?
    🚚 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(300) → expected 0
    Test 2: delivery(200) → expected 40
    Test 3: delivery(450) → expected 0
  40. 40.💡 Does an app idea like a blank grey screen solve a real problem? (a) Yes (b) No

Answer key

  1. False
  2. data saved on the phone
  3. a website
  4. Use 4 digits
  5. True
  6. a final design
  7. 16
  8. a share button
  9. 340
  10. sorting the scores
  11. 28
  12. a blank grey screen
  13. Welcome!
  14. ===
  15. so each step is clear
  16. True
  17. an input
  18. a button with no action
  19. strong colour contrast
  20. hides extra links
  21. Send
  22. pick your bus stop
  23. captions on videos
  24. Save
  25. tab bar
  26. something that happens
  27. 3
  28. 2.0.17
  29. open the camera screen
  30. output
  31. 3
  32. only one
  33. 40
  34. search box
  35. 16
  36. greet()
  37. 2
  38. open the camera screen
  39. 40
  40. No

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