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