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