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