← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 915 · 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 shop app show?
    let total = 200;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  2. 2.Which of these makes the app harder to use? (a) labels on every icon (b) fast-flashing lights (c) big touch targets (d) captions on videos
  3. 3.👥 A cricket club app has 110 players, 150 coaches and 300 fans as users. How many more coaches than players are there?
  4. 4.♿ A screen has 9 icon buttons. Only 7 of them have a text label for screen readers. How many still need a label?
  5. 5.🔢 In a sign-up flow, which comes LAST? (a) enter the code sent (b) see the home screen (c) type name and email (d) open the app
  6. 6.⚙️ What number does this app show?
    let price = 480; // typed by the user
    let off = 40; // typed by the user
    let pay = price - off;
    show(pay);
  7. 7.🔍 Which is the odd one out? (a) an alarm clock (b) a times-table quiz (c) a flashcard trainer (d) a spelling coach
  8. 8.👆 The user taps the button 1 times. What does the label show now?
    let on = false;
    button.onTap = function () {
      on = !on;
      if (on) {
        label.text = "ON";
      } else {
        label.text = "OFF";
      }
    };
    (a) OFF (b) ON
  9. 9.💡 Does an app idea like a free study-room finder solve a real problem? (a) No (b) Yes
  10. 10.Which of these happens at the build stage? (a) sketch the screens (b) spot a problem to solve (c) add the buttons (d) write down the bugs
  11. 11.🧰 Why write a function? (a) to slow the app (b) to hide errors (c) to make code longer (d) to reuse code
  12. 12.🔍 Which is the odd one out? (a) the theme colours (b) how fast a task is done (c) the button colours (d) the font size
  13. 13.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Size → Offers → Pay
    Design B: Home → Confirm → Shop → Menu → Item → Search → Cart
  14. 14.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) share tasks to friends (b) see tasks by day (c) set a due date (d) add a homework task
  15. 15.🔢 In a quiz-app flow, which comes FIRST? (a) see the final score (b) pick an answer (c) see if it is right (d) tap “Start quiz”
  16. 16.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 6 or more right answers.
    function result(right) {
      if (right > 6) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(7) → expected Pass
    Test 2: result(6) → expected Pass
    Test 3: result(3) → expected Try again
  17. 17.🧩 In an app, what is your high score? (a) a button (b) data (c) a screen (d) an input
  18. 18.True or false: one second passes is a load event. (a) True (b) False
  19. 19.True or false: the search box changes is a text event. (a) True (b) False
  20. 20.🧪 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(600) → expected 0
    Test 2: delivery(350) → expected 40
    Test 3: delivery(650) → expected 0
  21. 21.🔀 What does this PIN rule show?
    let pin = "4989";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  22. 22.Which of these is about UX (the experience)? (a) the screen layout (b) the font size (c) the icon shapes (d) whether users get lost
  23. 23.👆 The user taps the button 5 times. What number does the label show now?
    let stars = 10;
    button.onTap = function () {
      stars = stars + 4;
      label.text = stars;
    };
  24. 24.True or false: a 5-minute alarm ends is a timer event. (a) False (b) True
  25. 25.🔁 What number does this code show?
    let steps = [56, 51, 18, 29];
    let count = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  26. 26.💾 What number does this code show?
    let score = 9;
    score = score - 9;
    score = score + 1;
    show(score);
  27. 27.True or false: an app updates from the store. (a) False (b) True
  28. 28.🔍 Which is the odd one out? (a) the font size (b) whether users get lost (c) the button colours (d) the icon shapes
  29. 29.🧩 Which part lets the user give the app information? (a) an input (b) an icon (c) a logo (d) a title
  30. 30.True or false: a birthday list of friends needs your location. (a) True (b) False
  31. 31.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Results → Search → Cart → Confirm → Pay → Shop
    Design B: Home → Menu → Confirm → Pay → Results
    (a) Design B (b) Design A
  32. 32.🔍 Which is the odd one out? (a) a racing challenge (b) a sleep tracker (c) a cricket run chase (d) a puzzle with levels
  33. 33.🔀 Which badge does this quiz app show?
    let marks = 69;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Bronze (b) Gold (c) Silver
  34. 34.🔘 Our rule: buttons are at least 48 px tall. The Done button is 36 px tall. How many px taller must it be?
  35. 35.True or false: taking a photo is an output. (a) False (b) True
  36. 36.🔢 In a food-order flow, which comes LAST? (a) add it to the cart (b) pick a dish (c) open the menu (d) track the order
  37. 37.📊 Survey: which problem bugs you most? How many more votes did “wasting pocket money” get than “missing the bus”?
    wasting pocket money: 23 votes
    missing the bus: 7 votes
    losing water bottles: 17 votes
  38. 38.♿ What should every icon-only button have for screen readers? (a) a long animation (b) a bright colour (c) a text label (d) a sound
  39. 39.Which of these fits saving on the phone? (a) a shared to-do list (b) a class leaderboard (c) a draft you are typing (d) chat messages to friends
  40. 40.🎯 Which app would help this user most: a gamer who forgets to drink? (a) a homework planner (b) a big-text reader (c) a water reminder (d) a bus tracker

Answer key

  1. 200
  2. fast-flashing lights
  3. 40
  4. 2
  5. see the home screen
  6. 440
  7. an alarm clock
  8. ON
  9. Yes
  10. add the buttons
  11. to reuse code
  12. how fast a task is done
  13. 3
  14. share tasks to friends
  15. tap “Start quiz”
  16. 2
  17. data
  18. False
  19. True
  20. 3
  21. PIN saved
  22. whether users get lost
  23. 30
  24. True
  25. 0
  26. 1
  27. True
  28. whether users get lost
  29. an input
  30. False
  31. Design B
  32. a sleep tracker
  33. Silver
  34. 12
  35. False
  36. track the order
  37. 16
  38. a text label
  39. a draft you are typing
  40. a water reminder

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