← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 260 · 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.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Save button: 24 px tall
    Start button: 52 px tall
    Next button: 68 px tall
    (a) Start (b) Next (c) Save
  2. 2.True or false: a birthday list of friends needs your location. (a) False (b) True
  3. 3.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money received (b) pie-chart colours (c) show the balance (d) add money spent
  4. 4.Which of these is true of a website? (a) is installed on a phone (b) has a home-screen icon (c) comes from an app store (d) opens from a link
  5. 5.✏️ What is the easiest way to draw a first wireframe? (a) a phone case (b) a 3D printer (c) pencil and paper (d) a microphone
  6. 6.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Offers → Shop → Menu → Pens
    Design B: Home → Menu → Shop → Cart
    (a) Design A (b) Design B
  7. 7.Which of these is a feature? (a) “I keep missing the bus” (b) “What should I cook?” (c) “I forget my homework” (d) a reminder alarm
  8. 8.🐞 Finding and fixing bugs is called ___. (a) downloading (b) designing (c) debugging (d) decorating
  9. 9.Which of these is data? (a) your friends list (b) tap to go Next (c) tap to Send (d) the game-over page
  10. 10.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) see today’s total (b) set a reminder time (c) water animations (d) log a glass of water
  11. 11.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 48; // start at 46
    line 2: lives = lives * 2; // double it
    line 3: lives = lives + 5; // add 5
    line 4: lives = lives * 2; // double it
    line 5: show(lives); // show it
    (a) line 3 (b) line 4 (c) line 2 (d) line 1
  12. 12.True or false: a speak-to-type notes app needs the camera. (a) True (b) False
  13. 13.🎯 Which app would help this user most: a reader who finds small print hard? (a) a homework planner (b) a bus tracker (c) a water reminder (d) a big-text reader
  14. 14.🧪 What is the ACTUAL result of Test 3?
    🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 500) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(500) → expected 0
    Test 2: delivery(600) → expected 0
    Test 3: delivery(300) → expected 40
  15. 15.🔍 Which is the odd one out? (a) list what users need (b) spot a problem to solve (c) talk to possible users (d) share the download link
  16. 16.🔀 What does this PIN rule show?
    let pin = "774";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  17. 17.Which of these app ideas solves a real problem? (a) an app that just says hi (b) a button with no action (c) a free study-room finder (d) a blank grey screen
  18. 18.True or false: a racing challenge is a game. (a) False (b) True
  19. 19.True or false: a word battle is a learning app. (a) False (b) True
  20. 20.🔁 What is the LAST line this code shows?
    let names = ["Zoya", "Arjun", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Arjun (b) Hi, Meera (c) Hi, Zoya
  21. 21.🐞 What is a good first step when an app gives a wrong result? (a) buy a new phone (b) delete the app (c) find where it goes wrong (d) add more colours
  22. 22.Which of these fits saving on the phone? (a) a shared to-do list (b) photos on two devices (c) a draft you are typing (d) a class leaderboard
  23. 23.🧪 What is the ACTUAL result of Test 3?
    🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
    function price(age) {
      if (age < 8) {
        return 50;
      }
      return 100;
    }
    Test 1: price(11) → expected 100
    Test 2: price(7) → expected 50
    Test 3: price(10) → expected 100
  24. 24.Which of these fits saving in the cloud? (a) the sound on/off setting (b) a draft you are typing (c) notes to read offline (d) photos on two devices
  25. 25.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Results → Cart → Search → Menu → Pay
    Design B: Home → Pens → Address → Pay → Search
    (a) Design A (b) Design B
  26. 26.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 11, and 100 for everyone else.
    function price(age) {
      if (age <= 11) {
        return 50;
      }
      return 100;
    }
    Test 1: price(11) → expected 100
    Test 2: price(8) → expected 50
    Test 3: price(16) → expected 100
  27. 27.🖼️ How many parts (boxes) does this wireframe have?
    [ search box ]
    [ filter buttons ]
    [ top bar ]
    [ Save button ]
    [ menu icon ]
  28. 28.🧭 Where is a tab bar usually placed in a phone app? (a) nowhere (b) inside a button (c) at the bottom (d) in the middle
  29. 29.Which of these is true of a website? (a) comes from an app store (b) is installed on a phone (c) opens in a web browser (d) updates from the store
  30. 30.True or false: strong colour contrast is good button design. (a) True (b) False
  31. 31.True or false: a cricket run chase is a game. (a) True (b) False
  32. 32.💾 What does this code show? (Positions start at 0.)
    let friends = ["Aman", "Arjun", "Zoya"];
    show(friends[0]);
    (a) Zoya (b) Arjun (c) Aman
  33. 33.🧩 In an app, what is your friends list? (a) a button (b) a screen (c) data (d) an input
  34. 34.True or false: how users feel after is about UI (the look). (a) False (b) True
  35. 35.Which of these app ideas solves a real problem? (a) a button with no action (b) a medicine reminder (c) a page of random dots (d) a blank grey screen
  36. 36.💡 After a survey, which need should version 1 solve? (a) the newest trend (b) the rarest need (c) a random need (d) the most common need
  37. 37.🧭 Which part of navigation switches main sections? (a) the back button (b) a tab bar (c) a menu button
  38. 38.🔁 What number does this code show?
    let scores = [77, 37, 56, 31, 98];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  39. 39.💡 How can you check that people really have the problem? (a) ask possible users (b) just guess (c) pick a colour (d) copy another app
  40. 40.🔁 What number does this code show?
    let scores = [7, 1, 5, 19];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);

Answer key

  1. Save
  2. False
  3. pie-chart colours
  4. opens from a link
  5. pencil and paper
  6. Design B
  7. a reminder alarm
  8. debugging
  9. your friends list
  10. water animations
  11. line 1
  12. False
  13. a big-text reader
  14. 40
  15. share the download link
  16. Use 4 digits
  17. a free study-room finder
  18. True
  19. False
  20. Hi, Meera
  21. find where it goes wrong
  22. a draft you are typing
  23. 100
  24. photos on two devices
  25. Design B
  26. 2
  27. 5
  28. at the bottom
  29. opens in a web browser
  30. True
  31. True
  32. Aman
  33. data
  34. False
  35. a medicine reminder
  36. the most common need
  37. a tab bar
  38. 2
  39. ask possible users
  40. 32

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