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