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