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