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