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