← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 467 · 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.👆 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
  2. 2.🔘 Is this good or poor button design: space between buttons? (a) good design (b) poor design
  3. 3.💡 Which app idea solves this problem: bottles go missing at school? (a) a lost-and-found board (b) a bill splitter (c) a medicine reminder (d) a homework planner
  4. 4.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ Save button ]
    [ tab bar ]
    [ menu icon ]
    [ search box ]
    [ Add button ]
    [ title text ]
    (a) Save button (b) title text (c) search box (d) tab bar
  5. 5.True or false: a class leaderboard fits saving in the cloud. (a) True (b) False
  6. 6.👆 The user taps the button 3 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) ON (b) OFF
  7. 7.🔀 Why plan the user flow before building? (a) to hide the buttons (b) to skip testing (c) so each step is clear (d) to add more taps
  8. 8.🗒️ Version 1 of a pocket-money tracker must be ready in 14 days. How many days are left for extras after the must-haves?
    add money received: 2 days
    add money spent: 4 days
    show the balance: 3 days
  9. 9.🧩 Which of these is a button on this screen?
    [title] Edit Profile
    [text box] Email
    [button] Next
    [button] Back
    [button] Cancel
    [text box] Subject
    [text box] Notes
    [switch] Dark mode
    (a) Notes (b) Email (c) Subject (d) Back
  10. 10.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let coins = 40; // start at 40
    line 2: coins = coins + 3; // add 3
    line 3: coins = coins + 1; // take away 1
    line 4: show(coins); // show it
  11. 11.🚀 Which version is newer: 2.3.7 or 2.3.15? (a) 2.3.15 (b) 2.3.7
  12. 12.True or false: a guitar tuner needs the camera. (a) True (b) False
  13. 13.⚙️ In an app, is taking a photo an input, processing or an output? (a) output (b) processing (c) input
  14. 14.🎯 An app for “everyone” with no clear user usually ___. (a) needs no testing (b) wins every prize (c) is easy to build (d) helps nobody well
  15. 15.True or false: a countdown hits zero is a load event. (a) True (b) False
  16. 16.🗂️ What kind of app is a racing challenge? (a) a health app (b) a game (c) a tool app (d) a learning app
  17. 17.🔀 What does this PIN rule show?
    let pin = "4672";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  18. 18.Which of these is true of a final design? (a) uses plain grey boxes (b) has the real colours (c) is a quick sketch (d) shows where things go
  19. 19.🔀 What does this PIN rule show?
    let pin = "3593";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  20. 20.True or false: working out a tip is an input. (a) True (b) False
  21. 21.💡 An app that tries to do everything at once is usually ___. (a) hard to use (b) easy to build (c) very small (d) finished fast
  22. 22.True or false: you spot a problem to solve at the idea stage. (a) False (b) True
  23. 23.🧪 What is the ACTUAL result of Test 3?
    🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 500) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(500) → expected 0
    Test 2: delivery(700) → expected 0
    Test 3: delivery(350) → expected 40
  24. 24.🎯 Who are the users of an app? (a) the app icons (b) the people who use it (c) only the testers (d) only the coders
  25. 25.True or false: how easy sign-up is is about UX (the experience). (a) True (b) False
  26. 26.🔢 In a food-order flow, what comes right after “check the cart”? (a) pay for the order (b) open the menu (c) add it to the cart (d) track the order
  27. 27.🧪 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(9) → expected Pass
    Test 2: result(6) → expected Pass
    Test 3: result(3) → expected Try again
  28. 28.Which of these is a button? (a) your high score (b) the log-in page (c) tap to Start (d) the settings page
  29. 29.💾 Saving data in the cloud lets you ___. (a) never need a password (b) skip the internet (c) use it on any device (d) shrink the app
  30. 30.🧰 What does this code show?
    function greet(name) {
      return "Well done, " + name + "!";
    }
    show(greet("Riya"));
    (a) greet (b) Riya (c) Well done, name! (d) Well done, Riya!
  31. 31.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Meera"));
    (a) greet (b) Meera (c) Hello, Meera! (d) Hello, name!
  32. 32.🧩 In an app, what is the settings page? (a) a screen (b) an input (c) a button (d) data
  33. 33.🧪 How many of these test cases pass?
    🎟️ 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(12) → expected 100
    Test 2: price(14) → expected 100
    Test 3: price(5) → expected 50
  34. 34.📊 Survey: which problem bugs you most? How many students voted in all?
    forgetting birthdays: 6 votes
    forgetting homework: 8 votes
    missing the bus: 14 votes
  35. 35.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let stars = 46; // start at 46
    line 2: stars = stars - 4; // take away 2
    line 3: stars = stars + 2; // add 2
    line 4: show(stars); // show it
  36. 36.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(5) + points(2));
  37. 37.🎨 Who should you test the UX with? (a) the app icon (b) real users (c) nobody (d) only yourself
  38. 38.🔀 A screen with no way forward or back is called a ___. (a) tab bar (b) dead end (c) shortcut (d) home screen
  39. 39.🧰 What does return do in a function? (a) closes the screen (b) sends back a value (c) deletes the app (d) repeats the code
  40. 40.Which of these is true of a menu button? (a) switches main sections (b) sits at the bottom (c) undoes one move (d) hides extra links

Answer key

  1. OFF
  2. good design
  3. a lost-and-found board
  4. title text
  5. True
  6. ON
  7. so each step is clear
  8. 5
  9. Back
  10. 44
  11. 2.3.15
  12. False
  13. input
  14. helps nobody well
  15. False
  16. a game
  17. PIN saved
  18. has the real colours
  19. PIN saved
  20. False
  21. hard to use
  22. True
  23. 40
  24. the people who use it
  25. True
  26. pay for the order
  27. 3
  28. tap to Start
  29. use it on any device
  30. Well done, Riya!
  31. Hello, Meera!
  32. a screen
  33. 3
  34. 28
  35. 46
  36. 80
  37. real users
  38. dead end
  39. sends back a value
  40. hides extra links

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