← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 257 · 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.🗒️ Version 1 of a homework planner must be ready in 15 days. How many days are left for extras after the must-haves?
    add a homework task: 1 days
    set a due date: 3 days
    see tasks by day: 5 days
  2. 2.💡 Does an app idea like a lost-and-found board solve a real problem? (a) Yes (b) No
  3. 3.📅 An app team plans for 2 days, builds for 9 days, tests for 1 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
  4. 4.🔀 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
  5. 5.🧩 Which part lets the user give the app information? (a) an icon (b) an input (c) a title (d) a logo
  6. 6.🔢 In a quiz-app flow, which comes LAST? (a) pick an answer (b) read a question (c) see the final score (d) tap “Start quiz”
  7. 7.🔢 In a food-order flow, which comes FIRST? (a) track the order (b) check the cart (c) pick a dish (d) open the menu
  8. 8.💾 Where should the app save a class leaderboard: on the phone or in the cloud? (a) in the cloud (b) on the phone
  9. 9.🔀 What does this PIN rule show?
    let pin = "65452";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  10. 10.Which of these is a user need? (a) a dark mode switch (b) a reminder alarm (c) a share button (d) “I keep missing the bus”
  11. 11.Which of these is a feature? (a) “Small text is hard” (b) “What should I cook?” (c) “I forget my homework” (d) a reminder alarm
  12. 12.⚙️ What number does this app show?
    let bill = 36; // typed by the user
    let friends = 3; // typed by the user
    let share = bill / friends;
    show(share);
  13. 13.Which of these is a button? (a) the home page of an app (b) the log-in page (c) tap to Save (d) your friends list
  14. 14.💡 Which app idea solves this problem: bottles go missing at school? (a) a homework planner (b) a bill splitter (c) a lost-and-found board (d) a medicine reminder
  15. 15.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Badges”
    2. tap Back
    3. open “Friend list”
    4. tap Back
    Which screen are you on now?
    (a) Feed (b) Badges (c) Chat (d) Friend list
  16. 16.True or false: a website has a home-screen icon. (a) False (b) True
  17. 17.🎯 Why learn about users before you build? (a) to build what they need (b) to make it longer (c) to pick a logo (d) to slow it down
  18. 18.Which of these is a feature? (a) “I keep missing the bus” (b) “What should I cook?” (c) “Small text is hard” (d) a search bar
  19. 19.💾 What number does this code show?
    let songs = ["Rain", "Stars", "Ocean"];
    songs.push("Sunrise");
    songs.push("Kites");
    show(songs.length);
  20. 20.🔁 What number does this code show?
    let runs = [13, 20, 11, 6];
    let best = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] > best) {
        best = runs[i];
      }
    }
    show(best);
  21. 21.🧪 How many of these test cases pass?
    🎟️ 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(19) → expected 100
    Test 2: price(16) → expected 100
    Test 3: price(11) → expected 50
  22. 22.Which of these happens at the build stage? (a) write the store text (b) put it on an app store (c) write the code (d) pick the features
  23. 23.Which of these happens at the build stage? (a) write down the bugs (b) pick the features (c) sketch the screens (d) add the buttons
  24. 24.👥 A cricket club app has 220 players, 200 coaches and 145 fans as users. How many users does it have in all?
  25. 25.👥 A cricket club app has 195 players, 65 coaches and 45 fans as users. Which user group is the biggest? (a) players (b) coaches (c) fans
  26. 26.🔁 What does a loop do? (a) deletes code (b) saves photos (c) repeats code (d) draws icons
  27. 27.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Aman"));
    (a) Hello, name! (b) greet (c) Hello, Aman! (d) Aman
  28. 28.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 36; // start at 36
    line 2: coins = coins + 5; // add 5
    line 3: coins = coins + 6; // add 6
    line 4: coins = coins - 3; // add 3
    line 5: show(coins); // show it
    (a) line 4 (b) line 1 (c) line 3 (d) line 2
  29. 29.🔀 Which badge does this quiz app show?
    let marks = 61;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Gold (b) Silver (c) Bronze
  30. 30.👆 Two designs for the same task (each arrow is one tap). How many taps does Design B need?
    Design A: Home → Pay → Confirm → Address → Menu → Results
    Design B: Home → Pens → Confirm → Item → Results
  31. 31.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(35, 6));
  32. 32.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money spent (b) show the balance (c) add money received (d) savings stickers
  33. 33.🛠️ At which stage do you share the download link? (a) the test stage (b) the idea stage (c) the build stage (d) the release stage
  34. 34.👥 A clinic app has 70 patients, 300 doctors and 45 nurses as users. Which user group is the biggest? (a) nurses (b) patients (c) doctors
  35. 35.Which of these fits saving in the cloud? (a) photos on two devices (b) a draft you are typing (c) your last game level (d) the sound on/off setting
  36. 36.Which of these is true of an app? (a) has a web address (b) opens in a web browser (c) opens from a link (d) is installed on a phone
  37. 37.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(2) + points(0));
  38. 38.🧰 What is a function? (a) a named block of code (b) a list of colours (c) a type of phone (d) a screen size
  39. 39.🧪 What is the ACTUAL result of Test 3?
    🚚 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(600) → expected 0
    Test 2: delivery(350) → expected 40
    Test 3: delivery(400) → expected 0
  40. 40.💡 Which app idea solves this problem: nobody knows whose bag it is? (a) a bill splitter (b) a lost-and-found board (c) a study-room finder (d) a medicine reminder

Answer key

  1. 6
  2. Yes
  3. 11
  4. Ask a parent
  5. an input
  6. see the final score
  7. open the menu
  8. in the cloud
  9. Use 4 digits
  10. “I keep missing the bus”
  11. a reminder alarm
  12. 12
  13. tap to Save
  14. a lost-and-found board
  15. Feed
  16. False
  17. to build what they need
  18. a search bar
  19. 5
  20. 20
  21. 3
  22. write the code
  23. add the buttons
  24. 565
  25. players
  26. repeats code
  27. Hello, Aman!
  28. line 4
  29. Silver
  30. 4
  31. 210
  32. savings stickers
  33. the release stage
  34. doctors
  35. photos on two devices
  36. is installed on a phone
  37. 30
  38. a named block of code
  39. 0
  40. a lost-and-found board

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