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