← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 122 · 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.🔀 What does this PIN rule show?
    let pin = "53406";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) Use 4 digits (b) PIN saved
  2. 2.True or false: a box to type a name is an input. (a) True (b) False
  3. 3.👆 An event in an app is ___. (a) something that happens (b) a kind of list (c) a colour theme (d) an app store
  4. 4.♿ A screen has 10 icon buttons. Only 9 of them have a text label for screen readers. How many still need a label?
  5. 5.🔘 Is this good or poor button design: buttons almost touching? (a) good design (b) poor design
  6. 6.🖼️ How many parts (boxes) does this wireframe have?
    [ top bar ]
    [ filter buttons ]
    [ title text ]
    [ search box ]
    [ Save button ]
    [ Add button ]
  7. 7.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 330; // typed by the user
    line 2: let off = 10; // typed by the user
    line 3: let pay = price - off;
    line 4: show(pay);
    (a) line 1 (b) line 2 (c) line 4 (d) line 3
  8. 8.🔀 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
  9. 9.💡 Does an app idea like a blank grey screen solve a real problem? (a) Yes (b) No
  10. 10.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
    Save button: 72 px tall
    Send button: 52 px tall
    Back button: 24 px tall
    (a) Back (b) Send (c) Save
  11. 11.🗒️ Version 1 of a homework planner must be ready in 13 days. How many days are left for extras after the must-haves?
    add a homework task: 4 days
    set a due date: 4 days
    see tasks by day: 3 days
  12. 12.👆 The user taps the button 6 times. What number does the label show now?
    let lives = 2;
    button.onTap = function () {
      lives = lives + 4;
      label.text = lives;
    };
  13. 13.🗂️ What kind of app is a racing challenge? (a) a tool app (b) a game (c) a health app (d) a learning app
  14. 14.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Hint: 10 px
    Title: 16 px
    Body text: 23 px
    Label: 21 px
    (a) Body text (b) Label (c) Title (d) Hint
  15. 15.🚀 A privacy policy tells users ___. (a) the app’s price (b) the app’s colours (c) what data is collected (d) the screen size
  16. 16.True or false: you sketch the screens at the plan stage. (a) False (b) True
  17. 17.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 3 (b) 1, 2, 3 (c) 0, 1, 2, 3 (d) 0, 1, 2
  18. 18.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 33; // start at 33
    line 2: points = points + 5; // add 5
    line 3: points = points - 5; // take away 4
    line 4: points = points - 2; // take away 2
    line 5: show(points); // show it
    (a) line 3 (b) line 4 (c) line 1 (d) line 2
  19. 19.💡 Does an app idea like a medicine reminder solve a real problem? (a) Yes (b) No
  20. 20.True or false: whether users get lost is about UX (the experience). (a) True (b) False
  21. 21.🔢 In a photo-post flow, which comes first: “take the photo” or “add a filter”? (a) take the photo (b) add a filter
  22. 22.🧭 Which part of navigation sits at the bottom? (a) a menu button (b) a tab bar (c) the back button
  23. 23.🗒️ In MVP, the M stands for ___. (a) music (b) mobile (c) minimum (d) maximum
  24. 24.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “no quiet study place”?
    missing the bus: 7 votes
    no quiet study place: 3 votes
    forgetting homework: 19 votes
  25. 25.🌗 Is white on dark green easy or hard to read on a button? (a) hard to read (b) easy to read
  26. 26.🧰 How do you run (call) a function called greet? (a) greet[] (b) run greet (c) greet() (d) #greet
  27. 27.🔀 What does this battery rule show?
    let battery = 14;
    if (battery < 20) {
      show("Low battery");
    } else {
      show("Battery OK");
    }
    (a) Low battery (b) Battery OK
  28. 28.👥 A clinic app has 230 patients, 50 doctors and 100 nurses as users. How many users does it have in all?
  29. 29.🔀 What does if / else let an app do? (a) pick one of two actions (b) save a photo (c) draw a screen (d) repeat forever
  30. 30.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. open “Badges”
    2. tap Back
    3. open “Badges”
    4. tap Back
    5. open “Video”
    How many times must you tap Back to reach the main screen of this tab?
  31. 31.📊 Survey: which problem bugs you most? How many more votes did “wasting pocket money” get than “losing water bottles”?
    wasting pocket money: 23 votes
    missing the bus: 15 votes
    losing water bottles: 13 votes
  32. 32.📊 Survey: which problem bugs you most? How many more votes did “losing water bottles” get than “forgetting birthdays”?
    missing the bus: 5 votes
    losing water bottles: 14 votes
    forgetting birthdays: 6 votes
  33. 33.🔁 What number does this code show?
    let marks = [34, 33, 67, 16, 88];
    let count = 0;
    for (let i = 0; i < marks.length; i++) {
      if (marks[i] >= 50) {
        count = count + 1;
      }
    }
    show(count);
  34. 34.🔁 A loop over a list of 5 items runs its body how many times? (a) 1 (b) 4 (c) 5 (d) 6
  35. 35.🗂️ What kind of app is a sleep tracker? (a) a game (b) a health app (c) a tool app (d) a learning app
  36. 36.🧪 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(7) → expected Pass
    Test 2: result(6) → expected Pass
    Test 3: result(5) → expected Try again
  37. 37.🔢 When you make an app, what comes right after “get an idea”? (a) build the app (b) release it (c) plan the screens (d) test the app
  38. 38.Which of these is true of a wireframe? (a) looks like the real app (b) has the real colours (c) shows where things go (d) uses the final pictures
  39. 39.🔀 What is a user flow? (a) a type of font (b) a colour theme (c) the path through screens (d) a charging cable
  40. 40.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) edge cases (b) phone cases (c) easy cases (d) old cases

Answer key

  1. Use 4 digits
  2. True
  3. something that happens
  4. 1
  5. poor design
  6. 6
  7. line 3
  8. Ask a parent
  9. No
  10. Back
  11. 2
  12. 26
  13. a game
  14. Hint
  15. what data is collected
  16. True
  17. 0, 1, 2
  18. line 3
  19. Yes
  20. True
  21. take the photo
  22. a tab bar
  23. minimum
  24. 16
  25. easy to read
  26. greet()
  27. Low battery
  28. 380
  29. pick one of two actions
  30. 1
  31. 10
  32. 8
  33. 2
  34. 5
  35. a health app
  36. 2
  37. plan the screens
  38. shows where things go
  39. the path through screens
  40. edge cases

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