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