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