← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 606 · 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?
    Body text: 23 px
    Hint: 23 px
    Menu: 11 px
    Label: 12 px
    Title: 16 px
  2. 2.Which of these happens at the idea stage? (a) share the download link (b) talk to possible users (c) draw the user flow (d) pick the features
  3. 3.🎨 Is this about UI or UX: how many taps it takes? (a) UI (b) UX
  4. 4.🚀 Which version is newer: 2.6.2 or 2.6.17? (a) 2.6.17 (b) 2.6.2
  5. 5.🧩 Scores, notes and settings that an app keeps are called ___. (a) data (b) buttons (c) screens (d) tabs
  6. 6.True or false: a date picker is a button. (a) True (b) False
  7. 7.🧭 Which part of navigation sits at the bottom? (a) the back button (b) a menu button (c) a tab bar
  8. 8.🔀 What number does this shop app show?
    let total = 280;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  9. 9.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(75, 2));
  10. 10.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 45; // start at 45
    line 2: points = points + 2; // double it
    line 3: points = points * 2; // double it
    line 4: points = points - 4; // take away 4
    line 5: show(points); // show it
    (a) line 1 (b) line 2 (c) line 4 (d) line 3
  11. 11.True or false: a website is installed on a phone. (a) True (b) False
  12. 12.🎯 Is this a user need or a feature: a dark mode switch? (a) a feature (b) a user need
  13. 13.♿ Does this help everyone, or make the app harder to use: icons with no labels? (a) helps everyone (b) makes it harder
  14. 14.📱 The word “app” is short for ___. (a) application (b) apparatus (c) appetite (d) appointment
  15. 15.🚀 Which version is newer: 4.19.0 or 4.2.3? (a) 4.2.3 (b) 4.19.0
  16. 16.🗒️ A to-do app with no “add a task” feature is ___. (a) ready to release (b) a nice extra (c) missing a must-have (d) well planned
  17. 17.🔁 What is the LAST line this code shows?
    let names = ["Riya", "Zoya", "Arjun", "Meera", "Aman"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Arjun (b) Hi, Riya (c) Hi, Zoya (d) Hi, Aman
  18. 18.🔁 Why use a loop to show 100 messages? (a) it hides them (b) it uses more lines (c) less code to write (d) it is slower
  19. 19.True or false: a shared to-do list fits saving on the phone. (a) False (b) True
  20. 20.True or false: a beep sound is an input. (a) False (b) True
  21. 21.🧪 One test case fails. Which one?
    🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
    function price(age) {
      if (age <= 14) {
        return 50;
      }
      return 100;
    }
    Test 1: price(14) → expected 100
    Test 2: price(15) → expected 100
    Test 3: price(13) → expected 50
    (a) Test 3 (b) Test 1 (c) Test 2
  22. 22.🧭 About how many tabs suit a tab bar best? (a) 3 to 5 (b) 1 (c) 20 (d) 10 to 12
  23. 23.🐞 After fixing a bug you should ___. (a) never test (b) release at once (c) test it again (d) delete the test
  24. 24.True or false: how easy sign-up is is about UI (the look). (a) True (b) False
  25. 25.🎯 Who are the users of an app? (a) the app icons (b) only the testers (c) the people who use it (d) only the coders
  26. 26.🐞 What is a bug? (a) a mistake in the code (b) a new feature (c) a nice icon (d) a fast phone
  27. 27.🔁 What number does this code show?
    let marks = [2, 2, 1];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  28. 28.True or false: a water reminder is the best fit for a gamer who forgets to drink. (a) False (b) True
  29. 29.🧩 Which of these is a button on this screen?
    [title] New Note
    [slider] Brightness
    [switch] Dark mode
    [button] Save
    [text box] Age
    [text box] Phone
    (a) Dark mode (b) Phone (c) Age (d) Save
  30. 30.🔐 Is this permission request fair or too much: torch → contacts? (a) too much (b) fair
  31. 31.💡 Which app idea solves this problem: nobody knows whose bag it is? (a) a lost-and-found board (b) a bill splitter (c) a medicine reminder (d) a homework planner
  32. 32.💡 Does an app idea like a free study-room finder solve a real problem? (a) Yes (b) No
  33. 33.🖼️ In this wireframe (top to bottom), what is right below the list of items?
    [ list of items ]
    [ filter buttons ]
    [ Save button ]
    [ search box ]
    [ Add button ]
    [ title text ]
    (a) Add button (b) filter buttons (c) title text (d) Save button
  34. 34.🚀 A privacy policy tells users ___. (a) the app’s colours (b) the screen size (c) the app’s price (d) what data is collected
  35. 35.🧭 Tapping a tab usually takes you to ___. (a) the last app used (b) a random page (c) that tab’s main screen (d) the phone settings
  36. 36.True or false: a speak-to-type notes app needs the microphone. (a) False (b) True
  37. 37.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 50; // start at 49
    line 2: lives = lives + 6; // add 6
    line 3: lives = lives + 3; // add 3
    line 4: lives = lives * 2; // double it
    line 5: show(lives); // show it
  38. 38.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 800) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(800) → expected 0
    Test 2: delivery(1100) → expected 0
    Test 3: delivery(600) → expected 40
    (a) Test 3 (b) Test 1 (c) Test 2
  39. 39.🔁 What number does this code show?
    let steps = [16, 96, 31];
    let count = 0;
    for (let i = 0; i < steps.length; i++) {
      if (steps[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  40. 40.🔢 In a sign-up flow, which comes FIRST? (a) see the home screen (b) open the app (c) type name and email (d) tap “Sign up”

Answer key

  1. 2
  2. talk to possible users
  3. UX
  4. 2.6.17
  5. data
  6. False
  7. a tab bar
  8. 280
  9. 150
  10. line 2
  11. False
  12. a feature
  13. makes it harder
  14. application
  15. 4.19.0
  16. missing a must-have
  17. Hi, Aman
  18. less code to write
  19. False
  20. False
  21. Test 1
  22. 3 to 5
  23. test it again
  24. False
  25. the people who use it
  26. a mistake in the code
  27. 5
  28. True
  29. Save
  30. too much
  31. a lost-and-found board
  32. Yes
  33. filter buttons
  34. what data is collected
  35. that tab’s main screen
  36. True
  37. 116
  38. Test 1
  39. 1
  40. open the app

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