← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 964 · 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 number does this code show?
    let score = 6;
    score = score - 4;
    score = score + 1;
    show(score);
  2. 2.True or false: an app needs no installing. (a) True (b) False
  3. 3.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 5 or more right answers.
    function result(right) {
      if (right > 5) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(3) → expected Try again
    Test 2: result(6) → expected Pass
    Test 3: result(5) → expected Pass
    (a) Test 1 (b) Test 2 (c) Test 3
  4. 4.🌗 Is dark blue on white easy or hard to read on a button? (a) hard to read (b) easy to read
  5. 5.👥 A library app has 230 readers, 285 librarians and 185 volunteers as users. Which user group is the biggest? (a) readers (b) volunteers (c) librarians
  6. 6.🔁 A loop over a list of 5 items runs its body how many times? (a) 6 (b) 1 (c) 4 (d) 5
  7. 7.💡 Does an app idea like an app that just says hi solve a real problem? (a) No (b) Yes
  8. 8.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Results → Size → Cart → Pay → Menu
    Design B: Home → Results → Shop → Address
  9. 9.🔐 Is this permission request fair or too much: calculator → location? (a) fair (b) too much
  10. 10.✏️ What is the easiest way to draw a first wireframe? (a) pencil and paper (b) a microphone (c) a 3D printer (d) a phone case
  11. 11.🧰 Why write a function? (a) to make code longer (b) to reuse code (c) to hide errors (d) to slow the app
  12. 12.🗒️ Version 1 of a pocket-money tracker must be ready in 7 days. How many days are left for extras after the must-haves?
    add money received: 1 days
    add money spent: 4 days
    show the balance: 2 days
  13. 13.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a new feature (b) a big redesign (c) a new app (d) a bug fix
  14. 14.💾 Saving data in the cloud lets you ___. (a) never need a password (b) skip the internet (c) shrink the app (d) use it on any device
  15. 15.🖼️ How many parts (boxes) does this wireframe have?
    [ tab bar ]
    [ title text ]
    [ top bar ]
    [ filter buttons ]
    [ big picture ]
    [ Save button ]
  16. 16.🗒️ Version 1 of a quiz app must be ready in 9 days. How many days are left for extras after the must-haves?
    show a question: 2 days
    check the answer: 1 days
    show the score: 2 days
  17. 17.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) show a question (b) an avatar shop (c) confetti effects (d) background music
  18. 18.🔢 In a photo-post flow, which comes first: “post the photo” or “add a filter”? (a) post the photo (b) add a filter
  19. 19.Which of these fits saving in the cloud? (a) chat messages to friends (b) your last game level (c) a draft you are typing (d) notes to read offline
  20. 20.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(16));
  21. 21.🚀 In version 2.5.1, which number is the major version? (a) 1 (b) 5 (c) 2 (d) 251
  22. 22.🗒️ A to-do app with no “add a task” feature is ___. (a) a nice extra (b) missing a must-have (c) well planned (d) ready to release
  23. 23.🔀 When does the else part run? (a) when the test is true (b) when the test is false (c) always (d) never
  24. 24.True or false: buttons almost touching is poor button design. (a) False (b) True
  25. 25.True or false: the search box changes is a timer event. (a) False (b) True
  26. 26.💡 Does an app idea like a library due-date alert solve a real problem? (a) Yes (b) No
  27. 27.🧭 Which part of navigation switches main sections? (a) a tab bar (b) a menu button (c) the back button
  28. 28.👆 The user taps the button 7 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) ON (b) OFF
  29. 29.🧪 How many of these test cases pass?
    🎟️ 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(12) → expected 100
    Test 2: price(10) → expected 100
    Test 3: price(6) → expected 50
  30. 30.🧩 Which input is best for turning something ON or OFF? (a) a title (b) a slider (c) a text box (d) a switch
  31. 31.⚙️ What number does this app show?
    let price = 95; // typed by the user
    let qty = 5; // typed by the user
    let total = price * qty;
    show(total);
  32. 32.Which of these is a button? (a) the game-over page (b) your friends list (c) tap to Send (d) the settings page
  33. 33.True or false: a beep sound is an input. (a) True (b) False
  34. 34.True or false: a lost-and-found board solves no real problem. (a) True (b) False
  35. 35.🔢 In a sign-up flow, which comes LAST? (a) see the home screen (b) tap “Sign up” (c) type name and email (d) open the app
  36. 36.⚙️ What number does this app show?
    let price = 80; // typed by the user
    let qty = 2; // typed by the user
    let total = price * qty;
    show(total);
  37. 37.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Edit photo”
    2. tap Back
    3. open “Edit photo”
    4. tap the Search tab
    5. open “Friend list”
    Which screen are you on now?
    (a) Edit photo (b) Home (c) Friend list (d) Search
  38. 38.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(22));
  39. 39.🔍 Which is the odd one out? (a) the button colours (b) how easy sign-up is (c) the theme colours (d) the icon shapes
  40. 40.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Me tab
    2. open “Edit photo”
    3. open “Friend list”
    4. tap the Lessons tab
    Which screen are you on now?
    (a) Edit photo (b) Friend list (c) Quiz (d) Lessons

Answer key

  1. 3
  2. False
  3. Test 3
  4. easy to read
  5. librarians
  6. 5
  7. No
  8. 2
  9. too much
  10. pencil and paper
  11. to reuse code
  12. 0
  13. a bug fix
  14. use it on any device
  15. 6
  16. 4
  17. show a question
  18. add a filter
  19. chat messages to friends
  20. 48
  21. 2
  22. missing a must-have
  23. when the test is false
  24. True
  25. False
  26. Yes
  27. a tab bar
  28. ON
  29. 3
  30. a switch
  31. 475
  32. tap to Send
  33. False
  34. False
  35. see the home screen
  36. 160
  37. Friend list
  38. 66
  39. how easy sign-up is
  40. Lessons

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