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