← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 617 · 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.🔘 Is this good or poor button design: buttons almost touching? (a) good design (b) poor design
  2. 2.⚙️ What number does this app show?
    let price = 15; // typed by the user
    let qty = 3; // typed by the user
    let total = price * qty;
    show(total);
  3. 3.🖼️ How many parts (boxes) does this wireframe have?
    [ list of items ]
    [ title text ]
    [ filter buttons ]
    [ top bar ]
    [ menu icon ]
    [ tab bar ]
  4. 4.🔀 What does this sign-up rule show?
    let age = 10;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  5. 5.🧭 About how many tabs suit a tab bar best? (a) 20 (b) 10 to 12 (c) 1 (d) 3 to 5
  6. 6.Which of these happens at the idea stage? (a) share the download link (b) talk to possible users (c) write the store text (d) write the code
  7. 7.True or false: a recipe finder is the best fit for a runner who forgets to sip water. (a) False (b) True
  8. 8.🔀 Which badge does this quiz app show?
    let marks = 31;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Bronze (c) Gold
  9. 9.🧰 What does return do in a function? (a) deletes the app (b) repeats the code (c) closes the screen (d) sends back a value
  10. 10.Which of these fits saving on the phone? (a) notes to read offline (b) a class leaderboard (c) chat messages to friends (d) a shared to-do list
  11. 11.🧰 A museum app works out the entry fee. What number does this code show?
    function fee(age) {
      if (age < 5) {
        return 0;
      }
      return 60;
    }
    show(fee(12) + fee(11));
  12. 12.Which of these is true of a website? (a) comes from an app store (b) needs no installing (c) is installed on a phone (d) updates from the store
  13. 13.📱 Which one has a home-screen icon: an app or a website? (a) an app (b) a website
  14. 14.True or false: the theme colours is about UX (the experience). (a) True (b) False
  15. 15.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) an avatar shop (b) confetti effects (c) background music (d) show the score
  16. 16.🧭 Why should every screen show where you are? (a) to use more battery (b) to look busy (c) to hide the menu (d) so users do not get lost
  17. 17.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) confetti effects (b) an avatar shop (c) show a question (d) background music
  18. 18.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Title: 28 px
    Footer: 22 px
    Menu: 14 px
    (a) Title (b) Footer (c) Menu
  19. 19.Which of these is true of a wireframe? (a) uses the final pictures (b) looks like the real app (c) is a quick sketch (d) shows the real fonts
  20. 20.🐞 A comment in code (after //) is for ___. (a) the battery (b) the phone screen (c) people reading the code (d) the app store
  21. 21.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) earn stickers (b) add a homework task (c) share tasks to friends (d) pick a theme colour
  22. 22.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
    Design A: Home → Confirm → Pay → Cart → Pens → Results
    Design B: Home → Offers → Size → Shop → Menu → Confirm → Pay
  23. 23.True or false: a wireframe is a quick sketch. (a) True (b) False
  24. 24.Which of these fits saving in the cloud? (a) your last game level (b) notes to read offline (c) the sound on/off setting (d) photos on two devices
  25. 25.🔀 What does this PIN rule show?
    let pin = "680";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  26. 26.📊 Survey: which problem bugs you most? Which problem should your app solve first?
    no quiet study place: 22 votes
    forgetting homework: 17 votes
    forgetting birthdays: 18 votes
    (a) forgetting birthdays (b) forgetting homework (c) no quiet study place
  27. 27.🔀 What does this battery rule show?
    let battery = 79;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  28. 28.🔁 A loop over a list of 5 items runs its body how many times? (a) 6 (b) 4 (c) 5 (d) 1
  29. 29.👆 The user taps the button 8 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 3) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  30. 30.⚙️ In an app, is taking a photo an input, processing or an output? (a) input (b) processing (c) output
  31. 31.🔢 In a sign-up flow, what comes right after “make a password”? (a) enter the code sent (b) type name and email (c) open the app (d) see the home screen
  32. 32.🔢 In a food-order flow, which comes first: “pay for the order” or “check the cart”? (a) pay for the order (b) check the cart
  33. 33.Which of these is a user need? (a) “What should I cook?” (b) a dark mode switch (c) a reminder alarm (d) a share button
  34. 34.Which of these happens at the plan stage? (a) list what users need (b) connect the data (c) sketch the screens (d) share the download link
  35. 35.🗒️ Version 1 of a pocket-money tracker must be ready in 14 days. How many days are left for extras after the must-haves?
    add money received: 3 days
    add money spent: 4 days
    show the balance: 4 days
  36. 36.🧩 How many buttons does this app screen have?
    [title] New Note
    [button] Cancel
    [switch] Sound
    [text box] Phone
  37. 37.🔁 What number does this code show?
    let marks = [1, 18, 6];
    let best = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] > best) {
        best = marks[i];
      }
    }
    show(best);
  38. 38.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Save button: 60 px tall
    Send button: 28 px tall
    Cancel button: 64 px tall
    Done button: 56 px tall
    (a) Done (b) Save (c) Cancel (d) Send
  39. 39.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 46; // start at 46
    line 2: score = score * 3; // double it
    line 3: score = score + 5; // add 5
    line 4: show(score); // show it
  40. 40.🚀 Which of these versions is the OLDEST?
    3.18.9, 3.6.1, 3.13.9, 2.27.7
    (a) 3.13.9 (b) 3.18.9 (c) 3.6.1 (d) 2.27.7

Answer key

  1. poor design
  2. 45
  3. 6
  4. Ask a parent
  5. 3 to 5
  6. talk to possible users
  7. False
  8. Bronze
  9. sends back a value
  10. notes to read offline
  11. 120
  12. needs no installing
  13. an app
  14. False
  15. show the score
  16. so users do not get lost
  17. show a question
  18. Menu
  19. is a quick sketch
  20. people reading the code
  21. add a homework task
  22. 1
  23. True
  24. photos on two devices
  25. Use 4 digits
  26. no quiet study place
  27. Battery OK
  28. 5
  29. 3
  30. input
  31. enter the code sent
  32. check the cart
  33. “What should I cook?”
  34. sketch the screens
  35. 3
  36. 1
  37. 18
  38. Send
  39. 143
  40. 2.27.7

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