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