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