← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 35 · 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.🧩 How many buttons does this app screen have?
    [title] Sign Up
    [switch] Remind me
    [button] Next
    [slider] Text size
    [text box] Due date
    [text box] Phone
  2. 2.🔢 In a photo-post flow, which comes FIRST? (a) open the camera screen (b) take the photo (c) write a caption (d) post the photo
  3. 3.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 49; // start at 49
    line 2: lives = lives - 2; // add 2
    line 3: lives = lives + 4; // add 4
    line 4: lives = lives - 3; // take away 3
    line 5: show(lives); // show it
    (a) line 1 (b) line 3 (c) line 2 (d) line 4
  4. 4.Which of these fits saving in the cloud? (a) your last game level (b) notes to read offline (c) chat messages to friends (d) the sound on/off setting
  5. 5.🗒️ Version 1 of a pocket-money tracker must be ready in 14 days. How many days are left for extras after the must-haves?
    add money received: 2 days
    add money spent: 4 days
    show the balance: 3 days
  6. 6.🔀 What does this battery rule show?
    let battery = 38;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  7. 7.♿ What does a screen reader do? (a) takes photos (b) reads the screen aloud (c) plays music (d) makes text tiny
  8. 8.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(35, 5));
  9. 9.🔀 With if / else if / else, how many parts run? (a) all of them (b) two (c) none (d) only one
  10. 10.Which of these is true of a wireframe? (a) looks like the real app (b) has the real colours (c) uses the final pictures (d) uses plain grey boxes
  11. 11.True or false: you add the buttons at the build stage. (a) True (b) False
  12. 12.🔔 What is a message an app shows on your lock screen called? (a) a web address (b) a wireframe (c) a variable (d) a notification
  13. 13.🔢 When you make an app, which comes first: “get an idea” or “release it”? (a) get an idea (b) release it
  14. 14.💾 What number does this code show?
    let songs = ["Monsoon", "Stars", "Rain", "Ocean"];
    songs.push("Kites");
    songs.push("Sunrise");
    show(songs.length);
  15. 15.Which of these happens at the test stage? (a) connect the data (b) share the download link (c) list what users need (d) write down the bugs
  16. 16.🔍 Which is the odd one out? (a) the icon shapes (b) the theme colours (c) the button colours (d) how users feel after
  17. 17.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 700 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 700) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(600) → expected 40
    Test 2: delivery(800) → expected 0
    Test 3: delivery(700) → expected 0
    (a) Test 1 (b) Test 2 (c) Test 3
  18. 18.True or false: a clear word like Save is poor button design. (a) False (b) True
  19. 19.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let coins = 38; // start at 38
    line 2: coins = coins * 3; // double it
    line 3: coins = coins + 2; // add 2
    line 4: show(coins); // show it
  20. 20.🧭 Which part of navigation hides extra links? (a) the back button (b) a tab bar (c) a menu button
  21. 21.🗒️ In MVP, the M stands for ___. (a) mobile (b) minimum (c) music (d) maximum
  22. 22.True or false: “labels on every icon” helps everyone use the app. (a) True (b) False
  23. 23.👥 A library app has 290 readers, 140 librarians and 255 volunteers as users. How many users does it have in all?
  24. 24.🔁 What does a loop do? (a) saves photos (b) draws icons (c) deletes code (d) repeats code
  25. 25.True or false: a website comes from an app store. (a) False (b) True
  26. 26.🗒️ Version 1 of a homework planner must be ready in 14 days. How many days are left for extras after the must-haves?
    add a homework task: 4 days
    set a due date: 1 days
    see tasks by day: 5 days
  27. 27.🎯 Who are the users of an app? (a) the app icons (b) only the testers (c) the people who use it (d) only the coders
  28. 28.🐞 What is a good first step when an app gives a wrong result? (a) delete the app (b) buy a new phone (c) add more colours (d) find where it goes wrong
  29. 29.⚙️ In an app, is taking a photo an input, processing or an output? (a) input (b) processing (c) output
  30. 30.🔢 In a photo-post flow, what comes right after “add a filter”? (a) open the camera screen (b) write a caption (c) take the photo (d) post the photo
  31. 31.🔁 What number does this code show?
    let marks = [9, 16, 1, 5];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  32. 32.🎯 Is this a user need or a feature: “I keep missing the bus”? (a) a feature (b) a user need
  33. 33.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(18));
  34. 34.🔢 In a photo-post flow, which comes first: “post the photo” or “open the camera screen”? (a) post the photo (b) open the camera screen
  35. 35.Which of these is data? (a) the home page of an app (b) a slider for volume (c) your saved notes (d) tap to go Next
  36. 36.True or false: a website has a home-screen icon. (a) True (b) False
  37. 37.👆 Which of these is an event? (a) the font size (b) the icon colour (c) a list of names (d) the user taps a button
  38. 38.💡 Does an app idea like a free study-room finder solve a real problem? (a) Yes (b) No
  39. 39.⚙️ What number does this app show?
    let price = 55; // typed by the user
    let qty = 5; // typed by the user
    let total = price * qty;
    show(total);
  40. 40.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Cancel button: 36 px tall
    Start button: 32 px tall
    Done button: 64 px tall
    Save button: 64 px tall

Answer key

  1. 1
  2. open the camera screen
  3. line 2
  4. chat messages to friends
  5. 5
  6. Battery OK
  7. reads the screen aloud
  8. 175
  9. only one
  10. uses plain grey boxes
  11. True
  12. a notification
  13. get an idea
  14. 6
  15. write down the bugs
  16. how users feel after
  17. Test 3
  18. False
  19. 116
  20. a menu button
  21. minimum
  22. True
  23. 685
  24. repeats code
  25. False
  26. 4
  27. the people who use it
  28. find where it goes wrong
  29. input
  30. write a caption
  31. 16
  32. a user need
  33. 36
  34. open the camera screen
  35. your saved notes
  36. False
  37. the user taps a button
  38. Yes
  39. 275
  40. 2

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