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