← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 672 · 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.🗂️ What kind of app is a calculator? (a) a game (b) a learning app (c) a tool app (d) a health app
  2. 2.🔀 What number does this shop app show?
    let total = 250;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  3. 3.🚀 Which version is newer: 3.16.1 or 3.6.0? (a) 3.6.0 (b) 3.16.1
  4. 4.Which of these is true of the back button? (a) shows 3 to 5 icons (b) opens a list of pages (c) undoes one move (d) switches main sections
  5. 5.📊 Survey: which problem bugs you most? How many students voted in all?
    no quiet study place: 21 votes
    missing the bus: 13 votes
    forgetting birthdays: 25 votes
  6. 6.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    wasting pocket money: 11 votes
    no quiet study place: 5 votes
    missing the bus: 17 votes
    (a) wasting pocket money (b) no quiet study place (c) missing the bus
  7. 7.True or false: a website opens in a web browser. (a) False (b) True
  8. 8.👆 The user taps the button 5 times. What number does the label show now?
    let lives = 5;
    button.onTap = function () {
      lives = lives + 5;
      label.text = lives;
    };
  9. 9.True or false: a finger hits Like is a tap event. (a) True (b) False
  10. 10.👆 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) OFF (b) ON
  11. 11.🔁 What number does this code show?
    let marks = [9, 8, 20];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  12. 12.🔐 Which permission does a selfie sticker app really need? (a) the camera (b) contacts (c) location (d) the microphone
  13. 13.🖼️ In this wireframe (top to bottom), what is right above the menu icon?
    [ search box ]
    [ menu icon ]
    [ list of items ]
    [ top bar ]
    [ filter buttons ]
    (a) filter buttons (b) search box (c) top bar (d) list of items
  14. 14.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Sign Up
    [button] Save
    [text box] Subject
    [switch] Sound
    [text box] Email
    [text box] Name
    [button] Done
  15. 15.Which of these makes the app harder to use? (a) labels on every icon (b) captions on videos (c) colour as the only clue (d) text that can grow
  16. 16.🔁 What number does this code show?
    let runs = [18, 20, 8];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  17. 17.True or false: you spot a problem to solve at the test stage. (a) True (b) False
  18. 18.🧩 In an app, what is your saved notes? (a) an input (b) a screen (c) data (d) a button
  19. 19.🗒️ Version 1 of a water reminder must be ready in 18 days. How many days are left for extras after the must-haves?
    set a reminder time: 4 days
    log a glass of water: 3 days
    see today’s total: 5 days
  20. 20.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) pick your bus stop (b) show arrival time (c) see where the bus is (d) change the bus icon
  21. 21.🔍 Which is the odd one out? (a) labels on every icon (b) text that can grow (c) big touch targets (d) tiny tap areas
  22. 22.🔘 Is this good or poor button design: a clear word like Save? (a) poor design (b) good design
  23. 23.🔀 What number does this shop app show?
    let total = 510;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  24. 24.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(2) + points(2));
  25. 25.🔀 What is a user flow? (a) a type of font (b) the path through screens (c) a colour theme (d) a charging cable
  26. 26.🚀 Your app is at version 2.8.4. The next release adds a new feature. What is its version number? (a) 2.9.4 (b) 2.8.5 (c) 3.0.0 (d) 2.9.0
  27. 27.🔢 In a quiz-app flow, what comes right after “read a question”? (a) see if it is right (b) pick an answer (c) see the final score (d) tap “Start quiz”
  28. 28.🚀 Which version is newer: 3.6.2 or 3.18.1? (a) 3.18.1 (b) 3.6.2
  29. 29.Which colour pair is easy to read? (a) yellow on white (b) red on green (c) pale pink on white (d) black on yellow
  30. 30.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
    function price(age) {
      if (age <= 10) {
        return 50;
      }
      return 100;
    }
    Test 1: price(11) → expected 100
    Test 2: price(10) → expected 100
    Test 3: price(7) → expected 50
    (a) Test 3 (b) Test 2 (c) Test 1
  31. 31.True or false: grey text on grey is good button design. (a) True (b) False
  32. 32.Which of these helps everyone use the app? (a) icons with no labels (b) colour as the only clue (c) labels on every icon (d) sudden loud sounds
  33. 33.🔢 In a quiz-app flow, which comes first: “tap “Start quiz”” or “pick an answer”? (a) pick an answer (b) tap “Start quiz”
  34. 34.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 300) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(450) → expected 0
    Test 2: delivery(150) → expected 40
    Test 3: delivery(300) → expected 0
    (a) Test 3 (b) Test 1 (c) Test 2
  35. 35.🔍 Which is the odd one out? (a) a spelling coach (b) an alarm clock (c) a torch (d) a calculator
  36. 36.🧩 Which input is best for turning something ON or OFF? (a) a text box (b) a switch (c) a slider (d) a title
  37. 37.True or false: an app is installed on a phone. (a) False (b) True
  38. 38.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) earn stickers (b) share tasks to friends (c) add a homework task (d) pick a theme colour
  39. 39.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Start button: 36 px tall
    Next button: 52 px tall
    Back button: 52 px tall
    Send button: 60 px tall
    (a) Back (b) Send (c) Next (d) Start
  40. 40.🔁 Why use a loop to show 100 messages? (a) it uses more lines (b) less code to write (c) it is slower (d) it hides them

Answer key

  1. a tool app
  2. 250
  3. 3.16.1
  4. undoes one move
  5. 59
  6. missing the bus
  7. True
  8. 30
  9. True
  10. OFF
  11. 37
  12. the camera
  13. search box
  14. 4
  15. colour as the only clue
  16. 46
  17. False
  18. data
  19. 6
  20. change the bus icon
  21. tiny tap areas
  22. good design
  23. 460
  24. 50
  25. the path through screens
  26. 2.9.0
  27. pick an answer
  28. 3.18.1
  29. black on yellow
  30. Test 2
  31. False
  32. labels on every icon
  33. tap “Start quiz”
  34. Test 3
  35. a spelling coach
  36. a switch
  37. True
  38. add a homework task
  39. Start
  40. less code to write

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