← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 91 · 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 is the odd one out? (a) how fast a task is done (b) the screen layout (c) whether users get lost (d) how easy sign-up is
  2. 2.🔐 Is this permission request fair or too much: torch → contacts? (a) too much (b) fair
  3. 3.🔢 In a sign-up flow, which comes LAST? (a) see the home screen (b) open the app (c) tap “Sign up” (d) type name and email
  4. 4.🚀 Which of these versions is the NEWEST?
    2.5.4, 1.26.9, 2.4.3, 2.9.8
    (a) 2.4.3 (b) 2.5.4 (c) 1.26.9 (d) 2.9.8
  5. 5.🔀 What does this sign-up rule show?
    let age = 9;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  6. 6.🧪 One test case fails. Which one?
    🚚 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(300) → expected 40
    Test 2: delivery(750) → expected 0
    Test 3: delivery(500) → expected 0
    (a) Test 2 (b) Test 3 (c) Test 1
  7. 7.🧪 A test case is an input together with its ___. (a) expected result (b) screen colour (c) app icon (d) font size
  8. 8.Which of these is an input? (a) tapping a button (b) a buzz (vibration) (c) a beep sound (d) adding up a bill
  9. 9.Which of these happens at the build stage? (a) sketch the screens (b) spot a problem to solve (c) write the code (d) draw the user flow
  10. 10.🔀 A screen with no way forward or back is called a ___. (a) tab bar (b) shortcut (c) home screen (d) dead end
  11. 11.🔢 In a photo-post flow, which comes first: “add a filter” or “write a caption”? (a) write a caption (b) add a filter
  12. 12.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
    function price(age) {
      if (age <= 10) {
        return 50;
      }
      return 100;
    }
    Test 1: price(7) → expected 50
    Test 2: price(10) → expected 100
    Test 3: price(14) → expected 100
    (a) Test 3 (b) Test 1 (c) Test 2
  13. 13.🔢 In a photo-post flow, what comes right after “add a filter”? (a) take the photo (b) write a caption (c) open the camera screen (d) post the photo
  14. 14.True or false: a finger hits Like is a text event. (a) False (b) True
  15. 15.🔁 A loop over a list of 5 items runs its body how many times? (a) 6 (b) 4 (c) 5 (d) 1
  16. 16.🔀 What does this sign-up rule show?
    let age = 11;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  17. 17.👆 Code that runs when an event happens is called a ___. (a) handler (b) header (c) hashtag (d) headline
  18. 18.🔢 When you make an app, what comes right after “test the app”? (a) plan the screens (b) build the app (c) get an idea (d) release it
  19. 19.💾 Where should the app save notes to read offline: on the phone or in the cloud? (a) in the cloud (b) on the phone
  20. 20.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 20;
    }
    show(fee(10) + fee(3));
  21. 21.Which of these is true of an app? (a) needs no installing (b) is installed on a phone (c) has a web address (d) opens in a web browser
  22. 22.🔍 Which is the odd one out? (a) strong colour contrast (b) captions on videos (c) labels on every icon (d) icons with no labels
  23. 23.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Chat tab
    2. open “Badges”
    3. open “Friend list”
    4. open “Edit photo”
    5. tap the Settings tab
    Which screen are you on now?
    (a) Settings (b) Friend list (c) Badges (d) Edit photo
  24. 24.🔘 Is this good or poor button design: a clear word like Save? (a) good design (b) poor design
  25. 25.💾 Where should the app save a class leaderboard: on the phone or in the cloud? (a) in the cloud (b) on the phone
  26. 26.True or false: an app comes from an app store. (a) True (b) False
  27. 27.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 6 or more right answers.
    function result(right) {
      if (right > 6) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(4) → expected Try again
    Test 2: result(7) → expected Pass
    Test 3: result(6) → expected Pass
    (a) Test 1 (b) Test 2 (c) Test 3
  28. 28.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Chat tab
    2. open “Match report”
    3. tap Back
    4. tap the Chat tab
    How many times must you tap Back to reach the main screen of this tab?
  29. 29.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Add Homework
    [button] Done
    [slider] Volume
    [button] Help
    [text box] City
    [text box] Notes
    [text box] Name
    [switch] Remind me
  30. 30.🎯 Why learn about users before you build? (a) to make it longer (b) to build what they need (c) to slow it down (d) to pick a logo
  31. 31.Which of these is a screen? (a) a slider for volume (b) tap to Start (c) tap to Save (d) the game-over page
  32. 32.🧩 Which of these is a button on this screen?
    [title] New Note
    [button] Cancel
    [text box] Notes
    [text box] Email
    [text box] Subject
    (a) Notes (b) Email (c) Cancel (d) Subject
  33. 33.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(5) + points(0));
  34. 34.📱 Which one needs no installing: an app or a website? (a) an app (b) a website
  35. 35.👆 The user taps the button 6 times. What does the label show now?
    let on = false;
    button.onTap = function () {
      on = !on;
      if (on) {
        label.text = "ON";
      } else {
        label.text = "OFF";
      }
    };
    (a) OFF (b) ON
  36. 36.⚙️ What number does this app show?
    let price = 10; // typed by the user
    let qty = 3; // typed by the user
    let total = price * qty;
    show(total);
  37. 37.🎨 Is this about UI or UX: the icon shapes? (a) UX (b) UI
  38. 38.🔀 What is a user flow? (a) a type of font (b) the path through screens (c) a colour theme (d) a charging cable
  39. 39.🔀 What does this sign-up rule show?
    let age = 16;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  40. 40.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) add a homework task (b) set a due date (c) see tasks by day (d) pick a theme colour

Answer key

  1. the screen layout
  2. too much
  3. see the home screen
  4. 2.9.8
  5. Ask a parent
  6. Test 3
  7. expected result
  8. tapping a button
  9. write the code
  10. dead end
  11. add a filter
  12. Test 2
  13. write a caption
  14. False
  15. 5
  16. Ask a parent
  17. handler
  18. release it
  19. on the phone
  20. 20
  21. is installed on a phone
  22. icons with no labels
  23. Settings
  24. good design
  25. in the cloud
  26. True
  27. Test 3
  28. 0
  29. 5
  30. to build what they need
  31. the game-over page
  32. Cancel
  33. 60
  34. a website
  35. OFF
  36. 30
  37. UI
  38. the path through screens
  39. Welcome!
  40. pick a theme colour

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