← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 173 · 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 app show?
    let price = 95; // typed by the user
    let qty = 6; // typed by the user
    let total = price * qty;
    show(total);
  2. 2.🗒️ Version 1 of a quiz app must be ready in 12 days. How many days are left for extras after the must-haves?
    show a question: 2 days
    check the answer: 2 days
    show the score: 2 days
  3. 3.True or false: the theme colours is about UX (the experience). (a) False (b) True
  4. 4.🔐 Which permission does a walking map really need? (a) contacts (b) location (c) the camera (d) the microphone
  5. 5.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Lessons tab
    2. open “Help page”
    3. tap Back
    4. open “Edit photo”
    5. open “Video”
    How many times must you tap Back to reach the main screen of this tab?
  6. 6.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(1) + points(2));
  7. 7.💡 Does an app idea like a bill splitter solve a real problem? (a) No (b) Yes
  8. 8.Which of these is a feature? (a) “What should I cook?” (b) “I forget my homework” (c) a reminder alarm (d) “I keep missing the bus”
  9. 9.🔁 What number does this code show?
    let marks = [2, 20, 4, 17];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  10. 10.True or false: an app is installed on a phone. (a) True (b) False
  11. 11.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 500) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(550) → expected 0
    Test 2: delivery(700) → expected 0
    Test 3: delivery(400) → expected 40
  12. 12.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Save button: 56 px tall
    Send button: 72 px tall
    Back button: 24 px tall
    Next button: 56 px tall
    (a) Back (b) Next (c) Save (d) Send
  13. 13.Which of these is true of an app? (a) opens in a web browser (b) is installed on a phone (c) has a web address (d) opens from a link
  14. 14.Which of these is true of a menu button? (a) shows 3 to 5 icons (b) hides extra links (c) undoes one move (d) switches main sections
  15. 15.💡 Which app idea solves this problem: a team shares one snack bill? (a) a lost-and-found board (b) a study-room finder (c) a medicine reminder (d) a bill splitter
  16. 16.📱 Which one opens from a link: an app or a website? (a) an app (b) a website
  17. 17.Which of these is an output? (a) sorting the scores (b) tapping a button (c) a result on screen (d) typing your age
  18. 18.💡 Does an app idea like an app that just says hi solve a real problem? (a) No (b) Yes
  19. 19.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Done button: 40 px tall
    Save button: 52 px tall
    Next button: 52 px tall
    (a) Done (b) Next (c) Save
  20. 20.👥 A school app has 60 students, 50 teachers and 45 parents as users. How many users does it have in all?
  21. 21.🧰 Why write a function? (a) to reuse code (b) to make code longer (c) to slow the app (d) to hide errors
  22. 22.👆 The user types Kabir in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Welcome, " + nameBox.text + "!";
    };
    (a) Kabir (b) Welcome, nameBox.text! (c) Welcome! (d) Welcome, Kabir!
  23. 23.🔢 After an app is released, which comes LAST? (a) list what to fix (b) fix and improve (c) release an update (d) read user reviews
  24. 24.🚀 Which version is newer: 4.6.16 or 4.6.2? (a) 4.6.2 (b) 4.6.16
  25. 25.🔢 In a food-order flow, which comes first: “open the menu” or “check the cart”? (a) open the menu (b) check the cart
  26. 26.🎯 Is this a user need or a feature: “Small text is hard”? (a) a feature (b) a user need
  27. 27.🔁 What number does this code show?
    let steps = [15, 20, 5, 11];
    let best = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] > best) {
        best = steps[i];
      }
    }
    show(best);
  28. 28.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Search → Confirm → Pens → Item → Menu
    Design B: Home → Menu → Search
  29. 29.🛠️ At which stage do you write the store text? (a) the idea stage (b) the plan stage (c) the test stage (d) the release stage
  30. 30.True or false: whether users get lost is about UI (the look). (a) False (b) True
  31. 31.Which colour pair is hard to read? (a) white on dark green (b) dark blue on white (c) pale pink on white (d) white on black
  32. 32.🚀 Which of these versions is the NEWEST?
    1.16.9, 1.12.3, 1.17.7, 0.27.3
    (a) 1.12.3 (b) 1.16.9 (c) 0.27.3 (d) 1.17.7
  33. 33.Which of these is processing? (a) speaking a command (b) working out a tip (c) taking a photo (d) a beep sound
  34. 34.True or false: your saved notes is data. (a) True (b) False
  35. 35.🧰 What does return do in a function? (a) closes the screen (b) deletes the app (c) sends back a value (d) repeats the code
  36. 36.Which colour pair is easy to read? (a) white on dark green (b) light grey on white (c) red on green (d) yellow on white
  37. 37.🧩 How many buttons does this app screen have?
    [title] Order Snacks
    [button] Next
    [text box] Notes
    [text box] Due date
    [button] Save
    [slider] Brightness
    [button] Cancel
  38. 38.True or false: sorting the scores is an output. (a) False (b) True
  39. 39.Which colour pair is hard to read? (a) black on yellow (b) white on dark green (c) dark blue on black (d) white on black
  40. 40.Which of these is an input? (a) tap to Send (b) tap to go Next (c) a switch for dark mode (d) tap to Save

Answer key

  1. 570
  2. 6
  3. False
  4. location
  5. 2
  6. 40
  7. Yes
  8. a reminder alarm
  9. 20
  10. True
  11. 3
  12. Back
  13. is installed on a phone
  14. hides extra links
  15. a bill splitter
  16. a website
  17. a result on screen
  18. No
  19. Done
  20. 155
  21. to reuse code
  22. Welcome, Kabir!
  23. release an update
  24. 4.6.16
  25. open the menu
  26. a user need
  27. 20
  28. 5
  29. the release stage
  30. False
  31. pale pink on white
  32. 1.17.7
  33. working out a tip
  34. True
  35. sends back a value
  36. white on dark green
  37. 3
  38. False
  39. dark blue on black
  40. a switch for dark mode

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