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