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