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