← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 918 · 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.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Next button: 40 px tall
    Start button: 56 px tall
    Send button: 68 px tall
    (a) Send (b) Next (c) Start
  2. 2.🛠️ At which stage do you connect the data? (a) the idea stage (b) the release stage (c) the build stage (d) the plan stage
  3. 3.🎨 UI stands for user ___. (a) input (b) idea (c) interface (d) internet
  4. 4.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 6 or more right answers.
    function result(right) {
      if (right > 6) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(6) → expected Pass
    Test 2: result(7) → expected Pass
    Test 3: result(3) → expected Try again
    (a) Test 2 (b) Test 1 (c) Test 3
  5. 5.🔍 Which is the odd one out? (a) a word battle (b) a torch (c) a puzzle with levels (d) a racing challenge
  6. 6.💾 In most code, the first item of a list is at position ___. (a) 0 (b) 2 (c) 10 (d) 1
  7. 7.📊 Survey: which problem bugs you most? How many students voted in all?
    missing the bus: 24 votes
    forgetting birthdays: 8 votes
    losing water bottles: 6 votes
  8. 8.👆 The user types Riya in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Welcome, " + nameBox.text + "!";
    };
    (a) Welcome! (b) Welcome, Riya! (c) Riya (d) Welcome, nameBox.text!
  9. 9.👆 The user types Kabir in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Hello, " + nameBox.text + "!";
    };
    (a) Kabir (b) Hello, nameBox.text! (c) Hello! (d) Hello, Kabir!
  10. 10.🔍 Which is the odd one out? (a) let friends try it (b) write the store text (c) share the download link (d) put it on an app store
  11. 11.🐞 After fixing a bug you should ___. (a) test it again (b) delete the test (c) release at once (d) never test
  12. 12.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 60;
    }
    show(fee(12) + fee(1));
  13. 13.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(1) + points(1));
  14. 14.🔢 In a quiz-app flow, which comes first: “read a question” or “tap “Start quiz””? (a) read a question (b) tap “Start quiz”
  15. 15.True or false: a medicine reminder solves a real problem. (a) True (b) False
  16. 16.🧪 What is the ACTUAL result of Test 2?
    🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
    function price(age) {
      if (age <= 8) {
        return 50;
      }
      return 100;
    }
    Test 1: price(14) → expected 100
    Test 2: price(8) → expected 100
    Test 3: price(6) → expected 50
  17. 17.Which of these fits saving in the cloud? (a) the sound on/off setting (b) notes to read offline (c) a draft you are typing (d) chat messages to friends
  18. 18.🔢 In a photo-post flow, which comes first: “take the photo” or “post the photo”? (a) take the photo (b) post the photo
  19. 19.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 30; // start at 30
    line 2: points = points + 2; // double it
    line 3: points = points * 2; // double it
    line 4: show(points); // show it
    (a) line 2 (b) line 1 (c) line 3
  20. 20.👥 A library app has 250 readers, 50 librarians and 95 volunteers as users. Which user group is the biggest? (a) readers (b) librarians (c) volunteers
  21. 21.🎯 Is this a user need or a feature: “Small text is hard”? (a) a user need (b) a feature
  22. 22.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 60;
    }
    show(fee(6) + fee(12));
  23. 23.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Video”
    2. tap Back
    3. open “Help page”
    4. open “Match report”
    Which screen are you on now?
    (a) Lessons (b) Video (c) Help page (d) Match report
  24. 24.True or false: a barcode scanner needs the microphone. (a) False (b) True
  25. 25.Which of these app ideas solves a real problem? (a) a button with no action (b) a blank grey screen (c) an app that just says hi (d) a bill splitter
  26. 26.🧩 Which part lets the user give the app information? (a) a title (b) a logo (c) an input (d) an icon
  27. 27.📊 Survey: which problem bugs you most? How many students voted in all?
    missing the bus: 3 votes
    losing water bottles: 7 votes
    forgetting birthdays: 21 votes
  28. 28.🧪 A test fails when ___. (a) the font is big (b) the app is new (c) actual is not expected (d) both are the same
  29. 29.🔀 What does this battery rule show?
    let battery = 10;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  30. 30.🖼️ How many parts (boxes) does this wireframe have?
    [ list of items ]
    [ Add button ]
    [ Save button ]
    [ big picture ]
    [ filter buttons ]
    [ top bar ]
  31. 31.🧭 What does the back button usually do? (a) goes to the last screen (b) closes all apps (c) opens settings (d) deletes the page
  32. 32.👆 Two designs for the same task (each arrow is one tap). How many taps does Design B need?
    Design A: Home → Item → Menu
    Design B: Home → Address → Pens → Pay → Menu → Confirm → Item
  33. 33.🔐 Which permission does a selfie sticker app really need? (a) the camera (b) the microphone (c) contacts (d) location
  34. 34.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ menu icon ]
    [ big picture ]
    [ tab bar ]
    [ title text ]
    [ list of items ]
    (a) big picture (b) menu icon (c) list of items (d) tab bar
  35. 35.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 40;
    }
    show(fee(12) + fee(7));
  36. 36.True or false: “captions on videos” makes the app harder to use. (a) True (b) False
  37. 37.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(39));
  38. 38.♿ A screen has 10 icon buttons. Only 3 of them have a text label for screen readers. How many still need a label?
  39. 39.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Badges”
    2. tap Back
    3. tap the Search tab
    Which screen are you on now?
    (a) Badges (b) Home (c) Profile (d) Search
  40. 40.Which of these is an input? (a) a beep sound (b) typing your age (c) a buzz (vibration) (d) adding up a bill

Answer key

  1. Next
  2. the build stage
  3. interface
  4. Test 1
  5. a torch
  6. 0
  7. 38
  8. Welcome, Riya!
  9. Hello, Kabir!
  10. let friends try it
  11. test it again
  12. 60
  13. 30
  14. tap “Start quiz”
  15. True
  16. 50
  17. chat messages to friends
  18. take the photo
  19. line 2
  20. readers
  21. a user need
  22. 120
  23. Match report
  24. False
  25. a bill splitter
  26. an input
  27. 31
  28. actual is not expected
  29. Low battery
  30. 6
  31. goes to the last screen
  32. 6
  33. the camera
  34. list of items
  35. 80
  36. False
  37. 117
  38. 7
  39. Search
  40. typing your age

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