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