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