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