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