← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 936 · 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.👆 Two designs for the same task (each arrow is one tap). How many taps does Design B need?
    Design A: Home → Results → Confirm → Pay → Pens → Cart → Shop
    Design B: Home → Results → Size → Confirm
  2. 2.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Map”
    2. tap Back
    3. open “Video”
    Which screen are you on now?
    (a) Video (b) Search (c) Home (d) Map
  3. 3.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Order Snacks
    [button] Start
    [text box] Email
  4. 4.🔢 In a sign-up flow, which comes LAST? (a) type name and email (b) enter the code sent (c) see the home screen (d) make a password
  5. 5.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Offers → Size
    Design B: Home → Pens → Menu → Pay → Confirm → Offers
  6. 6.💡 Does an app idea like a page of random dots solve a real problem? (a) Yes (b) No
  7. 7.⚙️ In an app, is a beep sound an input, processing or an output? (a) output (b) input (c) processing
  8. 8.🔁 What number does this code show?
    let marks = [4, 6, 10, 6, 19];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  9. 9.🔍 Which is the odd one out? (a) taking a photo (b) a result on screen (c) a beep sound (d) a pop-up message
  10. 10.True or false: a website has a home-screen icon. (a) True (b) False
  11. 11.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(7));
  12. 12.🎯 Which app would help this user most: a reader who finds small print hard? (a) a big-text reader (b) a pocket-money tracker (c) a water reminder (d) a homework planner
  13. 13.👆 The user taps the button 6 times. What number does the label show now?
    let lives = 8;
    button.onTap = function () {
      lives = lives + 5;
      label.text = lives;
    };
  14. 14.🔍 Which is the odd one out? (a) a result on screen (b) a pop-up message (c) a buzz (vibration) (d) typing your age
  15. 15.🧩 In an app, what is a switch for dark mode? (a) data (b) a button (c) a screen (d) an input
  16. 16.True or false: an app comes from an app store. (a) True (b) False
  17. 17.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 410; // typed by the user
    line 2: let off = 30; // typed by the user
    line 3: let pay = price - off;
    line 4: show(pay);
    (a) line 1 (b) line 2 (c) line 4 (d) line 3
  18. 18.🎯 Which app would help this user most: a cook with no idea for dinner? (a) a recipe finder (b) a homework planner (c) a bus tracker (d) a pocket-money tracker
  19. 19.💡 Which app idea solves this problem: friends argue over who pays? (a) a lost-and-found board (b) a study-room finder (c) a medicine reminder (d) a bill splitter
  20. 20.True or false: a buzz (vibration) is an output. (a) True (b) False
  21. 21.Which of these is a feature? (a) “What should I cook?” (b) “I keep missing the bus” (c) a reminder alarm (d) “Small text is hard”
  22. 22.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(1) + points(3));
  23. 23.📊 Survey: which problem bugs you most? How many students voted in all?
    wasting pocket money: 11 votes
    forgetting homework: 7 votes
    no quiet study place: 4 votes
  24. 24.🗒️ A to-do app with no “add a task” feature is ___. (a) ready to release (b) missing a must-have (c) a nice extra (d) well planned
  25. 25.🔐 Which permission does a selfie sticker app really need? (a) contacts (b) the microphone (c) the camera (d) location
  26. 26.💾 What number does this code show?
    let notes = ["Art", "Sports"];
    notes.push("Hindi");
    show(notes.length);
  27. 27.🧩 In an app, what is the settings page? (a) a button (b) data (c) an input (d) a screen
  28. 28.Which of these is processing? (a) checking a password (b) taking a photo (c) a result on screen (d) a pop-up message
  29. 29.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
    function price(age) {
      if (age <= 10) {
        return 50;
      }
      return 100;
    }
    Test 1: price(10) → expected 100
    Test 2: price(7) → expected 50
    Test 3: price(16) → expected 100
    (a) Test 3 (b) Test 2 (c) Test 1
  30. 30.🔀 What does this sign-up rule show?
    let age = 14;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  31. 31.👥 A clinic app has 300 patients, 160 doctors and 95 nurses as users. How many more patients than doctors are there?
  32. 32.Which of these app ideas solves a real problem? (a) a blank grey screen (b) a free study-room finder (c) a page of random dots (d) an app that just says hi
  33. 33.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 32; // start at 32
    line 2: score = score + 2; // double it
    line 3: score = score - 1; // take away 1
    line 4: score = score + 2; // add 2
    line 5: show(score); // show it
    (a) line 2 (b) line 3 (c) line 1 (d) line 4
  34. 34.🔍 Which is the odd one out? (a) put it on an app store (b) connect the data (c) write the store text (d) share the download link
  35. 35.Which of these is a feature? (a) “Small text is hard” (b) “What should I cook?” (c) “I keep missing the bus” (d) a share button
  36. 36.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Shop → Menu
    Design B: Home → Menu → Cart → Pay
    (a) Design A (b) Design B
  37. 37.🔀 What number does this shop app show?
    let total = 360;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  38. 38.🧭 Which part of navigation sits at the bottom? (a) a menu button (b) the back button (c) a tab bar
  39. 39.Which of these is true of a menu button? (a) opens a list of pages (b) shows 3 to 5 icons (c) goes to the last screen (d) sits at the bottom
  40. 40.🚀 Which of these versions is the NEWEST?
    3.13.1, 2.23.2, 3.9.0, 3.8.5
    (a) 3.13.1 (b) 2.23.2 (c) 3.8.5 (d) 3.9.0

Answer key

  1. 3
  2. Video
  3. 1
  4. see the home screen
  5. 3
  6. No
  7. output
  8. 45
  9. taking a photo
  10. False
  11. 14
  12. a big-text reader
  13. 38
  14. typing your age
  15. an input
  16. True
  17. line 3
  18. a recipe finder
  19. a bill splitter
  20. True
  21. a reminder alarm
  22. 50
  23. 22
  24. missing a must-have
  25. the camera
  26. 3
  27. a screen
  28. checking a password
  29. Test 1
  30. Welcome!
  31. 140
  32. a free study-room finder
  33. line 2
  34. connect the data
  35. a share button
  36. Design A
  37. 360
  38. a tab bar
  39. opens a list of pages
  40. 3.13.1

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