← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 210 · 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.🚀 Which version is newer: 1.5.16 or 1.5.9? (a) 1.5.16 (b) 1.5.9
  2. 2.🧪 Who else should try an app before release? (a) only the coder (b) the app icon (c) nobody (d) real users
  3. 3.💾 Where should the app save the sound on/off setting: on the phone or in the cloud? (a) on the phone (b) in the cloud
  4. 4.🔘 Is this good or poor button design: grey text on grey? (a) poor design (b) good design
  5. 5.🔍 Which is the odd one out? (a) a racing challenge (b) a cricket run chase (c) a step counter (d) a puzzle with levels
  6. 6.Which of these app ideas solves a real problem? (a) a library due-date alert (b) a page of random dots (c) an app that just says hi (d) a button with no action
  7. 7.🌗 Is dark blue on black easy or hard to read on a button? (a) hard to read (b) easy to read
  8. 8.🔁 What is the LAST line this code shows?
    let names = ["Riya", "Arjun", "Meera", "Aman"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Meera (b) Hi, Arjun (c) Hi, Aman (d) Hi, Riya
  9. 9.🧩 What do we call one full page of an app? (a) a variable (b) a battery (c) a screen (d) a cable
  10. 10.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 40;
    }
    show(fee(1) + fee(3));
  11. 11.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ list of items ]
    [ Save button ]
    [ search box ]
    [ top bar ]
    (a) search box (b) top bar (c) Save button (d) list of items
  12. 12.📅 An app team plans for 3 days, builds for 4 days, tests for 3 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
  13. 13.📱 Which one updates from the store: an app or a website? (a) an app (b) a website
  14. 14.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 40;
    }
    show(fee(7) + fee(1));
  15. 15.Which of these happens at the build stage? (a) write the code (b) pick the features (c) sketch the screens (d) let friends try it
  16. 16.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 48; // start at 45
    line 2: score = score + 6; // add 6
    line 3: score = score - 4; // take away 4
    line 4: score = score + 4; // add 4
    line 5: show(score); // show it
  17. 17.🔀 What does >= mean? (a) less than (b) smaller or equal (c) not equal (d) greater than or equal
  18. 18.🎨 Is this about UI or UX: how users feel after? (a) UX (b) UI
  19. 19.👥 A school app has 150 students, 120 teachers and 280 parents as users. How many users does it have in all?
  20. 20.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 36; // start at 36
    line 2: score = score + 8; // add 6
    line 3: score = score - 4; // take away 4
    line 4: show(score); // show it
  21. 21.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 42; // start at 42
    line 2: score = score - 5; // add 5
    line 3: score = score - 4; // take away 4
    line 4: show(score); // show it
  22. 22.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Match report”
    2. open “Score card”
    3. tap Back
    Which screen are you on now?
    (a) Score card (b) Lessons (c) Quiz (d) Match report
  23. 23.🔀 What does this PIN rule show?
    let pin = "942";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  24. 24.🔁 What number does this code show?
    let runs = [5, 3, 13];
    let best = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] > best) {
        best = runs[i];
      }
    }
    show(best);
  25. 25.💡 Which is a problem statement? (a) “Kids forget homework” (b) “Make it fast” (c) “Add a logo” (d) “Use blue buttons”
  26. 26.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) a dark mode (b) change the bus icon (c) show arrival time (d) rate the driver
  27. 27.🔢 When you make an app, which comes first: “release it” or “test the app”? (a) test the app (b) release it
  28. 28.👆 The user taps the button 5 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.👆 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;
    };
  30. 30.True or false: photos on two devices fits saving on the phone. (a) False (b) True
  31. 31.🔘 Our rule: buttons are at least 48 px tall. The Back button is 24 px tall. How many px taller must it be?
  32. 32.🧪 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(800) → expected 0
    Test 2: delivery(300) → expected 40
    Test 3: delivery(500) → expected 0
  33. 33.🔘 Our rule: buttons are at least 48 px tall. The Back button is 28 px tall. How many px taller must it be?
  34. 34.🧪 One test case fails. Which one?
    🚚 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(750) → expected 0
    Test 2: delivery(500) → expected 0
    Test 3: delivery(400) → expected 40
    (a) Test 3 (b) Test 1 (c) Test 2
  35. 35.📱 Which one opens in a web browser: an app or a website? (a) a website (b) an app
  36. 36.🧪 A test case is an input together with its ___. (a) expected result (b) screen colour (c) font size (d) app icon
  37. 37.👆 The user taps the button 3 times. What number does the label show now?
    let points = 2;
    button.onTap = function () {
      points = points + 4;
      label.text = points;
    };
  38. 38.Which of these is true of a website? (a) is installed on a phone (b) has a home-screen icon (c) opens in a web browser (d) comes from an app store
  39. 39.🐞 What is a bug? (a) a nice icon (b) a new feature (c) a fast phone (d) a mistake in the code
  40. 40.👥 A library app has 55 readers, 120 librarians and 95 volunteers as users. Which user group is the biggest? (a) volunteers (b) readers (c) librarians

Answer key

  1. 1.5.16
  2. real users
  3. on the phone
  4. poor design
  5. a step counter
  6. a library due-date alert
  7. hard to read
  8. Hi, Aman
  9. a screen
  10. 0
  11. top bar
  12. 7
  13. an app
  14. 40
  15. write the code
  16. 54
  17. greater than or equal
  18. UX
  19. 550
  20. 40
  21. 33
  22. Match report
  23. Use 4 digits
  24. 13
  25. “Kids forget homework”
  26. show arrival time
  27. test the app
  28. ON
  29. 1
  30. False
  31. 24
  32. 0
  33. 20
  34. Test 2
  35. a website
  36. expected result
  37. 14
  38. opens in a web browser
  39. a mistake in the code
  40. librarians

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