← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 310 · 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: a draft you are typing fits saving on the phone. (a) False (b) True
  2. 2.Which of these is true of a wireframe? (a) uses plain grey boxes (b) has the real colours (c) shows the real fonts (d) looks like the real app
  3. 3.🐞 What is a good first step when an app gives a wrong result? (a) delete the app (b) buy a new phone (c) add more colours (d) find where it goes wrong
  4. 4.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Label: 9 px
    Menu: 16 px
    Caption: 17 px
    (a) Caption (b) Menu (c) Label
  5. 5.💾 What number does this code show?
    let songs = ["Ocean", "Sunrise", "Rain", "Monsoon"];
    songs.push("Kites");
    songs.push("Stars");
    show(songs.length);
  6. 6.💡 Does an app idea like a button with no action solve a real problem? (a) Yes (b) No
  7. 7.🗒️ Version 1 of a water reminder must be ready in 9 days. How many days are left for extras after the must-haves?
    set a reminder time: 2 days
    log a glass of water: 4 days
    see today’s total: 2 days
  8. 8.📲 What happens when you tap an app’s icon? (a) the phone charges (b) the app opens (c) the sound turns off (d) the app is deleted
  9. 9.🎨 UI stands for user ___. (a) input (b) internet (c) interface (d) idea
  10. 10.Which of these is true of a wireframe? (a) shows the real fonts (b) is a quick sketch (c) looks like the real app (d) has the real colours
  11. 11.💡 How can you check that people really have the problem? (a) ask possible users (b) pick a colour (c) just guess (d) copy another app
  12. 12.🧭 What does the back button usually do? (a) goes to the last screen (b) deletes the page (c) closes all apps (d) opens settings
  13. 13.Which of these fits saving on the phone? (a) a draft you are typing (b) a class leaderboard (c) photos on two devices (d) a shared to-do list
  14. 14.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Save button: 32 px tall
    Done button: 60 px tall
    Cancel button: 40 px tall
    Start button: 64 px tall
  15. 15.🔢 In a quiz-app flow, which comes first: “read a question” or “tap “Start quiz””? (a) tap “Start quiz” (b) read a question
  16. 16.♿ A screen has 6 icon buttons. Only 5 of them have a text label for screen readers. How many still need a label?
  17. 17.Which of these requests asks for too much? (a) camera app → camera (b) map app → location (c) quiz app → microphone (d) voice notes → microphone
  18. 18.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 34; // start at 33
    line 2: score = score * 2; // double it
    line 3: score = score * 2; // double it
    line 4: show(score); // show it
    (a) line 2 (b) line 3 (c) line 1
  19. 19.🔢 When you make an app, which comes first: “get an idea” or “build the app”? (a) build the app (b) get an idea
  20. 20.🗒️ A to-do app with no “add a task” feature is ___. (a) well planned (b) a nice extra (c) missing a must-have (d) ready to release
  21. 21.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let points = 38; // start at 36
    line 2: points = points * 2; // double it
    line 3: points = points + 3; // add 3
    line 4: show(points); // show it
  22. 22.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 6 or more right answers.
    function result(right) {
      if (right >= 6) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(6) → expected Pass
    Test 2: result(8) → expected Pass
    Test 3: result(4) → expected Try again
  23. 23.🛠️ At which stage do you add the buttons? (a) the plan stage (b) the idea stage (c) the build stage (d) the release stage
  24. 24.🧩 How many buttons does this app screen have?
    [title] New Note
    [switch] Show hints
    [button] Cancel
    [text box] Name
    [text box] Phone
    [button] Help
  25. 25.🔢 In a sign-up flow, which comes first: “tap “Sign up”” or “see the home screen”? (a) see the home screen (b) tap “Sign up”
  26. 26.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Shop → Search
    Design B: Home → Pay → Shop → Pens → Size
  27. 27.💾 What does this code show? (Positions start at 0.)
    let songs = ["Monsoon", "Kites", "Sunrise"];
    show(songs[0]);
    (a) Sunrise (b) Kites (c) Monsoon
  28. 28.🧰 Why write a function? (a) to hide errors (b) to reuse code (c) to slow the app (d) to make code longer
  29. 29.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(35));
  30. 30.Which of these is true of a final design? (a) has the real colours (b) uses plain grey boxes (c) has no real colours (d) is a quick sketch
  31. 31.🔀 What does this PIN rule show?
    let pin = "5901";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  32. 32.🗂️ What kind of app is a flashcard trainer? (a) a health app (b) a tool app (c) a game (d) a learning app
  33. 33.🔢 After an app is released, what comes right after “test it again”? (a) fix and improve (b) read user reviews (c) release an update (d) list what to fix
  34. 34.🔍 Which is the odd one out? (a) a racing challenge (b) a torch (c) an alarm clock (d) a unit converter
  35. 35.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 31; // start at 31
    line 2: coins = coins + 5; // add 5
    line 3: coins = coins + 6; // add 6
    line 4: coins = coins - 4; // add 4
    line 5: show(coins); // show it
    (a) line 4 (b) line 3 (c) line 2 (d) line 1
  36. 36.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Start button: 24 px tall
    Next button: 48 px tall
    Cancel button: 72 px tall
    (a) Next (b) Cancel (c) Start
  37. 37.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) export to a file (b) add money received (c) savings stickers (d) pie-chart colours
  38. 38.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let coins = 45; // start at 45
    line 2: coins = coins + 3; // add 3
    line 3: coins = coins + 2; // double it
    line 4: coins = coins + 2; // add 2
    line 5: show(coins); // show it
  39. 39.🔍 Which is the odd one out? (a) write down the bugs (b) share the download link (c) write the store text (d) put it on an app store
  40. 40.🔀 Which badge does this quiz app show?
    let marks = 84;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Gold (b) Silver (c) Bronze

Answer key

  1. True
  2. uses plain grey boxes
  3. find where it goes wrong
  4. Label
  5. 6
  6. No
  7. 1
  8. the app opens
  9. interface
  10. is a quick sketch
  11. ask possible users
  12. goes to the last screen
  13. a draft you are typing
  14. 2
  15. tap “Start quiz”
  16. 1
  17. quiz app → microphone
  18. line 1
  19. get an idea
  20. missing a must-have
  21. 75
  22. 3
  23. the build stage
  24. 2
  25. tap “Sign up”
  26. 2
  27. Monsoon
  28. to reuse code
  29. 70
  30. has the real colours
  31. PIN saved
  32. a learning app
  33. release an update
  34. a racing challenge
  35. line 4
  36. Start
  37. add money received
  38. 52
  39. write down the bugs
  40. Gold

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