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