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