← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 945 · 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.💾 What number does this code show?
    let friends = ["Meera", "Aman", "Riya", "Kabir"];
    friends.push("Arjun");
    friends.push("Zoya");
    show(friends.length);
  2. 2.✏️ Is this true of a wireframe or of a final design: shows where things go? (a) a final design (b) a wireframe
  3. 3.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) pick your bus stop (b) show arrival time (c) change the bus icon (d) see where the bus is
  4. 4.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Done button: 64 px tall
    Save button: 56 px tall
    Cancel button: 32 px tall
    Start button: 60 px tall
    (a) Save (b) Start (c) Cancel (d) Done
  5. 5.🔐 Which permission does a barcode scanner really need? (a) contacts (b) the microphone (c) location (d) the camera
  6. 6.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Sign Up
    [text box] Age
    [button] Next
  7. 7.🖼️ In this wireframe (top to bottom), what is right below the list of items?
    [ big picture ]
    [ tab bar ]
    [ list of items ]
    [ filter buttons ]
    [ menu icon ]
    [ Save button ]
    (a) menu icon (b) filter buttons (c) big picture (d) tab bar
  8. 8.True or false: a buzz (vibration) is an input. (a) False (b) True
  9. 9.🔐 Is this permission request fair or too much: torch → contacts? (a) too much (b) fair
  10. 10.🧑 Who is an app really made for? (a) its icon (b) its users (c) its charger (d) its coder only
  11. 11.👆 The user taps the button 6 times. What does the label show now?
    let on = false;
    button.onTap = function () {
      on = !on;
      if (on) {
        label.text = "ON";
      } else {
        label.text = "OFF";
      }
    };
    (a) OFF (b) ON
  12. 12.⚙️ What number does this app show?
    let price = 90; // typed by the user
    let qty = 4; // typed by the user
    let total = price * qty;
    show(total);
  13. 13.✏️ Do wireframes usually show the final colours? (a) Yes (b) No
  14. 14.📅 An app team plans for 3 days, builds for 7 days, tests for 2 days and releases on 1 more day. How many more days does building take than testing?
  15. 15.True or false: a date picker is an input. (a) True (b) False
  16. 16.🗒️ Version 1 of a homework planner must be ready in 9 days. How many days are left for extras after the must-haves?
    add a homework task: 2 days
    set a due date: 3 days
    see tasks by day: 3 days
  17. 17.🧪 What is the ACTUAL result of Test 2?
    🎟️ 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(9) → expected 100
    Test 2: price(10) → expected 100
    Test 3: price(6) → expected 50
  18. 18.Which of these is true of an app? (a) needs no installing (b) comes from an app store (c) has a web address (d) opens in a web browser
  19. 19.True or false: a free study-room finder solves no real problem. (a) False (b) True
  20. 20.🔁 What number does this code show?
    let steps = [20, 88, 15, 21, 65];
    let count = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] >= 70) {
        count = count + 1;
      }
    }
    show(count);
  21. 21.🔁 What number does this code show?
    let scores = [8, 9, 9, 4];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  22. 22.👆 “On tap → do this” links an event to ___. (a) a font (b) a web address (c) a charger (d) an action
  23. 23.🧪 Who else should try an app before release? (a) nobody (b) the app icon (c) real users (d) only the coder
  24. 24.Which of these app ideas solves no real problem? (a) a library due-date alert (b) a free study-room finder (c) a bill splitter (d) a page of random dots
  25. 25.👆 The user taps the button 5 times. What number does the label show now?
    let points = 1;
    button.onTap = function () {
      points = points + 4;
      label.text = points;
    };
  26. 26.🚀 Which of these versions is the OLDEST?
    3.23.3, 4.9.6, 4.19.7, 4.3.4
    (a) 4.3.4 (b) 4.19.7 (c) 3.23.3 (d) 4.9.6
  27. 27.🔁 What number does this code show?
    let runs = [24, 26, 40, 13, 43];
    let count = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  28. 28.🔀 What does this PIN rule show?
    let pin = "96156";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  29. 29.👥 A clinic app has 95 patients, 245 doctors and 220 nurses as users. How many users does it have in all?
  30. 30.🔁 What number does this code show?
    let steps = [13, 5, 1, 15, 14];
    let best = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] > best) {
        best = steps[i];
      }
    }
    show(best);
  31. 31.🗒️ Version 1 of a water reminder must be ready in 13 days. How many days are left for extras after the must-haves?
    set a reminder time: 4 days
    log a glass of water: 1 days
    see today’s total: 4 days
  32. 32.🛠️ At which stage do you put it on an app store? (a) the plan stage (b) the test stage (c) the release stage (d) the build stage
  33. 33.True or false: an app needs no installing. (a) True (b) False
  34. 34.🧰 What is a function? (a) a named block of code (b) a screen size (c) a type of phone (d) a list of colours
  35. 35.🎨 Is this about UI or UX: how easy sign-up is? (a) UX (b) UI
  36. 36.🔀 What does this PIN rule show?
    let pin = "8187";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  37. 37.👆 The user taps the button 1 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 4) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  38. 38.🔀 A screen with no way forward or back is called a ___. (a) tab bar (b) home screen (c) shortcut (d) dead end
  39. 39.🧩 How many buttons does this app screen have?
    [title] Settings
    [button] Help
    [text box] City
    [button] Next
    [text box] Age
    [button] Cancel
    [text box] Due date
    [switch] Sound
  40. 40.🔍 Which is the odd one out? (a) the theme colours (b) the font size (c) how many taps it takes (d) the icon shapes

Answer key

  1. 6
  2. a wireframe
  3. change the bus icon
  4. Cancel
  5. the camera
  6. 1
  7. filter buttons
  8. False
  9. too much
  10. its users
  11. OFF
  12. 360
  13. No
  14. 5
  15. True
  16. 1
  17. 100
  18. comes from an app store
  19. False
  20. 1
  21. 30
  22. an action
  23. real users
  24. a page of random dots
  25. 21
  26. 3.23.3
  27. 2
  28. Use 4 digits
  29. 560
  30. 15
  31. 4
  32. the release stage
  33. False
  34. a named block of code
  35. UX
  36. PIN saved
  37. 1
  38. dead end
  39. 3
  40. how many taps it takes

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