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