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