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