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