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