← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 707 · 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 of these is an input? (a) a beep sound (b) a result on screen (c) sorting the scores (d) speaking a command
  2. 2.🧩 Which input is best for turning something ON or OFF? (a) a switch (b) a slider (c) a text box (d) a title
  3. 3.True or false: “colour as the only clue” helps everyone use the app. (a) True (b) False
  4. 4.🔀 What number does this shop app show?
    let total = 790;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  5. 5.🧩 In an app, what is tap to Send? (a) a button (b) a screen (c) an input (d) data
  6. 6.True or false: a box to type a name is an input. (a) True (b) False
  7. 7.True or false: a final design uses plain grey boxes. (a) True (b) False
  8. 8.🔁 What number does this code show?
    let steps = [12, 20, 11, 12, 6];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);
  9. 9.🔀 What number does this shop app show?
    let total = 590;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  10. 10.📅 An app team plans for 3 days, builds for 5 days, tests for 1 days and releases on 1 more day. How many days does the whole project take?
  11. 11.🧭 Which part of navigation switches main sections? (a) a menu button (b) the back button (c) a tab bar
  12. 12.Which of these is an input? (a) tap to go Next (b) the settings page (c) the home page of an app (d) a slider for volume
  13. 13.True or false: the theme colours is about UX (the experience). (a) False (b) True
  14. 14.🧪 A test case is an input together with its ___. (a) font size (b) expected result (c) app icon (d) screen colour
  15. 15.🧭 What does the back button usually do? (a) deletes the page (b) goes to the last screen (c) closes all apps (d) opens settings
  16. 16.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(26));
  17. 17.🧭 Which part of navigation opens a list of pages? (a) the back button (b) a menu button (c) a tab bar
  18. 18.True or false: you spot a problem to solve at the plan stage. (a) True (b) False
  19. 19.🔍 Which is the odd one out? (a) sorting the scores (b) adding up a bill (c) checking a password (d) typing your age
  20. 20.🔀 In a good flow, each screen should lead to ___. (a) a dead end (b) the same screen (c) a random page (d) a clear next step
  21. 21.👥 A school app has 75 students, 130 teachers and 60 parents as users. How many users does it have in all?
  22. 22.🔍 Which is the odd one out? (a) checking a password (b) typing your age (c) taking a photo (d) speaking a command
  23. 23.🚀 Your app is at version 3.11.7. The next release adds a new feature. What is its version number? (a) 4.0.0 (b) 3.11.8 (c) 3.12.7 (d) 3.12.0
  24. 24.🔢 In a food-order flow, what comes right after “pay for the order”? (a) track the order (b) open the menu (c) add it to the cart (d) pick a dish
  25. 25.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
    1. tap the Profile tab
    2. open “Friend list”
    3. open “Map”
    Which screen are you on now?
    (a) Friend list (b) Home (c) Search (d) Map
  26. 26.🔢 After an app is released, which comes FIRST? (a) read user reviews (b) list what to fix (c) release an update (d) test it again
  27. 27.🎯 An app for “everyone” with no clear user usually ___. (a) helps nobody well (b) needs no testing (c) is easy to build (d) wins every prize
  28. 28.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let lives = 37; // start at 37
    line 2: lives = lives * 2; // double it
    line 3: lives = lives + 1; // take away 1
    line 4: show(lives); // show it
  29. 29.🎨 Is this about UI or UX: the button colours? (a) UX (b) UI
  30. 30.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let stars = 35; // start at 34
    line 2: stars = stars * 2; // double it
    line 3: stars = stars + 3; // add 3
    line 4: show(stars); // show it
    (a) line 1 (b) line 2 (c) line 3
  31. 31.📊 Survey: which problem bugs you most? How many more votes did “losing water bottles” get than “no quiet study place”?
    no quiet study place: 18 votes
    forgetting birthdays: 7 votes
    losing water bottles: 19 votes
  32. 32.🗒️ Version 1 of a homework planner must be ready in 7 days. How many days are left for extras after the must-haves?
    add a homework task: 1 days
    set a due date: 1 days
    see tasks by day: 5 days
  33. 33.🔢 In a quiz-app flow, what comes right after “pick an answer”? (a) read a question (b) see the final score (c) see if it is right (d) tap “Start quiz”
  34. 34.🧪 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(8) → expected Pass
    Test 2: result(6) → expected Pass
    Test 3: result(5) → expected Try again
    (a) Test 2 (b) Test 1 (c) Test 3
  35. 35.🧪 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(6) → expected Pass
    Test 2: result(7) → expected Pass
    Test 3: result(5) → expected Try again
    (a) Test 3 (b) Test 1 (c) Test 2
  36. 36.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 33; // start at 33
    line 2: points = points + 3; // add 3
    line 3: points = points + 4; // add 3
    line 4: show(points); // show it
    (a) line 3 (b) line 1 (c) line 2
  37. 37.🎯 Is this a user need or a feature: a search bar? (a) a feature (b) a user need
  38. 38.True or false: a finger hits Like is a text event. (a) False (b) True
  39. 39.🔁 What is the LAST line this code shows?
    let names = ["Meera", "Zoya", "Arjun"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Meera (b) Hi, Arjun (c) Hi, Zoya
  40. 40.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let points = 33; // start at 32
    line 2: points = points + 3; // add 3
    line 3: points = points - 1; // take away 1
    line 4: points = points * 2; // double it
    line 5: show(points); // show it

Answer key

  1. speaking a command
  2. a switch
  3. False
  4. 740
  5. a button
  6. True
  7. False
  8. 61
  9. 540
  10. 10
  11. a tab bar
  12. a slider for volume
  13. False
  14. expected result
  15. goes to the last screen
  16. 52
  17. a menu button
  18. False
  19. typing your age
  20. a clear next step
  21. 265
  22. checking a password
  23. 3.12.0
  24. track the order
  25. Map
  26. read user reviews
  27. helps nobody well
  28. 73
  29. UI
  30. line 1
  31. 1
  32. 0
  33. see if it is right
  34. Test 2
  35. Test 1
  36. line 3
  37. a feature
  38. False
  39. Hi, Arjun
  40. 70

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