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