← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 476 · 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.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 40; // start at 39
    line 2: lives = lives * 2; // double it
    line 3: lives = lives - 5; // take away 5
    line 4: show(lives); // show it
    (a) line 3 (b) line 2 (c) line 1
  2. 2.Which of these happens at the build stage? (a) connect the data (b) spot a problem to solve (c) write the store text (d) draw the user flow
  3. 3.🔢 In a food-order flow, which comes first: “track the order” or “add it to the cart”? (a) track the order (b) add it to the cart
  4. 4.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Footer: 11 px
    Label: 12 px
    Title: 14 px
    Menu: 14 px
  5. 5.🔐 Which permission does a voice recorder really need? (a) the microphone (b) the camera (c) location (d) contacts
  6. 6.💡 Does an app idea like a lost-and-found board solve a real problem? (a) Yes (b) No
  7. 7.🗒️ Version 1 of a water reminder must be ready in 6 days. How many days are left for extras after the must-haves?
    set a reminder time: 1 days
    log a glass of water: 1 days
    see today’s total: 4 days
  8. 8.🔁 What number does this code show?
    let runs = [4, 20, 5];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  9. 9.True or false: a torch is a game. (a) False (b) True
  10. 10.🗒️ Why keep version 1 small? (a) to use up storage (b) to confuse users (c) to look bigger (d) to learn from users soon
  11. 11.🚀 In version 2.5.1, which number is the major version? (a) 5 (b) 1 (c) 251 (d) 2
  12. 12.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Hint: 23 px
    Body text: 15 px
    Menu: 20 px
  13. 13.✏️ Do wireframes usually show the final colours? (a) No (b) Yes
  14. 14.👆 What kind of event is this: the user presses Save? (a) a load event (b) a text event (c) a timer event (d) a tap event
  15. 15.Which of these is about UI (the look)? (a) how fast a task is done (b) how easy sign-up is (c) the icon shapes (d) whether users get lost
  16. 16.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Caption: 17 px
    Hint: 24 px
    Footer: 11 px
    Title: 27 px
    Body text: 19 px
    (a) Hint (b) Footer (c) Caption (d) Title
  17. 17.Which of these is true of a website? (a) is installed on a phone (b) comes from an app store (c) updates from the store (d) opens from a link
  18. 18.🔐 A torch app asks for your contacts. What should you do? (a) share them all (b) allow it (c) post them online (d) deny it
  19. 19.🔍 Which is the odd one out? (a) write the code (b) spot a problem to solve (c) talk to possible users (d) list what users need
  20. 20.True or false: a voice recorder needs the microphone. (a) False (b) True
  21. 21.🎨 A beautiful app that confuses everyone has ___. (a) good UI but poor UX (b) no UI at all (c) good UX but poor UI (d) perfect UX
  22. 22.📱 Which one has a web address: an app or a website? (a) a website (b) an app
  23. 23.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let coins = 38; // start at 38
    line 2: coins = coins + 3; // add 3
    line 3: coins = coins + 2; // take away 2
    line 4: coins = coins - 1; // take away 1
    line 5: show(coins); // show it
  24. 24.🧪 What is the ACTUAL result of Test 3?
    🎟️ 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(11) → expected 100
    Test 2: price(12) → expected 100
    Test 3: price(6) → expected 50
  25. 25.🎯 What is the best first step to learn what users need? (a) pick the colours (b) write the code (c) guess on your own (d) ask and watch users
  26. 26.True or false: tap to go Next is a button. (a) True (b) False
  27. 27.🔘 Our rule: buttons are at least 48 px tall. The Done button is 28 px tall. How many px taller must it be?
  28. 28.🐞 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
  29. 29.🔍 Which is the odd one out? (a) a result on screen (b) a buzz (vibration) (c) a beep sound (d) typing your age
  30. 30.Which of these makes the app harder to use? (a) captions on videos (b) strong colour contrast (c) text that can grow (d) tiny tap areas
  31. 31.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Edit Profile
    [switch] Show hints
    [slider] Volume
    [button] Send
    [text box] Notes
    [button] Help
    [button] Done
  32. 32.👆 The user taps the button 3 times. What number does the label show now?
    let stars = 3;
    button.onTap = function () {
      stars = stars + 4;
      label.text = stars;
    };
  33. 33.🔢 After an app is released, what comes right after “read user reviews”? (a) release an update (b) test it again (c) list what to fix (d) fix and improve
  34. 34.🔁 Why use a loop to show 100 messages? (a) less code to write (b) it is slower (c) it hides them (d) it uses more lines
  35. 35.⚙️ What number does this app show?
    let km = 4; // typed by the user
    let metres = km * 1000;
    show(metres);
  36. 36.🌗 Is white on black easy or hard to read on a button? (a) hard to read (b) easy to read
  37. 37.⚙️ What number does this app show?
    let km = 8; // typed by the user
    let metres = km * 1000;
    show(metres);
  38. 38.🧰 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(1) + fee(4));
  39. 39.🗂️ What kind of app is a puzzle with levels? (a) a game (b) a tool app (c) a health app (d) a learning app
  40. 40.💡 Does an app idea like an app that just says hi solve a real problem? (a) No (b) Yes

Answer key

  1. line 1
  2. connect the data
  3. add it to the cart
  4. 4
  5. the microphone
  6. Yes
  7. 0
  8. 29
  9. False
  10. to learn from users soon
  11. 2
  12. 1
  13. No
  14. a tap event
  15. the icon shapes
  16. Footer
  17. opens from a link
  18. deny it
  19. write the code
  20. True
  21. good UI but poor UX
  22. a website
  23. 42
  24. 50
  25. ask and watch users
  26. True
  27. 20
  28. find where it goes wrong
  29. typing your age
  30. tiny tap areas
  31. 3
  32. 15
  33. list what to fix
  34. less code to write
  35. 4000
  36. easy to read
  37. 8000
  38. 0
  39. a game
  40. No

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