← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 827 · 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.🚀 Which of these versions is the OLDEST?
    1.9.7, 1.15.2, 1.17.4, 0.30.0
    (a) 1.17.4 (b) 0.30.0 (c) 1.15.2 (d) 1.9.7
  2. 2.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(10, 5));
  3. 3.🔐 Which permission does a homework photo scanner really need? (a) the microphone (b) location (c) contacts (d) the camera
  4. 4.🧪 How many of these test cases pass?
    🎟️ 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(18) → expected 100
    Test 2: price(11) → expected 50
    Test 3: price(12) → expected 100
  5. 5.🧰 What does this code show?
    function greet(name) {
      return "Welcome, " + name + "!";
    }
    show(greet("Riya"));
    (a) Welcome, name! (b) Welcome, Riya! (c) greet (d) Riya
  6. 6.Which of these app ideas solves a real problem? (a) a medicine reminder (b) a blank grey screen (c) a button with no action (d) a page of random dots
  7. 7.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ list of items ]
    [ top bar ]
    [ search box ]
    [ tab bar ]
    [ big picture ]
    [ filter buttons ]
    (a) top bar (b) filter buttons (c) search box (d) big picture
  8. 8.👥 A library app has 20 readers, 140 librarians and 180 volunteers as users. How many more volunteers than librarians are there?
  9. 9.🐞 Finding and fixing bugs is called ___. (a) debugging (b) designing (c) decorating (d) downloading
  10. 10.Which of these is processing? (a) a beep sound (b) a pop-up message (c) adding up a bill (d) typing your age
  11. 11.🎯 What is the best first step to learn what users need? (a) guess on your own (b) write the code (c) pick the colours (d) ask and watch users
  12. 12.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Next button: 52 px tall
    Cancel button: 24 px tall
    Help button: 72 px tall
    (a) Help (b) Next (c) Cancel
  13. 13.🚀 Your app is at version 3.4.9. The next release fixes a small bug. What is its version number? (a) 3.5.0 (b) 4.0.0 (c) 3.4.10 (d) 3.5.9
  14. 14.🔀 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
  15. 15.👆 An event in an app is ___. (a) a colour theme (b) a kind of list (c) an app store (d) something that happens
  16. 16.👆 The user taps the button 6 times. What number does the label show now?
    let stars = 5;
    button.onTap = function () {
      stars = stars + 2;
      label.text = stars;
    };
  17. 17.Which of these is true of a website? (a) comes from an app store (b) has a web address (c) is installed on a phone (d) updates from the store
  18. 18.Which of these is a feature? (a) a dark mode switch (b) “I keep missing the bus” (c) “Small text is hard” (d) “I forget my homework”
  19. 19.Which of these app ideas solves no real problem? (a) a button with no action (b) a bill splitter (c) a library due-date alert (d) a medicine reminder
  20. 20.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) pick your bus stop (b) a dark mode (c) change the bus icon (d) rate the driver
  21. 21.👥 A cricket club app has 60 players, 285 coaches and 95 fans as users. Which user group is the biggest? (a) fans (b) coaches (c) players
  22. 22.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Confirm → Results → Cart → Pens → Offers
    Design B: Home → Pens → Cart → Size
  23. 23.Which of these app ideas solves no real problem? (a) a free study-room finder (b) a medicine reminder (c) a blank grey screen (d) a lost-and-found board
  24. 24.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(2) + points(0));
  25. 25.👆 The user types Aman in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Hello, " + nameBox.text + "!";
    };
    (a) Hello, nameBox.text! (b) Aman (c) Hello, Aman! (d) Hello!
  26. 26.⚙️ What number does this app show?
    let price = 560; // typed by the user
    let off = 30; // typed by the user
    let pay = price - off;
    show(pay);
  27. 27.🚀 Which of these versions is the NEWEST?
    2.14.2, 2.6.1, 2.12.7, 1.24.1
    (a) 1.24.1 (b) 2.12.7 (c) 2.14.2 (d) 2.6.1
  28. 28.🧰 What is a function? (a) a type of phone (b) a screen size (c) a list of colours (d) a named block of code
  29. 29.⚙️ In an app, is adding up a bill an input, processing or an output? (a) input (b) processing (c) output
  30. 30.Which of these is about UI (the look)? (a) how easy sign-up is (b) the button colours (c) how many taps it takes (d) whether users get lost
  31. 31.🧩 In an app, what is the log-in page? (a) data (b) a button (c) an input (d) a screen
  32. 32.Which colour pair is easy to read? (a) white on dark green (b) dark blue on black (c) pale pink on white (d) red on green
  33. 33.⚙️ In an app, is tapping a button an input, processing or an output? (a) output (b) input (c) processing
  34. 34.🎨 Who should you test the UX with? (a) the app icon (b) only yourself (c) real users (d) nobody
  35. 35.🔀 What does this sign-up rule show?
    let age = 13;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  36. 36.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let score = 44; // start at 44
    line 2: score = score * 2; // double it
    line 3: score = score - 6; // take away 4
    line 4: show(score); // show it
  37. 37.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(1) + points(3));
  38. 38.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(4) + points(4));
  39. 39.🎨 Is this about UI or UX: the screen layout? (a) UX (b) UI
  40. 40.🧪 How many of these test cases pass?
    🎟️ 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(15) → expected 100
    Test 2: price(12) → expected 50
    Test 3: price(17) → expected 100

Answer key

  1. 0.30.0
  2. 50
  3. the camera
  4. 3
  5. Welcome, Riya!
  6. a medicine reminder
  7. filter buttons
  8. 40
  9. debugging
  10. adding up a bill
  11. ask and watch users
  12. Cancel
  13. 3.4.10
  14. a clear next step
  15. something that happens
  16. 17
  17. has a web address
  18. a dark mode switch
  19. a button with no action
  20. pick your bus stop
  21. coaches
  22. 5
  23. a blank grey screen
  24. 30
  25. Hello, Aman!
  26. 530
  27. 2.14.2
  28. a named block of code
  29. processing
  30. the button colours
  31. a screen
  32. white on dark green
  33. input
  34. real users
  35. Welcome!
  36. 84
  37. 50
  38. 90
  39. UI
  40. 3

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