← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 578 · 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 does this sign-up rule show?
    let age = 11;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  2. 2.Which of these is processing? (a) tapping a button (b) adding up a bill (c) taking a photo (d) a result on screen
  3. 3.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Send button: 40 px tall
    Save button: 48 px tall
    Cancel button: 48 px tall
    Help button: 72 px tall
    (a) Cancel (b) Send (c) Save (d) Help
  4. 4.🚀 Which of these versions is the OLDEST?
    1.13.2, 1.5.0, 0.25.5, 1.3.6
    (a) 1.5.0 (b) 0.25.5 (c) 1.3.6 (d) 1.13.2
  5. 5.💾 Where should the app save a class leaderboard: on the phone or in the cloud? (a) on the phone (b) in the cloud
  6. 6.🔘 Our rule: buttons are at least 48 px tall. The Next button is 32 px tall. How many px taller must it be?
  7. 7.💾 What number does this code show?
    let friends = ["Riya", "Aman", "Zoya"];
    friends.push("Meera");
    friends.push("Kabir");
    show(friends.length);
  8. 8.🧩 How many buttons does this app screen have?
    [title] Order Snacks
    [text box] Email
    [switch] Dark mode
    [text box] Age
    [button] Done
    [text box] Notes
  9. 9.👥 A clinic app has 95 patients, 80 doctors and 75 nurses as users. Which user group is the biggest? (a) patients (b) nurses (c) doctors
  10. 10.True or false: a word battle is a learning app. (a) True (b) False
  11. 11.Which of these is true of the back button? (a) hides extra links (b) sits at the bottom (c) shows 3 to 5 icons (d) undoes one move
  12. 12.🧪 One test case fails. Which one?
    🎟️ 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(11) → expected 50
    Test 3: price(14) → expected 100
    (a) Test 1 (b) Test 3 (c) Test 2
  13. 13.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Back button: 60 px tall
    Cancel button: 56 px tall
    Send button: 40 px tall
    Help button: 60 px tall
    (a) Back (b) Help (c) Cancel (d) Send
  14. 14.🐞 What is a good first step when an app gives a wrong result? (a) delete the app (b) buy a new phone (c) find where it goes wrong (d) add more colours
  15. 15.🎯 An app for “everyone” with no clear user usually ___. (a) is easy to build (b) needs no testing (c) helps nobody well (d) wins every prize
  16. 16.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    missing the bus: 20 votes
    wasting pocket money: 3 votes
    forgetting homework: 6 votes
    (a) forgetting homework (b) missing the bus (c) wasting pocket money
  17. 17.💾 What does this code show? (Positions start at 0.)
    let songs = ["Stars", "Rain", "Sunrise", "Kites", "Monsoon"];
    show(songs[2]);
    (a) Sunrise (b) Rain (c) Stars (d) Kites
  18. 18.True or false: how easy sign-up is is about UX (the experience). (a) True (b) False
  19. 19.🔢 After an app is released, which comes FIRST? (a) read user reviews (b) test it again (c) fix and improve (d) list what to fix
  20. 20.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 200; // typed by the user
    line 2: let off = 40; // typed by the user
    line 3: let pay = price - off;
    line 4: show(pay);
    (a) line 2 (b) line 4 (c) line 3 (d) line 1
  21. 21.Which of these is a feature? (a) “What should I cook?” (b) a reminder alarm (c) “I keep missing the bus” (d) “I forget my homework”
  22. 22.♿ Does this help everyone, or make the app harder to use: text that can grow? (a) makes it harder (b) helps everyone
  23. 23.🌐 Which program do you need to open a website? (a) an app store (b) a camera app (c) a web browser (d) a calculator
  24. 24.♿ Does this help everyone, or make the app harder to use: sudden loud sounds? (a) helps everyone (b) makes it harder
  25. 25.Which of these is a user need? (a) “I keep missing the bus” (b) a search bar (c) a dark mode switch (d) a share button
  26. 26.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) old cases (b) phone cases (c) easy cases (d) edge cases
  27. 27.True or false: how many taps it takes is about UI (the look). (a) False (b) True
  28. 28.👆 The user types Riya in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Well done, " + nameBox.text + "!";
    };
    (a) Well done! (b) Well done, nameBox.text! (c) Well done, Riya! (d) Riya
  29. 29.🐞 After fixing a bug you should ___. (a) test it again (b) delete the test (c) never test (d) release at once
  30. 30.True or false: the user taps Play is a tap event. (a) False (b) True
  31. 31.📊 Survey: which problem bugs you most? How many more votes did “missing the bus” get than “forgetting homework”?
    forgetting homework: 8 votes
    missing the bus: 23 votes
    forgetting birthdays: 3 votes
  32. 32.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 1, 2, 3 (b) 0, 1, 2, 3 (c) 3 (d) 0, 1, 2
  33. 33.🗂️ What kind of app is a calculator? (a) a tool app (b) a learning app (c) a game (d) a health app
  34. 34.🎯 Is this a user need or a feature: a dark mode switch? (a) a user need (b) a feature
  35. 35.🧭 Tapping a tab usually takes you to ___. (a) the last app used (b) a random page (c) that tab’s main screen (d) the phone settings
  36. 36.Which of these is a user need? (a) a reminder alarm (b) a share button (c) a search bar (d) “I forget my homework”
  37. 37.🔍 Which is the odd one out? (a) a flashcard trainer (b) a unit converter (c) a times-table quiz (d) a spelling coach
  38. 38.🧪 Who else should try an app before release? (a) nobody (b) only the coder (c) the app icon (d) real users
  39. 39.✏️ Do wireframes usually show the final colours? (a) Yes (b) No
  40. 40.🧪 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(19) → expected 100
    Test 2: price(18) → expected 100
    Test 3: price(12) → expected 50

Answer key

  1. Ask a parent
  2. adding up a bill
  3. Send
  4. 0.25.5
  5. in the cloud
  6. 16
  7. 5
  8. 1
  9. patients
  10. False
  11. undoes one move
  12. Test 3
  13. Send
  14. find where it goes wrong
  15. helps nobody well
  16. missing the bus
  17. Sunrise
  18. True
  19. read user reviews
  20. line 3
  21. a reminder alarm
  22. helps everyone
  23. a web browser
  24. makes it harder
  25. “I keep missing the bus”
  26. edge cases
  27. False
  28. Well done, Riya!
  29. test it again
  30. True
  31. 15
  32. 0, 1, 2
  33. a tool app
  34. a feature
  35. that tab’s main screen
  36. “I forget my homework”
  37. a unit converter
  38. real users
  39. No
  40. 3

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