← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 714 · 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.Which of these is true of a website? (a) has a home-screen icon (b) comes from an app store (c) opens from a link (d) is installed on a phone
  2. 2.🔀 What does if / else let an app do? (a) repeat forever (b) draw a screen (c) pick one of two actions (d) save a photo
  3. 3.🔢 In a quiz-app flow, which comes FIRST? (a) tap “Start quiz” (b) read a question (c) see the final score (d) see if it is right
  4. 4.🔢 When you make an app, which comes first: “release it” or “test the app”? (a) release it (b) test the app
  5. 5.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let score = 48; // start at 48
    line 2: score = score * 3; // double it
    line 3: score = score - 2; // take away 2
    line 4: show(score); // show it
  6. 6.🎨 Is this about UI or UX: the screen layout? (a) UX (b) UI
  7. 7.👥 A library app has 195 readers, 300 librarians and 185 volunteers as users. How many more readers than volunteers are there?
  8. 8.👆 The user taps the button 3 times. What number does the label show now?
    let lives = 3;
    button.onTap = function () {
      lives = lives + 1;
      label.text = lives;
    };
  9. 9.🧩 Which input is best for choosing a volume level? (a) a title (b) a slider (c) a switch (d) a text box
  10. 10.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Chat tab
    2. tap the Feed tab
    3. open “Badges”
    4. tap Back
    How many times must you tap Back to reach the main screen of this tab?
  11. 11.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 38; // start at 38
    line 2: stars = stars + 2; // double it
    line 3: stars = stars - 1; // take away 1
    line 4: show(stars); // show it
    (a) line 1 (b) line 3 (c) line 2
  12. 12.🔁 What number does this code show?
    let runs = [2, 12, 15, 9];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  13. 13.📱 Which one is installed on a phone: an app or a website? (a) an app (b) a website
  14. 14.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Back button: 36 px tall
    Next button: 36 px tall
    Cancel button: 44 px tall
    Done button: 60 px tall
  15. 15.🧰 What does this code show?
    function greet(name) {
      return "Well done, " + name + "!";
    }
    show(greet("Riya"));
    (a) greet (b) Well done, Riya! (c) Riya (d) Well done, name!
  16. 16.🧭 Why should every screen show where you are? (a) to hide the menu (b) to look busy (c) so users do not get lost (d) to use more battery
  17. 17.True or false: adding up a bill is an input. (a) True (b) False
  18. 18.Which of these happens at the build stage? (a) write down the bugs (b) write the store text (c) add the buttons (d) share the download link
  19. 19.💾 Where should the app save photos on two devices: on the phone or in the cloud? (a) in the cloud (b) on the phone
  20. 20.🗒️ The first small, working version of an app is often called an ___. (a) CPU (b) MVP (c) URL (d) FAQ
  21. 21.🎨 Is this about UI or UX: the theme colours? (a) UX (b) UI
  22. 22.📱 Which one opens in a web browser: an app or a website? (a) an app (b) a website
  23. 23.🛠️ At which stage do you let friends try it? (a) the build stage (b) the test stage (c) the release stage (d) the plan stage
  24. 24.🔁 What number does this code show?
    let marks = [20, 11, 2, 6, 13];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  25. 25.🧩 Which of these is a button on this screen?
    [title] New Note
    [text box] Phone
    [text box] Age
    [text box] Email
    [button] Help
    [button] Back
    [switch] Dark mode
    (a) Phone (b) Help (c) Age (d) Email
  26. 26.True or false: photos on two devices fits saving in the cloud. (a) False (b) True
  27. 27.🔀 What is a user flow? (a) a charging cable (b) a colour theme (c) a type of font (d) the path through screens
  28. 28.Which of these requests asks for too much? (a) quiz app → microphone (b) calling app → contacts (c) map app → location (d) voice notes → microphone
  29. 29.🔐 Is this permission request fair or too much: quiz app → microphone? (a) too much (b) fair
  30. 30.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) log a glass of water (b) water animations (c) custom alert sounds (d) share your streak
  31. 31.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Edit Profile
    [text box] Age
    [text box] Notes
    [button] Send
    [text box] Due date
  32. 32.True or false: an app has a web address. (a) False (b) True
  33. 33.True or false: a speak-to-type notes app needs the microphone. (a) False (b) True
  34. 34.Which of these is true of a final design? (a) is a quick sketch (b) has no real colours (c) has the real colours (d) shows where things go
  35. 35.Which of these is processing? (a) a buzz (vibration) (b) sorting the scores (c) tapping a button (d) typing your age
  36. 36.🧪 What is the ACTUAL result of Test 1?
    🚚 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(900) → expected 0
    Test 2: delivery(750) → expected 0
    Test 3: delivery(550) → expected 40
  37. 37.🚀 Which of these versions is the OLDEST?
    3.15.2, 2.25.8, 3.8.3, 3.17.6
    (a) 3.15.2 (b) 3.17.6 (c) 3.8.3 (d) 2.25.8
  38. 38.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Shop → Pens
    Design B: Home → Pens → Pay → Shop
    (a) Design A (b) Design B
  39. 39.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let stars = 44; // start at 44
    line 2: stars = stars * 3; // double it
    line 3: stars = stars - 3; // take away 3
    line 4: stars = stars * 2; // double it
    line 5: show(stars); // show it
  40. 40.💡 Does an app idea like a medicine reminder solve a real problem? (a) Yes (b) No

Answer key

  1. opens from a link
  2. pick one of two actions
  3. tap “Start quiz”
  4. test the app
  5. 94
  6. UI
  7. 10
  8. 6
  9. a slider
  10. 0
  11. line 2
  12. 38
  13. an app
  14. 1
  15. Well done, Riya!
  16. so users do not get lost
  17. False
  18. add the buttons
  19. in the cloud
  20. MVP
  21. UI
  22. a website
  23. the test stage
  24. 20
  25. Help
  26. True
  27. the path through screens
  28. quiz app → microphone
  29. too much
  30. log a glass of water
  31. 3
  32. False
  33. True
  34. has the real colours
  35. sorting the scores
  36. 0
  37. 2.25.8
  38. Design A
  39. 258
  40. Yes

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