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