← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 637 · 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 one is installed on a phone: an app or a website? (a) an app (b) a website
  2. 2.♿ Does this help everyone, or make the app harder to use: big touch targets? (a) makes it harder (b) helps everyone
  3. 3.🧪 How many of these test cases pass?
    🚚 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(600) → expected 40
    Test 2: delivery(850) → expected 0
    Test 3: delivery(950) → expected 0
  4. 4.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 400) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(300) → expected 40
    Test 2: delivery(550) → expected 0
    Test 3: delivery(400) → expected 0
    (a) Test 1 (b) Test 2 (c) Test 3
  5. 5.True or false: a pocket-money tracker is the best fit for a gamer who forgets to drink. (a) False (b) True
  6. 6.💡 Which app idea solves this problem: friends argue over who pays? (a) a medicine reminder (b) a homework planner (c) a bill splitter (d) a study-room finder
  7. 7.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) a dark mode (b) change the bus icon (c) rate the driver (d) pick your bus stop
  8. 8.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Score card”
    2. tap Back
    3. tap the Search tab
    4. tap the Search tab
    5. open “Edit photo”
    Which screen are you on now?
    (a) Home (b) Score card (c) Search (d) Edit photo
  9. 9.📅 An app team plans for 5 days, builds for 8 days, tests for 3 days and releases on 1 more day. How many days does the whole project take?
  10. 10.Which of these fits saving in the cloud? (a) a draft you are typing (b) your last game level (c) notes to read offline (d) a class leaderboard
  11. 11.💾 What does this code show? (Positions start at 0.)
    let friends = ["Riya", "Arjun", "Kabir", "Zoya", "Meera"];
    show(friends[1]);
    (a) Riya (b) Zoya (c) Arjun (d) Kabir
  12. 12.🔢 When you make an app, what comes right after “get an idea”? (a) test the app (b) release it (c) build the app (d) plan the screens
  13. 13.🌗 Is light grey on white easy or hard to read on a button? (a) easy to read (b) hard to read
  14. 14.Which of these is true of a website? (a) is installed on a phone (b) comes from an app store (c) has a home-screen icon (d) opens in a web browser
  15. 15.🔁 What is the LAST line this code shows?
    let names = ["Meera", "Aman", "Zoya", "Riya", "Kabir"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Meera (b) Hi, Zoya (c) Hi, Kabir (d) Hi, Aman
  16. 16.💡 Does an app idea like a library due-date alert solve a real problem? (a) Yes (b) No
  17. 17.🔁 What is the LAST line this code shows?
    let names = ["Aman", "Riya", "Zoya", "Kabir", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Aman (b) Hi, Meera (c) Hi, Riya (d) Hi, Zoya
  18. 18.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    forgetting homework: 7 votes
    forgetting birthdays: 21 votes
    missing the bus: 24 votes
    (a) forgetting birthdays (b) missing the bus (c) forgetting homework
  19. 19.True or false: a blank grey screen solves no real problem. (a) True (b) False
  20. 20.🖼️ How many parts (boxes) does this wireframe have?
    [ list of items ]
    [ tab bar ]
    [ Add button ]
    [ menu icon ]
    [ search box ]
  21. 21.🎨 UX stands for user ___. (a) example (b) express (c) experience (d) extra
  22. 22.True or false: a pop-up message is processing. (a) False (b) True
  23. 23.🧪 A test fails when ___. (a) the font is big (b) actual is not expected (c) the app is new (d) both are the same
  24. 24.🔢 When you make an app, which comes first: “test the app” or “release it”? (a) test the app (b) release it
  25. 25.💡 Which app idea solves this problem: pupils forget due dates? (a) a medicine reminder (b) a homework planner (c) a bill splitter (d) a study-room finder
  26. 26.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(3) + points(0));
  27. 27.👥 A library app has 80 readers, 300 librarians and 140 volunteers as users. How many more volunteers than readers are there?
  28. 28.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(25, 3));
  29. 29.🧪 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(12) → expected 50
    Test 2: price(13) → expected 100
    Test 3: price(17) → expected 100
    (a) Test 3 (b) Test 1 (c) Test 2
  30. 30.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) background music (b) confetti effects (c) show a question (d) an avatar shop
  31. 31.🔀 What does this sign-up rule show?
    let age = 16;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  32. 32.⚙️ In an app, is a beep sound an input, processing or an output? (a) output (b) processing (c) input
  33. 33.🗒️ Version 1 of a bus tracker must be ready in 10 days. How many days are left for extras after the must-haves?
    see where the bus is: 1 days
    show arrival time: 1 days
    pick your bus stop: 2 days
  34. 34.🔔 What is a message an app shows on your lock screen called? (a) a variable (b) a notification (c) a web address (d) a wireframe
  35. 35.📱 Which one has a web address: an app or a website? (a) a website (b) an app
  36. 36.Which of these is an input? (a) the settings page (b) your saved notes (c) the home page of an app (d) a box to type a name
  37. 37.👆 The user taps the button 5 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 4) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  38. 38.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. tap the Search tab
    2. open “Edit photo”
    3. tap Back
    4. tap the Search tab
    How many times must you tap Back to reach the main screen of this tab?
  39. 39.True or false: how easy sign-up is is about UI (the look). (a) True (b) False
  40. 40.🔁 What is the LAST line this code shows?
    let names = ["Meera", "Riya", "Aman"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Aman (b) Hi, Riya (c) Hi, Meera

Answer key

  1. an app
  2. helps everyone
  3. 3
  4. Test 3
  5. False
  6. a bill splitter
  7. pick your bus stop
  8. Edit photo
  9. 17
  10. a class leaderboard
  11. Arjun
  12. plan the screens
  13. hard to read
  14. opens in a web browser
  15. Hi, Kabir
  16. Yes
  17. Hi, Meera
  18. missing the bus
  19. True
  20. 5
  21. experience
  22. False
  23. actual is not expected
  24. test the app
  25. a homework planner
  26. 40
  27. 60
  28. 75
  29. Test 2
  30. show a question
  31. Welcome!
  32. output
  33. 6
  34. a notification
  35. a website
  36. a box to type a name
  37. 4
  38. 0
  39. False
  40. Hi, Aman

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