← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 69 · 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.Which of these is data? (a) a slider for volume (b) the settings page (c) tap to Start (d) your friends list
  2. 2.💡 Does an app idea like a library due-date alert solve a real problem? (a) Yes (b) No
  3. 3.Which colour pair is hard to read? (a) white on dark green (b) red on green (c) black on yellow (d) white on black
  4. 4.Which of these is a button? (a) your friends list (b) the settings page (c) the home page of an app (d) tap to go Next
  5. 5.🧰 How do you run (call) a function called greet? (a) #greet (b) greet[] (c) greet() (d) run greet
  6. 6.🔐 Is this permission request fair or too much: calculator → location? (a) too much (b) fair
  7. 7.🔘 Our rule: buttons are at least 48 px tall. The Back button is 20 px tall. How many px taller must it be?
  8. 8.📱 Which one has a web address: an app or a website? (a) an app (b) a website
  9. 9.💾 Which works with no internet at all? (a) a shared chat (b) a cloud backup (c) a cloud leaderboard (d) data saved on the phone
  10. 10.🧩 In an app, what is the game-over page? (a) data (b) a button (c) a screen (d) an input
  11. 11.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let lives = 36; // start at 35
    line 2: lives = lives + 2; // add 2
    line 3: lives = lives - 2; // take away 2
    line 4: lives = lives * 2; // double it
    line 5: show(lives); // show it
  12. 12.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Save button: 36 px tall
    Send button: 64 px tall
    Cancel button: 32 px tall
    Help button: 52 px tall
  13. 13.🧪 A test case is an input together with its ___. (a) font size (b) app icon (c) expected result (d) screen colour
  14. 14.⚙️ What number does this app show?
    let price = 460; // typed by the user
    let off = 30; // typed by the user
    let pay = price - off;
    show(pay);
  15. 15.📱 Which one opens from a link: an app or a website? (a) a website (b) an app
  16. 16.True or false: a clear word like Save is good button design. (a) True (b) False
  17. 17.👆 The user taps the button 2 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
  18. 18.🧰 Why write a function? (a) to slow the app (b) to hide errors (c) to make code longer (d) to reuse code
  19. 19.Which of these fits saving on the phone? (a) a shared to-do list (b) a draft you are typing (c) photos on two devices (d) chat messages to friends
  20. 20.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) easy cases (b) edge cases (c) old cases (d) phone cases
  21. 21.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Confirm → Pay → Shop → Address → Item
    Design B: Home → Search → Menu → Item
    (a) Design B (b) Design A
  22. 22.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Done button: 64 px tall
    Start button: 68 px tall
    Back button: 44 px tall
    (a) Back (b) Done (c) Start
  23. 23.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 50; // start at 50
    line 2: stars = stars + 2; // add 2
    line 3: stars = stars * 3; // double it
    line 4: show(stars); // show it
    (a) line 2 (b) line 1 (c) line 3
  24. 24.♿ Does this help everyone, or make the app harder to use: fast-flashing lights? (a) makes it harder (b) helps everyone
  25. 25.📱 Which one updates from the store: an app or a website? (a) an app (b) a website
  26. 26.True or false: “text that can grow” helps everyone use the app. (a) False (b) True
  27. 27.⚙️ Which line does the processing (works out the answer)?
    line 1: let bill = 244; // typed by the user
    line 2: let friends = 4; // typed by the user
    line 3: let share = bill / friends;
    line 4: show(share);
    (a) line 4 (b) line 3 (c) line 2 (d) line 1
  28. 28.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Footer: 23 px
    Menu: 12 px
    Hint: 24 px
    (a) Hint (b) Menu (c) Footer
  29. 29.♿ What should every icon-only button have for screen readers? (a) a bright colour (b) a text label (c) a sound (d) a long animation
  30. 30.🔢 After an app is released, which comes first: “list what to fix” or “release an update”? (a) release an update (b) list what to fix
  31. 31.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 48; // start at 46
    line 2: coins = coins - 5; // take away 5
    line 3: coins = coins + 6; // add 6
    line 4: show(coins); // show it
    (a) line 1 (b) line 3 (c) line 2
  32. 32.👆 What kind of event is this: the search box changes? (a) a timer event (b) a load event (c) a tap event (d) a text event
  33. 33.🔢 After an app is released, which comes first: “release an update” or “list what to fix”? (a) release an update (b) list what to fix
  34. 34.📴 Which of these can often still work with no internet? (a) a video call (b) an online search (c) an installed app (d) a new website
  35. 35.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Friend list”
    2. tap Back
    3. open “Map”
    4. open “Badges”
    Which screen are you on now?
    (a) Friend list (b) Home (c) Badges (d) Map
  36. 36.True or false: the user presses Save is a tap event. (a) True (b) False
  37. 37.🔢 In a quiz-app flow, which comes first: “tap “Start quiz”” or “see if it is right”? (a) tap “Start quiz” (b) see if it is right
  38. 38.🎯 Is this a user need or a feature: a dark mode switch? (a) a feature (b) a user need
  39. 39.🧭 Which part of navigation shows 3 to 5 icons? (a) the back button (b) a menu button (c) a tab bar
  40. 40.True or false: a date picker is an input. (a) True (b) False

Answer key

  1. your friends list
  2. Yes
  3. red on green
  4. tap to go Next
  5. greet()
  6. too much
  7. 28
  8. a website
  9. data saved on the phone
  10. a screen
  11. 72
  12. 2
  13. expected result
  14. 430
  15. a website
  16. True
  17. OFF
  18. to reuse code
  19. a draft you are typing
  20. edge cases
  21. Design B
  22. Back
  23. line 3
  24. makes it harder
  25. an app
  26. True
  27. line 3
  28. Menu
  29. a text label
  30. list what to fix
  31. line 1
  32. a text event
  33. list what to fix
  34. an installed app
  35. Badges
  36. True
  37. tap “Start quiz”
  38. a feature
  39. a tab bar
  40. True

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