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