← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 377 · 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: sorting the scores is processing. (a) False (b) True
  2. 2.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) show the balance (b) savings stickers (c) export to a file (d) pie-chart colours
  3. 3.👆 The user taps the button 8 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 3) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  4. 4.🎯 Which app would help this user most: a pupil juggling five projects? (a) a homework planner (b) a big-text reader (c) a bus tracker (d) a pocket-money tracker
  5. 5.🧪 What is the ACTUAL result of Test 3?
    🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
    function price(age) {
      if (age < 9) {
        return 50;
      }
      return 100;
    }
    Test 1: price(11) → expected 100
    Test 2: price(10) → expected 100
    Test 3: price(8) → expected 50
  6. 6.🔀 What does this PIN rule show?
    let pin = "185";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  7. 7.🗒️ Version 1 of a pocket-money tracker must be ready in 10 days. How many days are left for extras after the must-haves?
    add money received: 3 days
    add money spent: 1 days
    show the balance: 2 days
  8. 8.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Next button: 48 px tall
    Cancel button: 32 px tall
    Send button: 44 px tall
  9. 9.🔢 After an app is released, which comes first: “test it again” or “fix and improve”? (a) test it again (b) fix and improve
  10. 10.🔘 Is this good or poor button design: strong colour contrast? (a) good design (b) poor design
  11. 11.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Match report”
    2. open “Friend list”
    3. open “Edit photo”
    Which screen are you on now?
    (a) Edit photo (b) Match report (c) Lessons (d) Friend list
  12. 12.True or false: the user taps Play is a text event. (a) True (b) False
  13. 13.🧩 Which input is best for turning something ON or OFF? (a) a slider (b) a switch (c) a text box (d) a title
  14. 14.🌗 Is yellow on white easy or hard to read on a button? (a) hard to read (b) easy to read
  15. 15.🧑 Who is an app really made for? (a) its charger (b) its users (c) its icon (d) its coder only
  16. 16.🔍 Which is the odd one out? (a) add the buttons (b) connect the data (c) sketch the screens (d) write the code
  17. 17.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Lessons tab
    2. open “Help page”
    3. open “Friend list”
    4. open “Video”
    5. open “Video”
    Which screen are you on now?
    (a) Friend list (b) Video (c) Help page (d) Lessons
  18. 18.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let lives = 36; // start at 35
    line 2: lives = lives + 3; // add 3
    line 3: lives = lives + 5; // add 5
    line 4: lives = lives * 2; // double it
    line 5: show(lives); // show it
  19. 19.🚀 Which of these versions is the NEWEST?
    4.18.0, 4.2.5, 3.22.6, 4.16.8
    (a) 4.2.5 (b) 4.18.0 (c) 3.22.6 (d) 4.16.8
  20. 20.♿ Accessibility means an app works for ___. (a) only experts (b) only the coder (c) everyone (d) nobody
  21. 21.🔀 Why plan the user flow before building? (a) so each step is clear (b) to add more taps (c) to hide the buttons (d) to skip testing
  22. 22.🧰 What is a function? (a) a screen size (b) a type of phone (c) a list of colours (d) a named block of code
  23. 23.Which of these requests is fair? (a) quiz app → microphone (b) torch → contacts (c) calculator → location (d) voice notes → microphone
  24. 24.🔢 When you make an app, which comes first: “build the app” or “plan the screens”? (a) plan the screens (b) build the app
  25. 25.🔍 Which is the odd one out? (a) tapping a button (b) checking a password (c) typing your age (d) taking a photo
  26. 26.🌗 Is black on pale grey easy or hard to read on a button? (a) hard to read (b) easy to read
  27. 27.💾 What number does this code show?
    let notes = ["Art", "Maths", "Science", "Sports"];
    notes.push("Music");
    show(notes.length);
  28. 28.🔀 What does if / else let an app do? (a) draw a screen (b) save a photo (c) repeat forever (d) pick one of two actions
  29. 29.🧪 What is the ACTUAL result of Test 1?
    🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 600) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(850) → expected 0
    Test 2: delivery(450) → expected 40
    Test 3: delivery(600) → expected 0
  30. 30.🧰 What does this code show?
    function greet(name) {
      return "Well done, " + name + "!";
    }
    show(greet("Meera"));
    (a) greet (b) Well done, Meera! (c) Well done, name! (d) Meera
  31. 31.True or false: a cricket run chase is a learning app. (a) True (b) False
  32. 32.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Caption: 22 px
    Body text: 25 px
    Footer: 10 px
    Hint: 19 px
    Menu: 20 px
    (a) Body text (b) Caption (c) Hint (d) Footer
  33. 33.👆 What kind of event is this: one second passes? (a) a load event (b) a timer event (c) a text event (d) a tap event
  34. 34.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 30; // start at 30
    line 2: lives = lives + 3; // add 3
    line 3: lives = lives + 2; // add 2
    line 4: lives = lives - 5; // add 5
    line 5: show(lives); // show it
    (a) line 1 (b) line 2 (c) line 4 (d) line 3
  35. 35.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Item → Shop → Menu → Results → Pay → Address
    Design B: Home → Pay → Shop → Cart
  36. 36.🌗 Is black on yellow easy or hard to read on a button? (a) easy to read (b) hard to read
  37. 37.📱 Which one has a home-screen icon: an app or a website? (a) an app (b) a website
  38. 38.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Sign Up
    [button] Start
    [button] Next
    [switch] Dark mode
    [text box] Notes
    [button] Help
  39. 39.📅 An app team plans for 2 days, builds for 11 days, tests for 3 days and releases on 1 more day. How many days does the whole project take?
  40. 40.♿ A screen has 6 icon buttons. Only 4 of them have a text label for screen readers. How many still need a label?

Answer key

  1. True
  2. show the balance
  3. 3
  4. a homework planner
  5. 50
  6. Use 4 digits
  7. 4
  8. 1
  9. fix and improve
  10. good design
  11. Edit photo
  12. False
  13. a switch
  14. hard to read
  15. its users
  16. sketch the screens
  17. Video
  18. 88
  19. 4.18.0
  20. everyone
  21. so each step is clear
  22. a named block of code
  23. voice notes → microphone
  24. plan the screens
  25. checking a password
  26. easy to read
  27. 5
  28. pick one of two actions
  29. 0
  30. Well done, Meera!
  31. False
  32. Footer
  33. a timer event
  34. line 4
  35. 6
  36. easy to read
  37. an app
  38. 2
  39. 17
  40. 2

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