← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 721 · 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.🛠️ At which stage do you write down the bugs? (a) the test stage (b) the build stage (c) the plan stage (d) the idea stage
  2. 2.🗒️ A to-do app with no “add a task” feature is ___. (a) a nice extra (b) well planned (c) ready to release (d) missing a must-have
  3. 3.✏️ Do wireframes usually show the final colours? (a) Yes (b) No
  4. 4.True or false: the icon shapes is about UX (the experience). (a) True (b) False
  5. 5.Which of these requests asks for too much? (a) voice notes → microphone (b) map app → location (c) calculator → location (d) camera app → camera
  6. 6.Which of these is true of a wireframe? (a) has the real colours (b) shows the real fonts (c) uses the final pictures (d) uses plain grey boxes
  7. 7.🖼️ In this wireframe (top to bottom), what is right below the list of items?
    [ menu icon ]
    [ top bar ]
    [ list of items ]
    [ search box ]
    [ big picture ]
    (a) top bar (b) menu icon (c) big picture (d) search box
  8. 8.🧩 Which of these is a button on this screen?
    [title] Edit Profile
    [button] Save
    [slider] Text size
    [text box] Name
    [switch] Sound
    [text box] City
    [text box] Subject
    (a) Subject (b) Name (c) City (d) Save
  9. 9.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 600) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(850) → expected 0
    Test 2: delivery(900) → expected 0
    Test 3: delivery(450) → expected 40
  10. 10.🚀 Which of these versions is the NEWEST?
    3.13.9, 3.3.3, 2.23.0, 3.17.6
    (a) 3.3.3 (b) 3.13.9 (c) 2.23.0 (d) 3.17.6
  11. 11.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 35; // start at 35
    line 2: coins = coins + 2; // add 2
    line 3: coins = coins + 2; // take away 2
    line 4: coins = coins + 4; // add 4
    line 5: show(coins); // show it
    (a) line 2 (b) line 3 (c) line 4 (d) line 1
  12. 12.🖼️ In this wireframe (top to bottom), what is right below the list of items?
    [ top bar ]
    [ filter buttons ]
    [ list of items ]
    [ search box ]
    (a) filter buttons (b) top bar (c) search box
  13. 13.♿ What should every icon-only button have for screen readers? (a) a text label (b) a long animation (c) a bright colour (d) a sound
  14. 14.📱 Which one comes from an app store: an app or a website? (a) an app (b) a website
  15. 15.👥 A school app has 150 students, 40 teachers and 295 parents as users. How many more students than teachers are there?
  16. 16.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let lives = 45; // start at 43
    line 2: lives = lives + 6; // add 6
    line 3: lives = lives - 4; // take away 4
    line 4: show(lives); // show it
  17. 17.🔍 Which is the odd one out? (a) captions on videos (b) strong colour contrast (c) icons with no labels (d) text that can grow
  18. 18.🐞 What is a good first step when an app gives a wrong result? (a) delete the app (b) find where it goes wrong (c) add more colours (d) buy a new phone
  19. 19.💡 Which is a problem statement? (a) “Kids forget homework” (b) “Use blue buttons” (c) “Make it fast” (d) “Add a logo”
  20. 20.🔁 What number does this code show?
    let runs = [2, 12, 16, 20];
    let best = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] > best) {
        best = runs[i];
      }
    }
    show(best);
  21. 21.🧪 A test case is an input together with its ___. (a) font size (b) screen colour (c) app icon (d) expected result
  22. 22.Which of these fits saving on the phone? (a) chat messages to friends (b) photos on two devices (c) the sound on/off setting (d) a shared to-do list
  23. 23.👆 The user taps the button 7 times. What does the label show now?
    let on = false;
    button.onTap = function () {
      on = !on;
      if (on) {
        label.text = "ON";
      } else {
        label.text = "OFF";
      }
    };
    (a) ON (b) OFF
  24. 24.🔘 Our rule: buttons are at least 48 px tall. The Start button is 36 px tall. How many px taller must it be?
  25. 25.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Video”
    2. tap Back
    3. open “Friend list”
    How many times must you tap Back to reach the main screen of this tab?
  26. 26.💡 Does an app idea like a free study-room finder solve a real problem? (a) No (b) Yes
  27. 27.Which of these is true of a wireframe? (a) uses the final pictures (b) has no real colours (c) shows the real fonts (d) has the real colours
  28. 28.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) pick your bus stop (b) see where the bus is (c) rate the driver (d) show arrival time
  29. 29.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(80, 2));
  30. 30.🧩 In an app, what is the log-in page? (a) data (b) an input (c) a screen (d) a button
  31. 31.📱 Which one has a home-screen icon: an app or a website? (a) an app (b) a website
  32. 32.🔁 What number does this code show?
    let scores = [16, 20, 4, 1, 13];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  33. 33.Which of these requests is fair? (a) torch → contacts (b) quiz app → microphone (c) map app → location (d) calculator → location
  34. 34.🐞 After fixing a bug you should ___. (a) test it again (b) release at once (c) delete the test (d) never test
  35. 35.🔀 What does this sign-up rule show?
    let age = 8;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  36. 36.Which of these app ideas solves a real problem? (a) a bill splitter (b) a button with no action (c) an app that just says hi (d) a blank grey screen
  37. 37.True or false: a guitar tuner needs your contacts. (a) True (b) False
  38. 38.True or false: the game-over page is a screen. (a) True (b) False
  39. 39.True or false: a water reminder is the best fit for a runner who forgets to sip water. (a) False (b) True
  40. 40.🧪 How many of these test cases pass?
    🚚 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(100) → expected 40
    Test 3: delivery(350) → expected 0

Answer key

  1. the test stage
  2. missing a must-have
  3. No
  4. False
  5. calculator → location
  6. uses plain grey boxes
  7. search box
  8. Save
  9. 3
  10. 3.17.6
  11. line 3
  12. search box
  13. a text label
  14. an app
  15. 110
  16. 47
  17. icons with no labels
  18. find where it goes wrong
  19. “Kids forget homework”
  20. 20
  21. expected result
  22. the sound on/off setting
  23. ON
  24. 12
  25. 1
  26. Yes
  27. has no real colours
  28. rate the driver
  29. 160
  30. a screen
  31. an app
  32. 54
  33. map app → location
  34. test it again
  35. Ask a parent
  36. a bill splitter
  37. False
  38. True
  39. True
  40. 3

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