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