← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 354 · 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.True or false: a recipe finder is the best fit for a teen learning to make snacks. (a) True (b) False
  2. 2.🧪 What is the actual result of a test? (a) the test’s number (b) what we hope for (c) what the app really does (d) the app’s name
  3. 3.💡 Does an app idea like an app that just says hi solve a real problem? (a) Yes (b) No
  4. 4.🎯 Which app would help this user most: a gamer who forgets to drink? (a) a homework planner (b) a big-text reader (c) a pocket-money tracker (d) a water reminder
  5. 5.🧰 What does this code show?
    function greet(name) {
      return "Welcome, " + name + "!";
    }
    show(greet("Arjun"));
    (a) Arjun (b) Welcome, Arjun! (c) Welcome, name! (d) greet
  6. 6.True or false: today’s step count is a button. (a) True (b) False
  7. 7.📱 Which one has a home-screen icon: an app or a website? (a) a website (b) an app
  8. 8.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 300) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(600) → expected 0
    Test 2: delivery(300) → expected 0
    Test 3: delivery(150) → expected 40
    (a) Test 1 (b) Test 2 (c) Test 3
  9. 9.💡 Does an app idea like a blank grey screen solve a real problem? (a) Yes (b) No
  10. 10.🧩 How many buttons does this app screen have?
    [title] Order Snacks
    [button] Cancel
    [text box] Subject
    [text box] Email
    [button] Done
    [text box] Notes
  11. 11.🧪 What is the ACTUAL result of Test 1?
    🚚 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(750) → expected 0
    Test 2: delivery(350) → expected 40
    Test 3: delivery(700) → expected 0
  12. 12.🧪 What is the ACTUAL result of Test 1?
    🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
    function price(age) {
      if (age <= 8) {
        return 50;
      }
      return 100;
    }
    Test 1: price(4) → expected 50
    Test 2: price(8) → expected 100
    Test 3: price(9) → expected 100
  13. 13.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 6 or more right answers.
    function result(right) {
      if (right > 6) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(8) → expected Pass
    Test 2: result(4) → expected Try again
    Test 3: result(11) → expected Pass
  14. 14.🧩 How many buttons does this app screen have?
    [title] Edit Profile
    [text box] Due date
    [button] Cancel
    [text box] Name
    [text box] City
    [slider] Brightness
  15. 15.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 6 or more right answers.
    function result(right) {
      if (right > 6) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(8) → expected Pass
    Test 2: result(6) → expected Pass
    Test 3: result(4) → expected Try again
    (a) Test 3 (b) Test 2 (c) Test 1
  16. 16.🗒️ 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: 2 days
    see today’s total: 3 days
  17. 17.📱 Where do people usually download phone apps from? (a) a charger (b) a web server (c) an app store (d) a printer
  18. 18.🔘 Our rule: buttons are at least 48 px tall. The Cancel button is 20 px tall. How many px taller must it be?
  19. 19.True or false: an app is installed on a phone. (a) True (b) False
  20. 20.Which of these is a screen? (a) your high score (b) your friends list (c) tap to Start (d) the home page of an app
  21. 21.💾 Data saved only on the phone is lost when ___. (a) the phone is lost (b) the app is closed (c) the screen turns off (d) you send a message
  22. 22.👥 A cricket club app has 25 players, 240 coaches and 40 fans as users. How many more fans than players are there?
  23. 23.🧰 In function tip(bill), what is bill? (a) a parameter (b) an event (c) a screen (d) a loop
  24. 24.🔍 Which is the odd one out? (a) speaking a command (b) sorting the scores (c) adding up a bill (d) working out a tip
  25. 25.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Help page”
    2. open “Edit photo”
    3. open “Match report”
    How many times must you tap Back to reach the main screen of this tab?
  26. 26.🚀 Which version is newer: 1.4.0 or 1.14.2? (a) 1.4.0 (b) 1.14.2
  27. 27.Which colour pair is easy to read? (a) yellow on white (b) pale pink on white (c) light grey on white (d) black on pale grey
  28. 28.🔀 What number does this shop app show?
    let total = 330;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  29. 29.🔀 What is a user flow? (a) a charging cable (b) the path through screens (c) a type of font (d) a colour theme
  30. 30.🧰 What is a function? (a) a named block of code (b) a type of phone (c) a screen size (d) a list of colours
  31. 31.True or false: a button with no action solves a real problem. (a) False (b) True
  32. 32.♿ Does this help everyone, or make the app harder to use: text that can grow? (a) makes it harder (b) helps everyone
  33. 33.Which colour pair is hard to read? (a) yellow on white (b) white on black (c) black on pale grey (d) white on dark green
  34. 34.🔢 In a sign-up flow, what comes right after “type name and email”? (a) make a password (b) see the home screen (c) enter the code sent (d) open the app
  35. 35.🧰 Why write a function? (a) to make code longer (b) to slow the app (c) to reuse code (d) to hide errors
  36. 36.👥 A library app has 200 readers, 300 librarians and 165 volunteers as users. How many more librarians than readers are there?
  37. 37.🔍 Which is the odd one out? (a) labels on every icon (b) tiny tap areas (c) text that can grow (d) strong colour contrast
  38. 38.🗒️ When should nice-to-have features be built? (a) before anything (b) after the must-haves (c) on day one (d) never
  39. 39.🧩 How many buttons does this app screen have?
    [title] Add Homework
    [text box] Age
    [button] Cancel
    [text box] Notes
  40. 40.⚙️ What number does this app show?
    let bill = 128; // typed by the user
    let friends = 4; // typed by the user
    let share = bill / friends;
    show(share);

Answer key

  1. True
  2. what the app really does
  3. No
  4. a water reminder
  5. Welcome, Arjun!
  6. False
  7. an app
  8. Test 2
  9. No
  10. 2
  11. 0
  12. 50
  13. 3
  14. 1
  15. Test 2
  16. 1
  17. an app store
  18. 28
  19. True
  20. the home page of an app
  21. the phone is lost
  22. 15
  23. a parameter
  24. speaking a command
  25. 3
  26. 1.14.2
  27. black on pale grey
  28. 330
  29. the path through screens
  30. a named block of code
  31. False
  32. helps everyone
  33. yellow on white
  34. make a password
  35. to reuse code
  36. 100
  37. tiny tap areas
  38. after the must-haves
  39. 1
  40. 32

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