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