← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 29 · 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 true of an app? (a) opens in a web browser (b) is installed on a phone (c) needs no installing (d) has a web address
  2. 2.Which of these is data? (a) tap to Send (b) your high score (c) the game-over page (d) a switch for dark mode
  3. 3.True or false: the game-over page is data. (a) True (b) False
  4. 4.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(20, 3));
  5. 5.Which of these is a user need? (a) “I keep missing the bus” (b) a dark mode switch (c) a search bar (d) a reminder alarm
  6. 6.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Edit photo”
    2. open “Video”
    3. tap Back
    How many times must you tap Back to reach the main screen of this tab?
  7. 7.💾 What number does this code show?
    let stars = 4;
    stars = stars - 1;
    stars = stars + 1;
    show(stars);
  8. 8.🔀 With if / else if / else, how many parts run? (a) all of them (b) none (c) two (d) only one
  9. 9.⚙️ What number does this app show?
    let bill = 64; // typed by the user
    let friends = 4; // typed by the user
    let share = bill / friends;
    show(share);
  10. 10.Which of these is true of a website? (a) has a web address (b) updates from the store (c) has a home-screen icon (d) comes from an app store
  11. 11.Which of these requests is fair? (a) calculator → location (b) camera app → camera (c) quiz app → microphone (d) torch → contacts
  12. 12.🔐 Which permission does a guitar tuner really need? (a) the camera (b) the microphone (c) contacts (d) location
  13. 13.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(15));
  14. 14.💾 Where should the app save chat messages to friends: on the phone or in the cloud? (a) in the cloud (b) on the phone
  15. 15.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 500) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(500) → expected 0
    Test 2: delivery(300) → expected 40
    Test 3: delivery(600) → expected 0
    (a) Test 3 (b) Test 2 (c) Test 1
  16. 16.🎨 UX stands for user ___. (a) experience (b) express (c) example (d) extra
  17. 17.True or false: a 5-minute alarm ends is a timer event. (a) True (b) False
  18. 18.Which of these is true of a menu button? (a) sits at the bottom (b) hides extra links (c) goes to the last screen (d) undoes one move
  19. 19.🖼️ In this wireframe (top to bottom), what is right above the menu icon?
    [ search box ]
    [ tab bar ]
    [ menu icon ]
    [ Save button ]
    [ top bar ]
    [ list of items ]
    (a) list of items (b) tab bar (c) search box (d) top bar
  20. 20.🔢 After an app is released, which comes LAST? (a) release an update (b) test it again (c) read user reviews (d) list what to fix
  21. 21.🔐 Is this permission request fair or too much: timer → your photos? (a) too much (b) fair
  22. 22.Which of these is true of a wireframe? (a) has the real colours (b) has no real colours (c) shows the real fonts (d) looks like the real app
  23. 23.Which of these is a feature? (a) “I keep missing the bus” (b) “I forget my homework” (c) a reminder alarm (d) “Small text is hard”
  24. 24.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) pick a theme colour (b) share tasks to friends (c) add a homework task (d) earn stickers
  25. 25.🧪 What is the ACTUAL result of Test 2?
    🎟️ Rule: a ticket costs 50 for children under 12, and 100 for everyone else.
    function price(age) {
      if (age <= 12) {
        return 50;
      }
      return 100;
    }
    Test 1: price(13) → expected 100
    Test 2: price(12) → expected 100
    Test 3: price(9) → expected 50
  26. 26.🧰 What does this code show?
    function greet(name) {
      return "Hi, " + name + "!";
    }
    show(greet("Kabir"));
    (a) greet (b) Hi, Kabir! (c) Kabir (d) Hi, name!
  27. 27.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 1, 2, 3 (b) 0, 1, 2, 3 (c) 3 (d) 0, 1, 2
  28. 28.🔢 In a food-order flow, which comes first: “pick a dish” or “open the menu”? (a) open the menu (b) pick a dish
  29. 29.Which of these is data? (a) your friends list (b) the home page of an app (c) the log-in page (d) the settings page
  30. 30.⚙️ What number does this app show?
    let price = 95; // typed by the user
    let qty = 2; // typed by the user
    let total = price * qty;
    show(total);
  31. 31.🧰 What is a function? (a) a list of colours (b) a screen size (c) a named block of code (d) a type of phone
  32. 32.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let coins = 39; // start at 37
    line 2: coins = coins - 3; // take away 3
    line 3: coins = coins - 3; // take away 3
    line 4: coins = coins + 3; // add 3
    line 5: show(coins); // show it
  33. 33.🖼️ In this wireframe (top to bottom), what is right above the search box?
    [ filter buttons ]
    [ Add button ]
    [ search box ]
    [ top bar ]
    [ big picture ]
    (a) Add button (b) top bar (c) filter buttons (d) big picture
  34. 34.🎯 Which app would help this user most: a gamer who forgets to drink? (a) a water reminder (b) a homework planner (c) a big-text reader (d) a pocket-money tracker
  35. 35.True or false: you write down the bugs at the test stage. (a) False (b) True
  36. 36.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Size → Cart → Shop → Item → Confirm
    Design B: Home → Search → Menu
    (a) Design A (b) Design B
  37. 37.🧪 What is the ACTUAL result of Test 3?
    🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 500) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(350) → expected 40
    Test 2: delivery(950) → expected 0
    Test 3: delivery(800) → expected 0
  38. 38.True or false: the sound on/off setting fits saving on the phone. (a) True (b) False
  39. 39.🔍 Which is the odd one out? (a) a word battle (b) a racing challenge (c) a puzzle with levels (d) a sleep tracker
  40. 40.🧩 In an app, what is tap to Send? (a) a screen (b) data (c) a button (d) an input

Answer key

  1. is installed on a phone
  2. your high score
  3. False
  4. 60
  5. “I keep missing the bus”
  6. 1
  7. 4
  8. only one
  9. 16
  10. has a web address
  11. camera app → camera
  12. the microphone
  13. 30
  14. in the cloud
  15. Test 1
  16. experience
  17. True
  18. hides extra links
  19. tab bar
  20. release an update
  21. too much
  22. has no real colours
  23. a reminder alarm
  24. add a homework task
  25. 50
  26. Hi, Kabir!
  27. 0, 1, 2
  28. open the menu
  29. your friends list
  30. 190
  31. a named block of code
  32. 36
  33. Add button
  34. a water reminder
  35. True
  36. Design B
  37. 0
  38. True
  39. a sleep tracker
  40. a button

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