← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 428 · 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.Which of these fits saving on the phone? (a) a class leaderboard (b) notes to read offline (c) a shared to-do list (d) photos on two devices
  2. 2.💾 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
  3. 3.🔘 Our rule: buttons are at least 48 px tall. The Cancel button is 28 px tall. How many px taller must it be?
  4. 4.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Done button: 32 px tall
    Next button: 48 px tall
    Save button: 64 px tall
    Start button: 52 px tall
  5. 5.🔁 What number does this code show?
    let scores = [7, 9, 12];
    let total = 0;
    for (let i = 0; i < scores.length; i++) {
      total = total + scores[i];
    }
    show(total);
  6. 6.🔁 list.length tells you ___. (a) the first item (b) the last item (c) how many items it has (d) the biggest item
  7. 7.🧭 Which part of navigation shows 3 to 5 icons? (a) a menu button (b) a tab bar (c) the back button
  8. 8.📊 Survey: which problem bugs you most? How many more votes did “wasting pocket money” get than “missing the bus”?
    missing the bus: 4 votes
    wasting pocket money: 10 votes
    forgetting homework: 23 votes
  9. 9.🔘 Is this good or poor button design: space between buttons? (a) good design (b) poor design
  10. 10.Which of these is about UI (the look)? (a) whether users get lost (b) the screen layout (c) how easy sign-up is (d) how many taps it takes
  11. 11.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let points = 38; // start at 38
    line 2: points = points * 2; // double it
    line 3: points = points - 4; // take away 4
    line 4: points = points - 6; // take away 4
    line 5: show(points); // show it
  12. 12.🧪 What is the actual result of a test? (a) what we hope for (b) the test’s number (c) the app’s name (d) what the app really does
  13. 13.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Video”
    2. open “Score card”
    3. tap the Lessons tab
    Which screen are you on now?
    (a) Video (b) Quiz (c) Lessons (d) Score card
  14. 14.🔀 What does this sign-up rule show?
    let age = 17;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Ask a parent (b) Welcome!
  15. 15.👥 A cricket club app has 90 players, 215 coaches and 170 fans as users. How many more coaches than fans are there?
  16. 16.💡 Which is a problem statement? (a) “Make it fast” (b) “Kids forget homework” (c) “Add a logo” (d) “Use blue buttons”
  17. 17.⚙️ What number does this app show?
    let price = 350; // typed by the user
    let off = 30; // typed by the user
    let pay = price - off;
    show(pay);
  18. 18.🔢 In a photo-post flow, which comes first: “open the camera screen” or “take the photo”? (a) open the camera screen (b) take the photo
  19. 19.👆 The user taps the button 7 times. What does the label show now?
    let on = false;
    button.onTap = function () {
      on = !on;
      if (on) {
        label.text = "ON";
      } else {
        label.text = "OFF";
      }
    };
    (a) ON (b) OFF
  20. 20.🧭 Why should every screen show where you are? (a) to look busy (b) to use more battery (c) to hide the menu (d) so users do not get lost
  21. 21.🔀 Which badge does this quiz app show?
    let marks = 54;
    if (marks >= 80) {
      show("Gold");
    } else if (marks >= 50) {
      show("Silver");
    } else {
      show("Bronze");
    }
    (a) Silver (b) Bronze (c) Gold
  22. 22.🔀 What does this PIN rule show?
    let pin = "3733";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  23. 23.🔍 Which is the odd one out? (a) fast-flashing lights (b) text that can grow (c) captions on videos (d) labels on every icon
  24. 24.💾 In most code, the first item of a list is at position ___. (a) 0 (b) 2 (c) 10 (d) 1
  25. 25.⚙️ What number does this app show?
    let bill = 250; // typed by the user
    let friends = 5; // typed by the user
    let share = bill / friends;
    show(share);
  26. 26.Which of these is a user need? (a) “I keep missing the bus” (b) a reminder alarm (c) a search bar (d) a share button
  27. 27.🐞 After fixing a bug you should ___. (a) delete the test (b) release at once (c) never test (d) test it again
  28. 28.👆 The user types Meera in nameBox and taps the button 1 time. What does the label show?
    button.onTap = function () {
      label.text = "Hello, " + nameBox.text + "!";
    };
    (a) Hello, Meera! (b) Meera (c) Hello! (d) Hello, nameBox.text!
  29. 29.✏️ Is this true of a wireframe or of a final design: is a quick sketch? (a) a final design (b) a wireframe
  30. 30.🔀 What does if / else let an app do? (a) repeat forever (b) save a photo (c) draw a screen (d) pick one of two actions
  31. 31.🧩 What does a button do when you tap it? (a) saves the battery (b) shows the time (c) starts an action (d) changes the phone
  32. 32.🔍 Which is the odd one out? (a) an alarm clock (b) a cricket run chase (c) a puzzle with levels (d) a racing challenge
  33. 33.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) pick your bus stop (b) a dark mode (c) rate the driver (d) change the bus icon
  34. 34.🔢 In a sign-up flow, which comes first: “type name and email” or “make a password”? (a) type name and email (b) make a password
  35. 35.🔢 In a food-order flow, which comes first: “open the menu” or “pick a dish”? (a) pick a dish (b) open the menu
  36. 36.🗂️ What kind of app is a spelling coach? (a) a tool app (b) a health app (c) a game (d) a learning app
  37. 37.👥 A school app has 250 students, 265 teachers and 125 parents as users. How many users does it have in all?
  38. 38.🔀 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!
  39. 39.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(100, 4));
  40. 40.🗒️ Version 1 of a pocket-money tracker must be ready in 9 days. How many days are left for extras after the must-haves?
    add money received: 1 days
    add money spent: 2 days
    show the balance: 2 days

Answer key

  1. notes to read offline
  2. use it on any device
  3. 20
  4. 3
  5. 28
  6. how many items it has
  7. a tab bar
  8. 6
  9. good design
  10. the screen layout
  11. 66
  12. what the app really does
  13. Lessons
  14. Welcome!
  15. 45
  16. “Kids forget homework”
  17. 320
  18. open the camera screen
  19. ON
  20. so users do not get lost
  21. Silver
  22. PIN saved
  23. fast-flashing lights
  24. 0
  25. 50
  26. “I keep missing the bus”
  27. test it again
  28. Hello, Meera!
  29. a wireframe
  30. pick one of two actions
  31. starts an action
  32. an alarm clock
  33. pick your bus stop
  34. type name and email
  35. open the menu
  36. a learning app
  37. 640
  38. Ask a parent
  39. 400
  40. 4

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