← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 291 · 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 true of a wireframe or of a final design: shows where things go? (a) a final design (b) a wireframe
  2. 2.True or false: a water reminder is the best fit for a grandparent with weak eyesight. (a) False (b) True
  3. 3.🔁 What is the LAST line this code shows?
    let names = ["Riya", "Arjun", "Meera", "Kabir"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Kabir (b) Hi, Riya (c) Hi, Meera (d) Hi, Arjun
  4. 4.🔍 Which is the odd one out? (a) the button colours (b) whether users get lost (c) the icon shapes (d) the screen layout
  5. 5.Which of these fits saving in the cloud? (a) a draft you are typing (b) the sound on/off setting (c) your last game level (d) photos on two devices
  6. 6.♿ A screen has 7 icon buttons. Only 1 of them have a text label for screen readers. How many still need a label?
  7. 7.👥 A clinic app has 65 patients, 295 doctors and 225 nurses as users. Which user group is the biggest? (a) nurses (b) patients (c) doctors
  8. 8.🧩 Which of these is a button on this screen?
    [title] Order Snacks
    [slider] Text size
    [text box] City
    [switch] Sound
    [button] Save
    [text box] Phone
    [text box] Email
    (a) City (b) Save (c) Phone (d) Email
  9. 9.🧭 Which part of navigation sits at the bottom? (a) a tab bar (b) the back button (c) a menu button
  10. 10.Which of these is true of a website? (a) opens from a link (b) comes from an app store (c) has a home-screen icon (d) updates from the store
  11. 11.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a new app (b) a big redesign (c) a new feature (d) a bug fix
  12. 12.🔁 What number does this code show?
    let runs = [22, 50, 73];
    let count = 0;
    for (let i = 0; i < runs.length; i++) {
      if (runs[i] >= 70) {
        count = count + 1;
      }
    }
    show(count);
  13. 13.🗒️ Version 1 of a homework planner must be ready in 11 days. How many days are left for extras after the must-haves?
    add a homework task: 3 days
    set a due date: 1 days
    see tasks by day: 3 days
  14. 14.💡 Which app idea solves this problem: Grandpa forgets his tablets? (a) a lost-and-found board (b) a medicine reminder (c) a study-room finder (d) a bill splitter
  15. 15.🧩 How many buttons does this app screen have?
    [title] Add Homework
    [slider] Text size
    [text box] Age
    [button] Next
    [button] Cancel
    [button] Start
    [switch] Remind me
  16. 16.True or false: a big-text reader is the best fit for a gamer who forgets to drink. (a) False (b) True
  17. 17.🧩 In an app, what is a date picker? (a) a screen (b) data (c) an input (d) a button
  18. 18.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let score = 36; // start at 36
    line 2: score = score + 2; // add 2
    line 3: score = score * 3; // double it
    line 4: show(score); // show it
    (a) line 2 (b) line 1 (c) line 3
  19. 19.🧩 Which of these is a button on this screen?
    [title] Sign Up
    [text box] City
    [text box] Name
    [button] Cancel
    [button] Help
    [text box] Email
    (a) Cancel (b) Name (c) City (d) Email
  20. 20.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) see tasks by day (b) set a due date (c) share tasks to friends (d) add a homework task
  21. 21.🔀 What does this PIN rule show?
    let pin = "510";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  22. 22.Which of these is a user need? (a) a reminder alarm (b) a dark mode switch (c) a share button (d) “I keep missing the bus”
  23. 23.🎯 Is this a user need or a feature: a share button? (a) a feature (b) a user need
  24. 24.👆 The user taps the button 1 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 3) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  25. 25.🧭 Which part of navigation undoes one move? (a) a tab bar (b) the back button (c) a menu button
  26. 26.🔁 A loop over a list of 5 items runs its body how many times? (a) 1 (b) 4 (c) 6 (d) 5
  27. 27.💡 An app that tries to do everything at once is usually ___. (a) very small (b) hard to use (c) finished fast (d) easy to build
  28. 28.🧩 Which input is best for choosing a volume level? (a) a title (b) a switch (c) a text box (d) a slider
  29. 29.💡 Which app idea solves this problem: nobody knows whose bag it is? (a) a homework planner (b) a medicine reminder (c) a study-room finder (d) a lost-and-found board
  30. 30.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 1, 2, 3 (b) 0, 1, 2 (c) 3 (d) 0, 1, 2, 3
  31. 31.True or false: a party-invite app for friends needs your contacts. (a) False (b) True
  32. 32.🔢 When you make an app, what comes right after “build the app”? (a) release it (b) get an idea (c) test the app (d) plan the screens
  33. 33.True or false: a homework planner is the best fit for a student who keeps forgetting due dates. (a) True (b) False
  34. 34.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 25; // typed by the user
    line 2: let qty = 4; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 1 (b) line 2 (c) line 4 (d) line 3
  35. 35.🧰 What number does this code show?
    function points(stars) {
      return stars * 10 + 5;
    }
    show(points(1) + points(4));
  36. 36.💡 Which app idea solves this problem: pupils forget due dates? (a) a bill splitter (b) a lost-and-found board (c) a medicine reminder (d) a homework planner
  37. 37.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let score = 42; // start at 40
    line 2: score = score + 3; // add 3
    line 3: score = score + 5; // add 5
    line 4: score = score + 4; // add 4
    line 5: show(score); // show it
  38. 38.Which of these is an input? (a) tapping a button (b) adding up a bill (c) checking a password (d) a buzz (vibration)
  39. 39.🔁 What number does this code show?
    let runs = [20, 16, 16];
    let total = 0;
    for (let i = 0; i < runs.length; i++) {
      total = total + runs[i];
    }
    show(total);
  40. 40.🎯 Why learn about users before you build? (a) to build what they need (b) to slow it down (c) to pick a logo (d) to make it longer

Answer key

  1. a wireframe
  2. False
  3. Hi, Kabir
  4. whether users get lost
  5. photos on two devices
  6. 6
  7. doctors
  8. Save
  9. a tab bar
  10. opens from a link
  11. a bug fix
  12. 1
  13. 4
  14. a medicine reminder
  15. 3
  16. False
  17. an input
  18. line 3
  19. Cancel
  20. share tasks to friends
  21. Use 4 digits
  22. “I keep missing the bus”
  23. a feature
  24. 1
  25. the back button
  26. 5
  27. hard to use
  28. a slider
  29. a lost-and-found board
  30. 0, 1, 2
  31. True
  32. test the app
  33. True
  34. line 3
  35. 60
  36. a homework planner
  37. 54
  38. tapping a button
  39. 52
  40. to build what they need

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