Note AcademyNote Academy

Computer Science · May / June 2020 · Paper 12 · Question 2

0478

As printed in the paper

The question as text

Both an interpreter and a compiler can be used when writing a program in a high-level language.

Read automatically from the paper; the printed page above is exact.

Show the answer and mark scheme
  • 2(a)[4]

    Any four from:

    To translate the high-level language into low-level language
    Interpreter used whilst writing the program
    Interpreter used to debug code line by line
    Compiler used when program completed
    Compiler used to create separate executable file (so compiler no longer needed)
    If it runs first time in a compiler there are no syntax errors
  • 2(b)[3]

    Any three from:

    Easier to understand // Don’t know assembly code
    Easier to debug
    Easier to maintain
    Portable
    Knowledge of manipulating memory locations/registers not required
    Can use an IDE
    Greater range of languages

Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.