← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 148 · 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 is true of a website? (a) comes from an app store (b) is installed on a phone (c) updates from the store (d) opens in a web browser
  2. 2.🔀 What does this sign-up rule show?
    let age = 16;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  3. 3.👆 The user taps the button 7 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
  4. 4.🔢 After an app is released, what comes right after “read user reviews”? (a) list what to fix (b) release an update (c) fix and improve (d) test it again
  5. 5.True or false: an app opens from a link. (a) True (b) False
  6. 6.🧩 Which input is best for choosing a volume level? (a) a title (b) a switch (c) a slider (d) a text box
  7. 7.🧩 How many buttons does this app screen have?
    [title] Edit Profile
    [text box] Notes
    [button] Send
  8. 8.Which of these happens at the idea stage? (a) write down the bugs (b) connect the data (c) spot a problem to solve (d) put it on an app store
  9. 9.🖼️ How many parts (boxes) does this wireframe have?
    [ top bar ]
    [ Save button ]
    [ title text ]
    [ search box ]
    [ list of items ]
  10. 10.♿ Showing right or wrong only in red and green is a problem for ___. (a) the server (b) colour-blind users (c) the battery (d) fast typists
  11. 11.🔐 Is this permission request fair or too much: map app → location? (a) too much (b) fair
  12. 12.📊 Survey: which problem bugs you most? How many more votes did “forgetting birthdays” get than “forgetting homework”?
    forgetting homework: 4 votes
    missing the bus: 5 votes
    forgetting birthdays: 16 votes
  13. 13.🔀 What does this PIN rule show?
    let pin = "4926";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  14. 14.🗒️ Version 1 of a water reminder must be ready in 7 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: 3 days
  15. 15.🔢 After an app is released, which comes first: “read user reviews” or “list what to fix”? (a) list what to fix (b) read user reviews
  16. 16.🧭 Which part of navigation switches main sections? (a) a tab bar (b) the back button (c) a menu button
  17. 17.True or false: the app starts up is a load event. (a) False (b) True
  18. 18.🔍 Which is the odd one out? (a) typing your age (b) taking a photo (c) sorting the scores (d) speaking a command
  19. 19.Which of these happens at the plan stage? (a) pick the features (b) connect the data (c) write down the bugs (d) put it on an app store
  20. 20.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Next button: 56 px tall
    Start button: 48 px tall
    Cancel button: 40 px tall
    (a) Next (b) Cancel (c) Start
  21. 21.🧭 Where is a tab bar usually placed in a phone app? (a) at the bottom (b) nowhere (c) in the middle (d) inside a button
  22. 22.🔢 After an app is released, which comes FIRST? (a) read user reviews (b) fix and improve (c) release an update (d) test it again
  23. 23.🔁 What number does this code show?
    let marks = [5, 3, 11, 10];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  24. 24.🔀 What does this sign-up rule show?
    let age = 10;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  25. 25.⚙️ What number does this app show?
    let price = 55; // typed by the user
    let qty = 4; // typed by the user
    let total = price * qty;
    show(total);
  26. 26.👆 The user taps the button 3 times. What number does the label show now?
    let lives = 9;
    button.onTap = function () {
      lives = lives + 4;
      label.text = lives;
    };
  27. 27.Which of these is true of a tab bar? (a) opens a list of pages (b) undoes one move (c) goes to the last screen (d) switches main sections
  28. 28.🧭 Why should every screen show where you are? (a) to use more battery (b) to hide the menu (c) to look busy (d) so users do not get lost
  29. 29.🔀 What does >= mean? (a) less than (b) smaller or equal (c) not equal (d) greater than or equal
  30. 30.📊 Survey: which problem bugs you most? How many more votes did “wasting pocket money” get than “forgetting birthdays”?
    wasting pocket money: 24 votes
    losing water bottles: 25 votes
    forgetting birthdays: 5 votes
  31. 31.💾 Which can hold many values in order? (a) a switch (b) a button (c) a list (d) a single number
  32. 32.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Menu: 12 px
    Title: 13 px
    Label: 24 px
    Caption: 14 px
  33. 33.🔍 Which is the odd one out? (a) a buzz (vibration) (b) checking a password (c) a pop-up message (d) a result on screen
  34. 34.Which of these is a feature? (a) “I forget my homework” (b) “Small text is hard” (c) a search bar (d) “What should I cook?”
  35. 35.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Edit photo”
    2. open “Map”
    3. tap the Settings tab
    4. tap the Settings tab
    Which screen are you on now?
    (a) Settings (b) Feed (c) Map (d) Edit photo
  36. 36.True or false: the log-in page is a screen. (a) False (b) True
  37. 37.🔁 What is the LAST line this code shows?
    let names = ["Zoya", "Riya", "Aman", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Riya (b) Hi, Meera (c) Hi, Zoya (d) Hi, Aman
  38. 38.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
    function price(age) {
      if (age <= 13) {
        return 50;
      }
      return 100;
    }
    Test 1: price(14) → expected 100
    Test 2: price(13) → expected 100
    Test 3: price(11) → expected 50
    (a) Test 1 (b) Test 2 (c) Test 3
  39. 39.📲 What happens when you tap an app’s icon? (a) the phone charges (b) the sound turns off (c) the app is deleted (d) the app opens
  40. 40.🔁 What is the LAST line this code shows?
    let names = ["Aman", "Arjun", "Zoya", "Riya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Aman (b) Hi, Zoya (c) Hi, Arjun (d) Hi, Riya

Answer key

  1. opens in a web browser
  2. Welcome!
  3. ON
  4. list what to fix
  5. False
  6. a slider
  7. 1
  8. spot a problem to solve
  9. 5
  10. colour-blind users
  11. fair
  12. 12
  13. PIN saved
  14. 0
  15. read user reviews
  16. a tab bar
  17. True
  18. sorting the scores
  19. pick the features
  20. Cancel
  21. at the bottom
  22. read user reviews
  23. 29
  24. Ask a parent
  25. 220
  26. 21
  27. switches main sections
  28. so users do not get lost
  29. greater than or equal
  30. 19
  31. a list
  32. 3
  33. checking a password
  34. a search bar
  35. Settings
  36. True
  37. Hi, Meera
  38. Test 2
  39. the app opens
  40. Hi, Riya

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