← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 439 · 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.⚙️ What number does this app show?
    let bill = 345; // typed by the user
    let friends = 5; // typed by the user
    let share = bill / friends;
    show(share);
  2. 2.True or false: you connect the data at the build stage. (a) True (b) False
  3. 3.True or false: a bus tracker is the best fit for a student who often misses the school bus. (a) True (b) False
  4. 4.🔁 What does a loop do? (a) saves photos (b) repeats code (c) draws icons (d) deletes code
  5. 5.📱 Which one is installed on a phone: an app or a website? (a) a website (b) an app
  6. 6.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 1, 2, 3 (b) 3 (c) 0, 1, 2 (d) 0, 1, 2, 3
  7. 7.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 37; // start at 37
    line 2: lives = lives + 8; // add 6
    line 3: lives = lives - 4; // take away 4
    line 4: lives = lives + 4; // add 4
    line 5: show(lives); // show it
    (a) line 4 (b) line 1 (c) line 2 (d) line 3
  8. 8.🧪 What is the actual result of a test? (a) the app’s name (b) the test’s number (c) what we hope for (d) what the app really does
  9. 9.✏️ What is the easiest way to draw a first wireframe? (a) pencil and paper (b) a microphone (c) a 3D printer (d) a phone case
  10. 10.💡 Which app idea solves this problem: a team shares one snack bill? (a) a study-room finder (b) a homework planner (c) a bill splitter (d) a lost-and-found board
  11. 11.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) confetti effects (b) check the answer (c) an avatar shop (d) background music
  12. 12.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] New Note
    [slider] Text size
    [text box] Due date
    [button] Done
    [text box] Subject
    [button] Next
  13. 13.🔍 Which is the odd one out? (a) a step counter (b) a calculator (c) a water reminder (d) a sleep tracker
  14. 14.⚙️ In an app, is working out a tip an input, processing or an output? (a) input (b) output (c) processing
  15. 15.♿ A screen has 9 icon buttons. Only 8 of them have a text label for screen readers. How many still need a label?
  16. 16.Which of these requests is fair? (a) map app → location (b) quiz app → microphone (c) timer → your photos (d) calculator → location
  17. 17.🧭 Which part of navigation sits at the bottom? (a) a menu button (b) the back button (c) a tab bar
  18. 18.True or false: buttons almost touching is poor button design. (a) True (b) False
  19. 19.🔢 In a photo-post flow, which comes first: “open the camera screen” or “take the photo”? (a) open the camera screen (b) take the photo
  20. 20.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
    function price(age) {
      if (age <= 10) {
        return 50;
      }
      return 100;
    }
    Test 1: price(11) → expected 100
    Test 2: price(7) → expected 50
    Test 3: price(10) → expected 100
    (a) Test 2 (b) Test 1 (c) Test 3
  21. 21.📱 Which one updates from the store: an app or a website? (a) a website (b) an app
  22. 22.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 37; // start at 35
    line 2: score = score + 6; // add 6
    line 3: score = score * 2; // double it
    line 4: score = score + 6; // add 6
    line 5: show(score); // show it
  23. 23.True or false: the user presses Save is a timer event. (a) False (b) True
  24. 24.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let points = 42; // start at 40
    line 2: points = points * 2; // double it
    line 3: points = points + 2; // add 2
    line 4: points = points + 6; // add 6
    line 5: show(points); // show it
  25. 25.💡 A good app idea starts with ___. (a) a long name (b) a problem to solve (c) a cool logo (d) many colours
  26. 26.🧰 What does this code show?
    function greet(name) {
      return "Welcome, " + name + "!";
    }
    show(greet("Arjun"));
    (a) greet (b) Welcome, name! (c) Arjun (d) Welcome, Arjun!
  27. 27.Which of these helps everyone use the app? (a) big touch targets (b) tiny tap areas (c) icons with no labels (d) sudden loud sounds
  28. 28.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 49; // start at 48
    line 2: points = points - 2; // take away 2
    line 3: points = points - 3; // take away 3
    line 4: points = points - 5; // take away 5
    line 5: show(points); // show it
    (a) line 1 (b) line 2 (c) line 4 (d) line 3
  29. 29.📅 An app team plans for 5 days, builds for 10 days, tests for 1 days and releases on 1 more day. How many more days does building take than testing?
  30. 30.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    missing the bus: 18 votes
    no quiet study place: 4 votes
    forgetting birthdays: 23 votes
    (a) forgetting birthdays (b) no quiet study place (c) missing the bus
  31. 31.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) set a reminder time (b) log a glass of water (c) see today’s total (d) share your streak
  32. 32.🔐 Is this permission request fair or too much: calculator → location? (a) fair (b) too much
  33. 33.👆 The user taps the button 7 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
  34. 34.👥 A clinic app has 65 patients, 115 doctors and 240 nurses as users. How many users does it have in all?
  35. 35.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Hint: 12 px
    Body text: 18 px
    Label: 20 px
    Footer: 21 px
    (a) Footer (b) Hint (c) Label (d) Body text
  36. 36.🔀 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
  37. 37.🧩 In an app, what is a box to type a name? (a) data (b) a screen (c) an input (d) a button
  38. 38.🔍 Which is the odd one out? (a) taking a photo (b) typing your age (c) tapping a button (d) adding up a bill
  39. 39.🔀 In this course’s code, which sign tests “is equal to”? (a) !== (b) => (c) === (d) =
  40. 40.🔁 What number does this code show?
    let runs = [7, 1, 1];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);

Answer key

  1. 69
  2. True
  3. True
  4. repeats code
  5. an app
  6. 0, 1, 2
  7. line 2
  8. what the app really does
  9. pencil and paper
  10. a bill splitter
  11. check the answer
  12. 3
  13. a calculator
  14. processing
  15. 1
  16. map app → location
  17. a tab bar
  18. True
  19. open the camera screen
  20. Test 3
  21. an app
  22. 92
  23. False
  24. 92
  25. a problem to solve
  26. Welcome, Arjun!
  27. big touch targets
  28. line 1
  29. 9
  30. forgetting birthdays
  31. share your streak
  32. too much
  33. ON
  34. 420
  35. Hint
  36. Ask a parent
  37. an input
  38. adding up a bill
  39. ===
  40. 9

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