← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 693 · 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: a date picker is an input. (a) False (b) True
  2. 2.🧰 What does this code show?
    function greet(name) {
      return "Hi, " + name + "!";
    }
    show(greet("Aman"));
    (a) Aman (b) Hi, Aman! (c) Hi, name! (d) greet
  3. 3.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Match report”
    2. tap Back
    3. tap the Me tab
    4. open “Edit photo”
    5. tap Back
    Which screen are you on now?
    (a) Match report (b) Me (c) Edit photo (d) Lessons
  4. 4.🧩 Which of these is a button on this screen?
    [title] Edit Profile
    [text box] Age
    [text box] Email
    [button] Start
    [text box] Name
    (a) Start (b) Name (c) Age (d) Email
  5. 5.🔐 Which permission does a birthday list of friends really need? (a) the camera (b) contacts (c) the microphone (d) location
  6. 6.Which colour pair is easy to read? (a) red on green (b) dark blue on white (c) pale pink on white (d) dark blue on black
  7. 7.📱 Which one updates from the store: an app or a website? (a) an app (b) a website
  8. 8.👆 The user taps the button 3 times. What does the label show now?
    let on = false;
    button.onTap = function () {
      on = !on;
      if (on) {
        label.text = "ON";
      } else {
        label.text = "OFF";
      }
    };
    (a) OFF (b) ON
  9. 9.True or false: today’s step count is data. (a) False (b) True
  10. 10.🔍 Which is the odd one out? (a) how easy sign-up is (b) the button colours (c) the icon shapes (d) the theme colours
  11. 11.🔢 After an app is released, which comes first: “test it again” or “read user reviews”? (a) test it again (b) read user reviews
  12. 12.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] New Note
    [text box] Email
    [button] Next
    [switch] Dark mode
    [text box] Subject
    [slider] Volume
    [text box] Age
  13. 13.🔍 Which is the odd one out? (a) a word battle (b) a unit converter (c) a cricket run chase (d) a racing challenge
  14. 14.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 34; // start at 32
    line 2: points = points * 2; // double it
    line 3: points = points + 6; // add 6
    line 4: points = points * 2; // double it
    line 5: show(points); // show it
    (a) line 3 (b) line 2 (c) line 4 (d) line 1
  15. 15.🗒️ Version 1 of a bus tracker must be ready in 5 days. How many days are left for extras after the must-haves?
    see where the bus is: 1 days
    show arrival time: 2 days
    pick your bus stop: 2 days
  16. 16.✏️ What is a wireframe? (a) the finished app (b) a simple screen sketch (c) a charging cable (d) a type of password
  17. 17.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Badges”
    2. open “Map”
    3. open “Score card”
    4. open “Score card”
    How many times must you tap Back to reach the main screen of this tab?
  18. 18.🔍 Which is the odd one out? (a) strong colour contrast (b) text that can grow (c) colour as the only clue (d) big touch targets
  19. 19.🔢 In a photo-post flow, what comes right after “add a filter”? (a) take the photo (b) post the photo (c) open the camera screen (d) write a caption
  20. 20.🧪 One test case fails. Which one?
    🚚 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(450) → expected 40
    Test 2: delivery(500) → expected 0
    Test 3: delivery(700) → expected 0
    (a) Test 3 (b) Test 1 (c) Test 2
  21. 21.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 35; // start at 35
    line 2: score = score + 5; // add 3
    line 3: score = score + 5; // add 5
    line 4: show(score); // show it
    (a) line 3 (b) line 2 (c) line 1
  22. 22.🔐 Which permission does a barcode scanner really need? (a) location (b) the microphone (c) the camera (d) contacts
  23. 23.Which of these is a screen? (a) a slider for volume (b) a box to type a name (c) the log-in page (d) your friends list
  24. 24.♿ A screen has 6 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
  25. 25.🧰 Why write a function? (a) to make code longer (b) to hide errors (c) to reuse code (d) to slow the app
  26. 26.🧪 What is the ACTUAL result of Test 1?
    🚚 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(400) → expected 0
    Test 3: delivery(200) → expected 40
  27. 27.🐞 What is a good first step when an app gives a wrong result? (a) find where it goes wrong (b) buy a new phone (c) add more colours (d) delete the app
  28. 28.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 42; // start at 42
    line 2: score = score - 1; // take away 1
    line 3: score = score * 3; // double it
    line 4: show(score); // show it
    (a) line 2 (b) line 1 (c) line 3
  29. 29.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) savings stickers (b) pie-chart colours (c) export to a file (d) add money spent
  30. 30.🎯 Which app would help this user most: a runner who forgets to sip water? (a) a water reminder (b) a bus tracker (c) a pocket-money tracker (d) a big-text reader
  31. 31.True or false: a racing challenge is a tool app. (a) False (b) True
  32. 32.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) change the bus icon (b) rate the driver (c) see where the bus is (d) a dark mode
  33. 33.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Edit Profile
    [text box] Name
    [button] Start
    [button] Back
    [slider] Text size
  34. 34.🧩 How many buttons does this app screen have?
    [title] Add Homework
    [switch] Dark mode
    [text box] Notes
    [button] Back
  35. 35.Which of these is true of a wireframe? (a) has the real colours (b) shows the real fonts (c) has no real colours (d) uses the final pictures
  36. 36.⚙️ What number does this app show?
    let km = 12; // typed by the user
    let metres = km * 1000;
    show(metres);
  37. 37.True or false: a free study-room finder solves a real problem. (a) True (b) False
  38. 38.🧰 What is a function? (a) a list of colours (b) a type of phone (c) a named block of code (d) a screen size
  39. 39.🔍 Which is the odd one out? (a) try every button (b) let friends try it (c) write down the bugs (d) write the store text
  40. 40.🗒️ Version 1 of a water reminder must be ready in 8 days. How many days are left for extras after the must-haves?
    set a reminder time: 1 days
    log a glass of water: 2 days
    see today’s total: 3 days

Answer key

  1. True
  2. Hi, Aman!
  3. Me
  4. Start
  5. contacts
  6. dark blue on white
  7. an app
  8. ON
  9. True
  10. how easy sign-up is
  11. read user reviews
  12. 5
  13. a unit converter
  14. line 1
  15. 0
  16. a simple screen sketch
  17. 4
  18. colour as the only clue
  19. write a caption
  20. Test 2
  21. line 2
  22. the camera
  23. the log-in page
  24. 4
  25. to reuse code
  26. 0
  27. find where it goes wrong
  28. line 3
  29. add money spent
  30. a water reminder
  31. False
  32. see where the bus is
  33. 2
  34. 1
  35. has no real colours
  36. 12000
  37. True
  38. a named block of code
  39. write the store text
  40. 2

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