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