← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 237 · 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.🧪 How many of these test cases pass?
    🚚 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(500) → expected 0
    Test 2: delivery(600) → expected 0
    Test 3: delivery(300) → expected 40
  2. 2.⚙️ In an app, is working out a tip an input, processing or an output? (a) processing (b) input (c) output
  3. 3.🔐 Is this permission request fair or too much: voice notes → microphone? (a) fair (b) too much
  4. 4.🗒️ Version 1 of a water reminder must be ready in 12 days. How many days are left for extras after the must-haves?
    set a reminder time: 3 days
    log a glass of water: 1 days
    see today’s total: 4 days
  5. 5.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) share tasks to friends (b) pick a theme colour (c) set a due date (d) earn stickers
  6. 6.🎨 Is this about UI or UX: the font size? (a) UX (b) UI
  7. 7.🔢 In a sign-up flow, which comes first: “see the home screen” or “type name and email”? (a) see the home screen (b) type name and email
  8. 8.🔍 Which is the odd one out? (a) working out a tip (b) checking a password (c) speaking a command (d) sorting the scores
  9. 9.✏️ Do wireframes usually show the final colours? (a) Yes (b) No
  10. 10.🔢 In a photo-post flow, what comes right after “open the camera screen”? (a) take the photo (b) write a caption (c) add a filter (d) post the photo
  11. 11.🔀 What number does this shop app show?
    let total = 800;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  12. 12.👥 A cricket club app has 75 players, 165 coaches and 225 fans as users. Which user group is the biggest? (a) fans (b) players (c) coaches
  13. 13.⚙️ What number does this app show?
    let bill = 102; // typed by the user
    let friends = 3; // typed by the user
    let share = bill / friends;
    show(share);
  14. 14.🧪 How many of these test cases pass?
    🎟️ 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(9) → expected 50
    Test 2: price(13) → expected 100
    Test 3: price(18) → expected 100
  15. 15.Which of these is true of a final design? (a) uses plain grey boxes (b) has no real colours (c) shows where things go (d) looks like the real app
  16. 16.Which of these is a button? (a) the log-in page (b) tap to Start (c) the game-over page (d) a date picker
  17. 17.🔍 Which is the odd one out? (a) text that can grow (b) tiny tap areas (c) labels on every icon (d) strong colour contrast
  18. 18.💡 Which app idea solves this problem: Grandpa forgets his tablets? (a) a study-room finder (b) a lost-and-found board (c) a medicine reminder (d) a bill splitter
  19. 19.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 200; // 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 4 (b) line 2 (c) line 1 (d) line 3
  20. 20.🗒️ Version 1 of a pocket-money tracker must be ready in 9 days. How many days are left for extras after the must-haves?
    add money received: 4 days
    add money spent: 1 days
    show the balance: 4 days
  21. 21.🔀 Which badge does this quiz app show?
    let marks = 20;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Bronze (b) Gold (c) Silver
  22. 22.🔁 What is the LAST line this code shows?
    let names = ["Aman", "Arjun", "Zoya"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Zoya (b) Hi, Arjun (c) Hi, Aman
  23. 23.True or false: a cricket run chase is a health app. (a) False (b) True
  24. 24.🌗 Is black on pale grey easy or hard to read on a button? (a) easy to read (b) hard to read
  25. 25.🧭 About how many tabs suit a tab bar best? (a) 10 to 12 (b) 1 (c) 20 (d) 3 to 5
  26. 26.🔁 What number does this code show?
    let marks = [3, 7, 17, 18, 17];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  27. 27.🔢 In a sign-up flow, what comes right after “make a password”? (a) type name and email (b) open the app (c) enter the code sent (d) tap “Sign up”
  28. 28.🧩 Which input is best for turning something ON or OFF? (a) a text box (b) a title (c) a slider (d) a switch
  29. 29.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. open “Badges”
    2. tap Back
    3. open “Edit photo”
    4. tap Back
    Which screen are you on now?
    (a) Badges (b) Feed (c) Chat (d) Edit photo
  30. 30.🔍 Which is the odd one out? (a) a sleep tracker (b) a step counter (c) a torch (d) a water reminder
  31. 31.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Menu: 20 px
    Title: 23 px
    Hint: 13 px
    Label: 27 px
    (a) Menu (b) Title (c) Label (d) Hint
  32. 32.♿ Showing right or wrong only in red and green is a problem for ___. (a) colour-blind users (b) fast typists (c) the battery (d) the server
  33. 33.🚀 Which version is newer: 1.4.0 or 1.16.1? (a) 1.4.0 (b) 1.16.1
  34. 34.✏️ What is the easiest way to draw a first wireframe? (a) a microphone (b) a 3D printer (c) a phone case (d) pencil and paper
  35. 35.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Hint: 15 px
    Menu: 16 px
    Footer: 21 px
    Body text: 16 px
  36. 36.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 11, and 100 for everyone else.
    function price(age) {
      if (age <= 11) {
        return 50;
      }
      return 100;
    }
    Test 1: price(17) → expected 100
    Test 2: price(16) → expected 100
    Test 3: price(8) → expected 50
  37. 37.🔁 What number does this code show?
    let runs = [17, 3, 13, 2];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  38. 38.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) savings stickers (b) export to a file (c) add money spent (d) pie-chart colours
  39. 39.True or false: you write down the bugs at the test stage. (a) False (b) True
  40. 40.🎨 Is this about UI or UX: the icon shapes? (a) UI (b) UX

Answer key

  1. 2
  2. processing
  3. fair
  4. 4
  5. set a due date
  6. UI
  7. type name and email
  8. speaking a command
  9. No
  10. take the photo
  11. 750
  12. fans
  13. 34
  14. 2
  15. looks like the real app
  16. tap to Start
  17. tiny tap areas
  18. a medicine reminder
  19. line 3
  20. 0
  21. Bronze
  22. Hi, Zoya
  23. False
  24. easy to read
  25. 3 to 5
  26. 18
  27. enter the code sent
  28. a switch
  29. Feed
  30. a torch
  31. Hint
  32. colour-blind users
  33. 1.16.1
  34. pencil and paper
  35. 1
  36. 3
  37. 35
  38. add money spent
  39. True
  40. UI

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