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