← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 158 · 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 big, easy tap area is good button design. (a) False (b) True
  2. 2.🔁 What is the LAST line this code shows?
    let names = ["Kabir", "Arjun", "Aman", "Zoya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Arjun (b) Hi, Zoya (c) Hi, Aman (d) Hi, Kabir
  3. 3.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 46; // start at 45
    line 2: coins = coins + 5; // add 5
    line 3: coins = coins + 6; // add 6
    line 4: coins = coins + 4; // add 4
    line 5: show(coins); // show it
    (a) line 4 (b) line 2 (c) line 1 (d) line 3
  4. 4.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(85, 4));
  5. 5.Which of these app ideas solves a real problem? (a) a lost-and-found board (b) a blank grey screen (c) a button with no action (d) an app that just says hi
  6. 6.🧭 Which part of navigation shows 3 to 5 icons? (a) a menu button (b) a tab bar (c) the back button
  7. 7.🔢 In a sign-up flow, what comes right after “enter the code sent”? (a) make a password (b) type name and email (c) see the home screen (d) open the app
  8. 8.Which of these is true of an app? (a) opens in a web browser (b) has a web address (c) comes from an app store (d) opens from a link
  9. 9.💡 Does an app idea like a medicine reminder solve a real problem? (a) Yes (b) No
  10. 10.🧭 Which part of navigation sits at the bottom? (a) the back button (b) a menu button (c) a tab bar
  11. 11.🔀 What is a user flow? (a) the path through screens (b) a charging cable (c) a colour theme (d) a type of font
  12. 12.🎯 Who are the users of an app? (a) the people who use it (b) the app icons (c) only the coders (d) only the testers
  13. 13.♿ A screen has 6 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
  14. 14.🔀 In this course’s code, which sign tests “is equal to”? (a) = (b) === (c) => (d) !==
  15. 15.📱 Which one opens from a link: an app or a website? (a) an app (b) a website
  16. 16.🔐 Is this permission request fair or too much: quiz app → microphone? (a) fair (b) too much
  17. 17.True or false: a final design is a quick sketch. (a) True (b) False
  18. 18.📅 An app team plans for 4 days, builds for 5 days, tests for 3 days and releases on 1 more day. How many days does the whole project take?
  19. 19.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 35; // start at 35
    line 2: lives = lives * 2; // double it
    line 3: lives = lives * 3; // double it
    line 4: lives = lives + 2; // add 2
    line 5: show(lives); // show it
    (a) line 1 (b) line 2 (c) line 4 (d) line 3
  20. 20.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 210; // typed by the user
    line 2: let off = 20; // typed by the user
    line 3: let pay = price - off;
    line 4: show(pay);
    (a) line 3 (b) line 4 (c) line 1 (d) line 2
  21. 21.🐞 What is a good first step when an app gives a wrong result? (a) buy a new phone (b) find where it goes wrong (c) delete the app (d) add more colours
  22. 22.🔀 What number does this shop app show?
    let total = 700;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  23. 23.🔁 What does a loop do? (a) repeats code (b) saves photos (c) deletes code (d) draws icons
  24. 24.Which of these is a feature? (a) “I keep missing the bus” (b) “Small text is hard” (c) a reminder alarm (d) “I forget my homework”
  25. 25.🧩 Which of these is a button on this screen?
    [title] Settings
    [text box] Phone
    [text box] Email
    [switch] Sound
    [button] Next
    (a) Sound (b) Email (c) Phone (d) Next
  26. 26.🎯 Is this a user need or a feature: a search bar? (a) a feature (b) a user need
  27. 27.🌐 Which program do you need to open a website? (a) an app store (b) a calculator (c) a camera app (d) a web browser
  28. 28.💡 A good app idea starts with ___. (a) many colours (b) a problem to solve (c) a cool logo (d) a long name
  29. 29.💡 How can you check that people really have the problem? (a) pick a colour (b) just guess (c) ask possible users (d) copy another app
  30. 30.🔁 What number does this code show?
    let marks = [11, 11, 5, 7, 15];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  31. 31.🧪 What is the ACTUAL result of Test 3?
    🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
    function price(age) {
      if (age < 10) {
        return 50;
      }
      return 100;
    }
    Test 1: price(12) → expected 100
    Test 2: price(10) → expected 100
    Test 3: price(6) → expected 50
  32. 32.🔢 In a quiz-app flow, which comes LAST? (a) see the final score (b) read a question (c) pick an answer (d) see if it is right
  33. 33.✏️ Is this true of a wireframe or of a final design: uses the final pictures? (a) a final design (b) a wireframe
  34. 34.🔁 What is the LAST line this code shows?
    let names = ["Arjun", "Meera", "Kabir"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Arjun (b) Hi, Kabir (c) Hi, Meera
  35. 35.🧩 Which of these is a button on this screen?
    [title] Sign Up
    [button] Send
    [text box] Phone
    [text box] Email
    [text box] Age
    (a) Send (b) Phone (c) Email (d) Age
  36. 36.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Add Homework
    [button] Start
    [button] Save
    [text box] City
    [button] Send
  37. 37.True or false: a sleep tracker is a learning app. (a) True (b) False
  38. 38.🔢 After an app is released, which comes FIRST? (a) release an update (b) read user reviews (c) fix and improve (d) list what to fix
  39. 39.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Pay → Confirm → Address
    Design B: Home → Item → Shop → Address → Cart
    (a) Design B (b) Design A
  40. 40.🗒️ Version 1 of a pocket-money tracker must be ready in 10 days. How many days are left for extras after the must-haves?
    add money received: 2 days
    add money spent: 2 days
    show the balance: 4 days

Answer key

  1. True
  2. Hi, Zoya
  3. line 1
  4. 340
  5. a lost-and-found board
  6. a tab bar
  7. see the home screen
  8. comes from an app store
  9. Yes
  10. a tab bar
  11. the path through screens
  12. the people who use it
  13. 4
  14. ===
  15. a website
  16. too much
  17. False
  18. 13
  19. line 3
  20. line 3
  21. find where it goes wrong
  22. 650
  23. repeats code
  24. a reminder alarm
  25. Next
  26. a feature
  27. a web browser
  28. a problem to solve
  29. ask possible users
  30. 49
  31. 50
  32. see the final score
  33. a final design
  34. Hi, Kabir
  35. Send
  36. 1
  37. False
  38. read user reviews
  39. Design A
  40. 2

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