← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 531 · 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 screen? (a) the settings page (b) tap to go Next (c) a switch for dark mode (d) a slider for volume
  2. 2.💡 Which app idea solves this problem: Grandpa forgets his tablets? (a) a homework planner (b) a lost-and-found board (c) a study-room finder (d) a medicine reminder
  3. 3.♿ A screen has 5 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
  4. 4.🔁 What number does this code show?
    let marks = [11, 5, 6, 14];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  5. 5.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 90; // typed by the user
    line 2: let qty = 5; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 3 (b) line 2 (c) line 4 (d) line 1
  6. 6.👆 The user taps the button 2 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) ON (b) OFF
  7. 7.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let stars = 30; // start at 30
    line 2: stars = stars + 4; // take away 4
    line 3: stars = stars * 2; // double it
    line 4: stars = stars + 4; // add 4
    line 5: show(stars); // show it
  8. 8.🔢 In a food-order flow, which comes first: “add it to the cart” or “pay for the order”? (a) pay for the order (b) add it to the cart
  9. 9.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 50;
    }
    show(fee(5) + fee(2));
  10. 10.🧪 One test case fails. Which one?
    🚚 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(800) → expected 0
    Test 2: delivery(950) → expected 0
    Test 3: delivery(750) → expected 40
    (a) Test 1 (b) Test 2 (c) Test 3
  11. 11.♿ What should every icon-only button have for screen readers? (a) a text label (b) a long animation (c) a bright colour (d) a sound
  12. 12.Which of these is true of a wireframe? (a) shows the real fonts (b) uses the final pictures (c) looks like the real app (d) is a quick sketch
  13. 13.🌗 Is light grey on white easy or hard to read on a button? (a) easy to read (b) hard to read
  14. 14.✏️ Is this true of a wireframe or of a final design: has no real colours? (a) a final design (b) a wireframe
  15. 15.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Footer: 12 px
    Title: 21 px
    Hint: 11 px
    Caption: 24 px
  16. 16.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Friend list”
    2. tap Back
    3. tap the Search tab
    Which screen are you on now?
    (a) Search (b) Profile (c) Home (d) Friend list
  17. 17.🔁 What does a loop do? (a) deletes code (b) saves photos (c) draws icons (d) repeats code
  18. 18.📊 Survey: which problem bugs you most? How many students voted in all?
    missing the bus: 23 votes
    forgetting homework: 9 votes
    losing water bottles: 13 votes
  19. 19.Which of these happens at the idea stage? (a) write the store text (b) list what users need (c) write the code (d) let friends try it
  20. 20.✏️ Is this true of a wireframe or of a final design: shows where things go? (a) a wireframe (b) a final design
  21. 21.📊 Survey: which problem bugs you most? How many students voted in all?
    missing the bus: 17 votes
    no quiet study place: 10 votes
    losing water bottles: 20 votes
  22. 22.🖼️ In this wireframe (top to bottom), what is right above the filter buttons?
    [ top bar ]
    [ title text ]
    [ filter buttons ]
    [ Add button ]
    [ Save button ]
    (a) Add button (b) top bar (c) Save button (d) title text
  23. 23.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    wasting pocket money: 19 votes
    missing the bus: 23 votes
    forgetting birthdays: 4 votes
    (a) wasting pocket money (b) missing the bus (c) forgetting birthdays
  24. 24.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 42; // start at 42
    line 2: lives = lives - 6; // add 6
    line 3: lives = lives + 2; // add 2
    line 4: show(lives); // show it
  25. 25.🧭 Which part of navigation switches main sections? (a) the back button (b) a tab bar (c) a menu button
  26. 26.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(4));
  27. 27.Which of these requests asks for too much? (a) map app → location (b) camera app → camera (c) torch → contacts (d) voice notes → microphone
  28. 28.🔢 In a photo-post flow, which comes first: “post the photo” or “add a filter”? (a) post the photo (b) add a filter
  29. 29.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) confetti effects (b) background music (c) show the score (d) an avatar shop
  30. 30.🔍 Which is the odd one out? (a) try every button (b) sketch the screens (c) draw the user flow (d) pick the features
  31. 31.Which of these helps everyone use the app? (a) colour as the only clue (b) captions on videos (c) tiny tap areas (d) icons with no labels
  32. 32.🧭 Where is a tab bar usually placed in a phone app? (a) nowhere (b) inside a button (c) at the bottom (d) in the middle
  33. 33.🧩 In an app, what is tap to go Next? (a) data (b) a button (c) a screen (d) an input
  34. 34.👆 An event in an app is ___. (a) something that happens (b) a colour theme (c) a kind of list (d) an app store
  35. 35.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Friend list”
    2. tap the Quiz tab
    3. tap the Me tab
    4. open “Score card”
    Which screen are you on now?
    (a) Lessons (b) Quiz (c) Friend list (d) Score card
  36. 36.🗂️ What kind of app is an alarm clock? (a) a game (b) a tool app (c) a health app (d) a learning app
  37. 37.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(100, 3));
  38. 38.🔢 In a quiz-app flow, which comes first: “see the final score” or “read a question”? (a) see the final score (b) read a question
  39. 39.True or false: a bus tracker is the best fit for a child saving up for a cycle. (a) False (b) True
  40. 40.🧭 Which part of navigation sits at the bottom? (a) a tab bar (b) the back button (c) a menu button

Answer key

  1. the settings page
  2. a medicine reminder
  3. 3
  4. 36
  5. line 3
  6. OFF
  7. 56
  8. add it to the cart
  9. 50
  10. Test 1
  11. a text label
  12. is a quick sketch
  13. hard to read
  14. a wireframe
  15. 2
  16. Search
  17. repeats code
  18. 45
  19. list what users need
  20. a wireframe
  21. 47
  22. title text
  23. missing the bus
  24. 50
  25. a tab bar
  26. 8
  27. torch → contacts
  28. add a filter
  29. show the score
  30. try every button
  31. captions on videos
  32. at the bottom
  33. a button
  34. something that happens
  35. Score card
  36. a tool app
  37. 300
  38. read a question
  39. False
  40. a tab bar

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