← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 562 · 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.True or false: “captions on videos” helps everyone use the app. (a) True (b) False
  2. 2.🔀 What number does this shop app show?
    let total = 480;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  3. 3.🧪 How many of these test cases pass?
    📝 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(3) → expected Try again
    Test 3: result(8) → expected Pass
  4. 4.🔀 What does this PIN rule show?
    let pin = "6119";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  5. 5.👥 A cricket club app has 240 players, 235 coaches and 200 fans as users. Which user group is the biggest? (a) fans (b) coaches (c) players
  6. 6.🗒️ Version 1 of a water reminder must be ready in 14 days. How many days are left for extras after the must-haves?
    set a reminder time: 4 days
    log a glass of water: 2 days
    see today’s total: 4 days
  7. 7.🚀 Your app is at version 1.3.8. The next release adds a new feature. What is its version number? (a) 1.3.9 (b) 1.4.0 (c) 2.0.0 (d) 1.4.8
  8. 8.💾 Where should the app save the sound on/off setting: on the phone or in the cloud? (a) in the cloud (b) on the phone
  9. 9.True or false: checking a password is an input. (a) False (b) True
  10. 10.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Cancel button: 28 px tall
    Help button: 60 px tall
    Back button: 48 px tall
    Done button: 48 px tall
    (a) Cancel (b) Help (c) Done (d) Back
  11. 11.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let stars = 47; // start at 46
    line 2: stars = stars - 4; // take away 4
    line 3: stars = stars - 1; // take away 1
    line 4: show(stars); // show it
  12. 12.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Feed tab
    2. open “Friend list”
    3. tap the Settings tab
    4. open “Score card”
    5. open “Edit photo”
    Which screen are you on now?
    (a) Friend list (b) Score card (c) Feed (d) Edit photo
  13. 13.🔢 In a photo-post flow, what comes right after “add a filter”? (a) open the camera screen (b) post the photo (c) write a caption (d) take the photo
  14. 14.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Title: 23 px
    Footer: 25 px
    Caption: 14 px
    (a) Title (b) Caption (c) Footer
  15. 15.📊 Survey: which problem bugs you most? How many more votes did “wasting pocket money” get than “forgetting homework”?
    wasting pocket money: 11 votes
    losing water bottles: 5 votes
    forgetting homework: 8 votes
  16. 16.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ Add button ]
    [ big picture ]
    [ filter buttons ]
    [ top bar ]
    (a) big picture (b) Add button (c) filter buttons (d) top bar
  17. 17.True or false: icons with no meaning is good button design. (a) False (b) True
  18. 18.True or false: the screen layout is about UX (the experience). (a) False (b) True
  19. 19.Which of these fits saving in the cloud? (a) the sound on/off setting (b) chat messages to friends (c) your last game level (d) notes to read offline
  20. 20.🔘 Is this good or poor button design: a tiny 20 px button? (a) poor design (b) good design
  21. 21.🔍 Which is the odd one out? (a) write down the bugs (b) let friends try it (c) list what users need (d) try every button
  22. 22.💾 pop() takes off the last item. What does this code show?
    let songs = ["Kites", "Rain", "Monsoon"];
    songs.pop();
    show(songs[songs.length - 1]);
    (a) Monsoon (b) Rain (c) Kites
  23. 23.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    no quiet study place: 16 votes
    losing water bottles: 4 votes
    forgetting homework: 22 votes
    (a) forgetting homework (b) losing water bottles (c) no quiet study place
  24. 24.True or false: you list what users need at the plan stage. (a) False (b) True
  25. 25.👆 The user taps the button 3 times. What number does the label show now?
    let stars = 5;
    button.onTap = function () {
      stars = stars + 5;
      label.text = stars;
    };
  26. 26.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 30;
    }
    show(fee(8) + fee(4));
  27. 27.♿ 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
  28. 28.🧰 What number does this code show?
    function triple(n) {
      return n * 3;
    }
    show(triple(18));
  29. 29.🔁 What number does this code show?
    let scores = [5, 3, 17, 1];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  30. 30.💾 pop() takes off the last item. What does this code show?
    let notes = ["Sports", "Art", "Maths"];
    notes.pop();
    show(notes[notes.length - 1]);
    (a) Maths (b) Art (c) Sports
  31. 31.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(4) + points(2));
  32. 32.🎨 A beautiful app that confuses everyone has ___. (a) perfect UX (b) good UI but poor UX (c) no UI at all (d) good UX but poor UI
  33. 33.True or false: an alarm clock is a tool app. (a) False (b) True
  34. 34.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let stars = 41; // start at 41
    line 2: stars = stars - 1; // take away 1
    line 3: stars = stars - 3; // add 3
    line 4: show(stars); // show it
  35. 35.🧑 Who is an app really made for? (a) its coder only (b) its users (c) its charger (d) its icon
  36. 36.🔍 Which is the odd one out? (a) how fast a task is done (b) how easy sign-up is (c) the button colours (d) how many taps it takes
  37. 37.👥 A library app has 175 readers, 125 librarians and 155 volunteers as users. How many users does it have in all?
  38. 38.✏️ Is this true of a wireframe or of a final design: is a quick sketch? (a) a wireframe (b) a final design
  39. 39.🔢 In a sign-up flow, what comes right after “make a password”? (a) tap “Sign up” (b) type name and email (c) enter the code sent (d) see the home screen
  40. 40.🐞 Finding and fixing bugs is called ___. (a) downloading (b) decorating (c) debugging (d) designing

Answer key

  1. True
  2. 480
  3. 2
  4. PIN saved
  5. players
  6. 4
  7. 1.4.0
  8. on the phone
  9. False
  10. Cancel
  11. 42
  12. Edit photo
  13. write a caption
  14. Caption
  15. 3
  16. top bar
  17. False
  18. False
  19. chat messages to friends
  20. poor design
  21. list what users need
  22. Rain
  23. forgetting homework
  24. False
  25. 20
  26. 30
  27. colour-blind users
  28. 54
  29. 26
  30. Art
  31. 70
  32. good UI but poor UX
  33. True
  34. 37
  35. its users
  36. the button colours
  37. 455
  38. a wireframe
  39. enter the code sent
  40. debugging

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