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