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