← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 43 · 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.🎯 Who are the users of an app? (a) only the testers (b) the people who use it (c) only the coders (d) the app icons
  2. 2.🔐 Which permission does a walking map really need? (a) contacts (b) the microphone (c) location (d) the camera
  3. 3.🔀 What number does this shop app show?
    let total = 860;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  4. 4.🗒️ A to-do app with no “add a task” feature is ___. (a) well planned (b) missing a must-have (c) ready to release (d) a nice extra
  5. 5.🧰 What is a function? (a) a list of colours (b) a screen size (c) a named block of code (d) a type of phone
  6. 6.🔁 What number does this code show?
    let steps = [14, 14, 15, 3, 11];
    let best = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] > best) {
        best = steps[i];
      }
    }
    show(best);
  7. 7.♿ Why add captions to videos? (a) to hide the sound (b) to slow them down (c) so anyone can follow (d) to add colour
  8. 8.📱 Which one opens in a web browser: an app or a website? (a) an app (b) a website
  9. 9.🚀 Which of these versions is the OLDEST?
    3.13.5, 3.11.1, 2.24.9, 3.17.3
    (a) 3.11.1 (b) 3.17.3 (c) 2.24.9 (d) 3.13.5
  10. 10.🧩 In an app, what is tap to Send? (a) data (b) an input (c) a screen (d) a button
  11. 11.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) rate the driver (b) show arrival time (c) a dark mode (d) change the bus icon
  12. 12.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Done button: 64 px tall
    Save button: 36 px tall
    Help button: 48 px tall
    Next button: 72 px tall
    (a) Save (b) Next (c) Done (d) Help
  13. 13.🔢 When you make an app, what comes right after “test the app”? (a) get an idea (b) release it (c) build the app (d) plan the screens
  14. 14.True or false: a slider for volume is data. (a) False (b) True
  15. 15.📅 An app team plans for 3 days, builds for 5 days, tests for 3 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
  16. 16.🧩 In an app, what is a date picker? (a) an input (b) a screen (c) data (d) a button
  17. 17.True or false: an app opens from a link. (a) True (b) False
  18. 18.👆 The user taps the button 3 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
  19. 19.Which of these happens at the plan stage? (a) spot a problem to solve (b) let friends try it (c) draw the user flow (d) put it on an app store
  20. 20.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) pick your bus stop (b) see where the bus is (c) a dark mode (d) show arrival time
  21. 21.🐞 What is a good first step when an app gives a wrong result? (a) add more colours (b) delete the app (c) buy a new phone (d) find where it goes wrong
  22. 22.👆 The user taps the button 2 times. What number does the label show now?
    let points = 0;
    button.onTap = function () {
      points = points + 3;
      label.text = points;
    };
  23. 23.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Menu: 24 px
    Hint: 24 px
    Title: 24 px
    Label: 15 px
    Body text: 11 px
  24. 24.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    missing the bus: 7 votes
    losing water bottles: 20 votes
    forgetting birthdays: 6 votes
    (a) missing the bus (b) forgetting birthdays (c) losing water bottles
  25. 25.💾 What number does this code show?
    let score = 6;
    score = score - 4;
    score = score + 2;
    show(score);
  26. 26.⚙️ What number does this app show?
    let bill = 42; // typed by the user
    let friends = 2; // typed by the user
    let share = bill / friends;
    show(share);
  27. 27.👆 The user types Kabir in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Well done, " + nameBox.text + "!";
    };
    (a) Well done, Kabir! (b) Kabir (c) Well done! (d) Well done, nameBox.text!
  28. 28.🎯 Which app would help this user most: a cook with no idea for dinner? (a) a pocket-money tracker (b) a big-text reader (c) a homework planner (d) a recipe finder
  29. 29.🐞 What is a bug? (a) a mistake in the code (b) a fast phone (c) a nice icon (d) a new feature
  30. 30.🎯 Why learn about users before you build? (a) to slow it down (b) to build what they need (c) to make it longer (d) to pick a logo
  31. 31.True or false: a wireframe shows the real fonts. (a) False (b) True
  32. 32.🔁 What is the LAST line this code shows?
    let names = ["Arjun", "Meera", "Aman", "Riya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Meera (b) Hi, Riya (c) Hi, Arjun (d) Hi, Aman
  33. 33.💡 Which app idea solves this problem: a team shares one snack bill? (a) a study-room finder (b) a homework planner (c) a medicine reminder (d) a bill splitter
  34. 34.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Feed tab
    2. open “Edit photo”
    3. tap the Feed tab
    How many times must you tap Back to reach the main screen of this tab?
  35. 35.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 8 or more right answers.
    function result(right) {
      if (right > 8) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(9) → expected Pass
    Test 2: result(5) → expected Try again
    Test 3: result(8) → expected Pass
    (a) Test 1 (b) Test 2 (c) Test 3
  36. 36.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 40; // start at 40
    line 2: lives = lives - 3; // take away 1
    line 3: lives = lives - 4; // take away 4
    line 4: show(lives); // show it
  37. 37.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 60;
    }
    show(fee(8) + fee(4));
  38. 38.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 6 or more right answers.
    function result(right) {
      if (right > 6) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(6) → expected Pass
    Test 2: result(8) → expected Pass
    Test 3: result(5) → expected Try again
    (a) Test 2 (b) Test 3 (c) Test 1
  39. 39.📱 Which one has a home-screen icon: an app or a website? (a) a website (b) an app
  40. 40.True or false: a website opens in a web browser. (a) True (b) False

Answer key

  1. the people who use it
  2. location
  3. 810
  4. missing a must-have
  5. a named block of code
  6. 15
  7. so anyone can follow
  8. a website
  9. 2.24.9
  10. a button
  11. show arrival time
  12. Save
  13. release it
  14. False
  15. 8
  16. an input
  17. False
  18. ON
  19. draw the user flow
  20. a dark mode
  21. find where it goes wrong
  22. 6
  23. 2
  24. losing water bottles
  25. 4
  26. 21
  27. Well done, Kabir!
  28. a recipe finder
  29. a mistake in the code
  30. to build what they need
  31. False
  32. Hi, Riya
  33. a bill splitter
  34. 0
  35. Test 3
  36. 35
  37. 60
  38. Test 1
  39. an app
  40. True

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