Jennifer is writing a computer program for her A Level homework.
- (a)Jennifer uses a program library to help her write her computer program. Describe how a program library can be used while writing a computer program.[2]
- (b)(i)The IDE allows Jennifer to use both an interpreter and a compiler while creating her computer program. Describe the ways in which Jennifer can use both a compiler and an interpreter while developing the program.[4]
- (b)(ii)Identify two debugging tools that a typical IDE can provide.[2]
Mark scheme
Marking points from the official mark scheme (May/June 2021). The mark or mark type is shown in brackets.
- [1] (a) Program libraries store pre-written functions and routines
- [1] (a) The program library can be referenced/imported
- [1] (a) The functions/routines can be called in her own program
- [1] (b)(i) (Interpreter) Use an interpreter while writing the program // to test/debug the partially completed program
- [1] (b)(i) (Interpreter) because errors can be corrected and processing continue from where the execution stopped // errors can be corrected in real time // errors are identified one at a time
- [1] (b)(i) (Compiler) Use the compiler after the program is complete // to create an executable file
- [1] (b)(i) (Compiler) Use the compiler to repeatedly test the same (completed) section // without having to re-interpret every time // compiler not needed at run-time
- [1] (b)(ii) Breakpoints
- [1] (b)(ii) Single stepping
- [1] (b)(ii) Report windows
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 →