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