← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 466 · 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 of these makes the app harder to use? (a) sudden loud sounds (b) labels on every icon (c) big touch targets (d) text that can grow
  2. 2.🔢 In a sign-up flow, which comes FIRST? (a) see the home screen (b) type name and email (c) make a password (d) open the app
  3. 3.🗒️ Why keep version 1 small? (a) to look bigger (b) to use up storage (c) to learn from users soon (d) to confuse users
  4. 4.True or false: a torch is a tool app. (a) True (b) False
  5. 5.💾 What number does this code show?
    let notes = ["Maths", "Art", "Hindi", "Sports"];
    notes.push("Music");
    show(notes.length);
  6. 6.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Caption: 12 px
    Body text: 17 px
    Footer: 19 px
  7. 7.👆 What kind of event is this: the app starts up? (a) a timer event (b) a tap event (c) a text event (d) a load event
  8. 8.🔁 What is the LAST line this code shows?
    let names = ["Kabir", "Meera", "Zoya", "Arjun", "Riya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Zoya (b) Hi, Kabir (c) Hi, Riya (d) Hi, Meera
  9. 9.🔀 What does this sign-up rule show?
    let age = 12;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  10. 10.True or false: a pocket-money tracker is the best fit for a parent waiting at the bus stop. (a) False (b) True
  11. 11.Which of these is a feature? (a) “Small text is hard” (b) “I keep missing the bus” (c) a reminder alarm (d) “I forget my homework”
  12. 12.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 50; // start at 50
    line 2: stars = stars - 6; // take away 5
    line 3: stars = stars * 2; // double it
    line 4: show(stars); // show it
    (a) line 2 (b) line 3 (c) line 1
  13. 13.🐞 What is a bug? (a) a new feature (b) a mistake in the code (c) a fast phone (d) a nice icon
  14. 14.🐞 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 - 5; // take away 5
    line 3: lives = lives * 2; // double it
    line 4: lives = lives + 6; // add 6
    line 5: show(lives); // show it
  15. 15.🔐 Which permission does a voice recorder really need? (a) the microphone (b) the camera (c) contacts (d) location
  16. 16.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 30;
    }
    show(fee(2) + fee(10));
  17. 17.📲 What happens when you tap an app’s icon? (a) the phone charges (b) the app opens (c) the app is deleted (d) the sound turns off
  18. 18.🔍 Which is the odd one out? (a) how users feel after (b) the screen layout (c) the icon shapes (d) the button colours
  19. 19.🔢 In a photo-post flow, which comes LAST? (a) post the photo (b) open the camera screen (c) add a filter (d) take the photo
  20. 20.♿ A screen has 7 icon buttons. Only 6 of them have a text label for screen readers. How many still need a label?
  21. 21.True or false: a wireframe shows where things go. (a) False (b) True
  22. 22.🧰 In function tip(bill), what is bill? (a) a parameter (b) an event (c) a loop (d) a screen
  23. 23.🔁 What number does this code show?
    let scores = [31, 50, 53];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  24. 24.👆 An event in an app is ___. (a) an app store (b) a kind of list (c) something that happens (d) a colour theme
  25. 25.👆 The user taps the button 2 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
  26. 26.Which of these is true of a final design? (a) shows the real fonts (b) uses plain grey boxes (c) has no real colours (d) shows where things go
  27. 27.Which of these helps everyone use the app? (a) strong colour contrast (b) fast-flashing lights (c) icons with no labels (d) colour as the only clue
  28. 28.Which of these is an input? (a) typing your age (b) a pop-up message (c) a buzz (vibration) (d) checking a password
  29. 29.True or false: a class leaderboard fits saving on the phone. (a) False (b) True
  30. 30.🔐 Is this permission request fair or too much: torch → contacts? (a) too much (b) fair
  31. 31.True or false: a racing challenge is a learning app. (a) False (b) True
  32. 32.🔀 What does >= mean? (a) less than (b) greater than or equal (c) not equal (d) smaller or equal
  33. 33.💡 After a survey, which need should version 1 solve? (a) a random need (b) the newest trend (c) the most common need (d) the rarest need
  34. 34.🎯 Is this a user need or a feature: a share button? (a) a user need (b) a feature
  35. 35.🔀 In this course’s code, which sign tests “is equal to”? (a) => (b) = (c) !== (d) ===
  36. 36.True or false: a shared to-do list fits saving on the phone. (a) False (b) True
  37. 37.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let coins = 32; // start at 32
    line 2: coins = coins + 4; // add 4
    line 3: coins = coins - 8; // take away 5
    line 4: show(coins); // show it
  38. 38.🖼️ In this wireframe (top to bottom), what is right above the Add button?
    [ big picture ]
    [ tab bar ]
    [ Add button ]
    [ filter buttons ]
    [ list of items ]
    (a) list of items (b) filter buttons (c) tab bar (d) big picture
  39. 39.Which of these is an output? (a) tapping a button (b) typing your age (c) a beep sound (d) working out a tip
  40. 40.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 46; // start at 46
    line 2: score = score + 2; // double it
    line 3: score = score + 2; // add 2
    line 4: show(score); // show it
    (a) line 1 (b) line 3 (c) line 2

Answer key

  1. sudden loud sounds
  2. open the app
  3. to learn from users soon
  4. True
  5. 5
  6. 1
  7. a load event
  8. Hi, Riya
  9. Ask a parent
  10. False
  11. a reminder alarm
  12. line 2
  13. a mistake in the code
  14. 64
  15. the microphone
  16. 30
  17. the app opens
  18. how users feel after
  19. post the photo
  20. 1
  21. True
  22. a parameter
  23. 0
  24. something that happens
  25. OFF
  26. shows the real fonts
  27. strong colour contrast
  28. typing your age
  29. False
  30. too much
  31. False
  32. greater than or equal
  33. the most common need
  34. a feature
  35. ===
  36. False
  37. 31
  38. tab bar
  39. a beep sound
  40. line 2

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