← Input, processing and output lesson New set →

App Dev Worksheet: Input, Processing, Output

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

Answer key

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

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