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