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