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