← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 245 · 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 = 45; // start at 45
    line 2: lives = lives - 5; // take away 5
    line 3: lives = lives * 3; // double it
    line 4: show(lives); // show it
    (a) line 1 (b) line 2 (c) line 3
  2. 2.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let score = 49; // start at 49
    line 2: score = score * 2; // double it
    line 3: score = score + 3; // take away 3
    line 4: show(score); // show it
  3. 3.♿ Does this help everyone, or make the app harder to use: labels on every icon? (a) helps everyone (b) makes it harder
  4. 4.🔍 Which is the odd one out? (a) share the download link (b) write the store text (c) put it on an app store (d) spot a problem to solve
  5. 5.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) share tasks to friends (b) pick a theme colour (c) add a homework task (d) earn stickers
  6. 6.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) confetti effects (b) show a question (c) an avatar shop (d) background music
  7. 7.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    forgetting birthdays: 23 votes
    missing the bus: 16 votes
    no quiet study place: 7 votes
    (a) missing the bus (b) forgetting birthdays (c) no quiet study place
  8. 8.True or false: you connect the data at the build stage. (a) False (b) True
  9. 9.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a new app (b) a big redesign (c) a new feature (d) a bug fix
  10. 10.🎯 Why learn about users before you build? (a) to pick a logo (b) to slow it down (c) to make it longer (d) to build what they need
  11. 11.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Save button: 40 px tall
    Back button: 56 px tall
    Start button: 40 px tall
    Help button: 60 px tall
  12. 12.Which of these is a user need? (a) a share button (b) “What should I cook?” (c) a search bar (d) a reminder alarm
  13. 13.👆 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, Riya! (b) Well done, nameBox.text! (c) Riya (d) Well done!
  14. 14.🔍 Which is the odd one out? (a) the theme colours (b) the icon shapes (c) the font size (d) how users feel after
  15. 15.⚙️ In an app, is speaking a command an input, processing or an output? (a) input (b) output (c) processing
  16. 16.True or false: a big, easy tap area is poor button design. (a) False (b) True
  17. 17.🔍 Which is the odd one out? (a) a torch (b) a flashcard trainer (c) a calculator (d) an alarm clock
  18. 18.📱 Which one is installed on a phone: an app or a website? (a) a website (b) an app
  19. 19.True or false: a big-text reader is the best fit for a grandparent with weak eyesight. (a) True (b) False
  20. 20.True or false: a homework planner is the best fit for a pupil juggling five projects. (a) True (b) False
  21. 21.✏️ Is this true of a wireframe or of a final design: shows the real fonts? (a) a wireframe (b) a final design
  22. 22.🔀 What number does this shop app show?
    let total = 340;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  23. 23.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 34; // start at 34
    line 2: score = score - 4; // take away 4
    line 3: score = score - 5; // take away 3
    line 4: show(score); // show it
  24. 24.👥 A cricket club app has 210 players, 150 coaches and 95 fans as users. How many more players than coaches are there?
  25. 25.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let stars = 37; // start at 35
    line 2: stars = stars - 3; // take away 3
    line 3: stars = stars + 2; // add 2
    line 4: show(stars); // show it
  26. 26.🐞 What is a good first step when an app gives a wrong result? (a) add more colours (b) buy a new phone (c) find where it goes wrong (d) delete the app
  27. 27.True or false: a final design looks like the real app. (a) True (b) False
  28. 28.True or false: the button colours is about UX (the experience). (a) True (b) False
  29. 29.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) show arrival time (b) change the bus icon (c) a dark mode (d) rate the driver
  30. 30.🧭 Which part of navigation hides extra links? (a) a tab bar (b) the back button (c) a menu button
  31. 31.True or false: a lost-and-found board solves a real problem. (a) True (b) False
  32. 32.Which of these is an output? (a) adding up a bill (b) taking a photo (c) a pop-up message (d) tapping a button
  33. 33.🧪 What is the actual result of a test? (a) what we hope for (b) the app’s name (c) the test’s number (d) what the app really does
  34. 34.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Sign Up
    [switch] Sound
    [button] Save
    [text box] Notes
    [text box] Age
    [text box] Due date
  35. 35.Which of these is data? (a) tap to Start (b) a box to type a name (c) tap to Save (d) today’s step count
  36. 36.👆 The user types Aman in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Hello, " + nameBox.text + "!";
    };
    (a) Aman (b) Hello, nameBox.text! (c) Hello, Aman! (d) Hello!
  37. 37.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 5 or more right answers.
    function result(right) {
      if (right >= 5) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(6) → expected Pass
    Test 2: result(2) → expected Try again
    Test 3: result(9) → expected Pass
  38. 38.🔘 Is this good or poor button design: space between buttons? (a) poor design (b) good design
  39. 39.Which of these is an input? (a) typing your age (b) a buzz (vibration) (c) working out a tip (d) sorting the scores
  40. 40.Which of these is a user need? (a) a reminder alarm (b) “I keep missing the bus” (c) a dark mode switch (d) a search bar

Answer key

  1. line 3
  2. 95
  3. helps everyone
  4. spot a problem to solve
  5. add a homework task
  6. show a question
  7. forgetting birthdays
  8. True
  9. a bug fix
  10. to build what they need
  11. 2
  12. “What should I cook?”
  13. Well done, Riya!
  14. how users feel after
  15. input
  16. False
  17. a flashcard trainer
  18. an app
  19. True
  20. True
  21. a final design
  22. 340
  23. 25
  24. 60
  25. 34
  26. find where it goes wrong
  27. True
  28. False
  29. show arrival time
  30. a menu button
  31. True
  32. a pop-up message
  33. what the app really does
  34. 4
  35. today’s step count
  36. Hello, Aman!
  37. 3
  38. good design
  39. typing your age
  40. “I keep missing the bus”

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