← Input, processing and output lesson New set →

App Dev Worksheet: Input, Processing, Output

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

Answer key

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

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