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