← Input, processing and output lesson New set →

App Dev Worksheet: Input, Processing, Output

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

Answer key

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

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