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