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