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