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