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