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