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