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