← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 343 · 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.🧩 Which input is best for turning something ON or OFF? (a) a slider (b) a switch (c) a text box (d) a title
  2. 2.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 600) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(600) → expected 0
    Test 2: delivery(700) → expected 0
    Test 3: delivery(500) → expected 40
    (a) Test 1 (b) Test 3 (c) Test 2
  3. 3.🔁 What is the LAST line this code shows?
    let names = ["Aman", "Zoya", "Kabir"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Zoya (b) Hi, Aman (c) Hi, Kabir
  4. 4.🧪 A test fails when ___. (a) the app is new (b) actual is not expected (c) both are the same (d) the font is big
  5. 5.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money spent (b) add money received (c) show the balance (d) export to a file
  6. 6.💡 Does an app idea like a library due-date alert solve a real problem? (a) Yes (b) No
  7. 7.Which of these is a user need? (a) a share button (b) “I forget my homework” (c) a dark mode switch (d) a reminder alarm
  8. 8.🔀 What does this sign-up rule show?
    let age = 12;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  9. 9.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let points = 49; // start at 49
    line 2: points = points - 3; // take away 3
    line 3: points = points - 2; // take away 2
    line 4: points = points + 5; // take away 5
    line 5: show(points); // show it
  10. 10.🔍 Which is the odd one out? (a) a calculator (b) a racing challenge (c) a torch (d) an alarm clock
  11. 11.True or false: you sketch the screens at the plan stage. (a) False (b) True
  12. 12.Which of these is true of an app? (a) opens in a web browser (b) has a web address (c) opens from a link (d) is installed on a phone
  13. 13.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Search → Confirm → Size
    Design B: Home → Pens → Menu → Pay → Search
  14. 14.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Score card”
    2. tap the Feed tab
    3. open “Map”
    4. tap Back
    5. open “Score card”
    Which screen are you on now?
    (a) Chat (b) Score card (c) Map (d) Feed
  15. 15.🔍 Which is the odd one out? (a) add the buttons (b) list what users need (c) spot a problem to solve (d) talk to possible users
  16. 16.🔐 Which permission does a walking map really need? (a) the microphone (b) contacts (c) the camera (d) location
  17. 17.🧰 What does this code show?
    function greet(name) {
      return "Well done, " + name + "!";
    }
    show(greet("Arjun"));
    (a) Arjun (b) Well done, Arjun! (c) greet (d) Well done, name!
  18. 18.💡 Which app idea solves this problem: students cannot find a quiet room? (a) a lost-and-found board (b) a homework planner (c) a medicine reminder (d) a study-room finder
  19. 19.🔐 Is this permission request fair or too much: calling app → contacts? (a) too much (b) fair
  20. 20.Which of these fits saving on the phone? (a) notes to read offline (b) chat messages to friends (c) a shared to-do list (d) a class leaderboard
  21. 21.⚙️ In an app, is checking a password an input, processing or an output? (a) output (b) input (c) processing
  22. 22.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Footer: 10 px
    Hint: 19 px
    Body text: 18 px
    Title: 17 px
    (a) Title (b) Hint (c) Footer (d) Body text
  23. 23.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 47; // start at 46
    line 2: stars = stars - 2; // take away 2
    line 3: stars = stars + 5; // add 5
    line 4: show(stars); // show it
    (a) line 1 (b) line 3 (c) line 2
  24. 24.📱 Which one opens from a link: an app or a website? (a) a website (b) an app
  25. 25.👥 A clinic app has 265 patients, 120 doctors and 75 nurses as users. Which user group is the biggest? (a) nurses (b) doctors (c) patients
  26. 26.🔍 Which is the odd one out? (a) the theme colours (b) the button colours (c) how easy sign-up is (d) the font size
  27. 27.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Next button: 48 px tall
    Help button: 56 px tall
    Cancel button: 56 px tall
    Back button: 36 px tall
  28. 28.💡 An app that tries to do everything at once is usually ___. (a) hard to use (b) very small (c) easy to build (d) finished fast
  29. 29.🎯 A short made-up profile of a typical user is called a ___. (a) persona (b) password (c) pixel (d) protocol
  30. 30.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
    [title] Order Snacks
    [button] Cancel
    [button] Next
    [button] Send
    [text box] Subject
    [switch] Show hints
  31. 31.🛠️ At which stage do you add the buttons? (a) the plan stage (b) the test stage (c) the release stage (d) the build stage
  32. 32.True or false: a medicine reminder solves a real problem. (a) True (b) False
  33. 33.True or false: your high score is a button. (a) True (b) False
  34. 34.True or false: a final design is a quick sketch. (a) False (b) True
  35. 35.🔍 Which is the odd one out? (a) sudden loud sounds (b) big touch targets (c) labels on every icon (d) strong colour contrast
  36. 36.🔀 With if / else if / else, how many parts run? (a) only one (b) two (c) all of them (d) none
  37. 37.🎨 Fewer taps to finish a task usually means ___. (a) better UX (b) worse UX (c) a bigger app (d) more colours
  38. 38.🧩 How many buttons does this app screen have?
    [title] Add Homework
    [button] Done
    [switch] Sound
    [button] Cancel
    [text box] Due date
    [button] Back
  39. 39.🔁 What number does this code show?
    let marks = [2, 15, 5, 7];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  40. 40.🔢 In a food-order flow, what comes right after “open the menu”? (a) add it to the cart (b) pick a dish (c) check the cart (d) track the order

Answer key

  1. a switch
  2. Test 1
  3. Hi, Kabir
  4. actual is not expected
  5. export to a file
  6. Yes
  7. “I forget my homework”
  8. Ask a parent
  9. 39
  10. a racing challenge
  11. True
  12. is installed on a phone
  13. 1
  14. Score card
  15. add the buttons
  16. location
  17. Well done, Arjun!
  18. a study-room finder
  19. fair
  20. notes to read offline
  21. processing
  22. Footer
  23. line 1
  24. a website
  25. patients
  26. how easy sign-up is
  27. 3
  28. hard to use
  29. persona
  30. 2
  31. the build stage
  32. True
  33. False
  34. False
  35. sudden loud sounds
  36. only one
  37. better UX
  38. 3
  39. 15
  40. pick a dish

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