← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 818 · 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: whether users get lost is about UX (the experience). (a) False (b) True
  2. 2.👆 The user taps the button 4 times. What number does the label show now?
    let lives = 7;
    button.onTap = function () {
      lives = lives + 3;
      label.text = lives;
    };
  3. 3.🔢 In a photo-post flow, what comes right after “open the camera screen”? (a) write a caption (b) take the photo (c) post the photo (d) add a filter
  4. 4.🔀 In this course’s code, which sign tests “is equal to”? (a) => (b) === (c) = (d) !==
  5. 5.🧪 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(500) → expected 0
    Test 2: delivery(200) → expected 40
    Test 3: delivery(600) → expected 0
  6. 6.🖼️ In this wireframe (top to bottom), what is right above the list of items?
    [ Add button ]
    [ big picture ]
    [ top bar ]
    [ filter buttons ]
    [ list of items ]
    (a) big picture (b) top bar (c) filter buttons (d) Add button
  7. 7.💡 An app that tries to do everything at once is usually ___. (a) hard to use (b) finished fast (c) easy to build (d) very small
  8. 8.⚙️ What number does this app show?
    let km = 9; // typed by the user
    let metres = km * 1000;
    show(metres);
  9. 9.🔢 In a sign-up flow, what comes right after “enter the code sent”? (a) tap “Sign up” (b) open the app (c) type name and email (d) see the home screen
  10. 10.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Add Homework
    [text box] Phone
    [text box] City
    [text box] Subject
    [slider] Brightness
    [button] Start
  11. 11.🔢 When you make an app, which comes LAST? (a) test the app (b) plan the screens (c) get an idea (d) release it
  12. 12.🚀 Which version is newer: 4.6.2 or 4.6.13? (a) 4.6.13 (b) 4.6.2
  13. 13.♿ Showing right or wrong only in red and green is a problem for ___. (a) the battery (b) fast typists (c) the server (d) colour-blind users
  14. 14.🧰 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(4) + fee(8));
  15. 15.True or false: a party-invite app for friends needs your location. (a) False (b) True
  16. 16.👆 Code that runs when an event happens is called a ___. (a) hashtag (b) header (c) headline (d) handler
  17. 17.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Order Snacks
    [text box] Notes
    [button] Cancel
    [text box] City
    [button] Done
    [button] Save
    [slider] Text size
    [text box] Phone
  18. 18.Which of these app ideas solves a real problem? (a) a blank grey screen (b) a button with no action (c) an app that just says hi (d) a medicine reminder
  19. 19.Which of these is a feature? (a) “Small text is hard” (b) “I keep missing the bus” (c) “What should I cook?” (d) a search bar
  20. 20.🎨 A beautiful app that confuses everyone has ___. (a) perfect UX (b) good UI but poor UX (c) no UI at all (d) good UX but poor UI
  21. 21.True or false: your saved notes is an input. (a) False (b) True
  22. 22.🧪 What is the ACTUAL result of Test 1?
    🎟️ 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(18) → expected 100
    Test 2: price(13) → expected 50
    Test 3: price(14) → expected 100
  23. 23.⚙️ What number does this app show?
    let bill = 150; // typed by the user
    let friends = 2; // typed by the user
    let share = bill / friends;
    show(share);
  24. 24.🔐 Is this permission request fair or too much: calculator → location? (a) fair (b) too much
  25. 25.🔘 Is this good or poor button design: a clear word like Save? (a) good design (b) poor design
  26. 26.🔍 Which is the odd one out? (a) sudden loud sounds (b) colour as the only clue (c) fast-flashing lights (d) text that can grow
  27. 27.🛠️ At which stage do you try every button? (a) the build stage (b) the idea stage (c) the test stage (d) the plan stage
  28. 28.True or false: you let friends try it at the build stage. (a) True (b) False
  29. 29.True or false: taking a photo is an input. (a) True (b) False
  30. 30.⚙️ What number does this app show?
    let price = 10; // typed by the user
    let qty = 6; // typed by the user
    let total = price * qty;
    show(total);
  31. 31.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Cart → Menu → Results
    Design B: Home → Offers → Pens → Address → Pay → Item
    (a) Design B (b) Design A
  32. 32.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Map”
    2. open “Map”
    3. tap Back
    How many times must you tap Back to reach the main screen of this tab?
  33. 33.True or false: “icons with no labels” helps everyone use the app. (a) True (b) False
  34. 34.🔀 What does this sign-up rule show?
    let age = 11;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  35. 35.💾 Which can hold many values in order? (a) a list (b) a button (c) a switch (d) a single number
  36. 36.Which of these is a user need? (a) “I forget my homework” (b) a share button (c) a dark mode switch (d) a search bar
  37. 37.🧪 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(20) → expected 100
    Test 2: price(11) → expected 50
    Test 3: price(14) → expected 100
  38. 38.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Map”
    2. tap Back
    3. open “Video”
    Which screen are you on now?
    (a) Video (b) Map (c) Lessons (d) Quiz
  39. 39.True or false: speaking a command is an output. (a) False (b) True
  40. 40.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Hint: 11 px
    Title: 22 px
    Footer: 26 px
    (a) Title (b) Hint (c) Footer

Answer key

  1. True
  2. 19
  3. take the photo
  4. ===
  5. 3
  6. filter buttons
  7. hard to use
  8. 9000
  9. see the home screen
  10. 4
  11. release it
  12. 4.6.13
  13. colour-blind users
  14. 50
  15. False
  16. handler
  17. 4
  18. a medicine reminder
  19. a search bar
  20. good UI but poor UX
  21. False
  22. 100
  23. 75
  24. too much
  25. good design
  26. text that can grow
  27. the test stage
  28. False
  29. True
  30. 60
  31. Design A
  32. 1
  33. False
  34. Ask a parent
  35. a list
  36. “I forget my homework”
  37. 3
  38. Video
  39. False
  40. Hint

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