← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 881 · 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 = 45; // typed by the user
    let qty = 3; // typed by the user
    let total = price * qty;
    show(total);
  2. 2.💡 Which app idea solves this problem: projects pile up at once? (a) a medicine reminder (b) a lost-and-found board (c) a homework planner (d) a bill splitter
  3. 3.Which of these happens at the build stage? (a) spot a problem to solve (b) write the code (c) try every button (d) draw the user flow
  4. 4.True or false: adding up a bill is an output. (a) False (b) True
  5. 5.🔀 What does this PIN rule show?
    let pin = "238";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  6. 6.True or false: “captions on videos” makes the app harder to use. (a) True (b) False
  7. 7.🚀 Your app is at version 2.3.1. The next release fixes a small bug. What is its version number? (a) 2.3.2 (b) 3.0.0 (c) 2.4.1 (d) 2.4.0
  8. 8.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 30;
    }
    show(fee(10) + fee(6));
  9. 9.🔀 What does if / else let an app do? (a) save a photo (b) pick one of two actions (c) repeat forever (d) draw a screen
  10. 10.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) add a homework task (b) pick a theme colour (c) share tasks to friends (d) earn stickers
  11. 11.👥 A library app has 160 readers, 175 librarians and 25 volunteers as users. Which user group is the biggest? (a) librarians (b) volunteers (c) readers
  12. 12.✏️ What is a wireframe? (a) the finished app (b) a charging cable (c) a type of password (d) a simple screen sketch
  13. 13.Which of these is true of a final design? (a) shows where things go (b) uses plain grey boxes (c) has no real colours (d) shows the real fonts
  14. 14.🐞 Finding and fixing bugs is called ___. (a) designing (b) debugging (c) decorating (d) downloading
  15. 15.🧪 What is the ACTUAL result of Test 2?
    🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
    function price(age) {
      if (age < 13) {
        return 50;
      }
      return 100;
    }
    Test 1: price(11) → expected 50
    Test 2: price(15) → expected 100
    Test 3: price(13) → expected 100
  16. 16.🧪 What is the ACTUAL result of Test 2?
    🚚 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(450) → expected 40
    Test 2: delivery(650) → expected 0
    Test 3: delivery(500) → expected 0
  17. 17.🎯 Is this a user need or a feature: a share button? (a) a feature (b) a user need
  18. 18.⚙️ What number does this app show?
    let price = 480; // typed by the user
    let off = 40; // typed by the user
    let pay = price - off;
    show(pay);
  19. 19.✏️ Why draw a wireframe before coding? (a) changes are quick (b) it adds colours (c) it saves data (d) it runs the app
  20. 20.Which of these helps everyone use the app? (a) tiny tap areas (b) sudden loud sounds (c) big touch targets (d) icons with no labels
  21. 21.💾 What number does this code show?
    let songs = ["Kites", "Sunrise", "Stars"];
    songs.push("Monsoon");
    songs.push("Ocean");
    show(songs.length);
  22. 22.🧰 What does this code show?
    function greet(name) {
      return "Welcome, " + name + "!";
    }
    show(greet("Meera"));
    (a) Meera (b) greet (c) Welcome, Meera! (d) Welcome, name!
  23. 23.True or false: you try every button at the idea stage. (a) False (b) True
  24. 24.🧰 How do you run (call) a function called greet? (a) run greet (b) greet() (c) #greet (d) greet[]
  25. 25.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(60, 5));
  26. 26.🚀 Which of these versions is the NEWEST?
    2.12.1, 2.4.2, 1.30.6, 2.2.7
    (a) 2.2.7 (b) 1.30.6 (c) 2.12.1 (d) 2.4.2
  27. 27.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(10, 5));
  28. 28.Which of these is data? (a) your saved notes (b) tap to Send (c) tap to go Next (d) the settings page
  29. 29.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Friend list”
    2. tap the Profile tab
    3. open “Edit photo”
    4. tap the Profile tab
    Which screen are you on now?
    (a) Friend list (b) Profile (c) Home (d) Edit photo
  30. 30.🔀 What does this sign-up rule show?
    let age = 9;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  31. 31.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 42; // start at 40
    line 2: score = score + 4; // add 4
    line 3: score = score + 4; // add 4
    line 4: score = score + 3; // add 3
    line 5: show(score); // show it
    (a) line 1 (b) line 3 (c) line 2 (d) line 4
  32. 32.🔢 When you make an app, what comes right after “plan the screens”? (a) release it (b) get an idea (c) test the app (d) build the app
  33. 33.Which of these is an output? (a) adding up a bill (b) typing your age (c) sorting the scores (d) a beep sound
  34. 34.🧩 Which of these is a button on this screen?
    [title] Order Snacks
    [text box] Notes
    [button] Cancel
    [button] Next
    [button] Help
    [switch] Sound
    [text box] Name
    (a) Name (b) Notes (c) Sound (d) Cancel
  35. 35.Which of these fits saving in the cloud? (a) the sound on/off setting (b) a draft you are typing (c) photos on two devices (d) notes to read offline
  36. 36.True or false: a page of random dots solves a real problem. (a) True (b) False
  37. 37.🎯 Who are the users of an app? (a) only the coders (b) only the testers (c) the app icons (d) the people who use it
  38. 38.🗂️ What kind of app is a puzzle with levels? (a) a health app (b) a game (c) a learning app (d) a tool app
  39. 39.🗒️ When should nice-to-have features be built? (a) before anything (b) after the must-haves (c) never (d) on day one
  40. 40.True or false: you spot a problem to solve at the build stage. (a) False (b) True

Answer key

  1. 135
  2. a homework planner
  3. write the code
  4. False
  5. Use 4 digits
  6. False
  7. 2.3.2
  8. 60
  9. pick one of two actions
  10. add a homework task
  11. librarians
  12. a simple screen sketch
  13. shows the real fonts
  14. debugging
  15. 100
  16. 0
  17. a feature
  18. 440
  19. changes are quick
  20. big touch targets
  21. 5
  22. Welcome, Meera!
  23. False
  24. greet()
  25. 300
  26. 2.12.1
  27. 50
  28. your saved notes
  29. Profile
  30. Ask a parent
  31. line 1
  32. build the app
  33. a beep sound
  34. Cancel
  35. photos on two devices
  36. False
  37. the people who use it
  38. a game
  39. after the must-haves
  40. False

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