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