← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 584 · 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.🔁 What number does this code show?
    let marks = [3, 4, 11];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  2. 2.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) see where the bus is (b) change the bus icon (c) show arrival time (d) pick your bus stop
  3. 3.Which of these is true of an app? (a) opens in a web browser (b) needs no installing (c) opens from a link (d) is installed on a phone
  4. 4.♿ Showing right or wrong only in red and green is a problem for ___. (a) fast typists (b) the battery (c) colour-blind users (d) the server
  5. 5.🎨 Is this about UI or UX: the icon shapes? (a) UI (b) UX
  6. 6.🎨 UI stands for user ___. (a) interface (b) input (c) idea (d) internet
  7. 7.True or false: space between buttons is poor button design. (a) True (b) False
  8. 8.🔢 When you make an app, what comes right after “test the app”? (a) get an idea (b) plan the screens (c) release it (d) build the app
  9. 9.🔢 After an app is released, which comes first: “fix and improve” or “test it again”? (a) test it again (b) fix and improve
  10. 10.Which of these is true of a wireframe? (a) uses plain grey boxes (b) uses the final pictures (c) looks like the real app (d) shows the real fonts
  11. 11.🔁 A loop over a list of 5 items runs its body how many times? (a) 1 (b) 6 (c) 4 (d) 5
  12. 12.🔍 Which is the odd one out? (a) write down the bugs (b) draw the user flow (c) pick the features (d) sketch the screens
  13. 13.👆 The user taps the button 2 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 5) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  14. 14.🔁 What number does this code show?
    let steps = [3, 6, 3, 19];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);
  15. 15.🧭 Which part of navigation switches main sections? (a) a tab bar (b) a menu button (c) the back button
  16. 16.🔀 A screen with no way forward or back is called a ___. (a) shortcut (b) home screen (c) dead end (d) tab bar
  17. 17.🧰 How do you run (call) a function called greet? (a) greet() (b) greet[] (c) run greet (d) #greet
  18. 18.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. open “Friend list”
    2. open “Score card”
    3. tap the Home tab
    How many times must you tap Back to reach the main screen of this tab?
  19. 19.👆 The user taps the button 4 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 4) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  20. 20.👆 The user taps the button 1 times. What does the label show now?
    let on = false;
    button.onTap = function () {
      on = !on;
      if (on) {
        label.text = "ON";
      } else {
        label.text = "OFF";
      }
    };
    (a) OFF (b) ON
  21. 21.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a new app (b) a new feature (c) a bug fix (d) a big redesign
  22. 22.🔁 list.length tells you ___. (a) the first item (b) the biggest item (c) how many items it has (d) the last item
  23. 23.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(17));
  24. 24.🔀 Why plan the user flow before building? (a) to add more taps (b) to skip testing (c) to hide the buttons (d) so each step is clear
  25. 25.🔀 Which badge does this quiz app show?
    let marks = 31;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Bronze (b) Gold (c) Silver
  26. 26.🔁 What is the LAST line this code shows?
    let names = ["Riya", "Meera", "Aman"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Meera (b) Hi, Riya (c) Hi, Aman
  27. 27.🔢 In a quiz-app flow, what comes right after “tap “Start quiz””? (a) read a question (b) see if it is right (c) see the final score (d) pick an answer
  28. 28.📅 An app team plans for 3 days, builds for 4 days, tests for 3 days and releases on 1 more day. How many days does the whole project take?
  29. 29.True or false: a water reminder is the best fit for a teen whose money runs out by Friday. (a) True (b) False
  30. 30.🔀 What does >= mean? (a) less than (b) not equal (c) smaller or equal (d) greater than or equal
  31. 31.True or false: a beep sound is processing. (a) True (b) False
  32. 32.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(75, 3));
  33. 33.🚀 Which version is newer: 1.3.2 or 1.10.3? (a) 1.3.2 (b) 1.10.3
  34. 34.👆 The user taps the button 3 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 3) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  35. 35.🧪 How many of these test cases pass?
    🚚 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(750) → expected 40
    Test 2: delivery(900) → expected 0
    Test 3: delivery(950) → expected 0
  36. 36.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 6 or more right answers.
    function result(right) {
      if (right > 6) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(3) → expected Try again
    Test 2: result(6) → expected Pass
    Test 3: result(8) → expected Pass
    (a) Test 2 (b) Test 1 (c) Test 3
  37. 37.Which of these app ideas solves no real problem? (a) an app that just says hi (b) a free study-room finder (c) a lost-and-found board (d) a library due-date alert
  38. 38.🔀 Which badge does this quiz app show?
    let marks = 29;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Bronze (c) Gold
  39. 39.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) log a glass of water (b) share your streak (c) see today’s total (d) set a reminder time
  40. 40.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    losing water bottles: 24 votes
    wasting pocket money: 9 votes
    no quiet study place: 19 votes
    (a) wasting pocket money (b) no quiet study place (c) losing water bottles

Answer key

  1. 18
  2. change the bus icon
  3. is installed on a phone
  4. colour-blind users
  5. UI
  6. interface
  7. False
  8. release it
  9. fix and improve
  10. uses plain grey boxes
  11. 5
  12. write down the bugs
  13. 2
  14. 31
  15. a tab bar
  16. dead end
  17. greet()
  18. 0
  19. 4
  20. ON
  21. a bug fix
  22. how many items it has
  23. 34
  24. so each step is clear
  25. Bronze
  26. Hi, Aman
  27. read a question
  28. 11
  29. False
  30. greater than or equal
  31. False
  32. 225
  33. 1.10.3
  34. 3
  35. 3
  36. Test 2
  37. an app that just says hi
  38. Bronze
  39. share your streak
  40. losing water bottles

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