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