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