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