← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 835 · 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.💡 Which app idea solves this problem: bottles go missing at school? (a) a bill splitter (b) a homework planner (c) a medicine reminder (d) a lost-and-found board
  2. 2.🔢 In a food-order flow, which comes FIRST? (a) open the menu (b) add it to the cart (c) track the order (d) pick a dish
  3. 3.🧪 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(300) → expected 0
    Test 2: delivery(150) → expected 40
    Test 3: delivery(600) → expected 0
  4. 4.💾 What does this code show? (Positions start at 0.)
    let notes = ["Music", "Hindi", "Maths", "Science", "Sports"];
    show(notes[4]);
    (a) Music (b) Sports (c) Maths (d) Hindi
  5. 5.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Results → Offers → Search → Size → Pay
    Design B: Home → Search → Menu → Cart
  6. 6.True or false: your last game level fits saving in the cloud. (a) False (b) True
  7. 7.🔍 Which is the odd one out? (a) tiny tap areas (b) fast-flashing lights (c) captions on videos (d) sudden loud sounds
  8. 8.True or false: checking a password is an output. (a) False (b) True
  9. 9.♿ Does this help everyone, or make the app harder to use: text that can grow? (a) makes it harder (b) helps everyone
  10. 10.True or false: a water reminder is the best fit for a gamer who forgets to drink. (a) True (b) False
  11. 11.🔁 What number does this code show?
    let runs = [5, 13, 12, 3];
    let best = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] > best) {
        best = runs[i];
      }
    }
    show(best);
  12. 12.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
    function price(age) {
      if (age < 9) {
        return 50;
      }
      return 100;
    }
    Test 1: price(9) → expected 100
    Test 2: price(12) → expected 100
    Test 3: price(6) → expected 50
  13. 13.🗒️ A to-do app with no “add a task” feature is ___. (a) missing a must-have (b) a nice extra (c) ready to release (d) well planned
  14. 14.🎯 Which app would help this user most: a teen whose money runs out by Friday? (a) a pocket-money tracker (b) a water reminder (c) a homework planner (d) a big-text reader
  15. 15.🧪 What is the ACTUAL result of Test 2?
    🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
    function price(age) {
      if (age <= 10) {
        return 50;
      }
      return 100;
    }
    Test 1: price(17) → expected 100
    Test 2: price(15) → expected 100
    Test 3: price(8) → expected 50
  16. 16.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(45, 6));
  17. 17.🎯 Who are the users of an app? (a) only the coders (b) only the testers (c) the app icons (d) the people who use it
  18. 18.🔢 In a food-order flow, which comes first: “pick a dish” or “pay for the order”? (a) pick a dish (b) pay for the order
  19. 19.🔐 Is this permission request fair or too much: calling app → contacts? (a) fair (b) too much
  20. 20.True or false: typing your age is an input. (a) False (b) True
  21. 21.🔁 What number does this code show?
    let scores = [1, 20, 9, 12, 5];
    let best = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] > best) {
        best = scores[i];
      }
    }
    show(best);
  22. 22.🔁 What number does this code show?
    let scores = [19, 17, 14, 3];
    let best = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] > best) {
        best = scores[i];
      }
    }
    show(best);
  23. 23.💾 pop() takes off the last item. What does this code show?
    let friends = ["Kabir", "Meera", "Zoya"];
    friends.pop();
    show(friends[friends.length - 1]);
    (a) Zoya (b) Meera (c) Kabir
  24. 24.🧪 A test fails when ___. (a) actual is not expected (b) the font is big (c) the app is new (d) both are the same
  25. 25.👥 A school app has 290 students, 245 teachers and 185 parents as users. Which user group is the biggest? (a) students (b) teachers (c) parents
  26. 26.🔀 What does if / else let an app do? (a) save a photo (b) repeat forever (c) draw a screen (d) pick one of two actions
  27. 27.🔀 What does this sign-up rule show?
    let age = 12;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  28. 28.🔀 What does this sign-up rule show?
    let age = 17;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  29. 29.True or false: one second passes is a tap event. (a) True (b) False
  30. 30.👥 A school app has 75 students, 180 teachers and 230 parents as users. Which user group is the biggest? (a) parents (b) students (c) teachers
  31. 31.👥 A school app has 150 students, 180 teachers and 55 parents as users. Which user group is the biggest? (a) students (b) teachers (c) parents
  32. 32.🚀 Which of these versions is the NEWEST?
    1.6.9, 1.18.7, 1.17.8, 0.26.2
    (a) 0.26.2 (b) 1.17.8 (c) 1.6.9 (d) 1.18.7
  33. 33.📱 Which one needs no installing: an app or a website? (a) a website (b) an app
  34. 34.🧩 In an app, what is a date picker? (a) a screen (b) a button (c) data (d) an input
  35. 35.True or false: a page of random dots solves no real problem. (a) True (b) False
  36. 36.♿ A screen has 7 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
  37. 37.🎨 Is this about UI or UX: the icon shapes? (a) UI (b) UX
  38. 38.🔢 In a sign-up flow, which comes first: “see the home screen” or “type name and email”? (a) type name and email (b) see the home screen
  39. 39.🔀 Which badge does this quiz app show?
    let marks = 59;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Gold (b) Bronze (c) Silver
  40. 40.🛠️ At which stage do you add the buttons? (a) the test stage (b) the release stage (c) the plan stage (d) the build stage

Answer key

  1. a lost-and-found board
  2. open the menu
  3. 40
  4. Sports
  5. 2
  6. False
  7. captions on videos
  8. False
  9. helps everyone
  10. True
  11. 13
  12. 3
  13. missing a must-have
  14. a pocket-money tracker
  15. 100
  16. 270
  17. the people who use it
  18. pick a dish
  19. fair
  20. True
  21. 20
  22. 19
  23. Meera
  24. actual is not expected
  25. students
  26. pick one of two actions
  27. Ask a parent
  28. Welcome!
  29. False
  30. parents
  31. teachers
  32. 1.18.7
  33. a website
  34. an input
  35. True
  36. 5
  37. UI
  38. type name and email
  39. Silver
  40. the build stage

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