← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 573 · 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.📅 An app team plans for 4 days, builds for 9 days, tests for 3 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
  2. 2.🧩 Which of these is a button on this screen?
    [title] Edit Profile
    [button] Back
    [text box] Due date
    [button] Next
    [slider] Volume
    [button] Cancel
    [text box] Phone
    (a) Phone (b) Next (c) Volume (d) Due date
  3. 3.✏️ Is this true of a wireframe or of a final design: is a quick sketch? (a) a final design (b) a wireframe
  4. 4.🧰 What does return do in a function? (a) closes the screen (b) repeats the code (c) sends back a value (d) deletes the app
  5. 5.📊 Survey: which problem bugs you most? How many students voted in all?
    forgetting homework: 11 votes
    forgetting birthdays: 6 votes
    missing the bus: 9 votes
  6. 6.🔁 What number does this code show?
    let marks = [11, 13, 2];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  7. 7.True or false: sorting the scores is processing. (a) True (b) False
  8. 8.🔁 What number does this code show?
    let runs = [3, 6, 20, 5, 1];
    let best = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] > best) {
        best = runs[i];
      }
    }
    show(best);
  9. 9.True or false: the settings page is a button. (a) True (b) False
  10. 10.🔘 Is this good or poor button design: space between buttons? (a) good design (b) poor design
  11. 11.🗂️ What kind of app is a puzzle with levels? (a) a learning app (b) a game (c) a tool app (d) a health app
  12. 12.Which of these happens at the test stage? (a) write the code (b) draw the user flow (c) let friends try it (d) pick the features
  13. 13.True or false: “sudden loud sounds” helps everyone use the app. (a) True (b) False
  14. 14.👆 Two designs for the same task (each arrow is one tap). How many taps does Design B need?
    Design A: Home → Menu → Cart → Shop → Item → Address → Pens
    Design B: Home → Cart → Address → Shop → Offers
  15. 15.🧪 What is the actual result of a test? (a) what the app really does (b) what we hope for (c) the app’s name (d) the test’s number
  16. 16.🔢 In a photo-post flow, which comes first: “write a caption” or “add a filter”? (a) write a caption (b) add a filter
  17. 17.🖼️ In this wireframe (top to bottom), what is right above the filter buttons?
    [ list of items ]
    [ tab bar ]
    [ menu icon ]
    [ filter buttons ]
    [ big picture ]
    (a) list of items (b) big picture (c) tab bar (d) menu icon
  18. 18.🖼️ How many parts (boxes) does this wireframe have?
    [ tab bar ]
    [ top bar ]
    [ Add button ]
    [ list of items ]
    [ big picture ]
    [ filter buttons ]
  19. 19.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Pens → Shop
    Design B: Home → Menu → Pay → Size → Results → Shop
  20. 20.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(6));
  21. 21.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 60;
    }
    show(fee(12) + fee(11));
  22. 22.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    losing water bottles: 10 votes
    missing the bus: 8 votes
    forgetting birthdays: 4 votes
    (a) missing the bus (b) losing water bottles (c) forgetting birthdays
  23. 23.🔁 What number does this code show?
    let runs = [52, 34, 80];
    let count = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] >= 50) {
        count = count + 1;
      }
    }
    show(count);
  24. 24.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) pick your bus stop (b) change the bus icon (c) show arrival time (d) see where the bus is
  25. 25.⚙️ In an app, is a result on screen an input, processing or an output? (a) processing (b) input (c) output
  26. 26.True or false: a blank grey screen solves a real problem. (a) True (b) False
  27. 27.🧰 Why write a function? (a) to reuse code (b) to hide errors (c) to make code longer (d) to slow the app
  28. 28.🧪 What is the ACTUAL result of Test 3?
    🚚 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(700) → expected 0
    Test 2: delivery(500) → expected 40
    Test 3: delivery(1000) → expected 0
  29. 29.🧭 Which part of navigation goes to the last screen? (a) a menu button (b) the back button (c) a tab bar
  30. 30.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) log a glass of water (b) custom alert sounds (c) see today’s total (d) set a reminder time
  31. 31.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Friend list”
    2. tap the Profile tab
    3. open “Video”
    4. open “Edit photo”
    5. tap Back
    Which screen are you on now?
    (a) Edit photo (b) Home (c) Video (d) Friend list
  32. 32.Which of these requests asks for too much? (a) calling app → contacts (b) timer → your photos (c) map app → location (d) voice notes → microphone
  33. 33.🧪 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(300) → expected 0
    Test 2: delivery(600) → expected 0
    Test 3: delivery(200) → expected 40
    (a) Test 1 (b) Test 2 (c) Test 3
  34. 34.🔢 When you make an app, which comes first: “release it” or “build the app”? (a) build the app (b) release it
  35. 35.Which of these is a feature? (a) “I keep missing the bus” (b) a share button (c) “Small text is hard” (d) “What should I cook?”
  36. 36.🗂️ What kind of app is a word battle? (a) a game (b) a tool app (c) a health app (d) a learning app
  37. 37.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Score card”
    2. tap Back
    3. tap the Me tab
    How many times must you tap Back to reach the main screen of this tab?
  38. 38.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 52; // start at 50
    line 2: score = score + 6; // add 6
    line 3: score = score * 2; // double it
    line 4: show(score); // show it
  39. 39.🔢 When you make an app, which comes first: “test the app” or “plan the screens”? (a) test the app (b) plan the screens
  40. 40.🖼️ In this wireframe (top to bottom), what is right below the title text?
    [ menu icon ]
    [ Add button ]
    [ search box ]
    [ list of items ]
    [ title text ]
    [ top bar ]
    (a) Add button (b) menu icon (c) list of items (d) top bar

Answer key

  1. 13
  2. Next
  3. a wireframe
  4. sends back a value
  5. 26
  6. 26
  7. True
  8. 20
  9. False
  10. good design
  11. a game
  12. let friends try it
  13. False
  14. 4
  15. what the app really does
  16. add a filter
  17. menu icon
  18. 6
  19. 2
  20. 12
  21. 120
  22. losing water bottles
  23. 2
  24. change the bus icon
  25. output
  26. False
  27. to reuse code
  28. 0
  29. the back button
  30. custom alert sounds
  31. Video
  32. timer → your photos
  33. Test 1
  34. build the app
  35. a share button
  36. a game
  37. 0
  38. 116
  39. plan the screens
  40. top bar

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