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