← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 785 · 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.Which of these app ideas solves a real problem? (a) a button with no action (b) a blank grey screen (c) a medicine reminder (d) a page of random dots
  2. 2.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 52; // start at 50
    line 2: stars = stars * 2; // double it
    line 3: stars = stars + 6; // add 6
    line 4: stars = stars * 2; // double it
    line 5: show(stars); // show it
    (a) line 1 (b) line 3 (c) line 4 (d) line 2
  3. 3.True or false: a voice recorder needs your location. (a) True (b) False
  4. 4.🌗 Is dark blue on black easy or hard to read on a button? (a) hard to read (b) easy to read
  5. 5.True or false: the icon shapes is about UI (the look). (a) True (b) False
  6. 6.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) savings stickers (b) pie-chart colours (c) add money received (d) export to a file
  7. 7.🔁 What number does this code show?
    let steps = [34, 71, 22, 36, 97];
    let count = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] >= 70) {
        count = count + 1;
      }
    }
    show(count);
  8. 8.🔍 Which is the odd one out? (a) share the download link (b) write the store text (c) try every button (d) put it on an app store
  9. 9.Which of these is true of a tab bar? (a) goes to the last screen (b) opens a list of pages (c) hides extra links (d) switches main sections
  10. 10.True or false: a finger hits Like is a timer event. (a) False (b) True
  11. 11.⚙️ What number does this app show?
    let price = 100; // typed by the user
    let qty = 4; // typed by the user
    let total = price * qty;
    show(total);
  12. 12.🔢 In a food-order flow, what comes right after “open the menu”? (a) check the cart (b) track the order (c) pick a dish (d) pay for the order
  13. 13.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Search → Item → Confirm → Pens
    Design B: Home → Pay → Shop → Size → Address → Item → Confirm
  14. 14.Which of these is true of an app? (a) needs no installing (b) opens from a link (c) opens in a web browser (d) updates from the store
  15. 15.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) change the bus icon (b) a dark mode (c) rate the driver (d) show arrival time
  16. 16.🧪 What is the ACTUAL result of Test 2?
    🚚 Rule: delivery is free (0) when the order is 700 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 700) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(700) → expected 0
    Test 2: delivery(850) → expected 0
    Test 3: delivery(550) → expected 40
  17. 17.🐞 Finding and fixing bugs is called ___. (a) decorating (b) debugging (c) downloading (d) designing
  18. 18.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 40;
    }
    show(fee(7) + fee(2));
  19. 19.True or false: you talk to possible users at the test stage. (a) False (b) True
  20. 20.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 8 or more right answers.
    function result(right) {
      if (right > 8) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(6) → expected Try again
    Test 2: result(9) → expected Pass
    Test 3: result(10) → expected Pass
  21. 21.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Quiz tab
    2. tap the Quiz tab
    3. open “Score card”
    4. tap Back
    Which screen are you on now?
    (a) Me (b) Quiz (c) Lessons (d) Score card
  22. 22.True or false: an app has a web address. (a) True (b) False
  23. 23.🧩 Which of these is a button on this screen?
    [title] Add Homework
    [button] Help
    [slider] Text size
    [text box] Age
    (a) Help (b) Text size (c) Age
  24. 24.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Order Snacks
    [slider] Brightness
    [button] Send
    [button] Help
    [text box] Notes
  25. 25.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Cart → Search → Address → Size → Item
    Design B: Home → Address → Results → Shop → Item
    (a) Design A (b) Design B
  26. 26.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) set a reminder time (b) log a glass of water (c) see today’s total (d) water animations
  27. 27.🔢 In a quiz-app flow, which comes first: “tap “Start quiz”” or “see the final score”? (a) tap “Start quiz” (b) see the final score
  28. 28.👥 A cricket club app has 110 players, 295 coaches and 215 fans as users. How many more coaches than fans are there?
  29. 29.🧩 How many buttons does this app screen have?
    [title] Add Homework
    [button] Back
    [text box] City
    [slider] Brightness
    [button] Cancel
    [text box] Name
    [button] Send
  30. 30.True or false: you draw the user flow at the plan stage. (a) False (b) True
  31. 31.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) pick a theme colour (b) add a homework task (c) see tasks by day (d) set a due date
  32. 32.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) export to a file (b) add money spent (c) savings stickers (d) pie-chart colours
  33. 33.🎯 Is this a user need or a feature: “I forget my homework”? (a) a user need (b) a feature
  34. 34.🧩 Which input is best for typing your name? (a) a switch (b) a text box (c) a picture (d) a slider
  35. 35.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Offers → Cart → Pens → Address → Results
    Design B: Home → Size → Cart
  36. 36.👆 What kind of event is this: the user taps Play? (a) a text event (b) a timer event (c) a load event (d) a tap event
  37. 37.📱 Which one comes from an app store: an app or a website? (a) an app (b) a website
  38. 38.💾 What number does this code show?
    let songs = ["Monsoon", "Ocean", "Rain"];
    songs.push("Sunrise");
    show(songs.length);
  39. 39.🔁 What number does this code show?
    let steps = [14, 16, 19, 20];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);
  40. 40.True or false: a switch for dark mode is a button. (a) True (b) False

Answer key

  1. a medicine reminder
  2. line 1
  3. False
  4. hard to read
  5. True
  6. add money received
  7. 2
  8. try every button
  9. switches main sections
  10. False
  11. 400
  12. pick a dish
  13. 2
  14. updates from the store
  15. show arrival time
  16. 0
  17. debugging
  18. 40
  19. False
  20. 3
  21. Quiz
  22. False
  23. Help
  24. 2
  25. Design B
  26. water animations
  27. tap “Start quiz”
  28. 80
  29. 3
  30. True
  31. pick a theme colour
  32. add money spent
  33. a user need
  34. a text box
  35. 5
  36. a tap event
  37. an app
  38. 4
  39. 69
  40. False

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