← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 142 · 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 is the odd one out? (a) tiny tap areas (b) colour as the only clue (c) icons with no labels (d) text that can grow
  2. 2.🔍 Which is the odd one out? (a) typing your age (b) taking a photo (c) speaking a command (d) adding up a bill
  3. 3.🌗 Is pale pink on white easy or hard to read on a button? (a) hard to read (b) easy to read
  4. 4.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let points = 41; // start at 40
    line 2: points = points - 4; // take away 4
    line 3: points = points - 5; // take away 5
    line 4: show(points); // show it
  5. 5.True or false: a barcode scanner needs the microphone. (a) True (b) False
  6. 6.True or false: notes to read offline fits saving on the phone. (a) True (b) False
  7. 7.📱 Which one opens in a web browser: an app or a website? (a) a website (b) an app
  8. 8.🔐 Is this permission request fair or too much: calling app → contacts? (a) fair (b) too much
  9. 9.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 31; // start at 30
    line 2: lives = lives + 3; // add 3
    line 3: lives = lives * 2; // double it
    line 4: show(lives); // show it
    (a) line 1 (b) line 3 (c) line 2
  10. 10.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(50, 6));
  11. 11.True or false: you pick the features at the idea stage. (a) False (b) True
  12. 12.Which of these is an input? (a) a buzz (vibration) (b) adding up a bill (c) a pop-up message (d) typing your age
  13. 13.🚀 Which of these versions is the NEWEST?
    0.25.2, 1.18.3, 1.2.7, 1.9.1
    (a) 1.2.7 (b) 1.9.1 (c) 1.18.3 (d) 0.25.2
  14. 14.Which of these helps everyone use the app? (a) icons with no labels (b) fast-flashing lights (c) tiny tap areas (d) big touch targets
  15. 15.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(40));
  16. 16.True or false: a spelling coach is a health app. (a) False (b) True
  17. 17.📅 An app team plans for 5 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?
  18. 18.True or false: a final design uses plain grey boxes. (a) False (b) True
  19. 19.💾 Which can hold many values in order? (a) a list (b) a switch (c) a single number (d) a button
  20. 20.True or false: a bus tracker needs your location. (a) False (b) True
  21. 21.🔍 Which is the odd one out? (a) the button colours (b) how easy sign-up is (c) the icon shapes (d) the screen layout
  22. 22.👆 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
  23. 23.True or false: an app needs no installing. (a) True (b) False
  24. 24.🗒️ Version 1 of a homework planner must be ready in 15 days. How many days are left for extras after the must-haves?
    add a homework task: 1 days
    set a due date: 3 days
    see tasks by day: 5 days
  25. 25.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 11, and 100 for everyone else.
    function price(age) {
      if (age <= 11) {
        return 50;
      }
      return 100;
    }
    Test 1: price(12) → expected 100
    Test 2: price(11) → expected 100
    Test 3: price(9) → expected 50
    (a) Test 2 (b) Test 3 (c) Test 1
  26. 26.🎯 Is this a user need or a feature: “I forget my homework”? (a) a user need (b) a feature
  27. 27.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Pens → Size → Shop
    Design B: Home → Menu → Pens → Size → Results → Cart → Item
  28. 28.♿ Why add captions to videos? (a) to add colour (b) to hide the sound (c) so anyone can follow (d) to slow them down
  29. 29.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Settings
    [text box] Email
    [button] Start
  30. 30.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 5 or more right answers.
    function result(right) {
      if (right >= 5) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(7) → expected Pass
    Test 2: result(3) → expected Try again
    Test 3: result(5) → expected Pass
  31. 31.True or false: your last game level fits saving in the cloud. (a) True (b) False
  32. 32.Which of these is a user need? (a) a search bar (b) a reminder alarm (c) a share button (d) “I forget my homework”
  33. 33.Which of these is about UX (the experience)? (a) the screen layout (b) the button colours (c) how users feel after (d) the theme colours
  34. 34.🔢 When you make an app, which comes first: “release it” or “build the app”? (a) release it (b) build the app
  35. 35.💾 Where should the app save photos on two devices: on the phone or in the cloud? (a) on the phone (b) in the cloud
  36. 36.🧰 What does this code show?
    function greet(name) {
      return "Welcome, " + name + "!";
    }
    show(greet("Riya"));
    (a) Welcome, Riya! (b) Welcome, name! (c) Riya (d) greet
  37. 37.🔍 Which is the odd one out? (a) write down the bugs (b) share the download link (c) write the store text (d) put it on an app store
  38. 38.🖼️ How many parts (boxes) does this wireframe have?
    [ top bar ]
    [ tab bar ]
    [ Save button ]
    [ search box ]
    [ big picture ]
  39. 39.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) water animations (b) custom alert sounds (c) set a reminder time (d) share your streak
  40. 40.🔁 What is the LAST line this code shows?
    let names = ["Meera", "Zoya", "Kabir"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Zoya (b) Hi, Kabir (c) Hi, Meera

Answer key

  1. text that can grow
  2. adding up a bill
  3. hard to read
  4. 32
  5. False
  6. True
  7. a website
  8. fair
  9. line 1
  10. 300
  11. False
  12. typing your age
  13. 1.18.3
  14. big touch targets
  15. 80
  16. False
  17. 10
  18. False
  19. a list
  20. True
  21. how easy sign-up is
  22. OFF
  23. False
  24. 6
  25. Test 2
  26. a user need
  27. 3
  28. so anyone can follow
  29. 1
  30. 3
  31. False
  32. “I forget my homework”
  33. how users feel after
  34. build the app
  35. in the cloud
  36. Welcome, Riya!
  37. write down the bugs
  38. 5
  39. set a reminder time
  40. Hi, Kabir

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