← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 167 · 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 this course’s code, which sign tests “is equal to”? (a) !== (b) === (c) = (d) =>
  2. 2.🗒️ Version 1 of a pocket-money tracker must be ready in 6 days. How many days are left for extras after the must-haves?
    add money received: 1 days
    add money spent: 3 days
    show the balance: 2 days
  3. 3.🎯 Is this a user need or a feature: “What should I cook?”? (a) a user need (b) a feature
  4. 4.True or false: a pocket-money tracker is the best fit for a parent waiting at the bus stop. (a) False (b) True
  5. 5.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 43; // start at 40
    line 2: score = score + 3; // add 3
    line 3: score = score - 1; // take away 1
    line 4: show(score); // show it
  6. 6.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(4) + points(3));
  7. 7.True or false: a final design uses the final pictures. (a) False (b) True
  8. 8.🧪 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(400) → expected 0
    Test 3: delivery(350) → expected 40
  9. 9.💾 What does this code show? (Positions start at 0.)
    let songs = ["Stars", "Rain", "Kites"];
    show(songs[0]);
    (a) Stars (b) Rain (c) Kites
  10. 10.💾 In most code, the first item of a list is at position ___. (a) 10 (b) 2 (c) 0 (d) 1
  11. 11.🧪 What is the ACTUAL result of Test 1?
    🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 300) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(100) → expected 40
    Test 2: delivery(550) → expected 0
    Test 3: delivery(500) → expected 0
  12. 12.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Start button: 40 px tall
    Save button: 56 px tall
    Back button: 40 px tall
  13. 13.♿ What does a screen reader do? (a) reads the screen aloud (b) plays music (c) takes photos (d) makes text tiny
  14. 14.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let coins = 42; // start at 39
    line 2: coins = coins + 5; // add 5
    line 3: coins = coins * 2; // double it
    line 4: coins = coins - 5; // take away 5
    line 5: show(coins); // show it
  15. 15.💾 What does this code show? (Positions start at 0.)
    let friends = ["Zoya", "Riya", "Arjun", "Kabir", "Aman"];
    show(friends[3]);
    (a) Riya (b) Kabir (c) Zoya (d) Arjun
  16. 16.🗂️ What kind of app is a calculator? (a) a health app (b) a game (c) a learning app (d) a tool app
  17. 17.🗒️ Version 1 of a bus tracker must be ready in 10 days. How many days are left for extras after the must-haves?
    see where the bus is: 1 days
    show arrival time: 4 days
    pick your bus stop: 5 days
  18. 18.🔁 What is the LAST line this code shows?
    let names = ["Arjun", "Aman", "Zoya", "Kabir"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Kabir (b) Hi, Arjun (c) Hi, Aman (d) Hi, Zoya
  19. 19.Which of these is processing? (a) taking a photo (b) speaking a command (c) adding up a bill (d) a beep sound
  20. 20.🔢 When you make an app, which comes FIRST? (a) plan the screens (b) get an idea (c) test the app (d) release it
  21. 21.True or false: adding up a bill is an input. (a) False (b) True
  22. 22.🔀 What does this sign-up rule show?
    let age = 16;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  23. 23.📱 The word “app” is short for ___. (a) appointment (b) application (c) appetite (d) apparatus
  24. 24.💾 What number does this code show?
    let songs = ["Stars", "Rain"];
    songs.push("Sunrise");
    show(songs.length);
  25. 25.🎯 Is this a user need or a feature: “I keep missing the bus”? (a) a feature (b) a user need
  26. 26.🔘 Our rule: buttons are at least 48 px tall. The Done button is 24 px tall. How many px taller must it be?
  27. 27.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Cart → Confirm → Results → Pay → Shop → Pens
    Design B: Home → Cart → Address → Shop → Size
    (a) Design B (b) Design A
  28. 28.💡 Does an app idea like a page of random dots solve a real problem? (a) Yes (b) No
  29. 29.🔢 In a photo-post flow, which comes FIRST? (a) post the photo (b) open the camera screen (c) add a filter (d) take the photo
  30. 30.🗒️ A to-do app with no “add a task” feature is ___. (a) well planned (b) missing a must-have (c) ready to release (d) a nice extra
  31. 31.🔁 What number does this code show?
    let runs = [64, 51, 71];
    let count = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] >= 70) {
        count = count + 1;
      }
    }
    show(count);
  32. 32.🎯 Which app would help this user most: a child saving up for a cycle? (a) a recipe finder (b) a pocket-money tracker (c) a bus tracker (d) a homework planner
  33. 33.Which of these app ideas solves no real problem? (a) an app that just says hi (b) a free study-room finder (c) a medicine reminder (d) a lost-and-found board
  34. 34.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Address → Offers → Cart → Item
    Design B: Home → Size → Shop → Address
    (a) Design A (b) Design B
  35. 35.🔁 Why use a loop to show 100 messages? (a) less code to write (b) it hides them (c) it uses more lines (d) it is slower
  36. 36.🔍 Which is the odd one out? (a) a flashcard trainer (b) a spelling coach (c) a puzzle with levels (d) a times-table quiz
  37. 37.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 60;
    }
    show(fee(2) + fee(11));
  38. 38.🖼️ In this wireframe (top to bottom), what is right below the tab bar?
    [ tab bar ]
    [ Add button ]
    [ Save button ]
    [ filter buttons ]
    (a) filter buttons (b) Add button (c) Save button
  39. 39.Which of these fits saving in the cloud? (a) notes to read offline (b) a draft you are typing (c) photos on two devices (d) your last game level
  40. 40.🔀 What is a user flow? (a) a colour theme (b) the path through screens (c) a charging cable (d) a type of font

Answer key

  1. ===
  2. 0
  3. a user need
  4. False
  5. 45
  6. 80
  7. True
  8. 3
  9. Stars
  10. 0
  11. 40
  12. 1
  13. reads the screen aloud
  14. 83
  15. Kabir
  16. a tool app
  17. 0
  18. Hi, Kabir
  19. adding up a bill
  20. get an idea
  21. False
  22. Welcome!
  23. application
  24. 3
  25. a user need
  26. 24
  27. Design B
  28. No
  29. open the camera screen
  30. missing a must-have
  31. 1
  32. a pocket-money tracker
  33. an app that just says hi
  34. Design B
  35. less code to write
  36. a puzzle with levels
  37. 60
  38. Add button
  39. photos on two devices
  40. the path through screens

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