← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 211 · 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.📊 Survey: which problem bugs you most? How many students voted in all?
    missing the bus: 17 votes
    forgetting homework: 5 votes
    no quiet study place: 18 votes
  2. 2.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) show arrival time (b) a dark mode (c) rate the driver (d) change the bus icon
  3. 3.🧩 How many buttons does this app screen have?
    [title] Add Homework
    [text box] Phone
    [text box] Email
    [slider] Text size
    [button] Done
  4. 4.🌗 Is white on black easy or hard to read on a button? (a) easy to read (b) hard to read
  5. 5.🗒️ Version 1 of a pocket-money tracker must be ready in 12 days. How many days are left for extras after the must-haves?
    add money received: 1 days
    add money spent: 4 days
    show the balance: 2 days
  6. 6.Which of these is true of an app? (a) opens in a web browser (b) opens from a link (c) updates from the store (d) has a web address
  7. 7.🚀 In version 2.5.1, which number is the major version? (a) 1 (b) 251 (c) 5 (d) 2
  8. 8.⚙️ In an app, is tapping a button an input, processing or an output? (a) input (b) processing (c) output
  9. 9.💡 Does an app idea like a medicine reminder solve a real problem? (a) Yes (b) No
  10. 10.🔀 What does this sign-up rule show?
    let age = 15;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  11. 11.🔢 In a quiz-app flow, what comes right after “pick an answer”? (a) read a question (b) see if it is right (c) tap “Start quiz” (d) see the final score
  12. 12.🗒️ A to-do app with no “add a task” feature is ___. (a) a nice extra (b) ready to release (c) well planned (d) missing a must-have
  13. 13.🔢 In a quiz-app flow, what comes right after “tap “Start quiz””? (a) see if it is right (b) see the final score (c) read a question (d) pick an answer
  14. 14.True or false: a lost-and-found board solves no real problem. (a) False (b) True
  15. 15.🗒️ When should nice-to-have features be built? (a) after the must-haves (b) before anything (c) on day one (d) never
  16. 16.🧪 What is the ACTUAL result of Test 1?
    🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 800) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(950) → expected 0
    Test 2: delivery(750) → expected 40
    Test 3: delivery(1100) → expected 0
  17. 17.⚙️ In an app, is a buzz (vibration) an input, processing or an output? (a) input (b) processing (c) output
  18. 18.📱 The word “app” is short for ___. (a) application (b) apparatus (c) appetite (d) appointment
  19. 19.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 600) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(700) → expected 0
    Test 2: delivery(450) → expected 40
    Test 3: delivery(750) → expected 0
  20. 20.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 44; // start at 44
    line 2: stars = stars + 3; // add 3
    line 3: stars = stars + 6; // add 6
    line 4: stars = stars * 3; // double it
    line 5: show(stars); // show it
    (a) line 3 (b) line 4 (c) line 2 (d) line 1
  21. 21.Which of these is a user need? (a) “What should I cook?” (b) a reminder alarm (c) a search bar (d) a dark mode switch
  22. 22.🔢 When you make an app, what comes right after “get an idea”? (a) release it (b) plan the screens (c) build the app (d) test the app
  23. 23.Which of these is true of a website? (a) opens in a web browser (b) has a home-screen icon (c) is installed on a phone (d) updates from the store
  24. 24.📱 Which one has a web address: an app or a website? (a) an app (b) a website
  25. 25.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(5) + points(5));
  26. 26.🧰 What does return do in a function? (a) deletes the app (b) closes the screen (c) sends back a value (d) repeats the code
  27. 27.🔀 Why plan the user flow before building? (a) to add more taps (b) to hide the buttons (c) so each step is clear (d) to skip testing
  28. 28.💾 What does this code show? (Positions start at 0.)
    let friends = ["Riya", "Zoya", "Kabir"];
    show(friends[0]);
    (a) Riya (b) Zoya (c) Kabir
  29. 29.True or false: a homework photo scanner needs your location. (a) True (b) False
  30. 30.👥 A clinic app has 270 patients, 245 doctors and 50 nurses as users. How many users does it have in all?
  31. 31.🧭 Which part of navigation switches main sections? (a) a menu button (b) the back button (c) a tab bar
  32. 32.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(37));
  33. 33.🧪 What is the ACTUAL result of Test 1?
    🎟️ 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(12) → expected 50
    Test 2: price(14) → expected 100
    Test 3: price(17) → expected 100
  34. 34.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(3) + points(1));
  35. 35.🧰 How do you run (call) a function called greet? (a) greet[] (b) #greet (c) run greet (d) greet()
  36. 36.💾 Where should the app save a draft you are typing: on the phone or in the cloud? (a) on the phone (b) in the cloud
  37. 37.🚀 Which version is newer: 2.5.3 or 2.11.1? (a) 2.5.3 (b) 2.11.1
  38. 38.🔀 Which badge does this quiz app show?
    let marks = 62;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Bronze (b) Silver (c) Gold
  39. 39.💡 Which app idea solves this problem: students cannot find a quiet room? (a) a medicine reminder (b) a bill splitter (c) a study-room finder (d) a lost-and-found board
  40. 40.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Results → Address → Pay → Menu → Pens → Offers
    Design B: Home → Cart → Offers → Pens → Menu
    (a) Design B (b) Design A

Answer key

  1. 40
  2. show arrival time
  3. 1
  4. easy to read
  5. 5
  6. updates from the store
  7. 2
  8. input
  9. Yes
  10. Welcome!
  11. see if it is right
  12. missing a must-have
  13. read a question
  14. False
  15. after the must-haves
  16. 0
  17. output
  18. application
  19. 3
  20. line 4
  21. “What should I cook?”
  22. plan the screens
  23. opens in a web browser
  24. a website
  25. 110
  26. sends back a value
  27. so each step is clear
  28. Riya
  29. False
  30. 565
  31. a tab bar
  32. 111
  33. 50
  34. 50
  35. greet()
  36. on the phone
  37. 2.11.1
  38. Silver
  39. a study-room finder
  40. Design B

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