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