← Input, processing and output lesson New set →

App Dev Worksheet: Input, Processing, Output

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

Answer key

  1. True
  2. a beep sound
  3. False
  4. sorting the scores
  5. tapping a button
  6. processing
  7. True
  8. a beep sound
  9. a pop-up message
  10. 390
  11. speaking a command
  12. 210
  13. a result on screen
  14. True
  15. output
  16. adding up a bill
  17. 75
  18. line 3
  19. line 2
  20. False
  21. 180
  22. output
  23. processing
  24. False
  25. line 2
  26. 54
  27. output
  28. working out a tip
  29. adding up a bill
  30. 165
  31. line 3
  32. True
  33. sorting the scores
  34. line 3
  35. taking a photo
  36. line 2
  37. line 3
  38. 20
  39. processing
  40. checking a password

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