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