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