A programmer writes a computer program using a high-level language.
- (a)Tick (✔) one box to show which statement is correct about writing computer programs in a high-level language. A Mnemonics are used to create instructions. B The computer program is harder to debug than a low-level language program. C The computer program is machine independent. D The hardware of the computer can be directly manipulated.[1]
- (b)(i)Describe how the compiler translates the computer program.[3]
- (b)(ii)Describe how the compiler reports errors.[2]
- (c)The programmer uses an integrated development environment (IDE) to create the computer program. One function of the IDE is that it has the built-in compiler. Give three other common functions of an IDE. 1 2 3[3]
Mark scheme
Marking points from the official mark scheme (May/June 2023). The mark or mark type is shown in brackets.
- [1] C
- [1] It translates the (high-level language) to low-level language/object code/machine code
- [1] It translates all the code before it is executed
- [1] It creates an executable file
- [1] It creates an error report after trying to compile
- [1] ... displaying all errors in the code
- [1] ... that require correction before execution can take place
- [1] Code editors
- [1] Run-time environment
- [1] Built-in interpreter
- [1] Error diagnostics
- [1] Auto-completion
- [1] Auto-correction
- [1] Prettyprint
Write your answer and get it marked
On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.
Sign up free →