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