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