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