← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 21 · 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 app show?
    let price = 75; // typed by the user
    let qty = 2; // typed by the user
    let total = price * qty;
    show(total);
  2. 2.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 44; // start at 44
    line 2: stars = stars + 6; // add 6
    line 3: stars = stars - 3; // add 3
    line 4: show(stars); // show it
    (a) line 3 (b) line 2 (c) line 1
  3. 3.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ Save button ]
    [ title text ]
    [ search box ]
    [ tab bar ]
    (a) Save button (b) title text (c) search box (d) tab bar
  4. 4.True or false: a flashcard trainer is a health app. (a) True (b) False
  5. 5.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Edit Profile
    [button] Cancel
    [text box] Age
    [slider] Brightness
    [text box] Notes
  6. 6.🔀 In this course’s code, which sign tests “is equal to”? (a) === (b) = (c) !== (d) =>
  7. 7.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Video”
    2. tap Back
    3. tap the Settings tab
    4. open “Help page”
    How many times must you tap Back to reach the main screen of this tab?
  8. 8.📱 Where do people usually download phone apps from? (a) a web server (b) a charger (c) a printer (d) an app store
  9. 9.🔀 What number does this shop app show?
    let total = 220;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  10. 10.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) a dark mode (b) see where the bus is (c) rate the driver (d) change the bus icon
  11. 11.🖼️ In this wireframe (top to bottom), what is right above the top bar?
    [ list of items ]
    [ top bar ]
    [ Save button ]
    [ big picture ]
    (a) list of items (b) Save button (c) big picture
  12. 12.💡 An app that tries to do everything at once is usually ___. (a) easy to build (b) hard to use (c) very small (d) finished fast
  13. 13.💡 Which app idea solves this problem: nobody knows whose bag it is? (a) a lost-and-found board (b) a bill splitter (c) a medicine reminder (d) a homework planner
  14. 14.🔢 In a quiz-app flow, which comes LAST? (a) read a question (b) pick an answer (c) see the final score (d) tap “Start quiz”
  15. 15.True or false: a final design uses the final pictures. (a) False (b) True
  16. 16.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Pens → Menu
    Design B: Home → Pens → Item → Pay
    (a) Design B (b) Design A
  17. 17.🗒️ Version 1 of a water reminder must be ready in 7 days. How many days are left for extras after the must-haves?
    set a reminder time: 1 days
    log a glass of water: 1 days
    see today’s total: 4 days
  18. 18.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 30; // start at 30
    line 2: score = score - 3; // take away 1
    line 3: score = score + 4; // add 4
    line 4: show(score); // show it
  19. 19.🎨 Is this about UI or UX: how easy sign-up is? (a) UI (b) UX
  20. 20.🔁 list.length tells you ___. (a) the biggest item (b) how many items it has (c) the last item (d) the first item
  21. 21.True or false: tap to Start is an input. (a) True (b) False
  22. 22.🐞 What is a bug? (a) a new feature (b) a mistake in the code (c) a nice icon (d) a fast phone
  23. 23.💡 Which app idea solves this problem: students cannot find a quiet room? (a) a homework planner (b) a study-room finder (c) a bill splitter (d) a medicine reminder
  24. 24.🧪 Who else should try an app before release? (a) real users (b) only the coder (c) the app icon (d) nobody
  25. 25.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Score card”
    2. tap Back
    3. open “Edit photo”
    4. open “Video”
    5. tap Back
    How many times must you tap Back to reach the main screen of this tab?
  26. 26.🐞 What is a good first step when an app gives a wrong result? (a) delete the app (b) add more colours (c) find where it goes wrong (d) buy a new phone
  27. 27.🔁 What number does this code show?
    let steps = [54, 60, 39];
    let count = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] >= 70) {
        count = count + 1;
      }
    }
    show(count);
  28. 28.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Match report”
    2. tap Back
    3. open “Friend list”
    4. open “Friend list”
    How many times must you tap Back to reach the main screen of this tab?
  29. 29.🗒️ 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
  30. 30.True or false: checking a password is an input. (a) True (b) False
  31. 31.🔀 What does this sign-up rule show?
    let age = 13;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  32. 32.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Search → Menu → Pay → Shop
    Design B: Home → Search → Shop → Address → Results → Cart
  33. 33.🎯 What is a user need? (a) a phone setting (b) a type of button (c) a problem a user has (d) a colour theme
  34. 34.Which of these fits saving on the phone? (a) the sound on/off setting (b) photos on two devices (c) a shared to-do list (d) a class leaderboard
  35. 35.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 7 or more right answers.
    function result(right) {
      if (right >= 7) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(8) → expected Pass
    Test 2: result(5) → expected Try again
    Test 3: result(10) → expected Pass
  36. 36.🔁 A loop over a list of 5 items runs its body how many times? (a) 6 (b) 1 (c) 4 (d) 5
  37. 37.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 8 or more right answers.
    function result(right) {
      if (right > 8) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(8) → expected Pass
    Test 2: result(9) → expected Pass
    Test 3: result(6) → expected Try again
  38. 38.🔀 Which badge does this quiz app show?
    let marks = 57;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Gold (c) Bronze
  39. 39.Which of these is processing? (a) tapping a button (b) a buzz (vibration) (c) typing your age (d) sorting the scores
  40. 40.🌗 Is black on pale grey easy or hard to read on a button? (a) hard to read (b) easy to read

Answer key

  1. 150
  2. line 3
  3. tab bar
  4. False
  5. 3
  6. ===
  7. 1
  8. an app store
  9. 220
  10. see where the bus is
  11. list of items
  12. hard to use
  13. a lost-and-found board
  14. see the final score
  15. True
  16. Design A
  17. 1
  18. 31
  19. UX
  20. how many items it has
  21. False
  22. a mistake in the code
  23. a study-room finder
  24. real users
  25. 1
  26. find where it goes wrong
  27. 0
  28. 2
  29. pick a theme colour
  30. False
  31. Welcome!
  32. 4
  33. a problem a user has
  34. the sound on/off setting
  35. 3
  36. 5
  37. 2
  38. Silver
  39. sorting the scores
  40. easy to read

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