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