← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 83 · 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.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 400) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(400) → expected 0
    Test 2: delivery(450) → expected 0
    Test 3: delivery(200) → expected 40
    (a) Test 3 (b) Test 2 (c) Test 1
  2. 2.🔐 Which permission does a barcode scanner really need? (a) the camera (b) the microphone (c) location (d) contacts
  3. 3.👆 Two designs for the same task (each arrow is one tap). How many taps does Design B need?
    Design A: Home → Offers → Menu → Cart → Address → Item → Results
    Design B: Home → Pay → Shop
  4. 4.📱 Which one needs no installing: an app or a website? (a) an app (b) a website
  5. 5.🧩 In an app, what is a box to type a name? (a) an input (b) a button (c) a screen (d) data
  6. 6.🔢 In a quiz-app flow, which comes FIRST? (a) pick an answer (b) tap “Start quiz” (c) see the final score (d) read a question
  7. 7.🔢 In a quiz-app flow, what comes right after “tap “Start quiz””? (a) see if it is right (b) read a question (c) pick an answer (d) see the final score
  8. 8.🚀 Which of these versions is the OLDEST?
    2.6.4, 2.5.0, 1.30.0, 2.11.0
    (a) 1.30.0 (b) 2.11.0 (c) 2.5.0 (d) 2.6.4
  9. 9.✏️ Do wireframes usually show the final colours? (a) Yes (b) No
  10. 10.🐞 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 + 1; // take away 1
    line 3: coins = coins - 5; // take away 5
    line 4: show(coins); // show it
    (a) line 3 (b) line 1 (c) line 2
  11. 11.💡 A good app idea starts with ___. (a) a long name (b) many colours (c) a problem to solve (d) a cool logo
  12. 12.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Edit photo”
    2. tap the Home tab
    3. tap the Search tab
    Which screen are you on now?
    (a) Home (b) Profile (c) Search (d) Edit photo
  13. 13.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) see where the bus is (b) show arrival time (c) pick your bus stop (d) a dark mode
  14. 14.🔁 Why use a loop to show 100 messages? (a) it is slower (b) it hides them (c) less code to write (d) it uses more lines
  15. 15.🧩 Which part lets the user give the app information? (a) a title (b) an input (c) an icon (d) a logo
  16. 16.Which of these happens at the idea stage? (a) share the download link (b) spot a problem to solve (c) write the code (d) let friends try it
  17. 17.🐞 What is a good first step when an app gives a wrong result? (a) add more colours (b) delete the app (c) find where it goes wrong (d) buy a new phone
  18. 18.🎨 UI stands for user ___. (a) internet (b) idea (c) input (d) interface
  19. 19.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Add Homework
    [button] Done
    [text box] Subject
    [text box] Name
    [switch] Dark mode
    [text box] Phone
    [button] Cancel
    [button] Save
  20. 20.🗒️ What is a must-have feature? (a) a nice extra (b) a colour theme (c) one the app cannot skip (d) a sound effect
  21. 21.🧩 In an app, what is tap to Save? (a) a button (b) an input (c) a screen (d) data
  22. 22.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 20;
    }
    show(fee(8) + fee(12));
  23. 23.True or false: an app that just says hi solves a real problem. (a) False (b) True
  24. 24.📊 Survey: which problem bugs you most? How many more votes did “forgetting birthdays” get than “no quiet study place”?
    no quiet study place: 22 votes
    forgetting birthdays: 24 votes
    missing the bus: 17 votes
  25. 25.⚙️ What number does this app show?
    let bill = 140; // typed by the user
    let friends = 2; // typed by the user
    let share = bill / friends;
    show(share);
  26. 26.🛠️ At which stage do you put it on an app store? (a) the build stage (b) the release stage (c) the plan stage (d) the test stage
  27. 27.Which of these is a feature? (a) “What should I cook?” (b) “Small text is hard” (c) a share button (d) “I forget my homework”
  28. 28.True or false: grey text on grey is poor button design. (a) False (b) True
  29. 29.🔁 What number does this code show?
    let marks = [72, 34, 23];
    let count = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] >= 50) {
        count = count + 1;
      }
    }
    show(count);
  30. 30.🛠️ At which stage do you write the code? (a) the test stage (b) the idea stage (c) the release stage (d) the build stage
  31. 31.True or false: a bus tracker is the best fit for a teen whose money runs out by Friday. (a) False (b) True
  32. 32.🚀 Your app is at version 4.7.9. The next release fixes a small bug. What is its version number? (a) 4.8.0 (b) 5.0.0 (c) 4.7.10 (d) 4.8.9
  33. 33.🧰 What is a function? (a) a screen size (b) a type of phone (c) a list of colours (d) a named block of code
  34. 34.🎯 Which app would help this user most: a student who often misses the school bus? (a) a homework planner (b) a pocket-money tracker (c) a water reminder (d) a bus tracker
  35. 35.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Next button: 52 px tall
    Start button: 36 px tall
    Send button: 40 px tall
    Cancel button: 40 px tall
  36. 36.True or false: the home page of an app is a screen. (a) True (b) False
  37. 37.🔀 What does this battery rule show?
    let battery = 50;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  38. 38.🧩 Which of these is a button on this screen?
    [title] Edit Profile
    [slider] Volume
    [text box] Subject
    [button] Done
    [text box] Notes
    [text box] Name
    (a) Done (b) Subject (c) Name (d) Notes
  39. 39.🔁 What number does this code show?
    let runs = [6, 18, 10];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  40. 40.True or false: a calculator is a tool app. (a) True (b) False

Answer key

  1. Test 1
  2. the camera
  3. 2
  4. a website
  5. an input
  6. tap “Start quiz”
  7. read a question
  8. 1.30.0
  9. No
  10. line 2
  11. a problem to solve
  12. Search
  13. a dark mode
  14. less code to write
  15. an input
  16. spot a problem to solve
  17. find where it goes wrong
  18. interface
  19. 4
  20. one the app cannot skip
  21. a button
  22. 40
  23. False
  24. 2
  25. 70
  26. the release stage
  27. a share button
  28. True
  29. 1
  30. the build stage
  31. False
  32. 4.7.10
  33. a named block of code
  34. a bus tracker
  35. 1
  36. True
  37. Battery OK
  38. Done
  39. 34
  40. True

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