← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 255 · 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.🔁 A loop over a list of 5 items runs its body how many times? (a) 1 (b) 6 (c) 4 (d) 5
  2. 2.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 31; // start at 31
    line 2: points = points * 2; // double it
    line 3: points = points + 2; // double it
    line 4: show(points); // show it
    (a) line 1 (b) line 3 (c) line 2
  3. 3.🖼️ How many parts (boxes) does this wireframe have?
    [ top bar ]
    [ Add button ]
    [ tab bar ]
    [ menu icon ]
    [ big picture ]
  4. 4.📊 Survey: which problem bugs you most? How many more votes did “losing water bottles” get than “forgetting homework”?
    wasting pocket money: 5 votes
    forgetting homework: 6 votes
    losing water bottles: 10 votes
  5. 5.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Aman"));
    (a) Hello, name! (b) greet (c) Aman (d) Hello, Aman!
  6. 6.True or false: a final design uses plain grey boxes. (a) False (b) True
  7. 7.🔍 Which is the odd one out? (a) a step counter (b) a sleep tracker (c) a water reminder (d) a torch
  8. 8.📅 An app team plans for 5 days, builds for 8 days, tests for 3 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
  9. 9.👥 A clinic app has 190 patients, 80 doctors and 185 nurses as users. Which user group is the biggest? (a) doctors (b) nurses (c) patients
  10. 10.🔀 What does this sign-up rule show?
    let age = 12;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  11. 11.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 35; // start at 35
    line 2: points = points * 2; // double it
    line 3: points = points + 4; // add 2
    line 4: points = points + 3; // add 3
    line 5: show(points); // show it
    (a) line 1 (b) line 4 (c) line 2 (d) line 3
  12. 12.Which of these app ideas solves no real problem? (a) a bill splitter (b) a library due-date alert (c) a blank grey screen (d) a free study-room finder
  13. 13.🧩 In an app, what is tap to Save? (a) data (b) a screen (c) a button (d) an input
  14. 14.🧰 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(3) + fee(12));
  15. 15.🛠️ At which stage do you put it on an app store? (a) the build stage (b) the test stage (c) the idea stage (d) the release stage
  16. 16.🔀 What does this sign-up rule show?
    let age = 13;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  17. 17.🧩 In an app, what is the game-over page? (a) an input (b) data (c) a button (d) a screen
  18. 18.🔢 In a photo-post flow, which comes first: “add a filter” or “write a caption”? (a) write a caption (b) add a filter
  19. 19.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Next button: 28 px tall
    Send button: 72 px tall
    Cancel button: 60 px tall
    Help button: 48 px tall
    (a) Send (b) Help (c) Next (d) Cancel
  20. 20.True or false: a medicine reminder solves a real problem. (a) False (b) True
  21. 21.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 0, 1, 2, 3 (b) 1, 2, 3 (c) 3 (d) 0, 1, 2
  22. 22.🎨 Is this about UI or UX: the font size? (a) UI (b) UX
  23. 23.🧪 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(13) → expected 50
    Test 2: price(17) → expected 100
    Test 3: price(14) → expected 100
    (a) Test 3 (b) Test 1 (c) Test 2
  24. 24.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) share tasks to friends (b) add a homework task (c) earn stickers (d) pick a theme colour
  25. 25.👥 A clinic app has 190 patients, 200 doctors and 55 nurses as users. Which user group is the biggest? (a) nurses (b) doctors (c) patients
  26. 26.🎨 Is this about UI or UX: whether users get lost? (a) UX (b) UI
  27. 27.🔢 In a quiz-app flow, which comes first: “read a question” or “tap “Start quiz””? (a) read a question (b) tap “Start quiz”
  28. 28.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
    function price(age) {
      if (age <= 9) {
        return 50;
      }
      return 100;
    }
    Test 1: price(7) → expected 50
    Test 2: price(12) → expected 100
    Test 3: price(15) → expected 100
  29. 29.🧰 What does this code show?
    function greet(name) {
      return "Hello, " + name + "!";
    }
    show(greet("Meera"));
    (a) greet (b) Meera (c) Hello, name! (d) Hello, Meera!
  30. 30.🔀 Which badge does this quiz app show?
    let marks = 90;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Bronze (c) Gold
  31. 31.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(1) + points(1));
  32. 32.👆 A tap handler runs how many times if the user taps 4 times? (a) 8 (b) 0 (c) 4 (d) 1
  33. 33.True or false: strong colour contrast is good button design. (a) True (b) False
  34. 34.⚙️ What number does this app show?
    let price = 230; // typed by the user
    let off = 10; // typed by the user
    let pay = price - off;
    show(pay);
  35. 35.🔁 What is the LAST line this code shows?
    let names = ["Meera", "Zoya", "Aman"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Zoya (b) Hi, Aman (c) Hi, Meera
  36. 36.Which of these is true of a wireframe? (a) uses the final pictures (b) uses plain grey boxes (c) looks like the real app (d) has the real colours
  37. 37.True or false: a shared to-do list fits saving in the cloud. (a) False (b) True
  38. 38.🔍 Which is the odd one out? (a) write down the bugs (b) list what users need (c) let friends try it (d) try every button
  39. 39.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(3) + points(1));
  40. 40.🔢 In a photo-post flow, which comes first: “add a filter” or “open the camera screen”? (a) add a filter (b) open the camera screen

Answer key

  1. 5
  2. line 3
  3. 5
  4. 4
  5. Hello, Aman!
  6. False
  7. a torch
  8. 13
  9. patients
  10. Ask a parent
  11. line 3
  12. a blank grey screen
  13. a button
  14. 60
  15. the release stage
  16. Welcome!
  17. a screen
  18. add a filter
  19. Next
  20. True
  21. 0, 1, 2
  22. UI
  23. Test 3
  24. add a homework task
  25. doctors
  26. UX
  27. tap “Start quiz”
  28. 3
  29. Hello, Meera!
  30. Gold
  31. 30
  32. 4
  33. True
  34. 220
  35. Hi, Aman
  36. uses plain grey boxes
  37. True
  38. list what users need
  39. 50
  40. open the camera screen

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