← Input, processing and output lesson New set →

App Dev Worksheet: Input, Processing, Output

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

Answer key

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

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