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