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