← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 580 · 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.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) set a due date (b) earn stickers (c) pick a theme colour (d) share tasks to friends
  2. 2.🗒️ Version 1 of a quiz app must be ready in 10 days. How many days are left for extras after the must-haves?
    show a question: 2 days
    check the answer: 1 days
    show the score: 2 days
  3. 3.🔢 In a sign-up flow, what comes right after “open the app”? (a) enter the code sent (b) type name and email (c) tap “Sign up” (d) make a password
  4. 4.🔁 What number does this code show?
    let marks = [7, 9, 11, 14, 10];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  5. 5.🧭 Which part of navigation sits at the bottom? (a) a menu button (b) the back button (c) a tab bar
  6. 6.True or false: you put it on an app store at the build stage. (a) True (b) False
  7. 7.Which of these is about UI (the look)? (a) the button colours (b) how many taps it takes (c) how fast a task is done (d) whether users get lost
  8. 8.🔍 Which is the odd one out? (a) labels on every icon (b) text that can grow (c) big touch targets (d) fast-flashing lights
  9. 9.True or false: the search box changes is a text event. (a) False (b) True
  10. 10.Which of these is processing? (a) tapping a button (b) taking a photo (c) typing your age (d) adding up a bill
  11. 11.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(19));
  12. 12.♿ What does a screen reader do? (a) takes photos (b) makes text tiny (c) plays music (d) reads the screen aloud
  13. 13.🔢 In a quiz-app flow, which comes FIRST? (a) tap “Start quiz” (b) see the final score (c) read a question (d) pick an answer
  14. 14.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 50; // start at 50
    line 2: points = points - 5; // take away 5
    line 3: points = points + 5; // take away 5
    line 4: points = points + 6; // add 6
    line 5: show(points); // show it
    (a) line 4 (b) line 3 (c) line 1 (d) line 2
  15. 15.♿ Does this help everyone, or make the app harder to use: icons with no labels? (a) helps everyone (b) makes it harder
  16. 16.🎯 Who are the users of an app? (a) the app icons (b) only the testers (c) only the coders (d) the people who use it
  17. 17.📅 An app team plans for 2 days, builds for 6 days, tests for 1 days and releases on 1 more day. How many more days does building take than testing?
  18. 18.True or false: a website needs no installing. (a) False (b) True
  19. 19.👆 The user taps the button 3 times. What number does the label show now?
    let score = 3;
    button.onTap = function () {
      score = score + 5;
      label.text = score;
    };
  20. 20.✏️ Is this true of a wireframe or of a final design: looks like the real app? (a) a wireframe (b) a final design
  21. 21.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
    function price(age) {
      if (age <= 14) {
        return 50;
      }
      return 100;
    }
    Test 1: price(14) → expected 100
    Test 2: price(15) → expected 100
    Test 3: price(12) → expected 50
    (a) Test 2 (b) Test 3 (c) Test 1
  22. 22.🗒️ A to-do app with no “add a task” feature is ___. (a) ready to release (b) well planned (c) missing a must-have (d) a nice extra
  23. 23.📱 Which one comes from an app store: an app or a website? (a) an app (b) a website
  24. 24.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) pick your bus stop (b) show arrival time (c) see where the bus is (d) change the bus icon
  25. 25.Which of these is an output? (a) a pop-up message (b) tapping a button (c) typing your age (d) checking a password
  26. 26.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a big redesign (b) a new feature (c) a new app (d) a bug fix
  27. 27.Which of these is a user need? (a) “I keep missing the bus” (b) a reminder alarm (c) a search bar (d) a dark mode switch
  28. 28.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 31; // start at 31
    line 2: score = score - 5; // add 5
    line 3: score = score - 3; // take away 3
    line 4: score = score - 3; // take away 3
    line 5: show(score); // show it
    (a) line 3 (b) line 2 (c) line 4 (d) line 1
  29. 29.True or false: a website has a home-screen icon. (a) True (b) False
  30. 30.👆 The user taps the button 3 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 4) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  31. 31.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let score = 35; // start at 35
    line 2: score = score + 2; // double it
    line 3: score = score * 2; // double it
    line 4: show(score); // show it
  32. 32.🧩 In an app, what is tap to Send? (a) a screen (b) an input (c) a button (d) data
  33. 33.🔐 Which permission does a birthday list of friends really need? (a) contacts (b) location (c) the microphone (d) the camera
  34. 34.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(12));
  35. 35.👥 A school app has 260 students, 240 teachers and 35 parents as users. How many more students than parents are there?
  36. 36.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Badges”
    2. open “Badges”
    3. tap the Lessons tab
    4. tap the Me tab
    5. open “Map”
    How many times must you tap Back to reach the main screen of this tab?
  37. 37.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) set a reminder time (b) custom alert sounds (c) water animations (d) share your streak
  38. 38.🧪 What is the ACTUAL result of Test 2?
    🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 300) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(550) → expected 0
    Test 2: delivery(100) → expected 40
    Test 3: delivery(600) → expected 0
  39. 39.📱 Which one updates from the store: an app or a website? (a) an app (b) a website
  40. 40.♿ Does this help everyone, or make the app harder to use: strong colour contrast? (a) helps everyone (b) makes it harder

Answer key

  1. set a due date
  2. 5
  3. tap “Sign up”
  4. 51
  5. a tab bar
  6. False
  7. the button colours
  8. fast-flashing lights
  9. True
  10. adding up a bill
  11. 57
  12. reads the screen aloud
  13. tap “Start quiz”
  14. line 3
  15. makes it harder
  16. the people who use it
  17. 5
  18. True
  19. 18
  20. a final design
  21. Test 1
  22. missing a must-have
  23. an app
  24. change the bus icon
  25. a pop-up message
  26. a bug fix
  27. “I keep missing the bus”
  28. line 2
  29. False
  30. 3
  31. 140
  32. a button
  33. contacts
  34. 24
  35. 225
  36. 1
  37. set a reminder time
  38. 40
  39. an app
  40. helps everyone

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