← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 240 · 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 code show?
    let marks = [89, 65, 50, 65];
    let count = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] >= 70) {
        count = count + 1;
      }
    }
    show(count);
  2. 2.True or false: a water reminder is a health app. (a) True (b) False
  3. 3.🧩 What does a button do when you tap it? (a) changes the phone (b) saves the battery (c) starts an action (d) shows the time
  4. 4.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) show arrival time (b) a dark mode (c) rate the driver (d) change the bus icon
  5. 5.Which of these is a screen? (a) tap to Start (b) a box to type a name (c) your high score (d) the settings page
  6. 6.True or false: taking a photo is an output. (a) False (b) True
  7. 7.🔁 What number does this code show?
    let steps = [2, 20, 18, 1];
    let best = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] > best) {
        best = steps[i];
      }
    }
    show(best);
  8. 8.🔢 In a quiz-app flow, what comes right after “pick an answer”? (a) tap “Start quiz” (b) see if it is right (c) read a question (d) see the final score
  9. 9.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Send button: 36 px tall
    Cancel button: 40 px tall
    Start button: 56 px tall
  10. 10.True or false: the button colours is about UI (the look). (a) False (b) True
  11. 11.🔢 When you make an app, which comes FIRST? (a) plan the screens (b) test the app (c) get an idea (d) build the app
  12. 12.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(12));
  13. 13.🔢 In a quiz-app flow, which comes first: “tap “Start quiz”” or “read a question”? (a) tap “Start quiz” (b) read a question
  14. 14.🎯 Which app would help this user most: a parent waiting at the bus stop? (a) a bus tracker (b) a recipe finder (c) a pocket-money tracker (d) a water reminder
  15. 15.🔘 Our rule: buttons are at least 48 px tall. The Back button is 36 px tall. How many px taller must it be?
  16. 16.🧩 Which input is best for turning something ON or OFF? (a) a slider (b) a title (c) a text box (d) a switch
  17. 17.🔀 With if / else if / else, how many parts run? (a) only one (b) two (c) all of them (d) none
  18. 18.👆 The user taps the button 3 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
  19. 19.🔍 Which is the odd one out? (a) how easy sign-up is (b) how many taps it takes (c) the font size (d) how users feel after
  20. 20.📊 Survey: which problem bugs you most? How many students voted in all?
    missing the bus: 6 votes
    forgetting homework: 22 votes
    losing water bottles: 18 votes
  21. 21.✏️ Is this true of a wireframe or of a final design: uses plain grey boxes? (a) a final design (b) a wireframe
  22. 22.True or false: a clear word like Save is poor button design. (a) True (b) False
  23. 23.🗒️ The first small, working version of an app is often called an ___. (a) FAQ (b) CPU (c) MVP (d) URL
  24. 24.⚙️ What number does this app show?
    let km = 12; // typed by the user
    let metres = km * 1000;
    show(metres);
  25. 25.🌗 Is yellow on white easy or hard to read on a button? (a) easy to read (b) hard to read
  26. 26.🔘 Our rule: buttons are at least 48 px tall. The Start button is 20 px tall. How many px taller must it be?
  27. 27.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let points = 48; // start at 48
    line 2: points = points * 2; // double it
    line 3: points = points - 6; // add 6
    line 4: show(points); // show it
  28. 28.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Chat tab
    2. open “Badges”
    3. tap Back
    4. tap the Feed tab
    5. open “Map”
    How many times must you tap Back to reach the main screen of this tab?
  29. 29.🔍 Which is the odd one out? (a) a unit converter (b) a racing challenge (c) a calculator (d) a torch
  30. 30.True or false: an alarm clock is a tool app. (a) True (b) False
  31. 31.👆 What kind of event is this: the app starts up? (a) a text event (b) a load event (c) a tap event (d) a timer event
  32. 32.Which of these helps everyone use the app? (a) colour as the only clue (b) tiny tap areas (c) icons with no labels (d) text that can grow
  33. 33.🗒️ Version 1 of a quiz app must be ready in 9 days. How many days are left for extras after the must-haves?
    show a question: 1 days
    check the answer: 2 days
    show the score: 5 days
  34. 34.🎨 Is this about UI or UX: how fast a task is done? (a) UX (b) UI
  35. 35.🔘 Is this good or poor button design: a big, easy tap area? (a) good design (b) poor design
  36. 36.🐞 What is a bug? (a) a new feature (b) a fast phone (c) a mistake in the code (d) a nice icon
  37. 37.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 6 or more right answers.
    function result(right) {
      if (right >= 6) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(4) → expected Try again
    Test 2: result(9) → expected Pass
    Test 3: result(7) → expected Pass
  38. 38.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let points = 45; // start at 44
    line 2: points = points + 5; // add 5
    line 3: points = points + 2; // add 2
    line 4: points = points * 2; // double it
    line 5: show(points); // show it
  39. 39.👆 The user taps the button 6 times. What number does the label show now?
    let coins = 5;
    button.onTap = function () {
      coins = coins + 2;
      label.text = coins;
    };
  40. 40.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) rate the driver (b) see where the bus is (c) show arrival time (d) pick your bus stop

Answer key

  1. 1
  2. True
  3. starts an action
  4. show arrival time
  5. the settings page
  6. False
  7. 20
  8. see if it is right
  9. 1
  10. True
  11. get an idea
  12. 36
  13. tap “Start quiz”
  14. a bus tracker
  15. 12
  16. a switch
  17. only one
  18. ON
  19. the font size
  20. 46
  21. a wireframe
  22. False
  23. MVP
  24. 12000
  25. hard to read
  26. 28
  27. 102
  28. 1
  29. a racing challenge
  30. True
  31. a load event
  32. text that can grow
  33. 1
  34. UX
  35. good design
  36. a mistake in the code
  37. 3
  38. 104
  39. 17
  40. rate the driver

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