← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 520 · 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.🔐 Is this permission request fair or too much: timer → your photos? (a) too much (b) fair
  2. 2.🔁 What does a loop do? (a) deletes code (b) saves photos (c) repeats code (d) draws icons
  3. 3.🎯 An app for “everyone” with no clear user usually ___. (a) wins every prize (b) needs no testing (c) helps nobody well (d) is easy to build
  4. 4.🔀 What does this battery rule show?
    let battery = 42;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  5. 5.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 600) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(700) → expected 0
    Test 2: delivery(450) → expected 40
    Test 3: delivery(600) → expected 0
  6. 6.💾 What number does this code show?
    let notes = ["Art", "Maths", "Music", "Hindi"];
    notes.push("Sports");
    show(notes.length);
  7. 7.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(20));
  8. 8.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 55; // typed by the user
    line 2: let qty = 3; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 4 (b) line 1 (c) line 3 (d) line 2
  9. 9.Which of these happens at the plan stage? (a) draw the user flow (b) spot a problem to solve (c) write down the bugs (d) list what users need
  10. 10.True or false: your last game level fits saving on the phone. (a) True (b) False
  11. 11.🔐 Is this permission request fair or too much: map app → location? (a) fair (b) too much
  12. 12.🗂️ What kind of app is a flashcard trainer? (a) a game (b) a health app (c) a learning app (d) a tool app
  13. 13.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let coins = 47; // start at 45
    line 2: coins = coins + 4; // add 4
    line 3: coins = coins * 2; // double it
    line 4: coins = coins - 4; // take away 4
    line 5: show(coins); // show it
  14. 14.⚙️ What number does this app show?
    let price = 45; // typed by the user
    let qty = 5; // typed by the user
    let total = price * qty;
    show(total);
  15. 15.🚀 Your app is at version 4.7.3. The next release is a big redesign that changes how the app works. What is its version number? (a) 4.7.4 (b) 4.8.0 (c) 4.8.3 (d) 5.0.0
  16. 16.💾 Where should the app save the sound on/off setting: on the phone or in the cloud? (a) on the phone (b) in the cloud
  17. 17.True or false: a homework photo scanner needs your contacts. (a) True (b) False
  18. 18.🔐 Is this permission request fair or too much: camera app → camera? (a) fair (b) too much
  19. 19.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let stars = 36; // start at 34
    line 2: stars = stars + 4; // add 4
    line 3: stars = stars - 2; // take away 2
    line 4: show(stars); // show it
  20. 20.🔢 In a food-order flow, which comes first: “track the order” or “pick a dish”? (a) track the order (b) pick a dish
  21. 21.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Edit Profile
    [button] Help
    [text box] Due date
  22. 22.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Cart → Menu
    Design B: Home → Confirm → Menu → Pay
    (a) Design B (b) Design A
  23. 23.True or false: an app that just says hi solves no real problem. (a) False (b) True
  24. 24.🚀 Which version is newer: 3.10.3 or 3.9.1? (a) 3.10.3 (b) 3.9.1
  25. 25.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 40; // start at 40
    line 2: score = score - 3; // take away 3
    line 3: score = score + 5; // add 4
    line 4: score = score * 2; // double it
    line 5: show(score); // show it
    (a) line 3 (b) line 4 (c) line 1 (d) line 2
  26. 26.💡 Does an app idea like a free study-room finder solve a real problem? (a) No (b) Yes
  27. 27.💾 Data saved only on the phone is lost when ___. (a) the screen turns off (b) you send a message (c) the phone is lost (d) the app is closed
  28. 28.🐞 Finding and fixing bugs is called ___. (a) decorating (b) designing (c) debugging (d) downloading
  29. 29.🔢 In a quiz-app flow, which comes LAST? (a) tap “Start quiz” (b) see if it is right (c) pick an answer (d) see the final score
  30. 30.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Match report”
    2. open “Match report”
    3. tap the Search tab
    4. open “Edit photo”
    5. open “Friend list”
    How many times must you tap Back to reach the main screen of this tab?
  31. 31.Which of these is a user need? (a) a dark mode switch (b) a reminder alarm (c) “Small text is hard” (d) a share button
  32. 32.✏️ Is this true of a wireframe or of a final design: uses plain grey boxes? (a) a final design (b) a wireframe
  33. 33.🚀 Which of these versions is the NEWEST?
    1.18.2, 1.3.9, 1.2.2, 0.23.4
    (a) 1.3.9 (b) 1.18.2 (c) 1.2.2 (d) 0.23.4
  34. 34.🧰 What does return do in a function? (a) closes the screen (b) sends back a value (c) deletes the app (d) repeats the code
  35. 35.📱 Which one opens in a web browser: an app or a website? (a) an app (b) a website
  36. 36.🔢 In a sign-up flow, which comes first: “type name and email” or “open the app”? (a) type name and email (b) open the app
  37. 37.🗒️ Version 1 of a water reminder must be ready in 10 days. How many days are left for extras after the must-haves?
    set a reminder time: 1 days
    log a glass of water: 4 days
    see today’s total: 5 days
  38. 38.True or false: a clear word like Save is poor button design. (a) False (b) True
  39. 39.🔢 In a food-order flow, which comes first: “pick a dish” or “track the order”? (a) track the order (b) pick a dish
  40. 40.🔀 A screen with no way forward or back is called a ___. (a) home screen (b) tab bar (c) shortcut (d) dead end

Answer key

  1. too much
  2. repeats code
  3. helps nobody well
  4. Battery OK
  5. 2
  6. 5
  7. 40
  8. line 3
  9. draw the user flow
  10. True
  11. fair
  12. a learning app
  13. 94
  14. 225
  15. 5.0.0
  16. on the phone
  17. False
  18. fair
  19. 36
  20. pick a dish
  21. 1
  22. Design A
  23. True
  24. 3.10.3
  25. line 3
  26. Yes
  27. the phone is lost
  28. debugging
  29. see the final score
  30. 2
  31. “Small text is hard”
  32. a wireframe
  33. 1.18.2
  34. sends back a value
  35. a website
  36. open the app
  37. 0
  38. False
  39. pick a dish
  40. dead end

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