← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 78 · 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 wireframe shows where things go. (a) True (b) False
  2. 2.Which of these fits saving in the cloud? (a) a draft you are typing (b) photos on two devices (c) notes to read offline (d) your last game level
  3. 3.True or false: the log-in page is an input. (a) False (b) True
  4. 4.Which of these is true of a website? (a) comes from an app store (b) has a home-screen icon (c) has a web address (d) is installed on a phone
  5. 5.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 1, 2, 3 (b) 0, 1, 2 (c) 3 (d) 0, 1, 2, 3
  6. 6.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Hint: 21 px
    Caption: 9 px
    Body text: 21 px
    Footer: 23 px
    (a) Body text (b) Caption (c) Footer (d) Hint
  7. 7.🧰 What does this code show?
    function greet(name) {
      return "Hi, " + name + "!";
    }
    show(greet("Meera"));
    (a) Hi, name! (b) Hi, Meera! (c) greet (d) Meera
  8. 8.🧪 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(700) → expected 0
    Test 2: delivery(400) → expected 0
    Test 3: delivery(300) → expected 40
    (a) Test 2 (b) Test 3 (c) Test 1
  9. 9.🎯 What is a user need? (a) a type of button (b) a colour theme (c) a phone setting (d) a problem a user has
  10. 10.💡 A good app idea starts with ___. (a) a problem to solve (b) a long name (c) many colours (d) a cool logo
  11. 11.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. tap the Search tab
    2. open “Friend list”
    3. tap Back
    Which screen are you on now?
    (a) Friend list (b) Profile (c) Home (d) Search
  12. 12.🧪 What is the ACTUAL result of Test 2?
    🚚 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(850) → expected 0
    Test 2: delivery(700) → expected 0
    Test 3: delivery(650) → expected 40
  13. 13.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. tap the Search tab
    2. open “Edit photo”
    3. tap the Home tab
    How many times must you tap Back to reach the main screen of this tab?
  14. 14.🧪 What is the ACTUAL result of Test 1?
    🎟️ 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(17) → expected 100
    Test 3: price(10) → expected 50
  15. 15.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 45; // start at 44
    line 2: coins = coins - 2; // take away 2
    line 3: coins = coins + 4; // add 4
    line 4: coins = coins * 2; // double it
    line 5: show(coins); // show it
    (a) line 4 (b) line 2 (c) line 1 (d) line 3
  16. 16.✏️ What is a wireframe? (a) a type of password (b) the finished app (c) a simple screen sketch (d) a charging cable
  17. 17.🔢 When you make an app, which comes FIRST? (a) release it (b) plan the screens (c) get an idea (d) build the app
  18. 18.📴 Which of these can often still work with no internet? (a) an installed app (b) a new website (c) an online search (d) a video call
  19. 19.True or false: a medicine reminder solves a real problem. (a) False (b) True
  20. 20.🔢 After an app is released, what comes right after “read user reviews”? (a) test it again (b) release an update (c) fix and improve (d) list what to fix
  21. 21.Which of these is a user need? (a) a share button (b) “What should I cook?” (c) a dark mode switch (d) a reminder alarm
  22. 22.🔘 Our rule: buttons are at least 48 px tall. The Save button is 20 px tall. How many px taller must it be?
  23. 23.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 500; // typed by the user
    line 2: let off = 30; // typed by the user
    line 3: let pay = price - off;
    line 4: show(pay);
    (a) line 1 (b) line 4 (c) line 2 (d) line 3
  24. 24.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 31; // start at 31
    line 2: lives = lives + 2; // double it
    line 3: lives = lives + 5; // add 5
    line 4: show(lives); // show it
    (a) line 2 (b) line 3 (c) line 1
  25. 25.🧩 Which of these is a button on this screen?
    [title] Order Snacks
    [text box] City
    [button] Start
    [text box] Due date
    [text box] Name
    (a) Due date (b) Name (c) City (d) Start
  26. 26.📊 Survey: which problem bugs you most? How many more votes did “wasting pocket money” get than “no quiet study place”?
    wasting pocket money: 20 votes
    no quiet study place: 14 votes
    forgetting homework: 10 votes
  27. 27.True or false: a recipe finder is the best fit for a student who often misses the school bus. (a) True (b) False
  28. 28.🎨 Fewer taps to finish a task usually means ___. (a) worse UX (b) better UX (c) more colours (d) a bigger app
  29. 29.🚀 Which version is newer: 2.2.2 or 2.15.0? (a) 2.15.0 (b) 2.2.2
  30. 30.🎯 Is this a user need or a feature: a reminder alarm? (a) a feature (b) a user need
  31. 31.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) an avatar shop (b) confetti effects (c) show a question (d) background music
  32. 32.👆 The user types Riya in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Hello, " + nameBox.text + "!";
    };
    (a) Hello, nameBox.text! (b) Hello, Riya! (c) Riya (d) Hello!
  33. 33.👆 “On tap → do this” links an event to ___. (a) a charger (b) a font (c) a web address (d) an action
  34. 34.🔀 In a good flow, each screen should lead to ___. (a) a random page (b) a dead end (c) a clear next step (d) the same screen
  35. 35.🧪 A test case is an input together with its ___. (a) expected result (b) screen colour (c) app icon (d) font size
  36. 36.🔍 Which is the odd one out? (a) big touch targets (b) fast-flashing lights (c) strong colour contrast (d) text that can grow
  37. 37.✏️ Is this true of a wireframe or of a final design: has the real colours? (a) a final design (b) a wireframe
  38. 38.🖼️ How many parts (boxes) does this wireframe have?
    [ list of items ]
    [ Add button ]
    [ title text ]
    [ big picture ]
    [ search box ]
    [ top bar ]
  39. 39.Which of these happens at the release stage? (a) write the store text (b) list what users need (c) spot a problem to solve (d) write the code
  40. 40.🔀 When does the else part run? (a) never (b) always (c) when the test is false (d) when the test is true

Answer key

  1. True
  2. photos on two devices
  3. False
  4. has a web address
  5. 0, 1, 2
  6. Caption
  7. Hi, Meera!
  8. Test 2
  9. a problem a user has
  10. a problem to solve
  11. Search
  12. 40
  13. 0
  14. 100
  15. line 1
  16. a simple screen sketch
  17. get an idea
  18. an installed app
  19. True
  20. list what to fix
  21. “What should I cook?”
  22. 28
  23. line 3
  24. line 2
  25. Start
  26. 6
  27. False
  28. better UX
  29. 2.15.0
  30. a feature
  31. show a question
  32. Hello, Riya!
  33. an action
  34. a clear next step
  35. expected result
  36. fast-flashing lights
  37. a final design
  38. 6
  39. write the store text
  40. when the test is false

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