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