← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 791 · 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.✏️ A box with a cross in a wireframe usually means ___. (a) a closed app (b) delete this (c) an error (d) a picture goes here
  2. 2.🔁 What does a loop do? (a) saves photos (b) deletes code (c) repeats code (d) draws icons
  3. 3.True or false: a recipe finder is the best fit for a runner who forgets to sip water. (a) False (b) True
  4. 4.💡 Which app idea solves this problem: nobody knows whose bag it is? (a) a lost-and-found board (b) a study-room finder (c) a medicine reminder (d) a bill splitter
  5. 5.True or false: the home page of an app is a button. (a) True (b) False
  6. 6.👥 A clinic app has 265 patients, 225 doctors and 75 nurses as users. How many users does it have in all?
  7. 7.Which of these fits saving in the cloud? (a) your last game level (b) chat messages to friends (c) a draft you are typing (d) notes to read offline
  8. 8.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) an avatar shop (b) background music (c) confetti effects (d) show a question
  9. 9.🔀 What does this PIN rule show?
    let pin = "544";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  10. 10.🧩 How many buttons does this app screen have?
    [title] Edit Profile
    [slider] Brightness
    [text box] Email
    [button] Done
  11. 11.🔀 What does this PIN rule show?
    let pin = "5260";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  12. 12.Which of these makes the app harder to use? (a) labels on every icon (b) strong colour contrast (c) captions on videos (d) fast-flashing lights
  13. 13.🐞 Finding and fixing bugs is called ___. (a) designing (b) debugging (c) decorating (d) downloading
  14. 14.🔍 Which is the odd one out? (a) tapping a button (b) checking a password (c) speaking a command (d) typing your age
  15. 15.🖼️ In this wireframe (top to bottom), what is right below the Add button?
    [ search box ]
    [ Add button ]
    [ title text ]
    [ big picture ]
    (a) title text (b) search box (c) big picture
  16. 16.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 49; // start at 46
    line 2: points = points * 2; // double it
    line 3: points = points + 5; // add 5
    line 4: points = points * 2; // double it
    line 5: show(points); // show it
    (a) line 2 (b) line 4 (c) line 3 (d) line 1
  17. 17.🧪 What is the ACTUAL result of Test 2?
    🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 800) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(1050) → expected 0
    Test 2: delivery(650) → expected 40
    Test 3: delivery(1200) → expected 0
  18. 18.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) show the score (b) show a question (c) background music (d) check the answer
  19. 19.🐞 What is a good first step when an app gives a wrong result? (a) delete the app (b) buy a new phone (c) add more colours (d) find where it goes wrong
  20. 20.🗒️ Version 1 of a bus tracker must be ready in 12 days. How many days are left for extras after the must-haves?
    see where the bus is: 3 days
    show arrival time: 4 days
    pick your bus stop: 3 days
  21. 21.🧰 What does this code show?
    function greet(name) {
      return "Welcome, " + name + "!";
    }
    show(greet("Riya"));
    (a) Welcome, Riya! (b) Welcome, name! (c) greet (d) Riya
  22. 22.🔍 Which is the odd one out? (a) whether users get lost (b) the screen layout (c) the button colours (d) the font size
  23. 23.🔢 In a food-order flow, which comes FIRST? (a) check the cart (b) pay for the order (c) pick a dish (d) open the menu
  24. 24.👆 Code that runs when an event happens is called a ___. (a) header (b) hashtag (c) headline (d) handler
  25. 25.🌗 Is yellow on white easy or hard to read on a button? (a) hard to read (b) easy to read
  26. 26.💡 Does an app idea like a library due-date alert solve a real problem? (a) No (b) Yes
  27. 27.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ filter buttons ]
    [ top bar ]
    [ tab bar ]
    [ title text ]
    (a) title text (b) tab bar (c) filter buttons (d) top bar
  28. 28.🧩 Which input is best for turning something ON or OFF? (a) a text box (b) a switch (c) a title (d) a slider
  29. 29.📱 Which one updates from the store: an app or a website? (a) an app (b) a website
  30. 30.🔁 What number does this code show?
    let scores = [66, 27, 63, 36];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 60) {
        count = count + 1;
      }
    }
    show(count);
  31. 31.🔀 Which badge does this quiz app show?
    let marks = 65;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Gold (b) Bronze (c) Silver
  32. 32.🧰 What does return do in a function? (a) sends back a value (b) deletes the app (c) closes the screen (d) repeats the code
  33. 33.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(33));
  34. 34.🔁 What number does this code show?
    let runs = [3, 17, 9, 7, 4];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  35. 35.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
    function price(age) {
      if (age < 8) {
        return 50;
      }
      return 100;
    }
    Test 1: price(8) → expected 100
    Test 2: price(9) → expected 100
    Test 3: price(4) → expected 50
  36. 36.🧩 How many buttons does this app screen have?
    [title] Settings
    [text box] Notes
    [button] Start
    [button] Cancel
    [text box] Age
    [button] Back
  37. 37.🎨 Is this about UI or UX: the screen layout? (a) UX (b) UI
  38. 38.Which of these is processing? (a) a pop-up message (b) a beep sound (c) speaking a command (d) adding up a bill
  39. 39.🎨 UX stands for user ___. (a) example (b) extra (c) experience (d) express
  40. 40.🔢 In a sign-up flow, which comes LAST? (a) tap “Sign up” (b) see the home screen (c) open the app (d) make a password

Answer key

  1. a picture goes here
  2. repeats code
  3. False
  4. a lost-and-found board
  5. False
  6. 565
  7. chat messages to friends
  8. show a question
  9. Use 4 digits
  10. 1
  11. PIN saved
  12. fast-flashing lights
  13. debugging
  14. checking a password
  15. title text
  16. line 1
  17. 40
  18. background music
  19. find where it goes wrong
  20. 2
  21. Welcome, Riya!
  22. whether users get lost
  23. open the menu
  24. handler
  25. hard to read
  26. Yes
  27. title text
  28. a switch
  29. an app
  30. 2
  31. Silver
  32. sends back a value
  33. 66
  34. 40
  35. 3
  36. 3
  37. UI
  38. adding up a bill
  39. experience
  40. see the home screen

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