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