← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 570 · 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.👆 The user taps the button 2 times. What number does the label show now?
    let coins = 3;
    button.onTap = function () {
      coins = coins + 5;
      label.text = coins;
    };
  2. 2.🖼️ In this wireframe (top to bottom), what is right above the big picture?
    [ menu icon ]
    [ search box ]
    [ big picture ]
    [ filter buttons ]
    [ list of items ]
    [ Save button ]
    (a) list of items (b) menu icon (c) search box (d) Save button
  3. 3.🔀 What does this PIN rule show?
    let pin = "468";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  4. 4.🔢 In a quiz-app flow, which comes first: “pick an answer” or “see the final score”? (a) see the final score (b) pick an answer
  5. 5.🔐 Is this permission request fair or too much: map app → location? (a) fair (b) too much
  6. 6.👆 The user taps the button 4 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 5) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  7. 7.👥 A school app has 250 students, 30 teachers and 125 parents as users. How many more parents than teachers are there?
  8. 8.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 40;
    }
    show(fee(7) + fee(10));
  9. 9.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let points = 50; // start at 50
    line 2: points = points + 6; // add 6
    line 3: points = points - 5; // take away 4
    line 4: show(points); // show it
  10. 10.True or false: how easy sign-up is is about UX (the experience). (a) False (b) True
  11. 11.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) confetti effects (b) an avatar shop (c) check the answer (d) background music
  12. 12.🔍 Which is the odd one out? (a) strong colour contrast (b) colour as the only clue (c) captions on videos (d) big touch targets
  13. 13.🔐 A torch app asks for your contacts. What should you do? (a) post them online (b) allow it (c) share them all (d) deny it
  14. 14.True or false: you talk to possible users at the idea stage. (a) False (b) True
  15. 15.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 15; // typed by the user
    line 2: let qty = 6; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 1 (b) line 4 (c) line 3 (d) line 2
  16. 16.Which of these is a user need? (a) “Small text is hard” (b) a dark mode switch (c) a share button (d) a search bar
  17. 17.🔀 With if / else if / else, how many parts run? (a) two (b) none (c) only one (d) all of them
  18. 18.🔐 Which permission does a weather-near-me app really need? (a) the microphone (b) contacts (c) the camera (d) location
  19. 19.🔢 In a food-order flow, what comes right after “add it to the cart”? (a) check the cart (b) pay for the order (c) track the order (d) open the menu
  20. 20.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 8 or more right answers.
    function result(right) {
      if (right > 8) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(10) → expected Pass
    Test 2: result(8) → expected Pass
    Test 3: result(7) → expected Try again
    (a) Test 2 (b) Test 1 (c) Test 3
  21. 21.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
    [ big picture ]
    [ menu icon ]
    [ tab bar ]
    [ filter buttons ]
    [ Save button ]
    (a) tab bar (b) Save button (c) menu icon (d) big picture
  22. 22.True or false: an app comes from an app store. (a) False (b) True
  23. 23.🧭 Why should every screen show where you are? (a) to hide the menu (b) to use more battery (c) so users do not get lost (d) to look busy
  24. 24.🎯 Which app would help this user most: a parent waiting at the bus stop? (a) a bus tracker (b) a big-text reader (c) a pocket-money tracker (d) a water reminder
  25. 25.🌗 Is pale pink on white easy or hard to read on a button? (a) hard to read (b) easy to read
  26. 26.💾 Where should the app save photos on two devices: on the phone or in the cloud? (a) on the phone (b) in the cloud
  27. 27.📊 Survey: which problem bugs you most? How many more votes did “losing water bottles” get than “no quiet study place”?
    no quiet study place: 4 votes
    forgetting homework: 19 votes
    losing water bottles: 23 votes
  28. 28.🔁 What number does this code show?
    let steps = [17, 3, 14, 11, 5];
    let total = 0;
    for (let i = 0; i < steps.length; i++) {
      total = total + steps[i];
    }
    show(total);
  29. 29.True or false: a medicine reminder solves no real problem. (a) True (b) False
  30. 30.🧩 How many buttons does this app screen have?
    [title] Sign Up
    [switch] Show hints
    [text box] Subject
    [text box] Due date
    [text box] Phone
    [button] Start
  31. 31.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 410; // typed by the user
    line 2: let off = 30; // typed by the user
    line 3: let pay = price - off;
    line 4: show(pay);
    (a) line 3 (b) line 4 (c) line 1 (d) line 2
  32. 32.🧪 Who else should try an app before release? (a) only the coder (b) real users (c) nobody (d) the app icon
  33. 33.🔍 Which is the odd one out? (a) the theme colours (b) how users feel after (c) the button colours (d) the icon shapes
  34. 34.True or false: you spot a problem to solve at the idea stage. (a) True (b) False
  35. 35.👥 A cricket club app has 250 players, 280 coaches and 115 fans as users. How many more players than fans are there?
  36. 36.Which of these fits saving in the cloud? (a) your last game level (b) a draft you are typing (c) notes to read offline (d) a shared to-do list
  37. 37.Which of these happens at the release stage? (a) talk to possible users (b) try every button (c) draw the user flow (d) put it on an app store
  38. 38.🔁 What number does this code show?
    let scores = [17, 3, 19, 9];
    let best = 0;
    for (let i = 0; i < scores.length; i++) {
      if (scores[i] > best) {
        best = scores[i];
      }
    }
    show(best);
  39. 39.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    no quiet study place: 14 votes
    wasting pocket money: 25 votes
    losing water bottles: 16 votes
    (a) losing water bottles (b) no quiet study place (c) wasting pocket money
  40. 40.🧪 One test case fails. Which one?
    📝 Rule: a quiz is passed with 7 or more right answers.
    function result(right) {
      if (right > 7) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(9) → expected Pass
    Test 2: result(7) → expected Pass
    Test 3: result(4) → expected Try again
    (a) Test 1 (b) Test 3 (c) Test 2

Answer key

  1. 13
  2. search box
  3. Use 4 digits
  4. pick an answer
  5. fair
  6. 4
  7. 95
  8. 80
  9. 51
  10. True
  11. check the answer
  12. colour as the only clue
  13. deny it
  14. True
  15. line 3
  16. “Small text is hard”
  17. only one
  18. location
  19. check the cart
  20. Test 2
  21. Save button
  22. True
  23. so users do not get lost
  24. a bus tracker
  25. hard to read
  26. in the cloud
  27. 19
  28. 50
  29. False
  30. 1
  31. line 3
  32. real users
  33. how users feel after
  34. True
  35. 135
  36. a shared to-do list
  37. put it on an app store
  38. 19
  39. wasting pocket money
  40. Test 2

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