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