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