← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 996 · 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 school app has 255 students, 110 teachers and 295 parents as users. How many more students than teachers are there?
  2. 2.True or false: the icon shapes is about UI (the look). (a) False (b) True
  3. 3.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Pay → Offers → Results → Pens → Menu → Confirm
    Design B: Home → Size → Shop → Pens → Confirm
    (a) Design A (b) Design B
  4. 4.🖼️ How many parts (boxes) does this wireframe have?
    [ search box ]
    [ title text ]
    [ Add button ]
    [ menu icon ]
  5. 5.👆 What kind of event is this: the user types a letter? (a) a tap event (b) a load event (c) a timer event (d) a text event
  6. 6.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let lives = 34; // start at 32
    line 2: lives = lives + 2; // add 2
    line 3: lives = lives + 3; // add 3
    line 4: lives = lives - 4; // take away 4
    line 5: show(lives); // show it
  7. 7.💾 What is a variable? (a) a picture (b) a type of screen (c) a named box for a value (d) a phone setting
  8. 8.True or false: the settings page is an input. (a) False (b) True
  9. 9.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let coins = 33; // start at 33
    line 2: coins = coins + 3; // add 3
    line 3: coins = coins + 2; // take away 2
    line 4: coins = coins * 2; // double it
    line 5: show(coins); // show it
  10. 10.⚙️ Which line does the processing (works out the answer)?
    line 1: let km = 5; // typed by the user
    line 2: let metres = km * 1000;
    line 3: show(metres);
    (a) line 1 (b) line 3 (c) line 2
  11. 11.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a new app (b) a bug fix (c) a new feature (d) a big redesign
  12. 12.True or false: a switch for dark mode is an input. (a) False (b) True
  13. 13.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(30));
  14. 14.💡 Does an app idea like a blank grey screen solve a real problem? (a) No (b) Yes
  15. 15.🔢 In a photo-post flow, which comes LAST? (a) add a filter (b) take the photo (c) write a caption (d) post the photo
  16. 16.👆 Two designs for the same task (each arrow is one tap). How many taps does Design B need?
    Design A: Home → Confirm → Size → Shop → Cart → Offers → Results
    Design B: Home → Size → Confirm
  17. 17.🔘 Is this good or poor button design: strong colour contrast? (a) good design (b) poor design
  18. 18.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let stars = 33; // start at 33
    line 2: stars = stars + 4; // add 3
    line 3: stars = stars - 1; // take away 1
    line 4: show(stars); // show it
  19. 19.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    losing water bottles: 19 votes
    wasting pocket money: 3 votes
    no quiet study place: 21 votes
    (a) losing water bottles (b) wasting pocket money (c) no quiet study place
  20. 20.👆 “On tap → do this” links an event to ___. (a) a web address (b) a charger (c) a font (d) an action
  21. 21.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 3 (b) 0, 1, 2 (c) 1, 2, 3 (d) 0, 1, 2, 3
  22. 22.💾 Saving data in the cloud lets you ___. (a) skip the internet (b) shrink the app (c) never need a password (d) use it on any device
  23. 23.🧭 Which part of navigation goes to the last screen? (a) a tab bar (b) a menu button (c) the back button
  24. 24.🧩 Which input is best for choosing a volume level? (a) a switch (b) a title (c) a text box (d) a slider
  25. 25.🔀 What does this PIN rule show?
    let pin = "25414";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  26. 26.Which of these is a user need? (a) a dark mode switch (b) a share button (c) a search bar (d) “Small text is hard”
  27. 27.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Title: 17 px
    Body text: 17 px
    Menu: 11 px
    (a) Title (b) Body text (c) Menu
  28. 28.Which of these is true of a wireframe? (a) uses the final pictures (b) uses plain grey boxes (c) has the real colours (d) looks like the real app
  29. 29.True or false: a bill splitter solves a real problem. (a) False (b) True
  30. 30.♿ Accessibility means an app works for ___. (a) only experts (b) nobody (c) everyone (d) only the coder
  31. 31.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let stars = 46; // start at 46
    line 2: stars = stars - 2; // take away 2
    line 3: stars = stars * 2; // double it
    line 4: stars = stars + 3; // take away 3
    line 5: show(stars); // show it
  32. 32.📊 Survey: which problem bugs you most? How many more votes did “forgetting birthdays” get than “no quiet study place”?
    forgetting birthdays: 19 votes
    wasting pocket money: 18 votes
    no quiet study place: 6 votes
  33. 33.🔁 What number does this code show?
    let scores = [19, 13, 19, 16, 10];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  34. 34.🚀 Which of these versions is the OLDEST?
    3.13.6, 3.10.2, 2.28.4, 3.2.3
    (a) 3.2.3 (b) 3.10.2 (c) 2.28.4 (d) 3.13.6
  35. 35.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
    line 1: let coins = 42; // start at 41
    line 2: coins = coins + 5; // add 5
    line 3: coins = coins - 3; // take away 3
    line 4: coins = coins * 2; // double it
    line 5: show(coins); // show it
  36. 36.🧩 How many buttons does this app screen have?
    [title] New Note
    [button] Cancel
    [slider] Text size
    [text box] Phone
  37. 37.True or false: your friends list is a button. (a) True (b) False
  38. 38.Which of these happens at the test stage? (a) write the store text (b) spot a problem to solve (c) try every button (d) connect the data
  39. 39.⚙️ Which line does the processing (works out the answer)?
    line 1: let bill = 195; // typed by the user
    line 2: let friends = 5; // typed by the user
    line 3: let share = bill / friends;
    line 4: show(share);
    (a) line 2 (b) line 4 (c) line 3 (d) line 1
  40. 40.🔀 What does this sign-up rule show?
    let age = 11;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!

Answer key

  1. 145
  2. True
  3. Design B
  4. 4
  5. a text event
  6. 35
  7. a named box for a value
  8. False
  9. 68
  10. line 2
  11. a bug fix
  12. True
  13. 90
  14. No
  15. post the photo
  16. 2
  17. good design
  18. 35
  19. no quiet study place
  20. an action
  21. 0, 1, 2
  22. use it on any device
  23. the back button
  24. a slider
  25. Use 4 digits
  26. “Small text is hard”
  27. Menu
  28. uses plain grey boxes
  29. True
  30. everyone
  31. 85
  32. 13
  33. 77
  34. 2.28.4
  35. 86
  36. 1
  37. False
  38. try every button
  39. line 3
  40. Ask a parent

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