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