ExamBank Scot · N5 Computing Science question bank · All N5 Computing Science questions

N5 Computing Science 2016 Question 11

2 marks · Translators

Translators are used to convert high level languages into machine code. Identify each type of translator. Type of Translator This translator program reports errors at the end of translation. This translator needs to be present in memory each time the program is executed.

Marking scheme

1. Compiler (1) 2. Interpreter (1) Must also accept ‘Interpreter’ for the first answer as an interpreted program would stop to report an error and that would be “the end of translation”.

Previous question: N5 Computing Science 2016 Question 10

Next question: N5 Computing Science 2016 Question 12