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