← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 64 · 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 of these is a user need? (a) a reminder alarm (b) a dark mode switch (c) a share button (d) “Small text is hard”
  2. 2.🧪 What is the ACTUAL result of Test 3?
    🎟️ Rule: a ticket costs 50 for children under 11, and 100 for everyone else.
    function price(age) {
      if (age <= 11) {
        return 50;
      }
      return 100;
    }
    Test 1: price(18) → expected 100
    Test 2: price(9) → expected 50
    Test 3: price(15) → expected 100
  3. 3.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Chat tab
    2. open “Video”
    3. open “Match report”
    How many times must you tap Back to reach the main screen of this tab?
  4. 4.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 0, 1, 2, 3 (b) 0, 1, 2 (c) 3 (d) 1, 2, 3
  5. 5.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    forgetting birthdays: 8 votes
    missing the bus: 5 votes
    forgetting homework: 6 votes
    (a) forgetting homework (b) forgetting birthdays (c) missing the bus
  6. 6.🧪 A test case is an input together with its ___. (a) expected result (b) font size (c) app icon (d) screen colour
  7. 7.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let points = 45; // start at 45
    line 2: points = points + 3; // take away 3
    line 3: points = points - 1; // take away 1
    line 4: points = points + 4; // add 4
    line 5: show(points); // show it
  8. 8.🔀 What does this sign-up rule show?
    let age = 16;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  9. 9.🔐 Which permission does a voice recorder really need? (a) the microphone (b) contacts (c) location (d) the camera
  10. 10.👥 A cricket club app has 150 players, 85 coaches and 30 fans as users. How many more players than fans are there?
  11. 11.🐞 What is a good first step when an app gives a wrong result? (a) delete the app (b) add more colours (c) buy a new phone (d) find where it goes wrong
  12. 12.🔀 Which badge does this quiz app show?
    let marks = 27;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Gold (b) Bronze (c) Silver
  13. 13.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let coins = 46; // start at 46
    line 2: coins = coins - 5; // take away 5
    line 3: coins = coins + 6; // add 6
    line 4: coins = coins - 2; // add 2
    line 5: show(coins); // show it
  14. 14.🔍 Which is the odd one out? (a) text that can grow (b) strong colour contrast (c) labels on every icon (d) icons with no labels
  15. 15.True or false: a pocket-money tracker is the best fit for a teen whose money runs out by Friday. (a) False (b) True
  16. 16.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) see where the bus is (b) change the bus icon (c) a dark mode (d) rate the driver
  17. 17.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Pay → Address
    Design B: Home → Search → Confirm → Address → Shop
  18. 18.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(15, 2));
  19. 19.🔢 In a food-order flow, what comes right after “pick a dish”? (a) add it to the cart (b) pay for the order (c) check the cart (d) open the menu
  20. 20.🎯 Which app would help this user most: a child saving up for a cycle? (a) a pocket-money tracker (b) a water reminder (c) a big-text reader (d) a recipe finder
  21. 21.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Sign Up
    [button] Cancel
    [text box] Phone
    [text box] Notes
    [text box] Email
  22. 22.🗂️ What kind of app is a water reminder? (a) a game (b) a health app (c) a tool app (d) a learning app
  23. 23.True or false: a medicine reminder solves a real problem. (a) False (b) True
  24. 24.Which of these app ideas solves a real problem? (a) a button with no action (b) an app that just says hi (c) a blank grey screen (d) a lost-and-found board
  25. 25.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Next button: 52 px tall
    Back button: 56 px tall
    Cancel button: 32 px tall
    Save button: 52 px tall
    (a) Save (b) Back (c) Cancel (d) Next
  26. 26.🔢 In a sign-up flow, which comes FIRST? (a) tap “Sign up” (b) open the app (c) see the home screen (d) enter the code sent
  27. 27.🔀 What does if / else let an app do? (a) draw a screen (b) save a photo (c) repeat forever (d) pick one of two actions
  28. 28.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 7 or more right answers.
    function result(right) {
      if (right > 7) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(7) → expected Pass
    Test 2: result(4) → expected Try again
    Test 3: result(9) → expected Pass
    (a) Test 3 (b) Test 2 (c) Test 1
  29. 29.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) phone cases (b) edge cases (c) old cases (d) easy cases
  30. 30.Which of these app ideas solves no real problem? (a) a bill splitter (b) a free study-room finder (c) a library due-date alert (d) a page of random dots
  31. 31.💾 Where should the app save chat messages to friends: on the phone or in the cloud? (a) in the cloud (b) on the phone
  32. 32.👆 The user taps the button 2 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 2) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  33. 33.🧩 In an app, what is your saved notes? (a) an input (b) a button (c) a screen (d) data
  34. 34.🔢 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
  35. 35.🎯 Which app would help this user most: a grandparent with weak eyesight? (a) a big-text reader (b) a recipe finder (c) a homework planner (d) a bus tracker
  36. 36.🔀 Why plan the user flow before building? (a) so each step is clear (b) to add more taps (c) to skip testing (d) to hide the buttons
  37. 37.⚙️ What number does this app show?
    let bill = 272; // typed by the user
    let friends = 4; // typed by the user
    let share = bill / friends;
    show(share);
  38. 38.👥 A cricket club app has 140 players, 80 coaches and 150 fans as users. How many more players than coaches are there?
  39. 39.True or false: how users feel after is about UI (the look). (a) False (b) True
  40. 40.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ tab bar ]
    [ search box ]
    [ Add button ]
    [ list of items ]
    [ top bar ]
    (a) search box (b) Add button (c) top bar (d) tab bar

Answer key

  1. “Small text is hard”
  2. 100
  3. 2
  4. 0, 1, 2
  5. forgetting birthdays
  6. expected result
  7. 45
  8. Welcome!
  9. the microphone
  10. 120
  11. find where it goes wrong
  12. Bronze
  13. 49
  14. icons with no labels
  15. True
  16. see where the bus is
  17. 2
  18. 30
  19. add it to the cart
  20. a pocket-money tracker
  21. 3
  22. a health app
  23. True
  24. a lost-and-found board
  25. Cancel
  26. open the app
  27. pick one of two actions
  28. Test 1
  29. edge cases
  30. a page of random dots
  31. in the cloud
  32. 2
  33. data
  34. type name and email
  35. a big-text reader
  36. so each step is clear
  37. 68
  38. 60
  39. False
  40. top bar

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