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