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