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