← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 613 · 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.✏️ Why draw a wireframe before coding? (a) it saves data (b) changes are quick (c) it adds colours (d) it runs the app
  2. 2.True or false: “icons with no labels” makes the app harder to use. (a) True (b) False
  3. 3.🔁 What does a loop do? (a) repeats code (b) saves photos (c) draws icons (d) deletes code
  4. 4.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(22));
  5. 5.Which of these is true of a menu button? (a) hides extra links (b) goes to the last screen (c) shows 3 to 5 icons (d) switches main sections
  6. 6.🔀 Which badge does this quiz app show?
    let marks = 49;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Bronze (c) Gold
  7. 7.🔀 When does the else part run? (a) when the test is true (b) always (c) when the test is false (d) never
  8. 8.💾 What number does this code show?
    let stars = 7;
    stars = stars - 7;
    stars = stars + 3;
    show(stars);
  9. 9.🔍 Which is the odd one out? (a) a buzz (vibration) (b) a result on screen (c) speaking a command (d) a beep sound
  10. 10.🗒️ 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) a dark mode (d) show arrival time
  11. 11.⚙️ What number does this app show?
    let price = 65; // typed by the user
    let qty = 5; // typed by the user
    let total = price * qty;
    show(total);
  12. 12.Which of these is a feature? (a) “What should I cook?” (b) “I keep missing the bus” (c) a reminder alarm (d) “I forget my homework”
  13. 13.Which of these makes the app harder to use? (a) labels on every icon (b) tiny tap areas (c) big touch targets (d) captions on videos
  14. 14.🧪 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(7) → expected Pass
    Test 2: result(4) → expected Try again
    Test 3: result(6) → expected Pass
  15. 15.🔁 What number does this code show?
    let scores = [4, 9, 16, 13, 8];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  16. 16.🐞 A comment in code (after //) is for ___. (a) people reading the code (b) the app store (c) the battery (d) the phone screen
  17. 17.🔀 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
  18. 18.🖼️ How many parts (boxes) does this wireframe have?
    [ big picture ]
    [ list of items ]
    [ search box ]
    [ tab bar ]
    [ Save button ]
  19. 19.♿ Accessibility means an app works for ___. (a) only the coder (b) everyone (c) nobody (d) only experts
  20. 20.🔍 Which is the odd one out? (a) a flashcard trainer (b) a puzzle with levels (c) a word battle (d) a racing challenge
  21. 21.🎯 Which app would help this user most: a reader who finds small print hard? (a) a big-text reader (b) a bus tracker (c) a pocket-money tracker (d) a water reminder
  22. 22.✏️ Is this true of a wireframe or of a final design: is a quick sketch? (a) a final design (b) a wireframe
  23. 23.True or false: the sound on/off setting fits saving on the phone. (a) True (b) False
  24. 24.👥 A clinic app has 285 patients, 200 doctors and 85 nurses as users. Which user group is the biggest? (a) patients (b) nurses (c) doctors
  25. 25.👆 The user types Aman in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Hi, " + nameBox.text + "!";
    };
    (a) Hi, nameBox.text! (b) Aman (c) Hi, Aman! (d) Hi!
  26. 26.🔀 In a good flow, each screen should lead to ___. (a) a clear next step (b) a random page (c) the same screen (d) a dead end
  27. 27.🗒️ A to-do app with no “add a task” feature is ___. (a) missing a must-have (b) well planned (c) ready to release (d) a nice extra
  28. 28.🔢 In a quiz-app flow, which comes FIRST? (a) tap “Start quiz” (b) see if it is right (c) see the final score (d) pick an answer
  29. 29.♿ Why add captions to videos? (a) to add colour (b) to slow them down (c) to hide the sound (d) so anyone can follow
  30. 30.True or false: the user types a letter is a text event. (a) False (b) True
  31. 31.🧩 Which of these is a button on this screen?
    [title] Settings
    [button] Cancel
    [button] Help
    [switch] Show hints
    [text box] Notes
    (a) Notes (b) Show hints (c) Help
  32. 32.🚀 Which version is newer: 4.2.2 or 4.17.1? (a) 4.17.1 (b) 4.2.2
  33. 33.Which of these is true of the back button? (a) opens a list of pages (b) undoes one move (c) switches main sections (d) sits at the bottom
  34. 34.True or false: a 5-minute alarm ends is a timer event. (a) True (b) False
  35. 35.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Cancel button: 60 px tall
    Back button: 28 px tall
    Start button: 60 px tall
    (a) Back (b) Start (c) Cancel
  36. 36.🔀 What number does this shop app show?
    let total = 680;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  37. 37.True or false: a weather-near-me app needs the camera. (a) False (b) True
  38. 38.🌗 Is pale pink on white easy or hard to read on a button? (a) hard to read (b) easy to read
  39. 39.👆 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;
    };
  40. 40.📊 Survey: which problem bugs you most? How many more votes did “missing the bus” get than “wasting pocket money”?
    missing the bus: 24 votes
    wasting pocket money: 23 votes
    no quiet study place: 15 votes

Answer key

  1. changes are quick
  2. True
  3. repeats code
  4. 44
  5. hides extra links
  6. Bronze
  7. when the test is false
  8. 3
  9. speaking a command
  10. show arrival time
  11. 325
  12. a reminder alarm
  13. tiny tap areas
  14. 3
  15. 50
  16. people reading the code
  17. pick one of two actions
  18. 5
  19. everyone
  20. a flashcard trainer
  21. a big-text reader
  22. a wireframe
  23. True
  24. patients
  25. Hi, Aman!
  26. a clear next step
  27. missing a must-have
  28. tap “Start quiz”
  29. so anyone can follow
  30. True
  31. Help
  32. 4.17.1
  33. undoes one move
  34. True
  35. Back
  36. 630
  37. False
  38. hard to read
  39. 3
  40. 1

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