← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 689 · 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 is a button? (a) the settings page (b) your high score (c) the game-over page (d) tap to Save
  2. 2.🖼️ In this wireframe (top to bottom), what is right below the filter buttons?
    [ title text ]
    [ search box ]
    [ top bar ]
    [ filter buttons ]
    [ Add button ]
    [ menu icon ]
    (a) menu icon (b) Add button (c) top bar (d) search box
  3. 3.🧪 One test case fails. Which one?
    🎟️ 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(15) → expected 100
    Test 2: price(9) → expected 50
    Test 3: price(11) → expected 100
    (a) Test 3 (b) Test 1 (c) Test 2
  4. 4.🖼️ In this wireframe (top to bottom), what is right below the menu icon?
    [ tab bar ]
    [ filter buttons ]
    [ Save button ]
    [ search box ]
    [ menu icon ]
    [ title text ]
    (a) tab bar (b) filter buttons (c) title text (d) Save button
  5. 5.🧩 Which of these is a button on this screen?
    [title] Settings
    [button] Start
    [text box] Notes
    [text box] Due date
    [text box] Phone
    (a) Notes (b) Due date (c) Phone (d) Start
  6. 6.🧪 What is the ACTUAL result of Test 1?
    🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 300) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(300) → expected 0
    Test 2: delivery(150) → expected 40
    Test 3: delivery(450) → expected 0
  7. 7.🔢 In a food-order flow, which comes first: “add it to the cart” or “track the order”? (a) add it to the cart (b) track the order
  8. 8.🧰 In function tip(bill), what is bill? (a) a screen (b) a parameter (c) an event (d) a loop
  9. 9.🧪 What is the actual result of a test? (a) the test’s number (b) what we hope for (c) what the app really does (d) the app’s name
  10. 10.🔀 What does this PIN rule show?
    let pin = "682";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  11. 11.⚙️ What number does this app show?
    let price = 150; // typed by the user
    let off = 10; // typed by the user
    let pay = price - off;
    show(pay);
  12. 12.🗒️ Version 1 of a bus tracker must be ready in 15 days. How many days are left for extras after the must-haves?
    see where the bus is: 4 days
    show arrival time: 4 days
    pick your bus stop: 5 days
  13. 13.🧩 Which of these is a button on this screen?
    [title] Add Homework
    [text box] Notes
    [slider] Text size
    [switch] Sound
    [text box] Age
    [button] Send
    [text box] City
    (a) Send (b) Notes (c) Age (d) City
  14. 14.🗒️ In MVP, the M stands for ___. (a) music (b) minimum (c) mobile (d) maximum
  15. 15.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(2) + points(1));
  16. 16.♿ Does this help everyone, or make the app harder to use: colour as the only clue? (a) helps everyone (b) makes it harder
  17. 17.🔀 What does this battery rule show?
    let battery = 65;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  18. 18.💾 What number does this code show?
    let score = 7;
    score = score - 6;
    score = score + 4;
    show(score);
  19. 19.👆 The user taps the button 5 times. What number does the label show now?
    let stars = 9;
    button.onTap = function () {
      stars = stars + 1;
      label.text = stars;
    };
  20. 20.True or false: checking a password is an input. (a) True (b) False
  21. 21.🚀 Your app is at version 1.3.3. The next release fixes a small bug. What is its version number? (a) 1.4.0 (b) 2.0.0 (c) 1.4.3 (d) 1.3.4
  22. 22.🧭 What does the back button usually do? (a) goes to the last screen (b) deletes the page (c) opens settings (d) closes all apps
  23. 23.🚀 Your app is at version 2.0.9. The next release adds a new feature. What is its version number? (a) 2.0.10 (b) 2.1.0 (c) 3.0.0 (d) 2.1.9
  24. 24.Which of these happens at the build stage? (a) write the store text (b) try every button (c) write the code (d) talk to possible users
  25. 25.Which of these is an output? (a) tapping a button (b) speaking a command (c) a result on screen (d) adding up a bill
  26. 26.🧪 A test case is an input together with its ___. (a) app icon (b) expected result (c) screen colour (d) font size
  27. 27.🎯 Who are the users of an app? (a) the app icons (b) only the testers (c) only the coders (d) the people who use it
  28. 28.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let score = 48; // start at 47
    line 2: score = score * 2; // double it
    line 3: score = score * 2; // double it
    line 4: show(score); // show it
  29. 29.🔀 A screen with no way forward or back is called a ___. (a) dead end (b) home screen (c) tab bar (d) shortcut
  30. 30.🎨 UI stands for user ___. (a) input (b) interface (c) internet (d) idea
  31. 31.🔢 When you make an app, which comes first: “get an idea” or “build the app”? (a) get an idea (b) build the app
  32. 32.True or false: a pocket-money tracker is the best fit for a teen whose money runs out by Friday. (a) True (b) False
  33. 33.🧩 In an app, what is your saved notes? (a) data (b) a button (c) an input (d) a screen
  34. 34.✏️ Is this true of a wireframe or of a final design: is a quick sketch? (a) a final design (b) a wireframe
  35. 35.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Next button: 48 px tall
    Done button: 52 px tall
    Start button: 28 px tall
    Cancel button: 68 px tall
    (a) Cancel (b) Next (c) Done (d) Start
  36. 36.💾 What does this code show? (Positions start at 0.)
    let notes = ["Sports", "Science", "Music", "Hindi"];
    show(notes[1]);
    (a) Science (b) Hindi (c) Music (d) Sports
  37. 37.🎨 Is this about UI or UX: the font size? (a) UI (b) UX
  38. 38.True or false: strong colour contrast is good button design. (a) True (b) False
  39. 39.🔁 What number does this code show?
    let scores = [10, 74, 70];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  40. 40.🔀 What does this battery rule show?
    let battery = 55;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK

Answer key

  1. tap to Save
  2. Add button
  3. Test 3
  4. title text
  5. Start
  6. 40
  7. add it to the cart
  8. a parameter
  9. what the app really does
  10. Use 4 digits
  11. 140
  12. 2
  13. Send
  14. minimum
  15. 40
  16. makes it harder
  17. Battery OK
  18. 5
  19. 14
  20. False
  21. 1.3.4
  22. goes to the last screen
  23. 2.1.0
  24. write the code
  25. a result on screen
  26. expected result
  27. the people who use it
  28. 188
  29. dead end
  30. interface
  31. get an idea
  32. True
  33. data
  34. a wireframe
  35. Start
  36. Science
  37. UI
  38. True
  39. 2
  40. Battery OK

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