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