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