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