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