← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 386 · 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 is the ACTUAL result of Test 3?
    🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 500) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(750) → expected 0
    Test 2: delivery(450) → expected 40
    Test 3: delivery(500) → expected 0
  2. 2.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Shop → Item → Pens → Cart
    Design B: Home → Confirm → Results → Address → Size → Shop
  3. 3.🧪 How many of these test cases pass?
    🚚 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(400) → expected 0
    Test 2: delivery(150) → expected 40
    Test 3: delivery(300) → expected 0
  4. 4.🔁 What number does this code show?
    let runs = [19, 16, 5, 2];
    let best = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] > best) {
        best = runs[i];
      }
    }
    show(best);
  5. 5.💡 Which is a problem statement? (a) “Make it fast” (b) “Add a logo” (c) “Kids forget homework” (d) “Use blue buttons”
  6. 6.Which of these is an output? (a) a result on screen (b) tapping a button (c) working out a tip (d) adding up a bill
  7. 7.Which of these is data? (a) tap to Save (b) the settings page (c) your saved notes (d) the log-in page
  8. 8.True or false: a recipe finder is the best fit for a grandparent with weak eyesight. (a) True (b) False
  9. 9.🔍 Which is the odd one out? (a) put it on an app store (b) let friends try it (c) share the download link (d) write the store text
  10. 10.💾 What number does this code show?
    let coins = 8;
    coins = coins - 2;
    coins = coins + 4;
    show(coins);
  11. 11.Which of these requests asks for too much? (a) camera app → camera (b) voice notes → microphone (c) map app → location (d) timer → your photos
  12. 12.🔍 Which is the odd one out? (a) a puzzle with levels (b) a word battle (c) a step counter (d) a racing challenge
  13. 13.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money spent (b) add money received (c) show the balance (d) export to a file
  14. 14.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Score card”
    2. open “Edit photo”
    3. tap the Lessons tab
    4. open “Badges”
    5. open “Edit photo”
    How many times must you tap Back to reach the main screen of this tab?
  15. 15.🔍 Which is the odd one out? (a) a spelling coach (b) a step counter (c) a water reminder (d) a sleep tracker
  16. 16.True or false: an app has a web address. (a) True (b) False
  17. 17.Which of these is true of the back button? (a) switches main sections (b) sits at the bottom (c) opens a list of pages (d) goes to the last screen
  18. 18.♿ Why add captions to videos? (a) to hide the sound (b) so anyone can follow (c) to slow them down (d) to add colour
  19. 19.True or false: “text that can grow” makes the app harder to use. (a) True (b) False
  20. 20.🔢 In a sign-up flow, what comes right after “enter the code sent”? (a) type name and email (b) open the app (c) tap “Sign up” (d) see the home screen
  21. 21.🔀 When does the else part run? (a) always (b) never (c) when the test is false (d) when the test is true
  22. 22.📊 Survey: which problem bugs you most? How many more votes did “wasting pocket money” get than “losing water bottles”?
    wasting pocket money: 24 votes
    forgetting homework: 13 votes
    losing water bottles: 17 votes
  23. 23.💡 A good app idea starts with ___. (a) many colours (b) a problem to solve (c) a cool logo (d) a long name
  24. 24.🔁 Why use a loop to show 100 messages? (a) it is slower (b) it hides them (c) it uses more lines (d) less code to write
  25. 25.True or false: “sudden loud sounds” helps everyone use the app. (a) True (b) False
  26. 26.True or false: you pick the features at the idea stage. (a) True (b) False
  27. 27.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Body text: 13 px
    Label: 14 px
    Caption: 19 px
  28. 28.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) pie-chart colours (b) add money received (c) export to a file (d) savings stickers
  29. 29.🔍 Which is the odd one out? (a) how fast a task is done (b) the icon shapes (c) the screen layout (d) the theme colours
  30. 30.💡 Does an app idea like a bill splitter solve a real problem? (a) No (b) Yes
  31. 31.🔁 What number does this code show?
    let marks = [93, 32, 12, 10];
    let count = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  32. 32.🚀 Your app is at version 3.2.3. The next release fixes a small bug. What is its version number? (a) 4.0.0 (b) 3.2.4 (c) 3.3.3 (d) 3.3.0
  33. 33.🔢 When you make an app, which comes first: “test the app” or “get an idea”? (a) get an idea (b) test the app
  34. 34.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Send button: 36 px tall
    Done button: 48 px tall
    Cancel button: 32 px tall
  35. 35.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Help page”
    2. tap the Home tab
    3. tap the Profile tab
    4. open “Score card”
    5. tap the Home tab
    Which screen are you on now?
    (a) Help page (b) Home (c) Search (d) Score card
  36. 36.True or false: buttons almost touching is good button design. (a) True (b) False
  37. 37.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 42; // start at 40
    line 2: coins = coins * 2; // double it
    line 3: coins = coins * 2; // double it
    line 4: show(coins); // show it
    (a) line 2 (b) line 1 (c) line 3
  38. 38.🔁 What number does this code show?
    let scores = [8, 10, 3, 5];
    let best = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] > best) {
        best = scores[i];
      }
    }
    show(best);
  39. 39.🗒️ A to-do app with no “add a task” feature is ___. (a) a nice extra (b) missing a must-have (c) ready to release (d) well planned
  40. 40.True or false: a slider for volume is an input. (a) True (b) False

Answer key

  1. 40
  2. 1
  3. 3
  4. 19
  5. “Kids forget homework”
  6. a result on screen
  7. your saved notes
  8. False
  9. let friends try it
  10. 10
  11. timer → your photos
  12. a step counter
  13. export to a file
  14. 2
  15. a spelling coach
  16. False
  17. goes to the last screen
  18. so anyone can follow
  19. False
  20. see the home screen
  21. when the test is false
  22. 7
  23. a problem to solve
  24. less code to write
  25. False
  26. False
  27. 2
  28. add money received
  29. how fast a task is done
  30. Yes
  31. 1
  32. 3.2.4
  33. get an idea
  34. 1
  35. Home
  36. False
  37. line 1
  38. 10
  39. missing a must-have
  40. True

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