App Dev Worksheet: Input, Processing, Output
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.⚙️ In an app, is a buzz (vibration) an input, processing or an output? (a) processing (b) input (c) output
- 2.True or false: speaking a command is processing. (a) False (b) True
-
3.⚙️ What number does this app show?
let price = 340; // typed by the user
let off = 40; // typed by the user
let pay = price - off;
show(pay); - 4.🔍 Which is the odd one out? (a) a buzz (vibration) (b) typing your age (c) taking a photo (d) tapping a button
- 5.⚙️ In an app, is a beep sound an input, processing or an output? (a) processing (b) output (c) input
- 6.True or false: taking a photo is an input. (a) True (b) False
- 7.🔍 Which is the odd one out? (a) typing your age (b) a beep sound (c) tapping a button (d) speaking a command
- 8.🔍 Which is the odd one out? (a) typing your age (b) taking a photo (c) tapping a button (d) adding up a bill
- 9.⚙️ In an app, is working out a tip an input, processing or an output? (a) input (b) output (c) processing
- 10.True or false: adding up a bill is an output. (a) True (b) False
- 11.🔍 Which is the odd one out? (a) adding up a bill (b) taking a photo (c) checking a password (d) sorting the scores
- 12.True or false: a buzz (vibration) is an output. (a) False (b) True
-
13.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 210; // 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 4 (b) line 3 (c) line 2 (d) line 1 - 14.🔍 Which is the odd one out? (a) a beep sound (b) a buzz (vibration) (c) tapping a button (d) a result on screen
-
15.⚙️ What number does this app show?
let price = 15; // typed by the user
let qty = 6; // typed by the user
let total = price * qty;
show(total); - 16.⚙️ In an app, is typing your age an input, processing or an output? (a) output (b) input (c) processing
- 17.Which of these is an output? (a) a beep sound (b) taking a photo (c) working out a tip (d) tapping a button
- 18.Which of these is an input? (a) a result on screen (b) checking a password (c) sorting the scores (d) speaking a command
- 19.🔍 Which is the odd one out? (a) taking a photo (b) speaking a command (c) checking a password (d) typing your age
-
20.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 85; // 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 2 (b) line 1 (c) line 4 (d) line 3 -
21.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 30; // 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 -
22.⚙️ What number does this app show?
let km = 14; // typed by the user
let metres = km * 1000;
show(metres); - 23.⚙️ In an app, is tapping a button an input, processing or an output? (a) output (b) input (c) processing
-
24.⚙️ 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 1 (b) line 2 (c) line 3 - 25.Which of these is processing? (a) working out a tip (b) speaking a command (c) taking a photo (d) a pop-up message
- 26.⚙️ In an app, is adding up a bill an input, processing or an output? (a) input (b) output (c) processing
-
27.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 30; // 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 2 (c) line 3 (d) line 1 - 28.True or false: working out a tip is an input. (a) True (b) False
- 29.🔍 Which is the odd one out? (a) taking a photo (b) speaking a command (c) typing your age (d) a pop-up message
-
30.⚙️ What number does this app show?
let price = 120; // typed by the user
let off = 10; // typed by the user
let pay = price - off;
show(pay); - 31.⚙️ In an app, is a pop-up message an input, processing or an output? (a) processing (b) output (c) input
- 32.True or false: sorting the scores is an input. (a) True (b) False
- 33.Which of these is an output? (a) taking a photo (b) tapping a button (c) sorting the scores (d) a result on screen
-
34.⚙️ What number does this app show?
let price = 580; // typed by the user
let off = 40; // typed by the user
let pay = price - off;
show(pay); - 35.True or false: tapping a button is an output. (a) True (b) False
-
36.⚙️ What number does this app show?
let price = 40; // typed by the user
let qty = 3; // typed by the user
let total = price * qty;
show(total); - 37.True or false: a buzz (vibration) is an input. (a) True (b) False
- 38.🔍 Which is the odd one out? (a) taking a photo (b) tapping a button (c) a result on screen (d) speaking a command
- 39.True or false: sorting the scores is processing. (a) True (b) False
- 40.True or false: a beep sound is processing. (a) True (b) False
Answer key
- output
- False
- 300
- a buzz (vibration)
- output
- True
- a beep sound
- adding up a bill
- processing
- False
- taking a photo
- True
- line 3
- tapping a button
- 90
- input
- a beep sound
- speaking a command
- checking a password
- line 3
- line 3
- 14000
- input
- line 2
- working out a tip
- processing
- line 3
- False
- a pop-up message
- 110
- output
- False
- a result on screen
- 540
- False
- 120
- False
- a result on screen
- True
- False
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students