← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 136 · 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.👆 The user taps the button 4 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) OFF (b) ON
  2. 2.True or false: “strong colour contrast” makes the app harder to use. (a) True (b) False
  3. 3.📱 Which one opens from a link: an app or a website? (a) an app (b) a website
  4. 4.Which of these is true of a website? (a) opens in a web browser (b) comes from an app store (c) is installed on a phone (d) has a home-screen icon
  5. 5.True or false: the user types a letter is a text event. (a) True (b) False
  6. 6.💾 pop() takes off the last item. What does this code show?
    let friends = ["Kabir", "Meera", "Aman"];
    friends.pop();
    show(friends[friends.length - 1]);
    (a) Aman (b) Kabir (c) Meera
  7. 7.Which of these is a feature? (a) “What should I cook?” (b) a search bar (c) “I keep missing the bus” (d) “Small text is hard”
  8. 8.🔍 Which is the odd one out? (a) the icon shapes (b) the screen layout (c) how easy sign-up is (d) the button colours
  9. 9.⚙️ What number does this app show?
    let km = 11; // typed by the user
    let metres = km * 1000;
    show(metres);
  10. 10.True or false: you share the download link at the release stage. (a) True (b) False
  11. 11.Which of these requests is fair? (a) quiz app → microphone (b) torch → contacts (c) timer → your photos (d) voice notes → microphone
  12. 12.True or false: buttons almost touching is poor button design. (a) False (b) True
  13. 13.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 20;
    }
    show(fee(10) + fee(10));
  14. 14.🔀 What is a user flow? (a) the path through screens (b) a charging cable (c) a type of font (d) a colour theme
  15. 15.💾 What number does this code show?
    let notes = ["Music", "Art", "Science", "Maths"];
    notes.push("Hindi");
    show(notes.length);
  16. 16.🔢 In a food-order flow, which comes LAST? (a) pick a dish (b) check the cart (c) add it to the cart (d) track the order
  17. 17.🧰 What does this code show?
    function greet(name) {
      return "Welcome, " + name + "!";
    }
    show(greet("Meera"));
    (a) Meera (b) Welcome, name! (c) greet (d) Welcome, Meera!
  18. 18.Which of these is an input? (a) tap to Send (b) the home page of an app (c) a date picker (d) today’s step count
  19. 19.🎯 Why learn about users before you build? (a) to build what they need (b) to make it longer (c) to pick a logo (d) to slow it down
  20. 20.🧪 What is the ACTUAL result of Test 3?
    🎟️ Rule: a ticket costs 50 for children under 12, and 100 for everyone else.
    function price(age) {
      if (age < 12) {
        return 50;
      }
      return 100;
    }
    Test 1: price(17) → expected 100
    Test 2: price(12) → expected 100
    Test 3: price(10) → expected 50
  21. 21.Which of these is about UX (the experience)? (a) the screen layout (b) how many taps it takes (c) the icon shapes (d) the theme colours
  22. 22.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Pens → Address → Offers → Item
    Design B: Home → Search → Pay
    (a) Design A (b) Design B
  23. 23.👆 The user taps the button 2 times. What number does the label show now?
    let lives = 7;
    button.onTap = function () {
      lives = lives + 1;
      label.text = lives;
    };
  24. 24.🔀 What does this battery rule show?
    let battery = 29;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  25. 25.True or false: a final design shows the real fonts. (a) False (b) True
  26. 26.👥 A library app has 95 readers, 230 librarians and 170 volunteers as users. Which user group is the biggest? (a) readers (b) librarians (c) volunteers
  27. 27.📊 Survey: which problem bugs you most? How many more votes did “missing the bus” get than “forgetting birthdays”?
    forgetting birthdays: 12 votes
    no quiet study place: 18 votes
    missing the bus: 14 votes
  28. 28.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Video”
    2. tap the Me tab
    3. tap the Me tab
    4. open “Help page”
    5. tap Back
    How many times must you tap Back to reach the main screen of this tab?
  29. 29.💾 Which can hold many values in order? (a) a button (b) a single number (c) a list (d) a switch
  30. 30.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money received (b) export to a file (c) show the balance (d) add money spent
  31. 31.🔢 When you make an app, which comes first: “plan the screens” or “get an idea”? (a) plan the screens (b) get an idea
  32. 32.🌗 Is dark blue on black easy or hard to read on a button? (a) easy to read (b) hard to read
  33. 33.🔁 What is the LAST line this code shows?
    let names = ["Arjun", "Aman", "Kabir", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Meera (b) Hi, Kabir (c) Hi, Arjun (d) Hi, Aman
  34. 34.Which of these is about UI (the look)? (a) how many taps it takes (b) how users feel after (c) how easy sign-up is (d) the theme colours
  35. 35.🧩 Which of these is a button on this screen?
    [title] New Note
    [button] Start
    [button] Save
    [text box] Due date
    (a) Start (b) Due date
  36. 36.🧩 How many buttons does this app screen have?
    [title] Settings
    [button] Help
    [text box] Subject
    [button] Save
    [button] Start
    [switch] Dark mode
    [text box] Email
  37. 37.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(50, 2));
  38. 38.🔍 Which is the odd one out? (a) try every button (b) let friends try it (c) write down the bugs (d) list what users need
  39. 39.🔀 What does this sign-up rule show?
    let age = 9;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  40. 40.True or false: a free study-room finder solves a real problem. (a) True (b) False

Answer key

  1. OFF
  2. False
  3. a website
  4. opens in a web browser
  5. True
  6. Meera
  7. a search bar
  8. how easy sign-up is
  9. 11000
  10. True
  11. voice notes → microphone
  12. True
  13. 40
  14. the path through screens
  15. 5
  16. track the order
  17. Welcome, Meera!
  18. a date picker
  19. to build what they need
  20. 50
  21. how many taps it takes
  22. Design B
  23. 9
  24. Battery OK
  25. True
  26. librarians
  27. 2
  28. 0
  29. a list
  30. export to a file
  31. get an idea
  32. hard to read
  33. Hi, Meera
  34. the theme colours
  35. Start
  36. 3
  37. 100
  38. list what users need
  39. Ask a parent
  40. True

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