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