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