← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 252 · 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.True or false: the theme colours is about UX (the experience). (a) True (b) False
  2. 2.True or false: the user taps Play is a timer event. (a) False (b) True
  3. 3.Which of these app ideas solves no real problem? (a) a bill splitter (b) a library due-date alert (c) a lost-and-found board (d) a page of random dots
  4. 4.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 0, 1, 2 (b) 0, 1, 2, 3 (c) 3 (d) 1, 2, 3
  5. 5.🔀 What does this PIN rule show?
    let pin = "8353";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  6. 6.🔢 In a sign-up flow, which comes first: “see the home screen” or “make a password”? (a) see the home screen (b) make a password
  7. 7.🧪 What is the ACTUAL result of Test 3?
    🎟️ Rule: a ticket costs 50 for children under 12, and 100 for everyone else.
    function price(age) {
      if (age < 12) {
        return 50;
      }
      return 100;
    }
    Test 1: price(14) → expected 100
    Test 2: price(8) → expected 50
    Test 3: price(17) → expected 100
  8. 8.🧩 What does a button do when you tap it? (a) saves the battery (b) shows the time (c) starts an action (d) changes the phone
  9. 9.✏️ A box with a cross in a wireframe usually means ___. (a) a closed app (b) a picture goes here (c) delete this (d) an error
  10. 10.👆 The user taps the button 4 times. What number does the label show now?
    let lives = 1;
    button.onTap = function () {
      lives = lives + 4;
      label.text = lives;
    };
  11. 11.True or false: a website opens in a web browser. (a) True (b) False
  12. 12.🔢 After an app is released, which comes first: “list what to fix” or “test it again”? (a) test it again (b) list what to fix
  13. 13.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 41; // start at 41
    line 2: lives = lives - 5; // add 5
    line 3: lives = lives - 5; // take away 5
    line 4: lives = lives * 2; // double it
    line 5: show(lives); // show it
    (a) line 3 (b) line 1 (c) line 2 (d) line 4
  14. 14.🧪 How many of these test cases pass?
    📝 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(7) → expected Pass
    Test 2: result(5) → expected Pass
    Test 3: result(4) → expected Try again
  15. 15.True or false: your saved notes is data. (a) False (b) True
  16. 16.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Match report”
    2. open “Match report”
    3. open “Video”
    4. tap Back
    5. open “Badges”
    How many times must you tap Back to reach the main screen of this tab?
  17. 17.🔢 When you make an app, which comes first: “plan the screens” or “release it”? (a) release it (b) plan the screens
  18. 18.True or false: a website updates from the store. (a) True (b) False
  19. 19.🔢 When you make an app, what comes right after “get an idea”? (a) release it (b) build the app (c) plan the screens (d) test the app
  20. 20.🔢 When you make an app, which comes first: “plan the screens” or “test the app”? (a) test the app (b) plan the screens
  21. 21.🔁 What number does this code show?
    let steps = [10, 8, 14, 5, 15];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);
  22. 22.🔀 When does the else part run? (a) when the test is false (b) always (c) when the test is true (d) never
  23. 23.True or false: a class leaderboard fits saving on the phone. (a) True (b) False
  24. 24.True or false: a word battle is a game. (a) False (b) True
  25. 25.💾 What number does this code show?
    let songs = ["Stars", "Kites"];
    songs.push("Sunrise");
    show(songs.length);
  26. 26.True or false: a clear word like Save is good button design. (a) False (b) True
  27. 27.Which of these is a feature? (a) “I keep missing the bus” (b) “I forget my homework” (c) a reminder alarm (d) “Small text is hard”
  28. 28.🔁 A loop over a list of 5 items runs its body how many times? (a) 4 (b) 5 (c) 1 (d) 6
  29. 29.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Send button: 44 px tall
    Back button: 32 px tall
    Done button: 32 px tall
    Start button: 32 px tall
  30. 30.💾 Where should the app save a shared to-do list: on the phone or in the cloud? (a) in the cloud (b) on the phone
  31. 31.🧰 What does return do in a function? (a) repeats the code (b) sends back a value (c) deletes the app (d) closes the screen
  32. 32.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Menu: 10 px
    Title: 23 px
    Label: 22 px
  33. 33.👥 A clinic app has 270 patients, 285 doctors and 20 nurses as users. How many users does it have in all?
  34. 34.🧰 In function tip(bill), what is bill? (a) a loop (b) an event (c) a parameter (d) a screen
  35. 35.🗒️ 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
  36. 36.🔢 In a sign-up flow, what comes right after “type name and email”? (a) see the home screen (b) tap “Sign up” (c) open the app (d) make a password
  37. 37.🎨 UX stands for user ___. (a) extra (b) express (c) experience (d) example
  38. 38.💾 What number does this code show?
    let stars = 8;
    stars = stars - 3;
    stars = stars + 1;
    show(stars);
  39. 39.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) earn stickers (b) see tasks by day (c) share tasks to friends (d) pick a theme colour
  40. 40.🖼️ In this wireframe (top to bottom), what is right above the list of items?
    [ Add button ]
    [ tab bar ]
    [ list of items ]
    [ Save button ]
    [ top bar ]
    (a) tab bar (b) top bar (c) Save button (d) Add button

Answer key

  1. False
  2. False
  3. a page of random dots
  4. 0, 1, 2
  5. PIN saved
  6. make a password
  7. 100
  8. starts an action
  9. a picture goes here
  10. 17
  11. True
  12. list what to fix
  13. line 2
  14. 2
  15. True
  16. 3
  17. plan the screens
  18. False
  19. plan the screens
  20. plan the screens
  21. 52
  22. when the test is false
  23. False
  24. True
  25. 3
  26. True
  27. a reminder alarm
  28. 5
  29. 0
  30. in the cloud
  31. sends back a value
  32. 1
  33. 575
  34. a parameter
  35. log a glass of water
  36. make a password
  37. experience
  38. 6
  39. see tasks by day
  40. tab bar

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