Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1Input: the student's quiz answer | ACalculating the total is a process, not an input. The input is the data typed or scanned in, such as the item price. | |
| 2Process: add up the item prices | BThe work the program does on the data, such as calculating or comparing | |
| 3An output is a result the program shows to the user after processing | COutput: display the final score | |
| 4Storage is data the program keeps so it can be used again later | DStorage: save every student's high score | |
| 5Till program - Input: calculate the total bill | EA list of correct answers kept for checking is storage, not output. Output is what is shown to the user, such as the score. | |
| 6Quiz program - Output: the correct answers list | FThe data the program takes in from the user |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
Input, Process, Output, Storage — The four parts of a program's requirements: the data it takes in, the work it does on that data, the results it shows, and the data it keeps for later.// Input: take in the price of an item
INPUT Price// Process: work out the cost
Total ← Price * Quantity// Output: show the result
OUTPUT "Total: ", Total// Storage: keep the score for later
DECLARE Score : INTEGER// Process: compare the score
IF Score >= PassMark THEN
OUTPUT "Pass"