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