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