← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 708 · 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 quiz app. Which feature can WAIT for a later version? (a) check the answer (b) show a question (c) an avatar shop (d) show the score
  2. 2.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Offers → Menu → Search → Shop → Confirm → Address
    Design B: Home → Item → Pay
    (a) Design B (b) Design A
  3. 3.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Done button: 60 px tall
    Cancel button: 44 px tall
    Back button: 64 px tall
    Send button: 64 px tall
  4. 4.🎯 What is the best first step to learn what users need? (a) pick the colours (b) guess on your own (c) ask and watch users (d) write the code
  5. 5.🧰 What does this code show?
    function greet(name) {
      return "Well done, " + name + "!";
    }
    show(greet("Kabir"));
    (a) greet (b) Well done, Kabir! (c) Well done, name! (d) Kabir
  6. 6.🧰 In function tip(bill), what is bill? (a) a parameter (b) a screen (c) a loop (d) an event
  7. 7.🔢 In a quiz-app flow, which comes LAST? (a) read a question (b) tap “Start quiz” (c) see if it is right (d) see the final score
  8. 8.🔢 When you make an app, which comes FIRST? (a) test the app (b) release it (c) get an idea (d) build the app
  9. 9.🔀 What does this battery rule show?
    let battery = 98;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  10. 10.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 400) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(700) → expected 0
    Test 2: delivery(200) → expected 40
    Test 3: delivery(600) → expected 0
  11. 11.🔍 Which is the odd one out? (a) captions on videos (b) tiny tap areas (c) text that can grow (d) strong colour contrast
  12. 12.🎨 Fewer taps to finish a task usually means ___. (a) worse UX (b) more colours (c) better UX (d) a bigger app
  13. 13.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) rate the driver (b) pick your bus stop (c) show arrival time (d) see where the bus is
  14. 14.✏️ Is this true of a wireframe or of a final design: shows the real fonts? (a) a wireframe (b) a final design
  15. 15.Which of these is a feature? (a) “Small text is hard” (b) a search bar (c) “What should I cook?” (d) “I keep missing the bus”
  16. 16.True or false: your friends list is a screen. (a) True (b) False
  17. 17.🔍 Which is the odd one out? (a) the font size (b) the theme colours (c) how many taps it takes (d) the icon shapes
  18. 18.🧪 What is the ACTUAL result of Test 3?
    🎟️ 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(12) → expected 50
    Test 2: price(20) → expected 100
    Test 3: price(21) → expected 100
  19. 19.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let coins = 31; // start at 30
    line 2: coins = coins - 1; // take away 1
    line 3: coins = coins - 1; // take away 1
    line 4: show(coins); // show it
  20. 20.Which of these is an input? (a) a pop-up message (b) checking a password (c) taking a photo (d) a buzz (vibration)
  21. 21.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) log a glass of water (b) custom alert sounds (c) see today’s total (d) set a reminder time
  22. 22.👆 The user taps the button 5 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) OFF (b) ON
  23. 23.🔍 Which is the odd one out? (a) the font size (b) the icon shapes (c) the theme colours (d) how fast a task is done
  24. 24.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Cancel button: 40 px tall
    Help button: 36 px tall
    Back button: 40 px tall
  25. 25.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 800) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(800) → expected 0
    Test 2: delivery(650) → expected 40
    Test 3: delivery(1050) → expected 0
    (a) Test 3 (b) Test 1 (c) Test 2
  26. 26.Which of these is about UX (the experience)? (a) the screen layout (b) the font size (c) how many taps it takes (d) the theme colours
  27. 27.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Edit photo”
    2. open “Help page”
    3. open “Friend list”
    Which screen are you on now?
    (a) Edit photo (b) Friend list (c) Feed (d) Help page
  28. 28.Which of these is true of a website? (a) updates from the store (b) opens in a web browser (c) comes from an app store (d) has a home-screen icon
  29. 29.Which of these requests is fair? (a) torch → contacts (b) voice notes → microphone (c) quiz app → microphone (d) timer → your photos
  30. 30.🚀 Which version is newer: 2.10.1 or 2.8.3? (a) 2.10.1 (b) 2.8.3
  31. 31.🔍 Which is the odd one out? (a) the button colours (b) how easy sign-up is (c) how many taps it takes (d) how fast a task is done
  32. 32.🎯 An app for “everyone” with no clear user usually ___. (a) wins every prize (b) is easy to build (c) helps nobody well (d) needs no testing
  33. 33.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    forgetting birthdays: 14 votes
    missing the bus: 8 votes
    no quiet study place: 21 votes
    (a) forgetting birthdays (b) no quiet study place (c) missing the bus
  34. 34.🧰 What does return do in a function? (a) closes the screen (b) repeats the code (c) sends back a value (d) deletes the app
  35. 35.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(3) + points(1));
  36. 36.💡 Which app idea solves this problem: projects pile up at once? (a) a homework planner (b) a bill splitter (c) a study-room finder (d) a medicine reminder
  37. 37.True or false: a pop-up message is an output. (a) False (b) True
  38. 38.True or false: you try every button at the test stage. (a) True (b) False
  39. 39.🗒️ Version 1 of a homework planner must be ready in 11 days. How many days are left for extras after the must-haves?
    add a homework task: 4 days
    set a due date: 1 days
    see tasks by day: 4 days
  40. 40.🔁 What number does this code show?
    let steps = [20, 15, 13];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);

Answer key

  1. an avatar shop
  2. Design B
  3. 3
  4. ask and watch users
  5. Well done, Kabir!
  6. a parameter
  7. see the final score
  8. get an idea
  9. Battery OK
  10. 3
  11. tiny tap areas
  12. better UX
  13. rate the driver
  14. a final design
  15. a search bar
  16. False
  17. how many taps it takes
  18. 100
  19. 28
  20. taking a photo
  21. custom alert sounds
  22. ON
  23. how fast a task is done
  24. 0
  25. Test 1
  26. how many taps it takes
  27. Friend list
  28. opens in a web browser
  29. voice notes → microphone
  30. 2.10.1
  31. the button colours
  32. helps nobody well
  33. no quiet study place
  34. sends back a value
  35. 50
  36. a homework planner
  37. True
  38. True
  39. 2
  40. 48

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