← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 144 · 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.💾 Where should the app save a draft you are typing: on the phone or in the cloud? (a) in the cloud (b) on the phone
  2. 2.✏️ Do wireframes usually show the final colours? (a) No (b) Yes
  3. 3.Which of these makes the app harder to use? (a) labels on every icon (b) text that can grow (c) colour as the only clue (d) strong colour contrast
  4. 4.🗒️ When should nice-to-have features be built? (a) on day one (b) never (c) before anything (d) after the must-haves
  5. 5.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let stars = 34; // start at 34
    line 2: stars = stars * 2; // double it
    line 3: stars = stars + 5; // add 5
    line 4: stars = stars + 7; // add 5
    line 5: show(stars); // show it
  6. 6.True or false: a website opens in a web browser. (a) False (b) True
  7. 7.🔐 Is this permission request fair or too much: quiz app → microphone? (a) too much (b) fair
  8. 8.👆 The user types Zoya in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Hello, " + nameBox.text + "!";
    };
    (a) Zoya (b) Hello! (c) Hello, Zoya! (d) Hello, nameBox.text!
  9. 9.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(24));
  10. 10.Which of these happens at the build stage? (a) list what users need (b) try every button (c) connect the data (d) spot a problem to solve
  11. 11.True or false: notes to read offline fits saving in the cloud. (a) True (b) False
  12. 12.👆 “On tap → do this” links an event to ___. (a) a font (b) an action (c) a charger (d) a web address
  13. 13.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Help button: 36 px tall
    Start button: 64 px tall
    Next button: 60 px tall
    Done button: 52 px tall
  14. 14.♿ What should every icon-only button have for screen readers? (a) a text label (b) a sound (c) a long animation (d) a bright colour
  15. 15.👆 The user taps the button 2 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 3) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  16. 16.True or false: you talk to possible users at the release stage. (a) False (b) True
  17. 17.🔁 What is the LAST line this code shows?
    let names = ["Kabir", "Arjun", "Aman"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Aman (b) Hi, Kabir (c) Hi, Arjun
  18. 18.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(60, 6));
  19. 19.True or false: icons with no meaning is good button design. (a) True (b) False
  20. 20.💾 What number does this code show?
    let notes = ["Science", "Sports", "Maths", "Art"];
    notes.push("Music");
    notes.push("Hindi");
    show(notes.length);
  21. 21.✏️ Why draw a wireframe before coding? (a) it adds colours (b) changes are quick (c) it saves data (d) it runs the app
  22. 22.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 600) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(500) → expected 40
    Test 2: delivery(900) → expected 0
    Test 3: delivery(850) → expected 0
  23. 23.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Label: 21 px
    Footer: 14 px
    Menu: 18 px
  24. 24.True or false: tap to Start is a button. (a) True (b) False
  25. 25.💡 Which is a problem statement? (a) “Use blue buttons” (b) “Make it fast” (c) “Add a logo” (d) “Kids forget homework”
  26. 26.💡 Which app idea solves this problem: nobody knows whose bag it is? (a) a medicine reminder (b) a bill splitter (c) a study-room finder (d) a lost-and-found board
  27. 27.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let stars = 42; // start at 40
    line 2: stars = stars - 4; // take away 4
    line 3: stars = stars + 4; // add 4
    line 4: show(stars); // show it
  28. 28.Which of these is data? (a) tap to Send (b) a box to type a name (c) today’s step count (d) the home page of an app
  29. 29.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) confetti effects (b) show a question (c) background music (d) an avatar shop
  30. 30.🎯 Why learn about users before you build? (a) to make it longer (b) to build what they need (c) to slow it down (d) to pick a logo
  31. 31.🧭 Which part of navigation sits at the bottom? (a) a menu button (b) a tab bar (c) the back button
  32. 32.🐞 What is a good first step when an app gives a wrong result? (a) add more colours (b) buy a new phone (c) find where it goes wrong (d) delete the app
  33. 33.👥 A cricket club app has 150 players, 285 coaches and 145 fans as users. How many more players than fans are there?
  34. 34.👥 A school app has 245 students, 40 teachers and 20 parents as users. Which user group is the biggest? (a) teachers (b) students (c) parents
  35. 35.🔀 What does this PIN rule show?
    let pin = "44190";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  36. 36.🧰 What is a function? (a) a type of phone (b) a screen size (c) a list of colours (d) a named block of code
  37. 37.💾 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
  38. 38.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 0, 1, 2, 3 (b) 1, 2, 3 (c) 3 (d) 0, 1, 2
  39. 39.True or false: the user taps Play is a tap event. (a) False (b) True
  40. 40.🚀 Which version is newer: 1.4.16 or 1.4.3? (a) 1.4.16 (b) 1.4.3

Answer key

  1. on the phone
  2. No
  3. colour as the only clue
  4. after the must-haves
  5. 80
  6. True
  7. too much
  8. Hello, Zoya!
  9. 72
  10. connect the data
  11. False
  12. an action
  13. 3
  14. a text label
  15. 2
  16. False
  17. Hi, Aman
  18. 360
  19. False
  20. 6
  21. changes are quick
  22. 3
  23. 1
  24. True
  25. “Kids forget homework”
  26. a lost-and-found board
  27. 42
  28. today’s step count
  29. show a question
  30. to build what they need
  31. a tab bar
  32. find where it goes wrong
  33. 5
  34. students
  35. Use 4 digits
  36. a named block of code
  37. on the phone
  38. 0, 1, 2
  39. True
  40. 1.4.16

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