← App development final test lesson New set →

App Dev Worksheet: Final Test

App development lesson 24: App development final test · Set 477 · 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.True or false: the button colours is about UI (the look). (a) False (b) True
  2. 2.🔍 Which is the odd one out? (a) a buzz (vibration) (b) adding up a bill (c) a pop-up message (d) a beep sound
  3. 3.⚙️ In an app, is a pop-up message an input, processing or an output? (a) processing (b) input (c) output
  4. 4.⚙️ What number does this app show?
    let km = 7; // typed by the user
    let metres = km * 1000;
    show(metres);
  5. 5.👆 An event in an app is ___. (a) an app store (b) something that happens (c) a kind of list (d) a colour theme
  6. 6.🧰 What number does this code show?
    function total(price, qty) {
      return price * qty;
    }
    show(total(35, 2));
  7. 7.💡 Does an app idea like a button with no action solve a real problem? (a) No (b) Yes
  8. 8.🧪 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(9) → expected Pass
    Test 2: result(7) → expected Pass
    Test 3: result(5) → expected Try again
  9. 9.🐞 Each comment says what its line SHOULD do. Which line has the bug?
    line 1: let points = 52; // start at 49
    line 2: points = points + 2; // add 2
    line 3: points = points - 4; // take away 4
    line 4: points = points * 2; // double it
    line 5: show(points); // show it
    (a) line 2 (b) line 4 (c) line 1 (d) line 3
  10. 10.🧪 What is the ACTUAL result of Test 3?
    🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
    function price(age) {
      if (age < 9) {
        return 50;
      }
      return 100;
    }
    Test 1: price(14) → expected 100
    Test 2: price(9) → expected 100
    Test 3: price(7) → expected 50
  11. 11.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
    Label: 21 px
    Hint: 16 px
    Title: 23 px
    Menu: 14 px
    Footer: 20 px
    (a) Hint (b) Title (c) Label (d) Menu
  12. 12.✏️ What is the easiest way to draw a first wireframe? (a) a phone case (b) a 3D printer (c) pencil and paper (d) a microphone
  13. 13.🖼️ In this wireframe (top to bottom), what is right above the filter buttons?
    [ search box ]
    [ list of items ]
    [ menu icon ]
    [ filter buttons ]
    (a) menu icon (b) search box (c) list of items
  14. 14.📱 Which one has a home-screen icon: an app or a website? (a) a website (b) an app
  15. 15.True or false: space between buttons is good button design. (a) False (b) True
  16. 16.👆 What kind of event is this: the user presses Save? (a) a load event (b) a timer event (c) a tap event (d) a text event
  17. 17.🗒️ When should nice-to-have features be built? (a) before anything (b) on day one (c) never (d) after the must-haves
  18. 18.👥 A library app has 290 readers, 295 librarians and 30 volunteers as users. How many users does it have in all?
  19. 19.🖼️ How many parts (boxes) does this wireframe have?
    [ list of items ]
    [ Save button ]
    [ search box ]
    [ top bar ]
  20. 20.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
    1. tap the Feed tab
    2. open “Friend list”
    3. tap the Feed tab
    How many times must you tap Back to reach the main screen of this tab?
  21. 21.🧩 Which of these is a button on this screen?
    [title] Settings
    [text box] Age
    [slider] Brightness
    [text box] Notes
    [button] Cancel
    [text box] Phone
    (a) Cancel (b) Notes (c) Phone (d) Age
  22. 22.👥 A clinic app has 115 patients, 270 doctors and 95 nurses as users. How many users does it have in all?
  23. 23.True or false: a puzzle with levels is a tool app. (a) False (b) True
  24. 24.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) pie-chart colours (b) add money received (c) export to a file (d) savings stickers
  25. 25.🎨 UI stands for user ___. (a) input (b) interface (c) internet (d) idea
  26. 26.🖼️ In this wireframe (top to bottom), what is right above the search box?
    [ title text ]
    [ search box ]
    [ menu icon ]
    [ top bar ]
    [ Add button ]
    [ big picture ]
    (a) big picture (b) Add button (c) menu icon (d) title text
  27. 27.Which of these happens at the release stage? (a) write the store text (b) write down the bugs (c) spot a problem to solve (d) write the code
  28. 28.🔀 What number does this shop app show?
    let total = 380;
    if (total > 500) {
      total = total - 50;
    }
    show(total);
  29. 29.📱 Which one needs no installing: an app or a website? (a) an app (b) a website
  30. 30.🔀 What does this sign-up rule show?
    let age = 8;
    if (age >= 13) {
      show("Welcome!");
    } else {
      show("Ask a parent");
    }
    (a) Welcome! (b) Ask a parent
  31. 31.🎯 An app for “everyone” with no clear user usually ___. (a) needs no testing (b) is easy to build (c) helps nobody well (d) wins every prize
  32. 32.True or false: you try every button at the test stage. (a) False (b) True
  33. 33.💾 What number does this code show?
    let notes = ["Art", "Sports", "Maths", "Science"];
    notes.push("Music");
    show(notes.length);
  34. 34.True or false: a website comes from an app store. (a) False (b) True
  35. 35.💾 Where should the app save a shared to-do list: on the phone or in the cloud? (a) in the cloud (b) on the phone
  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(3) → expected Try again
    Test 2: result(8) → expected Pass
    Test 3: result(11) → expected Pass
  37. 37.🔍 Which is the odd one out? (a) speaking a command (b) a result on screen (c) typing your age (d) tapping a button
  38. 38.True or false: tap to go Next is a button. (a) True (b) False
  39. 39.True or false: the screen first opens is a timer event. (a) False (b) True
  40. 40.🔀 What does >= mean? (a) less than (b) smaller or equal (c) not equal (d) greater than or equal

Answer key

  1. True
  2. adding up a bill
  3. output
  4. 7000
  5. something that happens
  6. 70
  7. No
  8. 3
  9. line 1
  10. 50
  11. Menu
  12. pencil and paper
  13. menu icon
  14. an app
  15. True
  16. a tap event
  17. after the must-haves
  18. 615
  19. 4
  20. 0
  21. Cancel
  22. 480
  23. False
  24. add money received
  25. interface
  26. title text
  27. write the store text
  28. 380
  29. a website
  30. Ask a parent
  31. helps nobody well
  32. True
  33. 5
  34. False
  35. in the cloud
  36. 3
  37. a result on screen
  38. True
  39. False
  40. greater than or equal

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