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