← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 910 · 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.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Cancel button: 56 px tall
    Start button: 64 px tall
    Help button: 44 px tall
    (a) Start (b) Help (c) Cancel
  2. 2.🧩 Which input is best for choosing a volume level? (a) a text box (b) a title (c) a switch (d) a slider
  3. 3.🧩 How many buttons does this app screen have?
    [title] Edit Profile
    [text box] City
    [button] Next
    [button] Save
    [text box] Email
    [text box] Subject
  4. 4.True or false: you write the store text at the release stage. (a) True (b) False
  5. 5.Which of these requests asks for too much? (a) calling app → contacts (b) voice notes → microphone (c) timer → your photos (d) camera app → camera
  6. 6.Which of these is about UX (the experience)? (a) the theme colours (b) the font size (c) the screen layout (d) how users feel after
  7. 7.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 290; // typed by the user
    line 2: let off = 20; // typed by the user
    line 3: let pay = price - off;
    line 4: show(pay);
    (a) line 3 (b) line 2 (c) line 4 (d) line 1
  8. 8.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let coins = 34; // start at 34
    line 2: coins = coins - 3; // add 3
    line 3: coins = coins + 6; // add 6
    line 4: coins = coins * 2; // double it
    line 5: show(coins); // show it
  9. 9.Which of these fits saving on the phone? (a) your last game level (b) a class leaderboard (c) a shared to-do list (d) chat messages to friends
  10. 10.Which of these is a user need? (a) a search bar (b) “What should I cook?” (c) a reminder alarm (d) a share button
  11. 11.🌐 Which program do you need to open a website? (a) a web browser (b) an app store (c) a camera app (d) a calculator
  12. 12.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(15, 5));
  13. 13.🖼️ In this wireframe (top to bottom), what is right above the list of items?
    [ menu icon ]
    [ list of items ]
    [ Save button ]
    [ filter buttons ]
    [ top bar ]
    (a) filter buttons (b) Save button (c) menu icon (d) top bar
  14. 14.True or false: a website updates from the store. (a) True (b) False
  15. 15.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
    Design A: Home → Cart → Offers → Address → Shop → Results
    Design B: Home → Search → Pens → Item → Size
    (a) Design B (b) Design A
  16. 16.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let stars = 37; // start at 37
    line 2: stars = stars * 2; // double it
    line 3: stars = stars - 2; // take away 2
    line 4: stars = stars * 3; // double it
    line 5: show(stars); // show it
  17. 17.📅 An app team plans for 3 days, builds for 10 days, tests for 3 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
  18. 18.🔀 What does this PIN rule show?
    let pin = "732";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  19. 19.🔍 Which is the odd one out? (a) write the store text (b) share the download link (c) try every button (d) put it on an app store
  20. 20.📊 Survey: which problem bugs you most? How many more votes did “missing the bus” get than “losing water bottles”?
    forgetting birthdays: 17 votes
    missing the bus: 10 votes
    losing water bottles: 3 votes
  21. 21.📱 The word “app” is short for ___. (a) appointment (b) application (c) appetite (d) apparatus
  22. 22.🧪 A test fails when ___. (a) actual is not expected (b) both are the same (c) the app is new (d) the font is big
  23. 23.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Done button: 40 px tall
    Cancel button: 32 px tall
    Next button: 56 px tall
    Save button: 44 px tall
  24. 24.⚙️ Which line does the processing (works out the answer)?
    line 1: let bill = 84; // typed by the user
    line 2: let friends = 4; // typed by the user
    line 3: let share = bill / friends;
    line 4: show(share);
    (a) line 3 (b) line 4 (c) line 1 (d) line 2
  25. 25.🔍 Which is the odd one out? (a) a calculator (b) a times-table quiz (c) a flashcard trainer (d) a spelling coach
  26. 26.🔁 What is the LAST line this code shows?
    let names = ["Arjun", "Kabir", "Zoya", "Riya", "Aman"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Kabir (b) Hi, Arjun (c) Hi, Zoya (d) Hi, Aman
  27. 27.🔀 What does this sign-up rule show?
    let age = 12;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  28. 28.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(2) + points(4));
  29. 29.🚀 Which version is newer: 1.3.6 or 1.3.15? (a) 1.3.6 (b) 1.3.15
  30. 30.👥 A school app has 250 students, 70 teachers and 260 parents as users. How many more parents than teachers are there?
  31. 31.👥 A school app has 185 students, 70 teachers and 235 parents as users. How many users does it have in all?
  32. 32.🖼️ How many parts (boxes) does this wireframe have?
    [ Save button ]
    [ big picture ]
    [ list of items ]
    [ top bar ]
    [ menu icon ]
  33. 33.🧩 In an app, what is today’s step count? (a) a button (b) data (c) an input (d) a screen
  34. 34.Which of these app ideas solves a real problem? (a) a button with no action (b) a blank grey screen (c) an app that just says hi (d) a free study-room finder
  35. 35.💾 In most code, the first item of a list is at position ___. (a) 10 (b) 0 (c) 2 (d) 1
  36. 36.🔀 What does this sign-up rule show?
    let age = 9;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  37. 37.🐞 What is a good first step when an app gives a wrong result? (a) add more colours (b) delete the app (c) buy a new phone (d) find where it goes wrong
  38. 38.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Done button: 40 px tall
    Cancel button: 44 px tall
    Help button: 60 px tall
  39. 39.🧪 How many of these test cases pass?
    🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
    function delivery(total) {
      if (total > 300) {
        return 0;
      }
      return 40;
    }
    Test 1: delivery(200) → expected 40
    Test 2: delivery(550) → expected 0
    Test 3: delivery(400) → expected 0
  40. 40.True or false: the sound on/off setting fits saving in the cloud. (a) True (b) False

Answer key

  1. Help
  2. a slider
  3. 2
  4. True
  5. timer → your photos
  6. how users feel after
  7. line 3
  8. 74
  9. your last game level
  10. “What should I cook?”
  11. a web browser
  12. 75
  13. menu icon
  14. False
  15. Design B
  16. 216
  17. 13
  18. Use 4 digits
  19. try every button
  20. 7
  21. application
  22. actual is not expected
  23. 1
  24. line 3
  25. a calculator
  26. Hi, Aman
  27. Ask a parent
  28. 70
  29. 1.3.15
  30. 190
  31. 490
  32. 5
  33. data
  34. a free study-room finder
  35. 0
  36. Ask a parent
  37. find where it goes wrong
  38. 1
  39. 3
  40. False

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