← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 470 · 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.🧩 How many buttons does this app screen have?
    [title] Edit Profile
    [text box] Subject
    [button] Back
    [text box] Due date
    [button] Send
    [text box] Notes
  2. 2.🧩 Which of these is a button on this screen?
    [title] Add Homework
    [text box] Name
    [button] Save
    [button] Back
    [slider] Text size
    [button] Send
    [switch] Remind me
    (a) Text size (b) Save (c) Remind me (d) Name
  3. 3.🗒️ A to-do app with no “add a task” feature is ___. (a) missing a must-have (b) ready to release (c) well planned (d) a nice extra
  4. 4.👥 A cricket club app has 90 players, 110 coaches and 55 fans as users. Which user group is the biggest? (a) fans (b) players (c) coaches
  5. 5.Which of these is true of a website? (a) has a home-screen icon (b) is installed on a phone (c) needs no installing (d) updates from the store
  6. 6.⚙️ What number does this app show?
    let price = 270; // typed by the user
    let off = 20; // typed by the user
    let pay = price - off;
    show(pay);
  7. 7.🚀 In version 2.5.1, which number is the major version? (a) 5 (b) 251 (c) 1 (d) 2
  8. 8.🌐 Which program do you need to open a website? (a) a web browser (b) a calculator (c) a camera app (d) an app store
  9. 9.🚀 Your app is at version 2.4.9. The next release is a big redesign that changes how the app works. What is its version number? (a) 2.4.10 (b) 2.5.9 (c) 3.0.0 (d) 2.5.0
  10. 10.👆 What kind of event is this: the user taps Play? (a) a timer event (b) a text event (c) a tap event (d) a load event
  11. 11.🧪 What is the actual result of a test? (a) what the app really does (b) the test’s number (c) the app’s name (d) what we hope for
  12. 12.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Chat tab
    2. open “Map”
    3. tap the Feed tab
    4. open “Map”
    Which screen are you on now?
    (a) Settings (b) Chat (c) Feed (d) Map
  13. 13.🔀 What does if / else let an app do? (a) draw a screen (b) save a photo (c) pick one of two actions (d) repeat forever
  14. 14.🔁 What number does this code show?
    let scores = [4, 5, 13];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  15. 15.True or false: the log-in page is data. (a) False (b) True
  16. 16.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 33; // start at 33
    line 2: score = score - 5; // take away 5
    line 3: score = score + 3; // take away 3
    line 4: show(score); // show it
    (a) line 1 (b) line 2 (c) line 3
  17. 17.Which of these makes the app harder to use? (a) text that can grow (b) strong colour contrast (c) icons with no labels (d) big touch targets
  18. 18.True or false: a big-text reader is the best fit for a parent waiting at the bus stop. (a) False (b) True
  19. 19.Which of these is a user need? (a) a reminder alarm (b) a search bar (c) a share button (d) “Small text is hard”
  20. 20.🧪 What is the ACTUAL result of Test 3?
    🎟️ Rule: a ticket costs 50 for children under 11, and 100 for everyone else.
    function price(age) {
      if (age < 11) {
        return 50;
      }
      return 100;
    }
    Test 1: price(17) → expected 100
    Test 2: price(7) → expected 50
    Test 3: price(11) → expected 100
  21. 21.🔐 Is this permission request fair or too much: timer → your photos? (a) too much (b) fair
  22. 22.💡 Does an app idea like a bill splitter solve a real problem? (a) Yes (b) No
  23. 23.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Add Homework
    [button] Done
    [button] Back
    [text box] Notes
    [slider] Brightness
    [text box] Subject
    [button] Save
    [switch] Show hints
    [text box] Email
  24. 24.🎯 Is this a user need or a feature: “I forget my homework”? (a) a feature (b) a user need
  25. 25.🧪 A test case is an input together with its ___. (a) font size (b) app icon (c) screen colour (d) expected result
  26. 26.🔘 Our rule: buttons are at least 48 px tall. The Back button is 36 px tall. How many px taller must it be?
  27. 27.⚙️ What number does this app show?
    let bill = 54; // typed by the user
    let friends = 2; // typed by the user
    let share = bill / friends;
    show(share);
  28. 28.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) show arrival time (b) pick your bus stop (c) see where the bus is (d) rate the driver
  29. 29.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) rate the driver (b) change the bus icon (c) pick your bus stop (d) a dark mode
  30. 30.💾 What number does this code show?
    let lives = 7;
    lives = lives - 2;
    lives = lives + 1;
    show(lives);
  31. 31.True or false: a library due-date alert solves no real problem. (a) False (b) True
  32. 32.🐞 Finding and fixing bugs is called ___. (a) designing (b) debugging (c) decorating (d) downloading
  33. 33.⚙️ What number does this app show?
    let km = 5; // typed by the user
    let metres = km * 1000;
    show(metres);
  34. 34.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) set a reminder time (b) water animations (c) custom alert sounds (d) share your streak
  35. 35.🚀 A privacy policy tells users ___. (a) the screen size (b) the app’s colours (c) what data is collected (d) the app’s price
  36. 36.♿ A screen has 5 icon buttons. Only 4 of them have a text label for screen readers. How many still need a label?
  37. 37.True or false: a final design looks like the real app. (a) True (b) False
  38. 38.🔀 What does this battery rule show?
    let battery = 35;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  39. 39.🧩 In an app, what is tap to Save? (a) data (b) a button (c) a screen (d) an input
  40. 40.👆 Code that runs when an event happens is called a ___. (a) hashtag (b) header (c) handler (d) headline

Answer key

  1. 2
  2. Save
  3. missing a must-have
  4. coaches
  5. needs no installing
  6. 250
  7. 2
  8. a web browser
  9. 3.0.0
  10. a tap event
  11. what the app really does
  12. Map
  13. pick one of two actions
  14. 22
  15. False
  16. line 3
  17. icons with no labels
  18. False
  19. “Small text is hard”
  20. 100
  21. too much
  22. Yes
  23. 5
  24. a user need
  25. expected result
  26. 12
  27. 27
  28. rate the driver
  29. pick your bus stop
  30. 6
  31. False
  32. debugging
  33. 5000
  34. set a reminder time
  35. what data is collected
  36. 1
  37. True
  38. Battery OK
  39. a button
  40. handler

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