← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 870 · 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 one has a home-screen icon: an app or a website? (a) a website (b) an app
  2. 2.🐞 After fixing a bug you should ___. (a) test it again (b) never test (c) delete the test (d) release at once
  3. 3.🗒️ Why keep version 1 small? (a) to use up storage (b) to learn from users soon (c) to look bigger (d) to confuse users
  4. 4.🔍 Which is the odd one out? (a) a water reminder (b) a sleep tracker (c) a step counter (d) a times-table quiz
  5. 5.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 35; // start at 34
    line 2: lives = lives + 6; // add 6
    line 3: lives = lives * 2; // double it
    line 4: lives = lives + 2; // add 2
    line 5: show(lives); // show it
  6. 6.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) savings stickers (b) add money received (c) add money spent (d) show the balance
  7. 7.Which of these requests asks for too much? (a) voice notes → microphone (b) map app → location (c) camera app → camera (d) quiz app → microphone
  8. 8.🔀 What number does this shop app show?
    let total = 840;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  9. 9.♿ A screen has 11 icon buttons. Only 7 of them have a text label for screen readers. How many still need a label?
  10. 10.🔍 Which is the odd one out? (a) adding up a bill (b) sorting the scores (c) checking a password (d) a pop-up message
  11. 11.True or false: you share the download link at the release stage. (a) True (b) False
  12. 12.💾 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
  13. 13.True or false: a final design has no real colours. (a) True (b) False
  14. 14.🔍 Which is the odd one out? (a) put it on an app store (b) share the download link (c) connect the data (d) write the store text
  15. 15.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let score = 39; // start at 39
    line 2: score = score - 2; // add 2
    line 3: score = score - 2; // take away 2
    line 4: show(score); // show it
  16. 16.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 43; // start at 43
    line 2: score = score + 4; // add 4
    line 3: score = score - 5; // take away 3
    line 4: show(score); // show it
  17. 17.True or false: a wireframe uses plain grey boxes. (a) False (b) True
  18. 18.🔐 Which permission does a bus tracker really need? (a) location (b) the camera (c) contacts (d) the microphone
  19. 19.👆 The user types Riya in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Welcome, " + nameBox.text + "!";
    };
    (a) Welcome, nameBox.text! (b) Welcome! (c) Welcome, Riya! (d) Riya
  20. 20.🔍 Which is the odd one out? (a) the button colours (b) the theme colours (c) how fast a task is done (d) the icon shapes
  21. 21.👆 The user taps the button 5 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 3) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  22. 22.🧪 What is the ACTUAL result of Test 2?
    🚚 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(500) → expected 40
    Test 2: delivery(900) → expected 0
    Test 3: delivery(800) → expected 0
  23. 23.True or false: a party-invite app for friends needs the camera. (a) True (b) False
  24. 24.🧭 Which part of navigation sits at the bottom? (a) a menu button (b) a tab bar (c) the back button
  25. 25.🔐 Which permission does a barcode scanner really need? (a) contacts (b) location (c) the microphone (d) the camera
  26. 26.Which of these is true of an app? (a) has a web address (b) has a home-screen icon (c) opens in a web browser (d) needs no installing
  27. 27.♿ Why add captions to videos? (a) to hide the sound (b) so anyone can follow (c) to slow them down (d) to add colour
  28. 28.💾 Where should the app save photos on two devices: on the phone or in the cloud? (a) on the phone (b) in the cloud
  29. 29.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let points = 43; // start at 43
    line 2: points = points * 2; // double it
    line 3: points = points + 3; // add 3
    line 4: points = points - 8; // take away 5
    line 5: show(points); // show it
  30. 30.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) savings stickers (b) pie-chart colours (c) show the balance (d) export to a file
  31. 31.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Start button: 44 px tall
    Save button: 56 px tall
    Cancel button: 56 px tall
    Back button: 48 px tall
  32. 32.⚙️ What number does this app show?
    let price = 35; // typed by the user
    let qty = 5; // typed by the user
    let total = price * qty;
    show(total);
  33. 33.🔘 Our rule: buttons are at least 48 px tall. The Help button is 24 px tall. How many px taller must it be?
  34. 34.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(5) + points(0));
  35. 35.👆 What kind of event is this: the search box changes? (a) a text event (b) a timer event (c) a load event (d) a tap event
  36. 36.🧩 In an app, what is a box to type a name? (a) a screen (b) an input (c) a button (d) data
  37. 37.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let points = 49; // start at 47
    line 2: points = points * 2; // double it
    line 3: points = points + 6; // add 6
    line 4: points = points + 2; // add 2
    line 5: show(points); // show it
  38. 38.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. tap the Profile tab
    2. open “Match report”
    3. tap Back
    How many times must you tap Back to reach the main screen of this tab?
  39. 39.True or false: typing your age is an input. (a) False (b) True
  40. 40.🔁 What number does this code show?
    let marks = [19, 20, 14, 12];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);

Answer key

  1. an app
  2. test it again
  3. to learn from users soon
  4. a times-table quiz
  5. 82
  6. savings stickers
  7. quiz app → microphone
  8. 790
  9. 4
  10. a pop-up message
  11. True
  12. on the phone
  13. False
  14. connect the data
  15. 39
  16. 42
  17. True
  18. location
  19. Welcome, Riya!
  20. how fast a task is done
  21. 3
  22. 0
  23. False
  24. a tab bar
  25. the camera
  26. has a home-screen icon
  27. so anyone can follow
  28. in the cloud
  29. 81
  30. show the balance
  31. 3
  32. 175
  33. 24
  34. 60
  35. a text event
  36. an input
  37. 102
  38. 0
  39. True
  40. 65

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