← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 650 · 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 input is best for turning something ON or OFF? (a) a switch (b) a title (c) a text box (d) a slider
  2. 2.💡 Does an app idea like a lost-and-found board solve a real problem? (a) No (b) Yes
  3. 3.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
    Design A: Home → Shop → Size → Address → Pens → Confirm
    Design B: Home → Cart → Confirm → Offers → Shop
  4. 4.🔁 Why use a loop to show 100 messages? (a) it is slower (b) it hides them (c) it uses more lines (d) less code to write
  5. 5.🔀 What does this sign-up rule show?
    let age = 8;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  6. 6.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) pie-chart colours (b) export to a file (c) show the balance (d) savings stickers
  7. 7.🔔 What is a message an app shows on your lock screen called? (a) a web address (b) a variable (c) a wireframe (d) a notification
  8. 8.🌗 Is dark blue on black easy or hard to read on a button? (a) easy to read (b) hard to read
  9. 9.🧩 How many buttons does this app screen have?
    [title] Edit Profile
    [text box] Subject
    [text box] Age
    [button] Help
  10. 10.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 11, and 100 for everyone else.
    function price(age) {
      if (age <= 11) {
        return 50;
      }
      return 100;
    }
    Test 1: price(13) → expected 100
    Test 2: price(12) → expected 100
    Test 3: price(9) → expected 50
  11. 11.🗒️ A to-do app with no “add a task” feature is ___. (a) well planned (b) a nice extra (c) missing a must-have (d) ready to release
  12. 12.💾 What number does this code show?
    let score = 9;
    score = score - 8;
    score = score + 5;
    show(score);
  13. 13.🔢 When you make an app, what comes right after “build the app”? (a) test the app (b) get an idea (c) release it (d) plan the screens
  14. 14.🧩 What does a button do when you tap it? (a) shows the time (b) starts an action (c) changes the phone (d) saves the battery
  15. 15.👆 The user taps the button 6 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
  16. 16.⚙️ In an app, is a beep sound an input, processing or an output? (a) output (b) input (c) processing
  17. 17.🔀 What does if / else let an app do? (a) repeat forever (b) pick one of two actions (c) save a photo (d) draw a screen
  18. 18.💾 What does this code show? (Positions start at 0.)
    let friends = ["Meera", "Zoya", "Arjun"];
    show(friends[1]);
    (a) Arjun (b) Meera (c) Zoya
  19. 19.Which of these is a feature? (a) “What should I cook?” (b) “I forget my homework” (c) “Small text is hard” (d) a search bar
  20. 20.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) phone cases (b) easy cases (c) edge cases (d) old cases
  21. 21.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) pie-chart colours (b) add money received (c) export to a file (d) savings stickers
  22. 22.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Friend list”
    2. tap the Me tab
    3. open “Match report”
    4. tap the Me tab
    Which screen are you on now?
    (a) Friend list (b) Lessons (c) Match report (d) Me
  23. 23.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Badges”
    2. tap Back
    3. open “Match report”
    4. tap Back
    5. tap the Lessons tab
    Which screen are you on now?
    (a) Lessons (b) Match report (c) Badges (d) Quiz
  24. 24.🐞 Finding and fixing bugs is called ___. (a) debugging (b) designing (c) downloading (d) decorating
  25. 25.🔁 What number does this code show?
    let marks = [18, 14, 3, 7, 8];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  26. 26.True or false: a homework photo scanner needs the camera. (a) True (b) False
  27. 27.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “no quiet study place”?
    wasting pocket money: 22 votes
    forgetting homework: 23 votes
    no quiet study place: 21 votes
  28. 28.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Settings tab
    2. open “Score card”
    3. tap the Feed tab
    Which screen are you on now?
    (a) Settings (b) Chat (c) Feed (d) Score card
  29. 29.🔁 What number does this code show?
    let marks = [35, 49, 15, 97, 30];
    let count = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] >= 50) {
        count = count + 1;
      }
    }
    show(count);
  30. 30.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(40, 5));
  31. 31.Which of these is true of a wireframe? (a) uses the final pictures (b) has the real colours (c) shows where things go (d) looks like the real app
  32. 32.🧩 Which of these is a button on this screen?
    [title] Order Snacks
    [button] Next
    [button] Save
    [text box] Notes
    [switch] Show hints
    [text box] Phone
    (a) Phone (b) Save (c) Notes (d) Show hints
  33. 33.👆 The user taps the button 2 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
  34. 34.True or false: taking a photo is an output. (a) True (b) False
  35. 35.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) set a reminder time (b) share your streak (c) water animations (d) custom alert sounds
  36. 36.🧩 Which of these is a button on this screen?
    [title] Settings
    [switch] Sound
    [text box] Phone
    [button] Send
    [text box] Email
    [button] Back
    (a) Email (b) Send (c) Phone (d) Sound
  37. 37.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(2) + points(1));
  38. 38.🔀 Why plan the user flow before building? (a) to add more taps (b) so each step is clear (c) to hide the buttons (d) to skip testing
  39. 39.🔁 A loop over a list of 5 items runs its body how many times? (a) 1 (b) 4 (c) 5 (d) 6
  40. 40.👆 What kind of event is this: the user types a letter? (a) a timer event (b) a load event (c) a tap event (d) a text event

Answer key

  1. a switch
  2. Yes
  3. 5
  4. less code to write
  5. Ask a parent
  6. show the balance
  7. a notification
  8. hard to read
  9. 1
  10. 3
  11. missing a must-have
  12. 6
  13. test the app
  14. starts an action
  15. OFF
  16. output
  17. pick one of two actions
  18. Zoya
  19. a search bar
  20. edge cases
  21. add money received
  22. Me
  23. Lessons
  24. debugging
  25. 18
  26. True
  27. 2
  28. Feed
  29. 1
  30. 200
  31. shows where things go
  32. Save
  33. OFF
  34. False
  35. set a reminder time
  36. Send
  37. 40
  38. so each step is clear
  39. 5
  40. a text event

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