← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 268 · 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 is the easiest way to draw a first wireframe? (a) a phone case (b) a 3D printer (c) pencil and paper (d) a microphone
  2. 2.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Shop → Item
    Design B: Home → Cart → Shop → Pay → Results → Confirm → Pens
  3. 3.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
    function price(age) {
      if (age < 13) {
        return 50;
      }
      return 100;
    }
    Test 1: price(17) → expected 100
    Test 2: price(13) → expected 100
    Test 3: price(11) → expected 50
  4. 4.📱 Which one is installed on a phone: an app or a website? (a) a website (b) an app
  5. 5.🔁 What number does this code show?
    let steps = [3, 5, 12];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);
  6. 6.🐞 Finding and fixing bugs is called ___. (a) designing (b) downloading (c) debugging (d) decorating
  7. 7.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Match report”
    2. open “Friend list”
    3. open “Help page”
    4. open “Friend list”
    Which screen are you on now?
    (a) Home (b) Match report (c) Friend list (d) Help page
  8. 8.🔁 What number does this code show?
    let runs = [20, 8, 16];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  9. 9.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Edit photo”
    2. open “Match report”
    3. open “Video”
    Which screen are you on now?
    (a) Match report (b) Home (c) Edit photo (d) Video
  10. 10.🖼️ In this wireframe (top to bottom), what is right below the tab bar?
    [ tab bar ]
    [ top bar ]
    [ search box ]
    [ Save button ]
    (a) top bar (b) Save button (c) search box
  11. 11.Which of these is a screen? (a) the home page of an app (b) a slider for volume (c) tap to Start (d) tap to go Next
  12. 12.🗒️ Version 1 of a bus tracker must be ready in 14 days. How many days are left for extras after the must-haves?
    see where the bus is: 1 days
    show arrival time: 4 days
    pick your bus stop: 3 days
  13. 13.🖼️ How many parts (boxes) does this wireframe have?
    [ top bar ]
    [ tab bar ]
    [ big picture ]
    [ title text ]
  14. 14.🔀 What does this battery rule show?
    let battery = 77;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  15. 15.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(2) + points(4));
  16. 16.🎯 Which app would help this user most: a runner who forgets to sip water? (a) a water reminder (b) a homework planner (c) a bus tracker (d) a recipe finder
  17. 17.🎯 Which app would help this user most: a teen whose money runs out by Friday? (a) a bus tracker (b) a water reminder (c) a recipe finder (d) a pocket-money tracker
  18. 18.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ list of items ]
    [ title text ]
    [ menu icon ]
    [ top bar ]
    [ Save button ]
    [ tab bar ]
    (a) tab bar (b) menu icon (c) Save button (d) title text
  19. 19.Which of these app ideas solves a real problem? (a) an app that just says hi (b) a blank grey screen (c) a free study-room finder (d) a page of random dots
  20. 20.🔍 Which is the odd one out? (a) the font size (b) the theme colours (c) how easy sign-up is (d) the screen layout
  21. 21.✏️ Is this true of a wireframe or of a final design: has the real colours? (a) a wireframe (b) a final design
  22. 22.🔀 What does this sign-up rule show?
    let age = 11;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  23. 23.🔍 Which is the odd one out? (a) a puzzle with levels (b) a racing challenge (c) a word battle (d) a unit converter
  24. 24.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Help button: 52 px tall
    Cancel button: 48 px tall
    Start button: 48 px tall
    Done button: 28 px tall
    (a) Cancel (b) Start (c) Done (d) Help
  25. 25.♿ A screen has 8 icon buttons. Only 3 of them have a text label for screen readers. How many still need a label?
  26. 26.🔁 What number does this code show?
    let scores = [8, 11, 1];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  27. 27.🔍 Which is the odd one out? (a) tapping a button (b) speaking a command (c) a buzz (vibration) (d) taking a photo
  28. 28.🧭 Which part of navigation goes to the last screen? (a) a tab bar (b) a menu button (c) the back button
  29. 29.🔁 What number does this code show?
    let runs = [7, 8, 12, 15, 6];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  30. 30.True or false: your last game level fits saving in the cloud. (a) True (b) False
  31. 31.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Search → Shop
    Design B: Home → Confirm → Shop → Pens
  32. 32.🧰 Why write a function? (a) to slow the app (b) to make code longer (c) to hide errors (d) to reuse code
  33. 33.👆 The user taps the button 6 times. What number does the label show now?
    let points = 8;
    button.onTap = function () {
      points = points + 5;
      label.text = points;
    };
  34. 34.🎨 A beautiful app that confuses everyone has ___. (a) no UI at all (b) good UX but poor UI (c) perfect UX (d) good UI but poor UX
  35. 35.🖼️ How many parts (boxes) does this wireframe have?
    [ list of items ]
    [ Save button ]
    [ title text ]
    [ search box ]
    [ filter buttons ]
  36. 36.🔢 After an app is released, which comes LAST? (a) read user reviews (b) fix and improve (c) release an update (d) test it again
  37. 37.⚙️ What number does this app show?
    let bill = 365; // typed by the user
    let friends = 5; // typed by the user
    let share = bill / friends;
    show(share);
  38. 38.Which of these is an output? (a) adding up a bill (b) typing your age (c) taking a photo (d) a beep sound
  39. 39.🔀 Which badge does this quiz app show?
    let marks = 88;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Bronze (c) Gold
  40. 40.⚙️ What number does this app show?
    let price = 55; // typed by the user
    let qty = 4; // typed by the user
    let total = price * qty;
    show(total);

Answer key

  1. pencil and paper
  2. 4
  3. 3
  4. an app
  5. 20
  6. debugging
  7. Friend list
  8. 44
  9. Video
  10. top bar
  11. the home page of an app
  12. 6
  13. 4
  14. Battery OK
  15. 70
  16. a water reminder
  17. a pocket-money tracker
  18. tab bar
  19. a free study-room finder
  20. how easy sign-up is
  21. a final design
  22. Ask a parent
  23. a unit converter
  24. Done
  25. 5
  26. 20
  27. a buzz (vibration)
  28. the back button
  29. 48
  30. False
  31. 2
  32. to reuse code
  33. 38
  34. good UI but poor UX
  35. 5
  36. release an update
  37. 73
  38. a beep sound
  39. Gold
  40. 220

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