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