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