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