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