← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 774 · 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 kind of event is this: a finger hits Like? (a) a text event (b) a tap event (c) a load event (d) a timer event
  2. 2.🔐 Which permission does a walking map really need? (a) contacts (b) the camera (c) the microphone (d) location
  3. 3.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) check the answer (b) show a question (c) an avatar shop (d) show the score
  4. 4.👆 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
  5. 5.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) show the score (b) confetti effects (c) background music (d) an avatar shop
  6. 6.🧩 How many buttons does this app screen have?
    [title] New Note
    [switch] Dark mode
    [text box] Subject
    [text box] Name
    [slider] Volume
    [button] Save
  7. 7.Which of these happens at the test stage? (a) write the code (b) put it on an app store (c) write down the bugs (d) list what users need
  8. 8.🔀 When does the else part run? (a) always (b) when the test is true (c) never (d) when the test is false
  9. 9.👆 The user taps the button 1 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 4) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  10. 10.Which of these app ideas solves a real problem? (a) an app that just says hi (b) a button with no action (c) a page of random dots (d) a lost-and-found board
  11. 11.🔀 What number does this shop app show?
    let total = 430;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  12. 12.🔢 In a quiz-app flow, which comes first: “pick an answer” or “read a question”? (a) read a question (b) pick an answer
  13. 13.🧑 Who is an app really made for? (a) its charger (b) its users (c) its coder only (d) its icon
  14. 14.🎨 Is this about UI or UX: how fast a task is done? (a) UI (b) UX
  15. 15.🔢 In a food-order flow, what comes right after “pick a dish”? (a) open the menu (b) add it to the cart (c) pay for the order (d) check the cart
  16. 16.💡 Which is a problem statement? (a) “Add a logo” (b) “Make it fast” (c) “Kids forget homework” (d) “Use blue buttons”
  17. 17.🧰 How do you run (call) a function called greet? (a) #greet (b) run greet (c) greet[] (d) greet()
  18. 18.🐞 What is a bug? (a) a new feature (b) a nice icon (c) a fast phone (d) a mistake in the code
  19. 19.🗒️ Version 1 of a water reminder must be ready in 8 days. How many days are left for extras after the must-haves?
    set a reminder time: 1 days
    log a glass of water: 3 days
    see today’s total: 4 days
  20. 20.💾 What does this code show? (Positions start at 0.)
    let notes = ["Music", "Hindi", "Maths"];
    show(notes[2]);
    (a) Hindi (b) Maths (c) Music
  21. 21.⚙️ In an app, is tapping a button an input, processing or an output? (a) processing (b) input (c) output
  22. 22.Which of these is an input? (a) adding up a bill (b) checking a password (c) sorting the scores (d) typing your age
  23. 23.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 5 or more right answers.
    function result(right) {
      if (right > 5) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(2) → expected Try again
    Test 2: result(7) → expected Pass
    Test 3: result(6) → expected Pass
  24. 24.🔘 Is this good or poor button design: grey text on grey? (a) poor design (b) good design
  25. 25.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 37; // start at 35
    line 2: coins = coins * 2; // double it
    line 3: coins = coins - 1; // take away 1
    line 4: show(coins); // show it
    (a) line 3 (b) line 2 (c) line 1
  26. 26.🚀 Which version is newer: 2.10.0 or 2.9.1? (a) 2.10.0 (b) 2.9.1
  27. 27.Which of these happens at the build stage? (a) sketch the screens (b) share the download link (c) pick the features (d) connect the data
  28. 28.💾 What number does this code show?
    let songs = ["Monsoon", "Stars", "Rain"];
    songs.push("Sunrise");
    songs.push("Ocean");
    show(songs.length);
  29. 29.Which colour pair is easy to read? (a) pale pink on white (b) dark blue on black (c) yellow on white (d) white on black
  30. 30.🧪 A test fails when ___. (a) both are the same (b) the app is new (c) the font is big (d) actual is not expected
  31. 31.True or false: a website is installed on a phone. (a) False (b) True
  32. 32.True or false: notes to read offline fits saving in the cloud. (a) False (b) True
  33. 33.🚀 Which version is newer: 1.3.1 or 1.14.2? (a) 1.14.2 (b) 1.3.1
  34. 34.🧩 Which part lets the user give the app information? (a) an icon (b) an input (c) a logo (d) a title
  35. 35.📅 An app team plans for 3 days, builds for 11 days, tests for 1 days and releases on 1 more day. How many days does the whole project take?
  36. 36.✏️ What is a wireframe? (a) a simple screen sketch (b) the finished app (c) a type of password (d) a charging cable
  37. 37.Which of these is true of a final design? (a) shows where things go (b) has no real colours (c) has the real colours (d) is a quick sketch
  38. 38.👆 The user taps the button 5 times. What number does the label show now?
    let stars = 3;
    button.onTap = function () {
      stars = stars + 4;
      label.text = stars;
    };
  39. 39.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) set a reminder time (b) see today’s total (c) log a glass of water (d) custom alert sounds
  40. 40.🧪 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(5) → expected Try again
    Test 2: result(9) → expected Pass
    Test 3: result(7) → expected Pass

Answer key

  1. a tap event
  2. location
  3. an avatar shop
  4. a load event
  5. show the score
  6. 1
  7. write down the bugs
  8. when the test is false
  9. 1
  10. a lost-and-found board
  11. 430
  12. read a question
  13. its users
  14. UX
  15. add it to the cart
  16. “Kids forget homework”
  17. greet()
  18. a mistake in the code
  19. 0
  20. Maths
  21. input
  22. typing your age
  23. 3
  24. poor design
  25. line 1
  26. 2.10.0
  27. connect the data
  28. 5
  29. white on black
  30. actual is not expected
  31. False
  32. False
  33. 1.14.2
  34. an input
  35. 16
  36. a simple screen sketch
  37. has the real colours
  38. 23
  39. custom alert sounds
  40. 3

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