Note AcademyNote Academy

Computer Science · May / June 2026 · Paper 11 · Question 5

0478

As printed in the paper

The question as text

An integrated development environment (IDE) has two types of translator: a compiler and an interpreter.

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

Show the answer and mark scheme
  • 5(a)[1]

    To translate/convert high-level language into low-level language/machine code/binary

  • 5(b)[1]

    Assembler

  • 5(c)[4]

    One mark for each correct letter

    One mark for each corrected statement

    A
    An interpreter translates and executes the code one line/statement at a time
    E
    A compiler produces an executable file
  • 5(d)[4]

    One mark for each correct function

    One mark for a matching purpose

    Code editor
    Allows the user/programmer to write/change the program
    Run-time environment
    Allows the user to run/execute the code and see the output/result // Allows the user to input data to run/execute the code // To allow the user to test the code
    Error diagnostics // debugging tools // by example e.g. break points, stepping, variable watch window
    Finds/identifies/detects errors in the code // by example
    Auto-completion
    Gives options to complete the remainder of a command word/key term/identifier/syntax (to limit errors/speed up development) // It predicts the rest of a command word/key term/identifier (to limit errors/speed up development)

    // It predicts the required syntax e.g. when a bracket is needed (to limit errors/speed up development)

    Auto-correction
    Corrects spelling errors in command words/key

    terms/identifiers/syntax (to limit errors in the code)

    Prettyprint // syntax highlighting // colour coding
    Changes the colour of text in the code to highlight command words/key terms/identifiers (to make them easier to identify)
    Line numbers
    To give (incremented) numbers to each line in the code (to allow a line in the code to be easily/quickly found)

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