← Input, processing and output lesson New set →

App Dev Worksheet: Input, Processing, Output

App development lesson 7: Input, processing and output · Set 366 · 40 questions
TalentJR

Developer's tip (In, work, out): Input → processing → output. Input: typing, tapping, a photo, your voice. Output: a result on screen, a sound, a buzz, a pop-up. In code, the processing line works out a new value from the inputs; show() is the output.

NameDateTime takenScore ___ / 40
  1. 1.🔍 Which is the odd one out? (a) a beep sound (b) a pop-up message (c) a result on screen (d) working out a tip
  2. 2.🔍 Which is the odd one out? (a) speaking a command (b) sorting the scores (c) adding up a bill (d) checking a password
  3. 3.True or false: a buzz (vibration) is an output. (a) True (b) False
  4. 4.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 340; // typed by the user
    line 2: let off = 40; // typed by the user
    line 3: let pay = price - off;
    line 4: show(pay);
    (a) line 4 (b) line 2 (c) line 3 (d) line 1
  5. 5.True or false: sorting the scores is processing. (a) True (b) False
  6. 6.⚙️ What number does this app show?
    let bill = 165; // typed by the user
    let friends = 5; // typed by the user
    let share = bill / friends;
    show(share);
  7. 7.⚙️ In an app, is a pop-up message an input, processing or an output? (a) output (b) input (c) processing
  8. 8.True or false: speaking a command is an input. (a) True (b) False
  9. 9.Which of these is an input? (a) sorting the scores (b) a buzz (vibration) (c) adding up a bill (d) taking a photo
  10. 10.🔍 Which is the odd one out? (a) typing your age (b) a beep sound (c) speaking a command (d) taking a photo
  11. 11.⚙️ What number does this app show?
    let price = 550; // typed by the user
    let off = 50; // typed by the user
    let pay = price - off;
    show(pay);
  12. 12.⚙️ What number does this app show?
    let km = 7; // typed by the user
    let metres = km * 1000;
    show(metres);
  13. 13.Which of these is an output? (a) adding up a bill (b) working out a tip (c) checking a password (d) a beep sound
  14. 14.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 75; // typed by the user
    line 2: let qty = 6; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 4 (b) line 2 (c) line 3 (d) line 1
  15. 15.⚙️ In an app, is tapping a button an input, processing or an output? (a) input (b) output (c) processing
  16. 16.True or false: typing your age is processing. (a) False (b) True
  17. 17.⚙️ What number does this app show?
    let bill = 215; // typed by the user
    let friends = 5; // typed by the user
    let share = bill / friends;
    show(share);
  18. 18.🔍 Which is the odd one out? (a) a result on screen (b) a buzz (vibration) (c) adding up a bill (d) a beep sound
  19. 19.⚙️ Which line does the processing (works out the answer)?
    line 1: let bill = 72; // typed by the user
    line 2: let friends = 2; // typed by the user
    line 3: let share = bill / friends;
    line 4: show(share);
    (a) line 2 (b) line 3 (c) line 4 (d) line 1
  20. 20.🔍 Which is the odd one out? (a) typing your age (b) speaking a command (c) tapping a button (d) sorting the scores
  21. 21.True or false: a pop-up message is an input. (a) True (b) False
  22. 22.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 280; // 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 2 (b) line 1 (c) line 4 (d) line 3
  23. 23.⚙️ In an app, is sorting the scores an input, processing or an output? (a) processing (b) output (c) input
  24. 24.⚙️ Which line does the processing (works out the answer)?
    line 1: let km = 15; // typed by the user
    line 2: let metres = km * 1000;
    line 3: show(metres);
    (a) line 2 (b) line 3 (c) line 1
  25. 25.Which of these is processing? (a) checking a password (b) a result on screen (c) a pop-up message (d) tapping a button
  26. 26.⚙️ What number does this app show?
    let price = 20; // typed by the user
    let qty = 2; // typed by the user
    let total = price * qty;
    show(total);
  27. 27.⚙️ What number does this app show?
    let price = 85; // typed by the user
    let qty = 5; // typed by the user
    let total = price * qty;
    show(total);
  28. 28.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 75; // typed by the user
    line 2: let qty = 2; // typed by the user
    line 3: let total = price * qty;
    line 4: show(total);
    (a) line 4 (b) line 3 (c) line 1 (d) line 2
  29. 29.⚙️ In an app, is adding up a bill an input, processing or an output? (a) input (b) output (c) processing
  30. 30.True or false: sorting the scores is an input. (a) True (b) False
  31. 31.⚙️ In an app, is working out a tip an input, processing or an output? (a) output (b) processing (c) input
  32. 32.True or false: a pop-up message is an output. (a) False (b) True
  33. 33.True or false: speaking a command is an output. (a) False (b) True
  34. 34.🔍 Which is the odd one out? (a) a buzz (vibration) (b) adding up a bill (c) checking a password (d) working out a tip
  35. 35.🔍 Which is the odd one out? (a) taking a photo (b) a pop-up message (c) tapping a button (d) speaking a command
  36. 36.True or false: a buzz (vibration) is processing. (a) True (b) False
  37. 37.⚙️ What number does this app show?
    let price = 450; // typed by the user
    let off = 40; // typed by the user
    let pay = price - off;
    show(pay);
  38. 38.Which of these is an input? (a) a beep sound (b) typing your age (c) a pop-up message (d) checking a password
  39. 39.Which of these is an output? (a) adding up a bill (b) speaking a command (c) a buzz (vibration) (d) typing your age
  40. 40.⚙️ Which line does the processing (works out the answer)?
    line 1: let price = 60; // 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 4 (b) line 2 (c) line 1 (d) line 3

Answer key

  1. working out a tip
  2. speaking a command
  3. True
  4. line 3
  5. True
  6. 33
  7. output
  8. True
  9. taking a photo
  10. a beep sound
  11. 500
  12. 7000
  13. a beep sound
  14. line 3
  15. input
  16. False
  17. 43
  18. adding up a bill
  19. line 3
  20. sorting the scores
  21. False
  22. line 3
  23. processing
  24. line 2
  25. checking a password
  26. 40
  27. 425
  28. line 3
  29. processing
  30. False
  31. processing
  32. True
  33. False
  34. a buzz (vibration)
  35. a pop-up message
  36. False
  37. 410
  38. typing your age
  39. a buzz (vibration)
  40. line 3

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