← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 235 · 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.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    forgetting birthdays: 4 votes
    missing the bus: 7 votes
    wasting pocket money: 6 votes
    (a) forgetting birthdays (b) wasting pocket money (c) missing the bus
  2. 2.🧩 How many buttons does this app screen have?
    [title] New Note
    [button] Help
    [button] Cancel
    [button] Next
    [text box] Name
    [text box] Due date
  3. 3.🎯 Is this a user need or a feature: “I keep missing the bus”? (a) a user need (b) a feature
  4. 4.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) a dark mode (b) show arrival time (c) pick your bus stop (d) see where the bus is
  5. 5.🔁 What is the LAST line this code shows?
    let names = ["Arjun", "Aman", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Aman (b) Hi, Meera (c) Hi, Arjun
  6. 6.🔢 In a photo-post flow, which comes FIRST? (a) take the photo (b) write a caption (c) post the photo (d) open the camera screen
  7. 7.💡 Does an app idea like a bill splitter solve a real problem? (a) No (b) Yes
  8. 8.Which of these is true of an app? (a) needs no installing (b) has a web address (c) opens in a web browser (d) is installed on a phone
  9. 9.👥 A cricket club app has 240 players, 30 coaches and 60 fans as users. Which user group is the biggest? (a) coaches (b) fans (c) players
  10. 10.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Friend list”
    2. tap the Lessons tab
    3. open “Help page”
    Which screen are you on now?
    (a) Quiz (b) Lessons (c) Help page (d) Friend list
  11. 11.🔀 Which badge does this quiz app show?
    let marks = 100;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Gold (b) Silver (c) Bronze
  12. 12.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 600) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(600) → expected 0
    Test 2: delivery(650) → expected 0
    Test 3: delivery(500) → expected 40
    (a) Test 3 (b) Test 1 (c) Test 2
  13. 13.🔍 Which is the odd one out? (a) a sleep tracker (b) a spelling coach (c) a step counter (d) a water reminder
  14. 14.🔀 What number does this shop app show?
    let total = 660;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  15. 15.True or false: a shared to-do list fits saving on the phone. (a) True (b) False
  16. 16.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Cancel button: 52 px tall
    Done button: 52 px tall
    Help button: 32 px tall
    Send button: 44 px tall
  17. 17.🧪 What is the actual result of a test? (a) the app’s name (b) the test’s number (c) what the app really does (d) what we hope for
  18. 18.True or false: an app opens from a link. (a) True (b) False
  19. 19.Which of these fits saving in the cloud? (a) the sound on/off setting (b) notes to read offline (c) chat messages to friends (d) a draft you are typing
  20. 20.⚙️ What number does this app show?
    let price = 430; // typed by the user
    let off = 10; // typed by the user
    let pay = price - off;
    show(pay);
  21. 21.True or false: space between buttons is good button design. (a) True (b) False
  22. 22.🔁 A loop over a list of 5 items runs its body how many times? (a) 1 (b) 6 (c) 5 (d) 4
  23. 23.True or false: you pick the features at the plan stage. (a) False (b) True
  24. 24.👆 The user taps the button 2 times. What number does the label show now?
    let coins = 10;
    button.onTap = function () {
      coins = coins + 4;
      label.text = coins;
    };
  25. 25.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Video”
    2. tap the Quiz tab
    3. open “Map”
    4. open “Score card”
    5. tap Back
    Which screen are you on now?
    (a) Score card (b) Map (c) Video (d) Lessons
  26. 26.💾 pop() takes off the last item. What does this code show?
    let notes = ["Science", "Sports", "Hindi"];
    notes.pop();
    show(notes[notes.length - 1]);
    (a) Hindi (b) Sports (c) Science
  27. 27.🎯 Is this a user need or a feature: a search bar? (a) a feature (b) a user need
  28. 28.🧩 How many buttons does this app screen have?
    [title] Edit Profile
    [slider] Volume
    [button] Save
    [text box] Age
  29. 29.👆 Code that runs when an event happens is called a ___. (a) handler (b) hashtag (c) headline (d) header
  30. 30.👥 A library app has 235 readers, 65 librarians and 255 volunteers as users. How many more volunteers than readers are there?
  31. 31.True or false: a bus tracker is the best fit for a student who often misses the school bus. (a) True (b) False
  32. 32.🔀 What does this PIN rule show?
    let pin = "572";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  33. 33.💾 Data saved only on the phone is lost when ___. (a) the screen turns off (b) the phone is lost (c) you send a message (d) the app is closed
  34. 34.🔀 What does if / else let an app do? (a) repeat forever (b) draw a screen (c) pick one of two actions (d) save a photo
  35. 35.Which colour pair is easy to read? (a) red on green (b) white on dark green (c) pale pink on white (d) dark blue on black
  36. 36.🔀 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
  37. 37.🔀 What number does this shop app show?
    let total = 290;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  38. 38.🔐 Is this permission request fair or too much: quiz app → microphone? (a) too much (b) fair
  39. 39.Which of these requests asks for too much? (a) camera app → camera (b) calling app → contacts (c) torch → contacts (d) map app → location
  40. 40.True or false: the game-over page is a screen. (a) True (b) False

Answer key

  1. missing the bus
  2. 3
  3. a user need
  4. a dark mode
  5. Hi, Meera
  6. open the camera screen
  7. Yes
  8. is installed on a phone
  9. players
  10. Help page
  11. Gold
  12. Test 1
  13. a spelling coach
  14. 610
  15. False
  16. 2
  17. what the app really does
  18. False
  19. chat messages to friends
  20. 420
  21. True
  22. 5
  23. True
  24. 18
  25. Map
  26. Sports
  27. a feature
  28. 1
  29. handler
  30. 20
  31. True
  32. Use 4 digits
  33. the phone is lost
  34. pick one of two actions
  35. white on dark green
  36. Ask a parent
  37. 290
  38. too much
  39. torch → contacts
  40. True

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