← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 841 · 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.🚀 Your app is at version 4.10.6. The next release fixes a small bug. What is its version number? (a) 5.0.0 (b) 4.11.0 (c) 4.11.6 (d) 4.10.7
  2. 2.Which colour pair is hard to read? (a) white on black (b) black on yellow (c) white on dark green (d) light grey on white
  3. 3.Which of these is an input? (a) your friends list (b) a date picker (c) tap to go Next (d) tap to Save
  4. 4.🔍 Which is the odd one out? (a) a flashcard trainer (b) a times-table quiz (c) a spelling coach (d) a calculator
  5. 5.♿ A screen has 11 icon buttons. Only 1 of them have a text label for screen readers. How many still need a label?
  6. 6.Which of these is true of an app? (a) has a web address (b) opens in a web browser (c) needs no installing (d) comes from an app store
  7. 7.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
    1. tap the Me tab
    2. tap the Quiz tab
    3. open “Edit photo”
    4. tap the Lessons tab
    Which screen are you on now?
    (a) Edit photo (b) Me (c) Quiz (d) Lessons
  8. 8.🎯 An app for “everyone” with no clear user usually ___. (a) helps nobody well (b) is easy to build (c) wins every prize (d) needs no testing
  9. 9.🚀 Which of these versions is the NEWEST?
    1.5.2, 0.27.4, 1.10.7, 1.7.0
    (a) 1.7.0 (b) 1.5.2 (c) 1.10.7 (d) 0.27.4
  10. 10.🗒️ Version 1 of a homework planner must be ready in 17 days. How many days are left for extras after the must-haves?
    add a homework task: 4 days
    set a due date: 3 days
    see tasks by day: 4 days
  11. 11.🧪 How many of these test cases pass?
    📝 Rule: a quiz is passed with 7 or more right answers.
    function result(right) {
      if (right > 7) {
        return "Pass";
      }
      return "Try again";
    }
    Test 1: result(8) → expected Pass
    Test 2: result(4) → expected Try again
    Test 3: result(11) → expected Pass
  12. 12.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let coins = 33; // start at 32
    line 2: coins = coins + 3; // add 3
    line 3: coins = coins * 2; // double it
    line 4: coins = coins + 2; // add 2
    line 5: show(coins); // show it
    (a) line 4 (b) line 1 (c) line 3 (d) line 2
  13. 13.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
    Menu: 23 px
    Body text: 21 px
    Footer: 22 px
    Title: 18 px
    Caption: 17 px
  14. 14.🎯 What is a user need? (a) a problem a user has (b) a type of button (c) a phone setting (d) a colour theme
  15. 15.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 41; // start at 41
    line 2: points = points - 2; // take away 2
    line 3: points = points + 5; // add 5
    line 4: points = points * 3; // double it
    line 5: show(points); // show it
    (a) line 4 (b) line 1 (c) line 2 (d) line 3
  16. 16.👆 What kind of event is this: the search box changes? (a) a timer event (b) a load event (c) a text event (d) a tap event
  17. 17.👆 The user taps the button 7 times. What number does the label show now?
    let likes = 0;
    button.onTap = function () {
      if (likes < 2) {
        likes = likes + 1;
      }
      label.text = likes;
    };
  18. 18.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) pick a theme colour (b) add a homework task (c) set a due date (d) see tasks by day
  19. 19.🔢 When you make an app, which comes first: “plan the screens” or “get an idea”? (a) get an idea (b) plan the screens
  20. 20.Which of these app ideas solves a real problem? (a) a blank grey screen (b) a page of random dots (c) a medicine reminder (d) an app that just says hi
  21. 21.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Help button: 40 px tall
    Done button: 40 px tall
    Next button: 64 px tall
    Back button: 48 px tall
  22. 22.🔀 What does this PIN rule show?
    let pin = "235";
    if (pin.length === 4) {
      show("PIN saved");
    } else {
      show("Use 4 digits");
    }
    (a) PIN saved (b) Use 4 digits
  23. 23.Which of these fits saving in the cloud? (a) your last game level (b) the sound on/off setting (c) notes to read offline (d) a class leaderboard
  24. 24.Which of these is true of an app? (a) has a home-screen icon (b) opens in a web browser (c) opens from a link (d) has a web address
  25. 25.🐞 This code has a bug. What number does it ACTUALLY show?
    line 1: let points = 46; // start at 46
    line 2: points = points * 3; // double it
    line 3: points = points + 2; // add 2
    line 4: show(points); // show it
  26. 26.🧰 What number does this code show?
    function double(n) {
      return n * 2;
    }
    show(double(6));
  27. 27.👆 The user taps the button 2 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
  28. 28.🔍 Which is the odd one out? (a) a unit converter (b) a spelling coach (c) a times-table quiz (d) a flashcard trainer
  29. 29.💾 What is a variable? (a) a named box for a value (b) a picture (c) a type of screen (d) a phone setting
  30. 30.🧰 What is a function? (a) a type of phone (b) a list of colours (c) a named block of code (d) a screen size
  31. 31.📱 The word “app” is short for ___. (a) appetite (b) apparatus (c) appointment (d) application
  32. 32.📊 Survey: which problem bugs you most? How many more votes did “no quiet study place” get than “forgetting homework”?
    no quiet study place: 11 votes
    forgetting birthdays: 15 votes
    forgetting homework: 4 votes
  33. 33.🔁 What is the LAST line this code shows?
    let names = ["Arjun", "Riya", "Zoya", "Kabir", "Meera"];
    for (let i = 0; i < names.length; i++) {
      show("Hi, " + names[i]);
    }
    (a) Hi, Riya (b) Hi, Arjun (c) Hi, Zoya (d) Hi, Meera
  34. 34.🚀 Which version is newer: 1.2.8 or 1.2.18? (a) 1.2.18 (b) 1.2.8
  35. 35.🖼️ How many parts (boxes) does this wireframe have?
    [ big picture ]
    [ search box ]
    [ top bar ]
    [ tab bar ]
  36. 36.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) export to a file (b) add money received (c) savings stickers (d) pie-chart colours
  37. 37.🔍 Which is the odd one out? (a) connect the data (b) write the code (c) add the buttons (d) spot a problem to solve
  38. 38.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
    Start button: 60 px tall
    Done button: 48 px tall
    Send button: 36 px tall
    Save button: 52 px tall
  39. 39.🖼️ In this wireframe (top to bottom), what is right below the title text?
    [ search box ]
    [ menu icon ]
    [ tab bar ]
    [ top bar ]
    [ title text ]
    [ list of items ]
    (a) list of items (b) search box (c) menu icon (d) top bar
  40. 40.🧭 Which part of navigation hides extra links? (a) a menu button (b) a tab bar (c) the back button

Answer key

  1. 4.10.7
  2. light grey on white
  3. a date picker
  4. a calculator
  5. 10
  6. comes from an app store
  7. Lessons
  8. helps nobody well
  9. 1.10.7
  10. 6
  11. 3
  12. line 1
  13. 0
  14. a problem a user has
  15. line 4
  16. a text event
  17. 2
  18. pick a theme colour
  19. get an idea
  20. a medicine reminder
  21. 2
  22. Use 4 digits
  23. a class leaderboard
  24. has a home-screen icon
  25. 140
  26. 12
  27. OFF
  28. a unit converter
  29. a named box for a value
  30. a named block of code
  31. application
  32. 7
  33. Hi, Meera
  34. 1.2.18
  35. 4
  36. add money received
  37. spot a problem to solve
  38. 3
  39. list of items
  40. a menu button

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