← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 908 · 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 kind of event is this: a finger hits Like? (a) a timer event (b) a text event (c) a load event (d) a tap event
  2. 2.Which of these fits saving on the phone? (a) photos on two devices (b) a shared to-do list (c) a class leaderboard (d) notes to read offline
  3. 3.📱 Which one opens in a web browser: an app or a website? (a) an app (b) a website
  4. 4.Which of these is about UX (the experience)? (a) the theme colours (b) the icon shapes (c) the button colours (d) how many taps it takes
  5. 5.Which of these app ideas solves no real problem? (a) a medicine reminder (b) a free study-room finder (c) an app that just says hi (d) a bill splitter
  6. 6.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Hint: 19 px
    Footer: 27 px
    Body text: 13 px
    (a) Footer (b) Hint (c) Body text
  7. 7.True or false: a website updates from the store. (a) False (b) True
  8. 8.🔀 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!
  9. 9.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 60; // typed by the user
    line 2: let qty = 6; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 2 (b) line 3 (c) line 4 (d) line 1
  10. 10.🔢 In a photo-post flow, which comes FIRST? (a) open the camera screen (b) take the photo (c) post the photo (d) add a filter
  11. 11.True or false: buttons almost touching is poor button design. (a) False (b) True
  12. 12.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 800) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(600) → expected 40
    Test 2: delivery(950) → expected 0
    Test 3: delivery(800) → expected 0
  13. 13.🔐 Is this permission request fair or too much: map app → location? (a) too much (b) fair
  14. 14.Which of these happens at the release stage? (a) spot a problem to solve (b) put it on an app store (c) connect the data (d) talk to possible users
  15. 15.🗒️ Version 1 of a quiz app must be ready in 10 days. How many days are left for extras after the must-haves?
    show a question: 1 days
    check the answer: 4 days
    show the score: 5 days
  16. 16.Which of these fits saving on the phone? (a) a shared to-do list (b) chat messages to friends (c) photos on two devices (d) a draft you are typing
  17. 17.⚙️ In an app, is a pop-up message an input, processing or an output? (a) input (b) processing (c) output
  18. 18.📅 An app team plans for 2 days, builds for 12 days, tests for 1 days and releases on 1 more day. How many more days does building take than testing?
  19. 19.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let points = 38; // start at 38
    line 2: points = points * 2; // double it
    line 3: points = points + 2; // double it
    line 4: show(points); // show it
  20. 20.🔀 What number does this shop app show?
    let total = 790;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  21. 21.True or false: an app is installed on a phone. (a) True (b) False
  22. 22.🧪 One test case fails. Which one?
    🎟️ 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(12) → expected 100
    Test 2: price(10) → expected 50
    Test 3: price(18) → expected 100
    (a) Test 2 (b) Test 3 (c) Test 1
  23. 23.🐞 After fixing a bug you should ___. (a) never test (b) delete the test (c) test it again (d) release at once
  24. 24.♿ Accessibility means an app works for ___. (a) only experts (b) only the coder (c) nobody (d) everyone
  25. 25.🔁 What number does this code show?
    let scores = [86, 65, 12, 32];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 70) {
        count = count + 1;
      }
    }
    show(count);
  26. 26.🎯 Which app would help this user most: a student who keeps forgetting due dates? (a) a homework planner (b) a big-text reader (c) a recipe finder (d) a water reminder
  27. 27.🗂️ What kind of app is a sleep tracker? (a) a learning app (b) a health app (c) a game (d) a tool app
  28. 28.Which of these is data? (a) the home page of an app (b) the game-over page (c) a switch for dark mode (d) your saved notes
  29. 29.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 38; // start at 37
    line 2: lives = lives * 2; // double it
    line 3: lives = lives - 5; // take away 5
    line 4: show(lives); // show it
  30. 30.🔢 When you make an app, which comes first: “get an idea” or “plan the screens”? (a) plan the screens (b) get an idea
  31. 31.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(4) + points(0));
  32. 32.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(35));
  33. 33.👆 The user taps the button 3 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 3) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  34. 34.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Help page”
    2. open “Badges”
    3. tap Back
    4. tap the Home tab
    Which screen are you on now?
    (a) Help page (b) Search (c) Home (d) Badges
  35. 35.True or false: a draft you are typing fits saving on the phone. (a) False (b) True
  36. 36.🎯 Is this a user need or a feature: a dark mode switch? (a) a feature (b) a user need
  37. 37.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Item → Menu → Shop
    Design B: Home → Size → Cart → Offers → Menu → Item → Address
    (a) Design B (b) Design A
  38. 38.✏️ Why draw a wireframe before coding? (a) it runs the app (b) it saves data (c) changes are quick (d) it adds colours
  39. 39.🔀 A screen with no way forward or back is called a ___. (a) shortcut (b) tab bar (c) home screen (d) dead end
  40. 40.🔐 Is this permission request fair or too much: quiz app → microphone? (a) fair (b) too much

Answer key

  1. a tap event
  2. notes to read offline
  3. a website
  4. how many taps it takes
  5. an app that just says hi
  6. Body text
  7. False
  8. Welcome!
  9. line 3
  10. open the camera screen
  11. True
  12. 2
  13. fair
  14. put it on an app store
  15. 0
  16. a draft you are typing
  17. output
  18. 11
  19. 152
  20. 740
  21. True
  22. Test 1
  23. test it again
  24. everyone
  25. 1
  26. a homework planner
  27. a health app
  28. your saved notes
  29. 69
  30. get an idea
  31. 50
  32. 105
  33. 3
  34. Home
  35. True
  36. a feature
  37. Design A
  38. changes are quick
  39. dead end
  40. too much

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