← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 749 · 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 colour pair is easy to read? (a) black on pale grey (b) yellow on white (c) pale pink on white (d) light grey on white
  2. 2.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Quiz tab
    2. open “Badges”
    3. tap the Me tab
    4. tap the Quiz tab
    5. open “Badges”
    Which screen are you on now?
    (a) Badges (b) Me (c) Quiz (d) Lessons
  3. 3.💡 Which app idea solves this problem: students cannot find a quiet room? (a) a study-room finder (b) a bill splitter (c) a medicine reminder (d) a homework planner
  4. 4.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let lives = 36; // start at 36
    line 2: lives = lives + 5; // add 5
    line 3: lives = lives + 5; // take away 5
    line 4: show(lives); // show it
    (a) line 3 (b) line 2 (c) line 1
  5. 5.⚙️ What number does this app show?
    let price = 140; // typed by the user
    let off = 10; // typed by the user
    let pay = price - off;
    show(pay);
  6. 6.Which of these is a user need? (a) “What should I cook?” (b) a search bar (c) a dark mode switch (d) a share button
  7. 7.💡 Does an app idea like a library due-date alert solve a real problem? (a) Yes (b) No
  8. 8.🔀 What is a user flow? (a) the path through screens (b) a type of font (c) a colour theme (d) a charging cable
  9. 9.Which of these app ideas solves a real problem? (a) a page of random dots (b) a button with no action (c) a blank grey screen (d) a free study-room finder
  10. 10.True or false: speaking a command is processing. (a) True (b) False
  11. 11.🎯 Which app would help this user most: a reader who finds small print hard? (a) a water reminder (b) a bus tracker (c) a recipe finder (d) a big-text reader
  12. 12.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Start button: 52 px tall
    Back button: 64 px tall
    Next button: 36 px tall
    Save button: 68 px tall
    (a) Start (b) Back (c) Next (d) Save
  13. 13.🔢 In a food-order flow, which comes FIRST? (a) open the menu (b) check the cart (c) track the order (d) add it to the cart
  14. 14.🔁 What is the LAST line this code shows?
    let names = ["Meera", "Riya", "Aman"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Meera (b) Hi, Aman (c) Hi, Riya
  15. 15.🧩 Which of these is a button on this screen?
    [title] New Note
    [switch] Dark mode
    [text box] Due date
    [button] Save
    [text box] City
    [slider] Brightness
    [text box] Notes
    (a) Save (b) Notes (c) City (d) Due date
  16. 16.📊 Survey: which problem bugs you most? How many students voted in all?
    wasting pocket money: 12 votes
    missing the bus: 15 votes
    losing water bottles: 6 votes
  17. 17.🧪 A test case is an input together with its ___. (a) expected result (b) font size (c) screen colour (d) app icon
  18. 18.🧩 Which part lets the user give the app information? (a) a title (b) an input (c) an icon (d) a logo
  19. 19.🔘 Is this good or poor button design: strong colour contrast? (a) poor design (b) good design
  20. 20.🧪 What is the ACTUAL result of Test 2?
    🚚 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(1050) → expected 0
    Test 2: delivery(750) → expected 40
    Test 3: delivery(950) → expected 0
  21. 21.🔁 What is the LAST line this code shows?
    let names = ["Riya", "Kabir", "Meera", "Aman", "Arjun"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Kabir (b) Hi, Riya (c) Hi, Arjun (d) Hi, Meera
  22. 22.👆 Which of these is an event? (a) the font size (b) a list of names (c) the user taps a button (d) the icon colour
  23. 23.🔀 What does this PIN rule show?
    let pin = "514";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  24. 24.👆 An event in an app is ___. (a) a kind of list (b) a colour theme (c) something that happens (d) an app store
  25. 25.🔀 What does this battery rule show?
    let battery = 98;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  26. 26.♿ Why add captions to videos? (a) to slow them down (b) to hide the sound (c) to add colour (d) so anyone can follow
  27. 27.🔁 What number does this code show?
    let marks = [17, 19, 18, 15, 14];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  28. 28.🛠️ At which stage do you share the download link? (a) the idea stage (b) the plan stage (c) the release stage (d) the test stage
  29. 29.True or false: an app updates from the store. (a) False (b) True
  30. 30.💾 What does this code show? (Positions start at 0.)
    let songs = ["Stars", "Monsoon", "Sunrise", "Rain"];
    show(songs[2]);
    (a) Rain (b) Monsoon (c) Stars (d) Sunrise
  31. 31.True or false: a lost-and-found board solves no real problem. (a) False (b) True
  32. 32.🔀 Which badge does this quiz app show?
    let marks = 21;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Gold (b) Bronze (c) Silver
  33. 33.💡 Which app idea solves this problem: the library is always full? (a) a medicine reminder (b) a study-room finder (c) a homework planner (d) a bill splitter
  34. 34.🔁 What number does this code show?
    let runs = [3, 6, 11, 2, 19];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  35. 35.🧪 One test case fails. Which one?
    🚚 Rule: delivery is free (0) when the order is 700 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 700) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(950) → expected 0
    Test 2: delivery(700) → expected 0
    Test 3: delivery(500) → expected 40
    (a) Test 1 (b) Test 2 (c) Test 3
  36. 36.💡 Does an app idea like a free study-room finder solve a real problem? (a) No (b) Yes
  37. 37.True or false: a class leaderboard fits saving in the cloud. (a) True (b) False
  38. 38.Which colour pair is easy to read? (a) yellow on white (b) light grey on white (c) black on yellow (d) red on green
  39. 39.🔀 What does this battery rule show?
    let battery = 2;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Battery OK (b) Low battery
  40. 40.🧪 A test fails when ___. (a) the font is big (b) the app is new (c) both are the same (d) actual is not expected

Answer key

  1. black on pale grey
  2. Badges
  3. a study-room finder
  4. line 3
  5. 130
  6. “What should I cook?”
  7. Yes
  8. the path through screens
  9. a free study-room finder
  10. False
  11. a big-text reader
  12. Next
  13. open the menu
  14. Hi, Aman
  15. Save
  16. 33
  17. expected result
  18. an input
  19. good design
  20. 40
  21. Hi, Arjun
  22. the user taps a button
  23. Use 4 digits
  24. something that happens
  25. Battery OK
  26. so anyone can follow
  27. 83
  28. the release stage
  29. True
  30. Sunrise
  31. False
  32. Bronze
  33. a study-room finder
  34. 41
  35. Test 2
  36. Yes
  37. True
  38. black on yellow
  39. Low battery
  40. actual is not expected

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