← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 877 · 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.🔁 What number does this code show?
    let steps = [96, 30, 89, 30, 13];
    let count = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] >= 70) {
        count = count + 1;
      }
    }
    show(count);
  2. 2.True or false: typing your age is an input. (a) True (b) False
  3. 3.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) an avatar shop (b) confetti effects (c) show the score (d) background music
  4. 4.Which of these is a user need? (a) a reminder alarm (b) a search bar (c) a dark mode switch (d) “Small text is hard”
  5. 5.💾 Where should the app save a class leaderboard: on the phone or in the cloud? (a) in the cloud (b) on the phone
  6. 6.🔐 Which permission does a homework photo scanner really need? (a) the microphone (b) the camera (c) location (d) contacts
  7. 7.🔀 Why plan the user flow before building? (a) so each step is clear (b) to hide the buttons (c) to skip testing (d) to add more taps
  8. 8.Which of these is true of a menu button? (a) shows 3 to 5 icons (b) switches main sections (c) goes to the last screen (d) opens a list of pages
  9. 9.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    missing the bus: 22 votes
    forgetting homework: 6 votes
    losing water bottles: 15 votes
    (a) losing water bottles (b) missing the bus (c) forgetting homework
  10. 10.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(2) + points(5));
  11. 11.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) show the balance (b) add money received (c) export to a file (d) add money spent
  12. 12.👥 A cricket club app has 20 players, 155 coaches and 225 fans as users. How many more fans than players are there?
  13. 13.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 36; // start at 33
    line 2: coins = coins * 2; // double it
    line 3: coins = coins + 3; // add 3
    line 4: show(coins); // show it
    (a) line 1 (b) line 3 (c) line 2
  14. 14.🧩 Which of these is a button on this screen?
    [title] Add Homework
    [button] Back
    [text box] Phone
    [text box] Due date
    [text box] City
    [slider] Volume
    (a) Back (b) Phone (c) Due date (d) City
  15. 15.🧰 What does this code show?
    function greet(name) {
      return "Hi, " + name + "!";
    }
    show(greet("Riya"));
    (a) Hi, Riya! (b) Hi, name! (c) Riya (d) greet
  16. 16.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 180; // typed by the user
    line 2: let off = 10; // typed by the user
    line 3: let pay = price - off;
    line 4: show(pay);
    (a) line 4 (b) line 1 (c) line 2 (d) line 3
  17. 17.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    losing water bottles: 13 votes
    forgetting homework: 7 votes
    no quiet study place: 21 votes
    (a) forgetting homework (b) losing water bottles (c) no quiet study place
  18. 18.🧪 One test case fails. Which one?
    🎟️ 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(13) → expected 100
    Test 3: price(5) → expected 50
    (a) Test 2 (b) Test 1 (c) Test 3
  19. 19.🛠️ At which stage do you talk to possible users? (a) the release stage (b) the test stage (c) the idea stage (d) the build stage
  20. 20.True or false: a big, easy tap area is good button design. (a) False (b) True
  21. 21.Which of these fits saving on the phone? (a) a class leaderboard (b) notes to read offline (c) chat messages to friends (d) a shared to-do list
  22. 22.🗒️ A to-do app with no “add a task” feature is ___. (a) a nice extra (b) ready to release (c) missing a must-have (d) well planned
  23. 23.🔢 In a food-order flow, which comes FIRST? (a) open the menu (b) pick a dish (c) track the order (d) pay for the order
  24. 24.💾 What does this code show? (Positions start at 0.)
    let friends = ["Arjun", "Zoya", "Meera", "Riya"];
    show(friends[1]);
    (a) Riya (b) Arjun (c) Zoya (d) Meera
  25. 25.True or false: a step counter is a learning app. (a) True (b) False
  26. 26.📱 Which one has a home-screen icon: an app or a website? (a) an app (b) a website
  27. 27.🧪 What is the ACTUAL result of Test 1?
    🎟️ 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(11) → expected 100
    Test 2: price(9) → expected 50
    Test 3: price(10) → expected 100
  28. 28.👆 Two designs for the same task (each arrow is one tap). How many taps does Design B need?
    Design A: Home → Size → Item → Menu
    Design B: Home → Menu → Search → Pay → Size → Cart → Offers
  29. 29.🔢 In a quiz-app flow, which comes first: “read a question” or “pick an answer”? (a) read a question (b) pick an answer
  30. 30.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Results → Pens → Pay → Item → Confirm → Address
    Design B: Home → Pens → Results → Shop
  31. 31.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) savings stickers (b) export to a file (c) pie-chart colours (d) add money spent
  32. 32.🔍 Which is the odd one out? (a) pick the features (b) draw the user flow (c) sketch the screens (d) write the code
  33. 33.🎯 Which app would help this user most: a student who keeps forgetting due dates? (a) a bus tracker (b) a recipe finder (c) a big-text reader (d) a homework planner
  34. 34.🔁 What number does this code show?
    let steps = [4, 12, 13, 15, 12];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);
  35. 35.💡 Which app idea solves this problem: bottles go missing at school? (a) a lost-and-found board (b) a study-room finder (c) a medicine reminder (d) a bill splitter
  36. 36.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Cancel button: 48 px tall
    Back button: 36 px tall
    Start button: 48 px tall
    (a) Start (b) Cancel (c) Back
  37. 37.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Edit photo”
    2. tap the Profile tab
    3. tap the Search tab
    4. tap the Profile tab
    How many times must you tap Back to reach the main screen of this tab?
  38. 38.True or false: icons with no meaning is good button design. (a) False (b) True
  39. 39.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
    function price(age) {
      if (age <= 13) {
        return 50;
      }
      return 100;
    }
    Test 1: price(10) → expected 50
    Test 2: price(16) → expected 100
    Test 3: price(13) → expected 100
    (a) Test 2 (b) Test 1 (c) Test 3
  40. 40.📅 An app team plans for 3 days, builds for 4 days, tests for 1 days and releases on 1 more day. How many days does the whole project take?

Answer key

  1. 2
  2. True
  3. show the score
  4. “Small text is hard”
  5. in the cloud
  6. the camera
  7. so each step is clear
  8. opens a list of pages
  9. missing the bus
  10. 80
  11. export to a file
  12. 205
  13. line 1
  14. Back
  15. Hi, Riya!
  16. line 3
  17. no quiet study place
  18. Test 1
  19. the idea stage
  20. True
  21. notes to read offline
  22. missing a must-have
  23. open the menu
  24. Zoya
  25. False
  26. an app
  27. 100
  28. 6
  29. read a question
  30. 3
  31. add money spent
  32. write the code
  33. a homework planner
  34. 56
  35. a lost-and-found board
  36. Back
  37. 0
  38. False
  39. Test 3
  40. 9

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