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