← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 537 · 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.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 41; // start at 41
    line 2: lives = lives + 2; // double it
    line 3: lives = lives + 6; // add 6
    line 4: lives = lives - 1; // take away 1
    line 5: show(lives); // show it
    (a) line 3 (b) line 2 (c) line 4 (d) line 1
  2. 2.Which of these requests asks for too much? (a) voice notes → microphone (b) map app → location (c) torch → contacts (d) camera app → camera
  3. 3.🧪 What is the ACTUAL result of Test 3?
    🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
    function price(age) {
      if (age < 8) {
        return 50;
      }
      return 100;
    }
    Test 1: price(8) → expected 100
    Test 2: price(10) → expected 100
    Test 3: price(5) → expected 50
  4. 4.🧭 Why should every screen show where you are? (a) to look busy (b) so users do not get lost (c) to hide the menu (d) to use more battery
  5. 5.🎯 Is this a user need or a feature: a search bar? (a) a feature (b) a user need
  6. 6.🔁 list.length tells you ___. (a) the biggest item (b) the first item (c) how many items it has (d) the last item
  7. 7.🔢 After an app is released, what comes right after “fix and improve”? (a) test it again (b) release an update (c) read user reviews (d) list what to fix
  8. 8.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    no quiet study place: 24 votes
    missing the bus: 8 votes
    wasting pocket money: 14 votes
    (a) missing the bus (b) wasting pocket money (c) no quiet study place
  9. 9.True or false: whether users get lost is about UX (the experience). (a) False (b) True
  10. 10.✏️ What is a wireframe? (a) a type of password (b) the finished app (c) a charging cable (d) a simple screen sketch
  11. 11.🔢 In a quiz-app flow, which comes FIRST? (a) read a question (b) see if it is right (c) tap “Start quiz” (d) pick an answer
  12. 12.🧩 Which part lets the user give the app information? (a) an input (b) an icon (c) a title (d) a logo
  13. 13.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(20, 6));
  14. 14.🧪 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(1100) → expected 0
    Test 2: delivery(800) → expected 0
    Test 3: delivery(700) → expected 40
    (a) Test 2 (b) Test 3 (c) Test 1
  15. 15.True or false: today’s step count is data. (a) False (b) True
  16. 16.Which of these happens at the idea stage? (a) let friends try it (b) write the code (c) sketch the screens (d) list what users need
  17. 17.🔀 In this course’s code, which sign tests “is equal to”? (a) => (b) = (c) === (d) !==
  18. 18.True or false: a wireframe has no real colours. (a) False (b) True
  19. 19.True or false: a box to type a name is an input. (a) False (b) True
  20. 20.True or false: a buzz (vibration) is an input. (a) True (b) False
  21. 21.🔁 What number does this code show?
    let marks = [11, 3, 14, 19];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  22. 22.True or false: a step counter is a game. (a) False (b) True
  23. 23.🔀 What does this sign-up rule show?
    let age = 14;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  24. 24.💡 A good app idea starts with ___. (a) a problem to solve (b) many colours (c) a cool logo (d) a long name
  25. 25.🧩 Which of these is a button on this screen?
    [title] Order Snacks
    [text box] Notes
    [slider] Brightness
    [button] Back
    (a) Brightness (b) Notes (c) Back
  26. 26.📅 An app team plans for 2 days, builds for 6 days, tests for 1 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
  27. 27.💾 What number does this code show?
    let points = 9;
    points = points - 3;
    points = points + 3;
    show(points);
  28. 28.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Caption: 22 px
    Menu: 11 px
    Title: 22 px
    Label: 12 px
  29. 29.🔢 In a sign-up flow, what comes right after “type name and email”? (a) make a password (b) tap “Sign up” (c) see the home screen (d) open the app
  30. 30.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let points = 40; // start at 40
    line 2: points = points + 2; // double it
    line 3: points = points * 2; // double it
    line 4: show(points); // show it
  31. 31.Which of these is about UI (the look)? (a) how many taps it takes (b) the button colours (c) how users feel after (d) how fast a task is done
  32. 32.Which colour pair is easy to read? (a) red on green (b) dark blue on white (c) dark blue on black (d) yellow on white
  33. 33.True or false: a calculator is a tool app. (a) False (b) True
  34. 34.Which of these is true of an app? (a) needs no installing (b) is installed on a phone (c) opens in a web browser (d) opens from a link
  35. 35.🎯 Which app would help this user most: a pupil juggling five projects? (a) a big-text reader (b) a homework planner (c) a water reminder (d) a bus tracker
  36. 36.🧭 Which part of navigation hides extra links? (a) the back button (b) a menu button (c) a tab bar
  37. 37.Which of these is a feature? (a) “Small text is hard” (b) “What should I cook?” (c) “I keep missing the bus” (d) a search bar
  38. 38.👥 A library app has 85 readers, 120 librarians and 200 volunteers as users. Which user group is the biggest? (a) librarians (b) readers (c) volunteers
  39. 39.💾 What number does this code show?
    let coins = 8;
    coins = coins - 1;
    coins = coins + 5;
    show(coins);
  40. 40.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 45; // start at 45
    line 2: score = score + 2; // add 2
    line 3: score = score + 3; // add 3
    line 4: score = score + 5; // add 4
    line 5: show(score); // show it
    (a) line 2 (b) line 4 (c) line 1 (d) line 3

Answer key

  1. line 2
  2. torch → contacts
  3. 50
  4. so users do not get lost
  5. a feature
  6. how many items it has
  7. test it again
  8. no quiet study place
  9. True
  10. a simple screen sketch
  11. tap “Start quiz”
  12. an input
  13. 120
  14. Test 2
  15. True
  16. list what users need
  17. ===
  18. True
  19. True
  20. False
  21. 47
  22. False
  23. Welcome!
  24. a problem to solve
  25. Back
  26. 8
  27. 9
  28. 2
  29. make a password
  30. 160
  31. the button colours
  32. dark blue on white
  33. True
  34. is installed on a phone
  35. a homework planner
  36. a menu button
  37. a search bar
  38. volunteers
  39. 12
  40. line 4

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