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