← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 349 · 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 a function? (a) a screen size (b) a type of phone (c) a list of colours (d) a named block of code
  2. 2.🔐 Is this permission request fair or too much: map app → location? (a) fair (b) too much
  3. 3.🔀 What number does this shop app show?
    let total = 660;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  4. 4.True or false: a final design uses the final pictures. (a) True (b) False
  5. 5.🧭 Where is a tab bar usually placed in a phone app? (a) nowhere (b) inside a button (c) in the middle (d) at the bottom
  6. 6.True or false: a website is installed on a phone. (a) True (b) False
  7. 7.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let coins = 50; // start at 50
    line 2: coins = coins * 2; // double it
    line 3: coins = coins + 9; // add 6
    line 4: coins = coins * 2; // double it
    line 5: show(coins); // show it
  8. 8.🔍 Which is the odd one out? (a) try every button (b) sketch the screens (c) write down the bugs (d) let friends try it
  9. 9.📱 Which one opens in a web browser: an app or a website? (a) a website (b) an app
  10. 10.🎯 An app for “everyone” with no clear user usually ___. (a) is easy to build (b) wins every prize (c) needs no testing (d) helps nobody well
  11. 11.🗒️ Version 1 of a water reminder must be ready in 10 days. How many days are left for extras after the must-haves?
    set a reminder time: 3 days
    log a glass of water: 2 days
    see today’s total: 4 days
  12. 12.🔢 After an app is released, which comes LAST? (a) list what to fix (b) read user reviews (c) release an update (d) test it again
  13. 13.🔢 After an app is released, what comes right after “list what to fix”? (a) read user reviews (b) test it again (c) fix and improve (d) release an update
  14. 14.📅 An app team plans for 5 days, builds for 9 days, tests for 2 days and releases on 1 more day. How many days does the whole project take?
  15. 15.True or false: a wireframe uses plain grey boxes. (a) False (b) True
  16. 16.👆 Two designs for the same task (each arrow is one tap). How many taps does Design B need?
    Design A: Home → Search → Address → Menu → Pay
    Design B: Home → Pay → Size → Offers
  17. 17.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let lives = 48; // start at 45
    line 2: lives = lives * 2; // double it
    line 3: lives = lives * 2; // double it
    line 4: show(lives); // show it
  18. 18.🔁 What number does this code show?
    let marks = [55, 46, 83, 95, 11];
    let count = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  19. 19.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) set a due date (b) earn stickers (c) see tasks by day (d) add a homework task
  20. 20.Which of these fits saving on the phone? (a) a shared to-do list (b) photos on two devices (c) a draft you are typing (d) chat messages to friends
  21. 21.🚀 Which of these versions is the OLDEST?
    3.12.1, 3.11.5, 2.22.3, 3.5.9
    (a) 2.22.3 (b) 3.5.9 (c) 3.11.5 (d) 3.12.1
  22. 22.👆 The user taps the button 1 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
  23. 23.Which of these is true of a wireframe? (a) shows the real fonts (b) shows where things go (c) uses the final pictures (d) has the real colours
  24. 24.👆 What kind of event is this: a countdown hits zero? (a) a text event (b) a load event (c) a tap event (d) a timer event
  25. 25.📱 Which one opens from a link: an app or a website? (a) an app (b) a website
  26. 26.🎨 UX stands for user ___. (a) extra (b) express (c) example (d) experience
  27. 27.🔀 What does if / else let an app do? (a) pick one of two actions (b) draw a screen (c) save a photo (d) repeat forever
  28. 28.👆 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
  29. 29.🎯 Who are the users of an app? (a) only the testers (b) the app icons (c) the people who use it (d) only the coders
  30. 30.True or false: a blank grey screen solves no real problem. (a) True (b) False
  31. 31.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 8 or more right answers.
    function result(right) {
      if (right > 8) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(9) → expected Pass
    Test 2: result(6) → expected Try again
    Test 3: result(8) → expected Pass
  32. 32.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Offers → Address → Shop → Pay
    Design B: Home → Search → Pens
    (a) Design A (b) Design B
  33. 33.🎨 Who should you test the UX with? (a) real users (b) the app icon (c) nobody (d) only yourself
  34. 34.👥 A clinic app has 120 patients, 235 doctors and 240 nurses as users. Which user group is the biggest? (a) doctors (b) nurses (c) patients
  35. 35.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let points = 48; // start at 45
    line 2: points = points * 2; // double it
    line 3: points = points + 6; // add 6
    line 4: show(points); // show it
  36. 36.⚙️ What number does this app show?
    let bill = 308; // typed by the user
    let friends = 4; // typed by the user
    let share = bill / friends;
    show(share);
  37. 37.🔀 What does >= mean? (a) less than (b) not equal (c) greater than or equal (d) smaller or equal
  38. 38.👥 A cricket club app has 90 players, 55 coaches and 95 fans as users. How many users does it have in all?
  39. 39.👆 The user taps the button 7 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.🖼️ How many parts (boxes) does this wireframe have?
    [ top bar ]
    [ menu icon ]
    [ list of items ]
    [ search box ]
    [ Add button ]

Answer key

  1. a named block of code
  2. fair
  3. 610
  4. True
  5. at the bottom
  6. False
  7. 212
  8. sketch the screens
  9. a website
  10. helps nobody well
  11. 1
  12. release an update
  13. fix and improve
  14. 17
  15. True
  16. 3
  17. 192
  18. 4
  19. earn stickers
  20. a draft you are typing
  21. 2.22.3
  22. ON
  23. shows where things go
  24. a timer event
  25. a website
  26. experience
  27. pick one of two actions
  28. ON
  29. the people who use it
  30. True
  31. 2
  32. Design B
  33. real users
  34. nurses
  35. 96
  36. 77
  37. greater than or equal
  38. 240
  39. 3
  40. 5

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