← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 436 · 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.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Footer: 23 px
    Label: 23 px
    Title: 20 px
    Caption: 10 px
  2. 2.⚙️ In an app, is checking a password an input, processing or an output? (a) output (b) input (c) processing
  3. 3.🌗 Is yellow on white easy or hard to read on a button? (a) easy to read (b) hard to read
  4. 4.🌗 Is black on yellow easy or hard to read on a button? (a) easy to read (b) hard to read
  5. 5.🔀 What does this battery rule show?
    let battery = 83;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  6. 6.🔀 A screen with no way forward or back is called a ___. (a) shortcut (b) dead end (c) home screen (d) tab bar
  7. 7.✏️ What is the easiest way to draw a first wireframe? (a) a phone case (b) pencil and paper (c) a microphone (d) a 3D printer
  8. 8.🧪 A test case is an input together with its ___. (a) font size (b) screen colour (c) app icon (d) expected result
  9. 9.🌗 Is light grey on white easy or hard to read on a button? (a) easy to read (b) hard to read
  10. 10.💡 Does an app idea like a free study-room finder solve a real problem? (a) Yes (b) No
  11. 11.👆 The user taps the button 8 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 4) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  12. 12.🔁 What is the LAST line this code shows?
    let names = ["Arjun", "Kabir", "Aman", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Kabir (b) Hi, Meera (c) Hi, Arjun (d) Hi, Aman
  13. 13.💾 What number does this code show?
    let friends = ["Kabir", "Aman"];
    friends.push("Zoya");
    friends.push("Riya");
    show(friends.length);
  14. 14.🗒️ Why keep version 1 small? (a) to use up storage (b) to confuse users (c) to learn from users soon (d) to look bigger
  15. 15.💾 pop() takes off the last item. What does this code show?
    let friends = ["Aman", "Kabir", "Zoya", "Riya"];
    friends.pop();
    show(friends[friends.length - 1]);
    (a) Kabir (b) Riya (c) Aman (d) Zoya
  16. 16.💾 Data saved only on the phone is lost when ___. (a) you send a message (b) the screen turns off (c) the phone is lost (d) the app is closed
  17. 17.📅 An app team plans for 4 days, builds for 11 days, tests for 1 days and releases on 1 more day. How many more days does building take than testing?
  18. 18.🗒️ Version 1 of a bus tracker must be ready in 7 days. How many days are left for extras after the must-haves?
    see where the bus is: 3 days
    show arrival time: 2 days
    pick your bus stop: 2 days
  19. 19.🧪 What is the ACTUAL result of Test 2?
    🚚 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(400) → expected 0
    Test 2: delivery(600) → expected 0
    Test 3: delivery(200) → expected 40
  20. 20.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 33; // start at 32
    line 2: score = score - 1; // take away 1
    line 3: score = score * 2; // double it
    line 4: show(score); // show it
    (a) line 1 (b) line 2 (c) line 3
  21. 21.🎨 Is this about UI or UX: the font size? (a) UX (b) UI
  22. 22.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) an avatar shop (b) show a question (c) check the answer (d) show the score
  23. 23.🔁 What number does this code show?
    let scores = [83, 23, 46];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 70) {
        count = count + 1;
      }
    }
    show(count);
  24. 24.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 60;
    }
    show(fee(12) + fee(7));
  25. 25.✏️ Why draw a wireframe before coding? (a) it runs the app (b) changes are quick (c) it adds colours (d) it saves data
  26. 26.🔍 Which is the odd one out? (a) a calculator (b) a water reminder (c) a sleep tracker (d) a step counter
  27. 27.⚙️ Which line does the processing (works out the answer)?
    line 1: let km = 6; // typed by the user
    line 2: let metres = km * 1000;
    line 3: show(metres);
    (a) line 1 (b) line 3 (c) line 2
  28. 28.🛠️ At which stage do you list what users need? (a) the plan stage (b) the build stage (c) the idea stage (d) the test stage
  29. 29.🧪 What is the actual result of a test? (a) what we hope for (b) the app’s name (c) the test’s number (d) what the app really does
  30. 30.🧪 What is the ACTUAL result of Test 2?
    🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
    function delivery(total) {
      if (total >= 500) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(800) → expected 0
    Test 2: delivery(500) → expected 0
    Test 3: delivery(400) → expected 40
  31. 31.🧭 Which part of navigation switches main sections? (a) a menu button (b) a tab bar (c) the back button
  32. 32.🎯 A short made-up profile of a typical user is called a ___. (a) protocol (b) persona (c) pixel (d) password
  33. 33.🔍 Which is the odd one out? (a) sorting the scores (b) a buzz (vibration) (c) working out a tip (d) checking a password
  34. 34.🔍 Which is the odd one out? (a) let friends try it (b) try every button (c) write down the bugs (d) share the download link
  35. 35.🐞 Finding and fixing bugs is called ___. (a) debugging (b) decorating (c) downloading (d) designing
  36. 36.🔁 A loop over a list of 5 items runs its body how many times? (a) 6 (b) 1 (c) 5 (d) 4
  37. 37.♿ A screen has 6 icon buttons. Only 5 of them have a text label for screen readers. How many still need a label?
  38. 38.Which of these is true of a website? (a) opens in a web browser (b) is installed on a phone (c) has a home-screen icon (d) comes from an app store
  39. 39.Which of these is true of a final design? (a) uses the final pictures (b) shows where things go (c) is a quick sketch (d) has no real colours
  40. 40.📱 Which one has a web address: an app or a website? (a) an app (b) a website

Answer key

  1. 1
  2. processing
  3. hard to read
  4. easy to read
  5. Battery OK
  6. dead end
  7. pencil and paper
  8. expected result
  9. hard to read
  10. Yes
  11. 4
  12. Hi, Meera
  13. 4
  14. to learn from users soon
  15. Zoya
  16. the phone is lost
  17. 10
  18. 0
  19. 0
  20. line 1
  21. UI
  22. an avatar shop
  23. 1
  24. 120
  25. changes are quick
  26. a calculator
  27. line 2
  28. the idea stage
  29. what the app really does
  30. 0
  31. a tab bar
  32. persona
  33. a buzz (vibration)
  34. share the download link
  35. debugging
  36. 5
  37. 1
  38. opens in a web browser
  39. uses the final pictures
  40. a website

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