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