← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 154 · 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.🔘 Our rule: buttons are at least 48 px tall. The Back button is 28 px tall. How many px taller must it be?
  2. 2.🧪 What is the ACTUAL result of Test 1?
    🎟️ 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(15) → expected 100
    Test 2: price(10) → expected 50
    Test 3: price(16) → expected 100
  3. 3.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Score card”
    2. tap the Profile tab
    3. tap the Profile tab
    4. tap the Profile tab
    5. open “Help page”
    Which screen are you on now?
    (a) Home (b) Score card (c) Help page (d) Search
  4. 4.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 39; // start at 39
    line 2: coins = coins - 1; // take away 1
    line 3: coins = coins - 5; // take away 5
    line 4: coins = coins + 4; // add 3
    line 5: show(coins); // show it
    (a) line 4 (b) line 2 (c) line 3 (d) line 1
  5. 5.🛠️ At which stage do you add the buttons? (a) the idea stage (b) the build stage (c) the test stage (d) the plan stage
  6. 6.🖼️ How many parts (boxes) does this wireframe have?
    [ menu icon ]
    [ top bar ]
    [ big picture ]
    [ list of items ]
    [ title text ]
  7. 7.🔍 Which is the odd one out? (a) adding up a bill (b) working out a tip (c) a result on screen (d) sorting the scores
  8. 8.🧩 In an app, what is the game-over page? (a) an input (b) a screen (c) data (d) a button
  9. 9.💾 Where should the app save photos on two devices: on the phone or in the cloud? (a) on the phone (b) in the cloud
  10. 10.True or false: adding up a bill is an input. (a) False (b) True
  11. 11.🔀 What does if / else let an app do? (a) pick one of two actions (b) save a photo (c) draw a screen (d) repeat forever
  12. 12.🚀 In version 2.5.1, which number is the major version? (a) 2 (b) 5 (c) 1 (d) 251
  13. 13.True or false: a buzz (vibration) is processing. (a) True (b) False
  14. 14.True or false: your high score is data. (a) True (b) False
  15. 15.🌗 Is white on dark green easy or hard to read on a button? (a) hard to read (b) easy to read
  16. 16.🔁 What is the LAST line this code shows?
    let names = ["Riya", "Kabir", "Aman", "Zoya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Riya (b) Hi, Zoya (c) Hi, Aman (d) Hi, Kabir
  17. 17.📱 Where do people usually download phone apps from? (a) a charger (b) an app store (c) a printer (d) a web server
  18. 18.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) a dark mode (b) see where the bus is (c) pick your bus stop (d) show arrival time
  19. 19.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Cart → Offers
    Design B: Home → Results → Search → Pens → Pay → Size
    (a) Design A (b) Design B
  20. 20.🔍 Which is the odd one out? (a) an alarm clock (b) a unit converter (c) a torch (d) a spelling coach
  21. 21.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) export to a file (b) savings stickers (c) pie-chart colours (d) show the balance
  22. 22.🧩 How many buttons does this app screen have?
    [title] New Note
    [switch] Show hints
    [button] Cancel
    [text box] Name
  23. 23.🔁 What number does this code show?
    let marks = [19, 16, 6, 6, 14];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  24. 24.Which of these is true of a wireframe? (a) shows the real fonts (b) uses plain grey boxes (c) has the real colours (d) looks like the real app
  25. 25.True or false: a website updates from the store. (a) False (b) True
  26. 26.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let points = 34; // start at 34
    line 2: points = points - 2; // add 2
    line 3: points = points + 4; // add 4
    line 4: show(points); // show it
  27. 27.🚀 Which of these versions is the NEWEST?
    2.24.4, 3.2.9, 3.12.8, 3.15.9
    (a) 3.2.9 (b) 3.12.8 (c) 2.24.4 (d) 3.15.9
  28. 28.🗒️ Version 1 of a homework planner must be ready in 12 days. How many days are left for extras after the must-haves?
    add a homework task: 4 days
    set a due date: 2 days
    see tasks by day: 5 days
  29. 29.🧪 What is the ACTUAL result of Test 2?
    🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
    function price(age) {
      if (age <= 14) {
        return 50;
      }
      return 100;
    }
    Test 1: price(14) → expected 100
    Test 2: price(17) → expected 100
    Test 3: price(13) → expected 50
  30. 30.🧪 How many of these test cases pass?
    📝 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(11) → expected Pass
    Test 2: result(8) → expected Pass
    Test 3: result(6) → expected Try again
  31. 31.🖼️ In this wireframe (top to bottom), what is right below the Save button?
    [ top bar ]
    [ list of items ]
    [ Save button ]
    [ Add button ]
    (a) list of items (b) Add button (c) top bar
  32. 32.Which of these is data? (a) your saved notes (b) the home page of an app (c) tap to Send (d) the settings page
  33. 33.🗂️ What kind of app is a sleep tracker? (a) a tool app (b) a game (c) a learning app (d) a health app
  34. 34.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Zoya"));
    (a) Zoya (b) Hello, Zoya! (c) greet (d) Hello, name!
  35. 35.🎯 Is this a user need or a feature: “I keep missing the bus”? (a) a feature (b) a user need
  36. 36.🎨 Is this about UI or UX: how fast a task is done? (a) UI (b) UX
  37. 37.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    no quiet study place: 13 votes
    losing water bottles: 24 votes
    forgetting homework: 18 votes
    (a) forgetting homework (b) no quiet study place (c) losing water bottles
  38. 38.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. tap the Home tab
    2. open “Video”
    3. tap Back
    Which screen are you on now?
    (a) Home (b) Search (c) Video (d) Profile
  39. 39.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Results → Item → Size → Shop
    Design B: Home → Shop → Pens → Size → Search → Cart → Pay
  40. 40.Which of these app ideas solves a real problem? (a) a blank grey screen (b) a medicine reminder (c) an app that just says hi (d) a page of random dots

Answer key

  1. 20
  2. 100
  3. Help page
  4. line 4
  5. the build stage
  6. 5
  7. a result on screen
  8. a screen
  9. in the cloud
  10. False
  11. pick one of two actions
  12. 2
  13. False
  14. True
  15. easy to read
  16. Hi, Zoya
  17. an app store
  18. a dark mode
  19. Design A
  20. a spelling coach
  21. show the balance
  22. 1
  23. 19
  24. uses plain grey boxes
  25. False
  26. 40
  27. 3.15.9
  28. 1
  29. 100
  30. 3
  31. Add button
  32. your saved notes
  33. a health app
  34. Hello, Zoya!
  35. a user need
  36. UX
  37. losing water bottles
  38. Home
  39. 4
  40. a medicine reminder

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