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