← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 293 · 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 part of navigation goes to the last screen? (a) a menu button (b) the back button (c) a tab bar
  2. 2.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] New Note
    [button] Save
    [switch] Dark mode
    [text box] Notes
    [text box] Email
    [text box] Name
  3. 3.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) background music (b) an avatar shop (c) show a question (d) confetti effects
  4. 4.🗒️ Version 1 of a homework planner must be ready in 9 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: 3 days
  5. 5.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Score card”
    2. tap the Me tab
    3. open “Score card”
    Which screen are you on now?
    (a) Lessons (b) Me (c) Score card (d) Quiz
  6. 6.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) change the bus icon (b) show arrival time (c) pick your bus stop (d) see where the bus is
  7. 7.Which of these is true of a tab bar? (a) goes to the last screen (b) opens a list of pages (c) sits at the bottom (d) undoes one move
  8. 8.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) pie-chart colours (b) savings stickers (c) add money spent (d) export to a file
  9. 9.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    missing the bus: 25 votes
    forgetting homework: 6 votes
    no quiet study place: 8 votes
    (a) forgetting homework (b) missing the bus (c) no quiet study place
  10. 10.⚙️ Which line does the processing (works out the answer)?
    line 1: let km = 15; // typed by the user
    line 2: let metres = km * 1000;
    line 3: show(metres);
    (a) line 1 (b) line 2 (c) line 3
  11. 11.🧪 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(9) → expected Pass
    Test 2: result(6) → expected Try again
    Test 3: result(7) → expected Pass
    (a) Test 1 (b) Test 3 (c) Test 2
  12. 12.🔢 In a food-order flow, which comes FIRST? (a) check the cart (b) track the order (c) open the menu (d) pay for the order
  13. 13.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) custom alert sounds (b) water animations (c) share your streak (d) log a glass of water
  14. 14.👆 The user types Kabir in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Well done, " + nameBox.text + "!";
    };
    (a) Well done! (b) Kabir (c) Well done, nameBox.text! (d) Well done, Kabir!
  15. 15.🗒️ What is a must-have feature? (a) a colour theme (b) one the app cannot skip (c) a sound effect (d) a nice extra
  16. 16.🧰 Why write a function? (a) to make code longer (b) to hide errors (c) to slow the app (d) to reuse code
  17. 17.Which of these makes the app harder to use? (a) captions on videos (b) tiny tap areas (c) labels on every icon (d) text that can grow
  18. 18.🧩 How many buttons does this app screen have?
    [title] Settings
    [text box] Notes
    [text box] Due date
    [button] Next
    [slider] Brightness
  19. 19.True or false: notes to read offline fits saving in the cloud. (a) False (b) True
  20. 20.🖼️ How many parts (boxes) does this wireframe have?
    [ top bar ]
    [ list of items ]
    [ filter buttons ]
    [ big picture ]
    [ Save button ]
    [ search box ]
  21. 21.🔁 What number does this code show?
    let runs = [14, 6, 8];
    let best = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] > best) {
        best = runs[i];
      }
    }
    show(best);
  22. 22.🔍 Which is the odd one out? (a) colour as the only clue (b) fast-flashing lights (c) icons with no labels (d) captions on videos
  23. 23.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Caption: 24 px
    Label: 18 px
    Footer: 15 px
    Title: 13 px
    Menu: 19 px
  24. 24.♿ What does a screen reader do? (a) makes text tiny (b) reads the screen aloud (c) plays music (d) takes photos
  25. 25.Which of these is a user need? (a) a dark mode switch (b) “I forget my homework” (c) a share button (d) a reminder alarm
  26. 26.🎯 What is the best first step to learn what users need? (a) ask and watch users (b) guess on your own (c) pick the colours (d) write the code
  27. 27.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let stars = 44; // start at 44
    line 2: stars = stars - 6; // take away 5
    line 3: stars = stars + 6; // add 6
    line 4: stars = stars * 2; // double it
    line 5: show(stars); // show it
  28. 28.📱 Which one comes from an app store: an app or a website? (a) a website (b) an app
  29. 29.👆 The user types Zoya in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Well done, " + nameBox.text + "!";
    };
    (a) Zoya (b) Well done! (c) Well done, Zoya! (d) Well done, nameBox.text!
  30. 30.🧰 What is a function? (a) a screen size (b) a type of phone (c) a list of colours (d) a named block of code
  31. 31.🎯 Which app would help this user most: a teen whose money runs out by Friday? (a) a big-text reader (b) a recipe finder (c) a pocket-money tracker (d) a water reminder
  32. 32.🧪 What is the ACTUAL result of Test 1?
    🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 800) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(1100) → expected 0
    Test 2: delivery(800) → expected 0
    Test 3: delivery(700) → expected 40
  33. 33.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) savings stickers (b) add money received (c) export to a file (d) pie-chart colours
  34. 34.🔀 What does this battery rule show?
    let battery = 4;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  35. 35.⚙️ What number does this app show?
    let price = 80; // typed by the user
    let qty = 3; // typed by the user
    let total = price * qty;
    show(total);
  36. 36.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Save button: 24 px tall
    Help button: 60 px tall
    Start button: 56 px tall
    (a) Start (b) Save (c) Help
  37. 37.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) see tasks by day (b) add a homework task (c) pick a theme colour (d) set a due date
  38. 38.🔀 What does this battery rule show?
    let battery = 19;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  39. 39.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Score card”
    2. tap the Chat tab
    3. tap the Feed tab
    4. open “Video”
    5. open “Help page”
    Which screen are you on now?
    (a) Help page (b) Score card (c) Video (d) Feed
  40. 40.🎯 Why learn about users before you build? (a) to build what they need (b) to pick a logo (c) to make it longer (d) to slow it down

Answer key

  1. the back button
  2. 4
  3. show a question
  4. 0
  5. Score card
  6. change the bus icon
  7. sits at the bottom
  8. add money spent
  9. missing the bus
  10. line 2
  11. Test 3
  12. open the menu
  13. log a glass of water
  14. Well done, Kabir!
  15. one the app cannot skip
  16. to reuse code
  17. tiny tap areas
  18. 1
  19. False
  20. 6
  21. 14
  22. captions on videos
  23. 2
  24. reads the screen aloud
  25. “I forget my homework”
  26. ask and watch users
  27. 90
  28. an app
  29. Well done, Zoya!
  30. a named block of code
  31. a pocket-money tracker
  32. 0
  33. add money received
  34. Low battery
  35. 240
  36. Save
  37. pick a theme colour
  38. Low battery
  39. Help page
  40. to build what they need

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