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