← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 342 · 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.🧰 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(8) + fee(9));
  2. 2.🔀 In a good flow, each screen should lead to ___. (a) a dead end (b) the same screen (c) a random page (d) a clear next step
  3. 3.🧩 In an app, what is a slider for volume? (a) a button (b) data (c) a screen (d) an input
  4. 4.⚙️ Which line does the processing (works out the answer)?
    line 1: let km = 10; // typed by the user
    line 2: let metres = km * 1000;
    line 3: show(metres);
    (a) line 2 (b) line 1 (c) line 3
  5. 5.Which of these is a user need? (a) “What should I cook?” (b) a reminder alarm (c) a search bar (d) a share button
  6. 6.Which of these is an input? (a) your saved notes (b) the game-over page (c) a box to type a name (d) the log-in page
  7. 7.🗒️ Version 1 of a homework planner must be ready in 12 days. How many days are left for extras after the must-haves?
    add a homework task: 1 days
    set a due date: 4 days
    see tasks by day: 5 days
  8. 8.🧩 Which input is best for turning something ON or OFF? (a) a text box (b) a switch (c) a slider (d) a title
  9. 9.🛠️ At which stage do you connect the data? (a) the release stage (b) the plan stage (c) the test stage (d) the build stage
  10. 10.🧪 What is the ACTUAL result of Test 3?
    🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 600) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(900) → expected 0
    Test 2: delivery(500) → expected 40
    Test 3: delivery(800) → expected 0
  11. 11.🧪 What is the ACTUAL result of Test 2?
    🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
    function price(age) {
      if (age <= 14) {
        return 50;
      }
      return 100;
    }
    Test 1: price(14) → expected 100
    Test 2: price(16) → expected 100
    Test 3: price(10) → expected 50
  12. 12.True or false: your last game level fits saving in the cloud. (a) False (b) True
  13. 13.✏️ Do wireframes usually show the final colours? (a) No (b) Yes
  14. 14.💾 What does this code show? (Positions start at 0.)
    let songs = ["Sunrise", "Monsoon", "Ocean", "Rain", "Stars"];
    show(songs[2]);
    (a) Monsoon (b) Sunrise (c) Rain (d) Ocean
  15. 15.👆 The user taps the button 3 times. What number does the label show now?
    let coins = 2;
    button.onTap = function () {
      coins = coins + 1;
      label.text = coins;
    };
  16. 16.True or false: a final design uses plain grey boxes. (a) True (b) False
  17. 17.📱 Which one opens from a link: an app or a website? (a) a website (b) an app
  18. 18.📊 Survey: which problem bugs you most? How many students voted in all?
    missing the bus: 24 votes
    forgetting homework: 12 votes
    no quiet study place: 5 votes
  19. 19.🔁 What does a loop do? (a) deletes code (b) saves photos (c) draws icons (d) repeats code
  20. 20.🔀 What does if / else let an app do? (a) save a photo (b) repeat forever (c) draw a screen (d) pick one of two actions
  21. 21.♿ A screen has 6 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
  22. 22.True or false: strong colour contrast is poor button design. (a) True (b) False
  23. 23.💡 Does an app idea like a medicine reminder solve a real problem? (a) Yes (b) No
  24. 24.♿ Showing right or wrong only in red and green is a problem for ___. (a) the battery (b) colour-blind users (c) fast typists (d) the server
  25. 25.🗂️ What kind of app is a times-table quiz? (a) a tool app (b) a learning app (c) a game (d) a health app
  26. 26.Which of these is true of the back button? (a) hides extra links (b) goes to the last screen (c) shows 3 to 5 icons (d) switches main sections
  27. 27.Which of these is a button? (a) the game-over page (b) the home page of an app (c) the log-in page (d) tap to Start
  28. 28.💾 What does this code show? (Positions start at 0.)
    let friends = ["Kabir", "Meera", "Zoya", "Riya", "Aman"];
    show(friends[0]);
    (a) Zoya (b) Kabir (c) Meera (d) Riya
  29. 29.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) an avatar shop (b) show a question (c) check the answer (d) show the score
  30. 30.🔢 In a photo-post flow, which comes first: “write a caption” or “open the camera screen”? (a) write a caption (b) open the camera screen
  31. 31.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Next button: 60 px tall
    Save button: 32 px tall
    Send button: 60 px tall
  32. 32.🔀 Which badge does this quiz app show?
    let marks = 38;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Bronze (c) Gold
  33. 33.True or false: a pocket-money tracker is the best fit for a gamer who forgets to drink. (a) True (b) False
  34. 34.👆 The user taps the button 2 times. What number does the label show now?
    let stars = 10;
    button.onTap = function () {
      stars = stars + 4;
      label.text = stars;
    };
  35. 35.🔀 What does this sign-up rule show?
    let age = 15;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  36. 36.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Settings
    [text box] Email
    [button] Done
    [switch] Sound
    [text box] Due date
    [text box] Name
  37. 37.♿ A screen has 5 icon buttons. Only 3 of them have a text label for screen readers. How many still need a label?
  38. 38.🗒️ The first small, working version of an app is often called an ___. (a) URL (b) FAQ (c) MVP (d) CPU
  39. 39.True or false: the user types a letter is a timer event. (a) False (b) True
  40. 40.⚙️ Which line does the processing (works out the answer)?
    line 1: let km = 6; // typed by the user
    line 2: let metres = km * 1000;
    line 3: show(metres);
    (a) line 2 (b) line 1 (c) line 3

Answer key

  1. 40
  2. a clear next step
  3. an input
  4. line 2
  5. “What should I cook?”
  6. a box to type a name
  7. 2
  8. a switch
  9. the build stage
  10. 0
  11. 100
  12. False
  13. No
  14. Ocean
  15. 5
  16. False
  17. a website
  18. 41
  19. repeats code
  20. pick one of two actions
  21. 4
  22. False
  23. Yes
  24. colour-blind users
  25. a learning app
  26. goes to the last screen
  27. tap to Start
  28. Kabir
  29. an avatar shop
  30. open the camera screen
  31. 2
  32. Bronze
  33. False
  34. 18
  35. Welcome!
  36. 4
  37. 2
  38. MVP
  39. False
  40. line 2

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