← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 893 · 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.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Hint: 23 px
    Body text: 16 px
    Caption: 10 px
  2. 2.🔀 Which badge does this quiz app show?
    let marks = 99;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Gold (c) Bronze
  3. 3.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a new feature (b) a bug fix (c) a new app (d) a big redesign
  4. 4.🚀 Your app is at version 2.1.1. The next release fixes a small bug. What is its version number? (a) 2.2.1 (b) 3.0.0 (c) 2.2.0 (d) 2.1.2
  5. 5.🧪 What is the actual result of a test? (a) the app’s name (b) what we hope for (c) what the app really does (d) the test’s number
  6. 6.🗂️ What kind of app is a cricket run chase? (a) a game (b) a learning app (c) a health app (d) a tool app
  7. 7.🔘 Our rule: buttons are at least 48 px tall. The Done button is 28 px tall. How many px taller must it be?
  8. 8.🔁 What number does this code show?
    let runs = [60, 54, 84, 30];
    let count = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  9. 9.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let coins = 36; // start at 33
    line 2: coins = coins - 4; // take away 4
    line 3: coins = coins * 2; // double it
    line 4: show(coins); // show it
  10. 10.🧰 In function tip(bill), what is bill? (a) a parameter (b) a loop (c) a screen (d) an event
  11. 11.💡 Does an app idea like a bill splitter solve a real problem? (a) No (b) Yes
  12. 12.👥 A school app has 150 students, 95 teachers and 175 parents as users. How many more students than teachers are there?
  13. 13.🧭 Which part of navigation shows 3 to 5 icons? (a) a tab bar (b) a menu button (c) the back button
  14. 14.True or false: the log-in page is a screen. (a) False (b) True
  15. 15.Which of these fits saving in the cloud? (a) a draft you are typing (b) a class leaderboard (c) your last game level (d) notes to read offline
  16. 16.🧰 What does this code show?
    function greet(name) {
      return "Hi, " + name + "!";
    }
    show(greet("Kabir"));
    (a) Hi, name! (b) Kabir (c) greet (d) Hi, Kabir!
  17. 17.🛠️ At which stage do you write the store text? (a) the build stage (b) the release stage (c) the test stage (d) the idea stage
  18. 18.💾 Where should the app save the sound on/off setting: on the phone or in the cloud? (a) in the cloud (b) on the phone
  19. 19.🔢 In a food-order flow, what comes right after “open the menu”? (a) check the cart (b) pick a dish (c) add it to the cart (d) pay for the order
  20. 20.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 700 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 700) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(700) → expected 0
    Test 2: delivery(650) → expected 40
    Test 3: delivery(750) → expected 0
    (a) Test 3 (b) Test 1 (c) Test 2
  21. 21.👥 A clinic app has 60 patients, 90 doctors and 200 nurses as users. How many more doctors than patients are there?
  22. 22.🗒️ Version 1 of a homework planner must be ready in 11 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: 5 days
  23. 23.✏️ Is this true of a wireframe or of a final design: shows the real fonts? (a) a wireframe (b) a final design
  24. 24.📱 Which one comes from an app store: an app or a website? (a) a website (b) an app
  25. 25.♿ A screen has 7 icon buttons. Only 4 of them have a text label for screen readers. How many still need a label?
  26. 26.True or false: the sound on/off setting fits saving in the cloud. (a) True (b) False
  27. 27.🛠️ At which stage do you let friends try it? (a) the release stage (b) the plan stage (c) the test stage (d) the idea stage
  28. 28.Which of these is true of a website? (a) has a web address (b) is installed on a phone (c) updates from the store (d) comes from an app store
  29. 29.📅 An app team plans for 2 days, builds for 11 days, tests for 3 days and releases on 1 more day. How many days does the whole project take?
  30. 30.👆 The user types Meera in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Hi, " + nameBox.text + "!";
    };
    (a) Hi! (b) Meera (c) Hi, Meera! (d) Hi, nameBox.text!
  31. 31.Which of these app ideas solves no real problem? (a) an app that just says hi (b) a medicine reminder (c) a bill splitter (d) a library due-date alert
  32. 32.🗂️ What kind of app is a unit converter? (a) a learning app (b) a tool app (c) a health app (d) a game
  33. 33.👆 The user taps the button 6 times. What number does the label show now?
    let score = 1;
    button.onTap = function () {
      score = score + 2;
      label.text = score;
    };
  34. 34.🔢 In a photo-post flow, which comes LAST? (a) post the photo (b) write a caption (c) add a filter (d) take the photo
  35. 35.📅 An app team plans for 4 days, builds for 12 days, tests for 2 days and releases on 1 more day. How many more days does building take than testing?
  36. 36.True or false: a unit converter is a game. (a) True (b) False
  37. 37.♿ Showing right or wrong only in red and green is a problem for ___. (a) fast typists (b) the battery (c) colour-blind users (d) the server
  38. 38.👥 A clinic app has 110 patients, 270 doctors and 250 nurses as users. Which user group is the biggest? (a) patients (b) doctors (c) nurses
  39. 39.🔁 Why use a loop to show 100 messages? (a) less code to write (b) it uses more lines (c) it is slower (d) it hides them
  40. 40.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 45; // start at 42
    line 2: stars = stars * 2; // double it
    line 3: stars = stars - 3; // take away 3
    line 4: show(stars); // show it
    (a) line 2 (b) line 1 (c) line 3

Answer key

  1. 1
  2. Gold
  3. a bug fix
  4. 2.1.2
  5. what the app really does
  6. a game
  7. 20
  8. 3
  9. 64
  10. a parameter
  11. Yes
  12. 55
  13. a tab bar
  14. True
  15. a class leaderboard
  16. Hi, Kabir!
  17. the release stage
  18. on the phone
  19. pick a dish
  20. Test 1
  21. 30
  22. 1
  23. a final design
  24. an app
  25. 3
  26. False
  27. the test stage
  28. has a web address
  29. 17
  30. Hi, Meera!
  31. an app that just says hi
  32. a tool app
  33. 13
  34. post the photo
  35. 10
  36. False
  37. colour-blind users
  38. doctors
  39. less code to write
  40. line 1

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