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