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 | |
|---|---|---|
| 1Compiler error report: line 3 syntax error, line 9 syntax error, line 14 undeclared variable | AErrors found: line 2, line 5, line 11, line 20 | |
| 2Compilation failed: 3 errors found. No executable file created. | BLine 7: syntax error - missing closing bracket | |
| 3The error report shows the line number and the type of each error, so the programmer knows where to look and what is wrong | CThe compiler checks the whole program and lists all the errors it found together, each with a line number and an error type | |
| 4A compiler reports all the errors from the whole program together, so the programmer can fix many errors before compiling again | DThe compiler found errors, so it does not produce an executable and the program cannot be run until the errors are fixed | |
| 5The compiler finds an error on line 4, stops, and shows only that one error. The program then runs the lines before it. | EIf a compiler finds errors, no executable file is created, so the program cannot run until all the errors are fixed and it is compiled again. | |
| 6Compiler: 2 errors found. Executable file created. Program starts running. | FA compiler does not stop at the first error or run part of the program. It checks the whole code, lists all the errors, and nothing runs. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
compiler error report — A list of every error found after the compiler checks the whole program, with line numbers and error types. No executable is made and nothing runs until all are fixed.Compiler checks the whole program first,
then lists all errors together in a report.Errors found: 3
Executable file created: noLine 12: Syntax error: missing bracket5 total = 10 +
Error report: line 5 - incomplete sumIF errors > 0 THEN
OUTPUT "No executable - fix errors"