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