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