← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 325 · 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.🧪 How many of these test cases pass?
    🚚 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(500) → expected 0
    Test 2: delivery(150) → expected 40
    Test 3: delivery(350) → expected 0
  2. 2.🔢 In a quiz-app flow, which comes first: “pick an answer” or “see if it is right”? (a) pick an answer (b) see if it is right
  3. 3.♿ What does a screen reader do? (a) reads the screen aloud (b) takes photos (c) plays music (d) makes text tiny
  4. 4.🗒️ Version 1 of a homework planner must be ready in 6 days. How many days are left for extras after the must-haves?
    add a homework task: 1 days
    set a due date: 1 days
    see tasks by day: 4 days
  5. 5.Which of these is an input? (a) sorting the scores (b) speaking a command (c) a pop-up message (d) a result on screen
  6. 6.🔀 What is a user flow? (a) a type of font (b) a colour theme (c) the path through screens (d) a charging cable
  7. 7.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) savings stickers (b) add money spent (c) add money received (d) show the balance
  8. 8.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ top bar ]
    [ title text ]
    [ search box ]
    [ list of items ]
    [ Add button ]
    (a) top bar (b) list of items (c) title text (d) Add button
  9. 9.🧭 Tapping a tab usually takes you to ___. (a) the phone settings (b) a random page (c) the last app used (d) that tab’s main screen
  10. 10.🧪 How many of these test cases pass?
    🚚 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(750) → expected 40
    Test 3: delivery(950) → expected 0
  11. 11.True or false: a step counter is a health app. (a) True (b) False
  12. 12.💡 Does an app idea like a medicine reminder solve a real problem? (a) No (b) Yes
  13. 13.📱 Which one opens in a web browser: an app or a website? (a) an app (b) a website
  14. 14.♿ Why add captions to videos? (a) to hide the sound (b) to slow them down (c) to add colour (d) so anyone can follow
  15. 15.🗒️ Version 1 of a pocket-money tracker must be ready in 11 days. How many days are left for extras after the must-haves?
    add money received: 3 days
    add money spent: 2 days
    show the balance: 3 days
  16. 16.🧩 What does a button do when you tap it? (a) saves the battery (b) shows the time (c) changes the phone (d) starts an action
  17. 17.🎯 An app for “everyone” with no clear user usually ___. (a) helps nobody well (b) needs no testing (c) is easy to build (d) wins every prize
  18. 18.🧪 A test case is an input together with its ___. (a) expected result (b) screen colour (c) app icon (d) font size
  19. 19.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(4) + points(0));
  20. 20.True or false: a barcode scanner needs your location. (a) False (b) True
  21. 21.🎯 A short made-up profile of a typical user is called a ___. (a) pixel (b) persona (c) password (d) protocol
  22. 22.🔢 In a food-order flow, which comes FIRST? (a) pay for the order (b) add it to the cart (c) open the menu (d) check the cart
  23. 23.🗒️ The first small, working version of an app is often called an ___. (a) CPU (b) FAQ (c) URL (d) MVP
  24. 24.🧰 What does return do in a function? (a) closes the screen (b) sends back a value (c) repeats the code (d) deletes the app
  25. 25.🧰 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(3) + fee(3));
  26. 26.🔁 What number does this code show?
    let marks = [17, 13, 7, 7];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  27. 27.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Cart → Size → Pens
    Design B: Home → Address → Confirm → Size → Pens → Results
    (a) Design B (b) Design A
  28. 28.🔁 Why use a loop to show 100 messages? (a) it hides them (b) it uses more lines (c) it is slower (d) less code to write
  29. 29.💾 Data saved only on the phone is lost when ___. (a) you send a message (b) the screen turns off (c) the phone is lost (d) the app is closed
  30. 30.✏️ Is this true of a wireframe or of a final design: uses plain grey boxes? (a) a wireframe (b) a final design
  31. 31.🔢 When you make an app, which comes first: “release it” or “plan the screens”? (a) plan the screens (b) release it
  32. 32.💾 Saving data in the cloud lets you ___. (a) never need a password (b) use it on any device (c) shrink the app (d) skip the internet
  33. 33.🗒️ Version 1 of a bus tracker must be ready in 11 days. How many days are left for extras after the must-haves?
    see where the bus is: 2 days
    show arrival time: 1 days
    pick your bus stop: 2 days
  34. 34.True or false: space between buttons is poor button design. (a) True (b) False
  35. 35.🗂️ What kind of app is a puzzle with levels? (a) a game (b) a learning app (c) a health app (d) a tool app
  36. 36.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(8));
  37. 37.🔀 What number does this shop app show?
    let total = 420;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  38. 38.🔁 What is the LAST line this code shows?
    let names = ["Zoya", "Aman", "Arjun"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Aman (b) Hi, Zoya (c) Hi, Arjun
  39. 39.🔢 In a sign-up flow, which comes first: “tap “Sign up”” or “make a password”? (a) make a password (b) tap “Sign up”
  40. 40.True or false: how easy sign-up is is about UX (the experience). (a) False (b) True

Answer key

  1. 3
  2. pick an answer
  3. reads the screen aloud
  4. 0
  5. speaking a command
  6. the path through screens
  7. savings stickers
  8. Add button
  9. that tab’s main screen
  10. 3
  11. True
  12. Yes
  13. a website
  14. so anyone can follow
  15. 3
  16. starts an action
  17. helps nobody well
  18. expected result
  19. 50
  20. False
  21. persona
  22. open the menu
  23. MVP
  24. sends back a value
  25. 0
  26. 17
  27. Design A
  28. less code to write
  29. the phone is lost
  30. a wireframe
  31. plan the screens
  32. use it on any device
  33. 6
  34. False
  35. a game
  36. 16
  37. 420
  38. Hi, Arjun
  39. tap “Sign up”
  40. True

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