← Input, processing and output lesson New set →

App Dev Worksheet: Input, Processing, Output

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

Answer key

  1. True
  2. working out a tip
  3. output
  4. 240
  5. line 3
  6. False
  7. True
  8. 130
  9. a result on screen
  10. a pop-up message
  11. 425
  12. processing
  13. 500
  14. typing your age
  15. 60
  16. line 3
  17. adding up a bill
  18. checking a password
  19. processing
  20. 15000
  21. 180
  22. True
  23. False
  24. input
  25. working out a tip
  26. speaking a command
  27. 59
  28. a pop-up message
  29. 40
  30. line 2
  31. True
  32. processing
  33. typing your age
  34. 500
  35. True
  36. True
  37. False
  38. output
  39. tapping a button
  40. line 3

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