← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 330 · 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.⚙️ In an app, is a beep sound an input, processing or an output? (a) processing (b) input (c) output
  2. 2.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) set a reminder time (b) see today’s total (c) log a glass of water (d) share your streak
  3. 3.👥 A school app has 155 students, 255 teachers and 150 parents as users. How many users does it have in all?
  4. 4.🎯 Which app would help this user most: a teen whose money runs out by Friday? (a) a pocket-money tracker (b) a big-text reader (c) a water reminder (d) a bus tracker
  5. 5.🧭 Which part of navigation hides extra links? (a) a menu button (b) the back button (c) a tab bar
  6. 6.🔀 Which badge does this quiz app show?
    let marks = 98;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Bronze (b) Silver (c) Gold
  7. 7.Which of these is a feature? (a) “I keep missing the bus” (b) a reminder alarm (c) “What should I cook?” (d) “Small text is hard”
  8. 8.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) share tasks to friends (b) see tasks by day (c) earn stickers (d) pick a theme colour
  9. 9.🗒️ 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: 1 days
    check the answer: 2 days
    show the score: 3 days
  10. 10.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 48; // start at 46
    line 2: points = points * 2; // double it
    line 3: points = points - 4; // take away 4
    line 4: points = points + 2; // add 2
    line 5: show(points); // show it
    (a) line 2 (b) line 4 (c) line 1 (d) line 3
  11. 11.True or false: a clear word like Save is good button design. (a) False (b) True
  12. 12.🔁 What number does this code show?
    let scores = [54, 96, 43];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  13. 13.🔁 What does a loop do? (a) saves photos (b) repeats code (c) draws icons (d) deletes code
  14. 14.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Next button: 60 px tall
    Cancel button: 40 px tall
    Start button: 64 px tall
  15. 15.👆 The user taps the button 1 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
  16. 16.🛠️ At which stage do you sketch the screens? (a) the plan stage (b) the idea stage (c) the test stage (d) the build stage
  17. 17.🗒️ Version 1 of a pocket-money tracker must be ready in 9 days. How many days are left for extras after the must-haves?
    add money received: 4 days
    add money spent: 1 days
    show the balance: 3 days
  18. 18.Which of these is a screen? (a) today’s step count (b) the home page of an app (c) tap to Save (d) your friends list
  19. 19.True or false: a puzzle with levels is a game. (a) True (b) False
  20. 20.🧩 How many buttons does this app screen have?
    [title] New Note
    [slider] Brightness
    [text box] Age
    [button] Cancel
    [button] Send
    [text box] Phone
    [text box] Due date
    [button] Done
  21. 21.🔁 What number does this code show?
    let steps = [1, 2, 8];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);
  22. 22.🔢 In a sign-up flow, which comes first: “type name and email” or “make a password”? (a) make a password (b) type name and email
  23. 23.🧰 What does this code show?
    function greet(name) {
      return "Well done, " + name + "!";
    }
    show(greet("Riya"));
    (a) Riya (b) greet (c) Well done, Riya! (d) Well done, name!
  24. 24.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 41; // start at 41
    line 2: coins = coins - 2; // take away 1
    line 3: coins = coins * 2; // double it
    line 4: show(coins); // show it
    (a) line 1 (b) line 3 (c) line 2
  25. 25.👥 A cricket club app has 95 players, 130 coaches and 145 fans as users. How many more coaches than players are there?
  26. 26.🔐 Is this permission request fair or too much: calling app → contacts? (a) too much (b) fair
  27. 27.Which of these fits saving in the cloud? (a) your last game level (b) notes to read offline (c) photos on two devices (d) a draft you are typing
  28. 28.💾 What number does this code show?
    let friends = ["Kabir", "Aman", "Arjun", "Meera"];
    friends.push("Zoya");
    show(friends.length);
  29. 29.🔀 What does this sign-up rule show?
    let age = 11;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  30. 30.🧪 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(13) → expected 50
    Test 3: price(20) → expected 100
    (a) Test 3 (b) Test 2 (c) Test 1
  31. 31.True or false: a times-table quiz is a game. (a) True (b) False
  32. 32.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 1, 2, 3 (b) 3 (c) 0, 1, 2, 3 (d) 0, 1, 2
  33. 33.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 20;
    }
    show(fee(8) + fee(10));
  34. 34.🚀 What should an app ask for only when it really needs it? (a) a font (b) a permission (c) its name (d) its icon
  35. 35.True or false: a pocket-money tracker is the best fit for a teen whose money runs out by Friday. (a) False (b) True
  36. 36.✏️ Do wireframes usually show the final colours? (a) No (b) Yes
  37. 37.🧩 Which of these is a button on this screen?
    [title] Sign Up
    [button] Save
    [text box] Notes
    [text box] Due date
    (a) Notes (b) Due date (c) Save
  38. 38.🔀 What does this battery rule show?
    let battery = 70;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  39. 39.🧩 In an app, what is tap to Start? (a) a screen (b) data (c) an input (d) a button
  40. 40.🚀 In version 2.5.1, which number is the major version? (a) 1 (b) 251 (c) 5 (d) 2

Answer key

  1. output
  2. share your streak
  3. 560
  4. a pocket-money tracker
  5. a menu button
  6. Gold
  7. a reminder alarm
  8. see tasks by day
  9. 4
  10. line 1
  11. True
  12. 3
  13. repeats code
  14. 2
  15. ON
  16. the plan stage
  17. 1
  18. the home page of an app
  19. True
  20. 3
  21. 11
  22. type name and email
  23. Well done, Riya!
  24. line 2
  25. 35
  26. fair
  27. photos on two devices
  28. 5
  29. Ask a parent
  30. Test 1
  31. False
  32. 0, 1, 2
  33. 40
  34. a permission
  35. True
  36. No
  37. Save
  38. Battery OK
  39. a button
  40. 2

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