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