← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 193 · 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.🧰 In function tip(bill), what is bill? (a) a parameter (b) an event (c) a screen (d) a loop
  2. 2.🧪 How many of these test cases pass?
    🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
    function price(age) {
      if (age <= 10) {
        return 50;
      }
      return 100;
    }
    Test 1: price(10) → expected 100
    Test 2: price(11) → expected 100
    Test 3: price(9) → expected 50
  3. 3.📱 Which one has a home-screen icon: an app or a website? (a) an app (b) a website
  4. 4.🧭 Which part of navigation goes to the last screen? (a) the back button (b) a menu button (c) a tab bar
  5. 5.🚀 Your app is at version 4.7.4. The next release is a big redesign that changes how the app works. What is its version number? (a) 4.8.4 (b) 4.7.5 (c) 5.0.0 (d) 4.8.0
  6. 6.Which of these is true of a wireframe? (a) uses the final pictures (b) has the real colours (c) shows where things go (d) looks like the real app
  7. 7.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 32; // start at 32
    line 2: points = points + 5; // add 5
    line 3: points = points + 2; // double it
    line 4: points = points * 2; // double it
    line 5: show(points); // show it
    (a) line 3 (b) line 1 (c) line 2 (d) line 4
  8. 8.💡 Which app idea solves this problem: students cannot find a quiet room? (a) a study-room finder (b) a medicine reminder (c) a homework planner (d) a bill splitter
  9. 9.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) edge cases (b) phone cases (c) old cases (d) easy cases
  10. 10.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) share tasks to friends (b) see tasks by day (c) pick a theme colour (d) earn stickers
  11. 11.🧩 How many buttons does this app screen have?
    [title] Order Snacks
    [button] Cancel
    [text box] Phone
    [button] Send
    [text box] Notes
  12. 12.🖼️ In this wireframe (top to bottom), what is right below the big picture?
    [ title text ]
    [ list of items ]
    [ top bar ]
    [ big picture ]
    [ menu icon ]
    (a) menu icon (b) list of items (c) top bar (d) title text
  13. 13.🚀 Which of these versions is the OLDEST?
    2.8.7, 2.4.3, 2.14.0, 1.27.9
    (a) 2.4.3 (b) 2.8.7 (c) 2.14.0 (d) 1.27.9
  14. 14.Which of these is true of a menu button? (a) hides extra links (b) shows 3 to 5 icons (c) goes to the last screen (d) undoes one move
  15. 15.Which of these happens at the release stage? (a) add the buttons (b) spot a problem to solve (c) sketch the screens (d) share the download link
  16. 16.📊 Survey: which problem bugs you most? How many students voted in all?
    wasting pocket money: 24 votes
    losing water bottles: 18 votes
    forgetting birthdays: 4 votes
  17. 17.Which of these is true of a website? (a) is installed on a phone (b) has a home-screen icon (c) needs no installing (d) updates from the store
  18. 18.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let stars = 41; // start at 40
    line 2: stars = stars - 4; // take away 4
    line 3: stars = stars * 2; // double it
    line 4: show(stars); // show it
  19. 19.🎨 UI stands for user ___. (a) internet (b) input (c) interface (d) idea
  20. 20.✏️ A box with a cross in a wireframe usually means ___. (a) a closed app (b) delete this (c) an error (d) a picture goes here
  21. 21.🗒️ Why keep version 1 small? (a) to learn from users soon (b) to confuse users (c) to use up storage (d) to look bigger
  22. 22.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    forgetting homework: 24 votes
    missing the bus: 19 votes
    wasting pocket money: 17 votes
    (a) wasting pocket money (b) missing the bus (c) forgetting homework
  23. 23.🔍 Which is the odd one out? (a) a water reminder (b) a unit converter (c) a step counter (d) a sleep tracker
  24. 24.👆 What kind of event is this: a finger hits Like? (a) a tap event (b) a load event (c) a timer event (d) a text event
  25. 25.🧪 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(14) → expected 100
    Test 2: price(15) → expected 100
    Test 3: price(10) → expected 50
    (a) Test 3 (b) Test 1 (c) Test 2
  26. 26.Which of these is true of an app? (a) opens from a link (b) opens in a web browser (c) has a web address (d) is installed on a phone
  27. 27.Which of these fits saving in the cloud? (a) chat messages to friends (b) notes to read offline (c) the sound on/off setting (d) a draft you are typing
  28. 28.✏️ What is a wireframe? (a) a charging cable (b) the finished app (c) a simple screen sketch (d) a type of password
  29. 29.🗂️ What kind of app is a racing challenge? (a) a health app (b) a game (c) a learning app (d) a tool app
  30. 30.True or false: a shared to-do list fits saving on the phone. (a) False (b) True
  31. 31.🔢 In a sign-up flow, which comes FIRST? (a) make a password (b) tap “Sign up” (c) open the app (d) type name and email
  32. 32.💡 How can you check that people really have the problem? (a) pick a colour (b) copy another app (c) ask possible users (d) just guess
  33. 33.🔀 Which badge does this quiz app show?
    let marks = 74;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Gold (b) Silver (c) Bronze
  34. 34.💡 Which app idea solves this problem: friends argue over who pays? (a) a medicine reminder (b) a bill splitter (c) a lost-and-found board (d) a homework planner
  35. 35.⚙️ What number does this app show?
    let bill = 152; // typed by the user
    let friends = 4; // typed by the user
    let share = bill / friends;
    show(share);
  36. 36.True or false: one second passes is a timer event. (a) True (b) False
  37. 37.🔁 What number does this code show?
    let scores = [46, 81, 20];
    let count = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] >= 40) {
        count = count + 1;
      }
    }
    show(count);
  38. 38.🔁 What number does this code show?
    let marks = [6, 6, 2, 20];
    let total = 0;
    for (let i = 0; i < marks.length; i++) {
      total = total + marks[i];
    }
    show(total);
  39. 39.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(32));
  40. 40.True or false: the sound on/off setting fits saving in the cloud. (a) True (b) False

Answer key

  1. a parameter
  2. 2
  3. an app
  4. the back button
  5. 5.0.0
  6. shows where things go
  7. line 3
  8. a study-room finder
  9. edge cases
  10. see tasks by day
  11. 2
  12. menu icon
  13. 1.27.9
  14. hides extra links
  15. share the download link
  16. 46
  17. needs no installing
  18. 72
  19. interface
  20. a picture goes here
  21. to learn from users soon
  22. forgetting homework
  23. a unit converter
  24. a tap event
  25. Test 1
  26. is installed on a phone
  27. chat messages to friends
  28. a simple screen sketch
  29. a game
  30. False
  31. open the app
  32. ask possible users
  33. Silver
  34. a bill splitter
  35. 38
  36. True
  37. 2
  38. 34
  39. 96
  40. False

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