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