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