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