5.2 Language translators
10 questions in this subtopic. Open a question to solve it and check the official answer.
Language translators · 4 marks · official answer ready
(a) Explain how the programmer can first use an interpreter and then a compiler to develop the computer program. Interpreter ......................................................…
Language translators · 2 marks · official answer ready
(a) State two disadvantages of using a compiler compared to an interpreter during program development. 1 ..........................................................................…
Language translators · 2 marks · official answer ready
(a) The programmer decides to use the compiler when testing the final program. Describe the benefits of using the compiler during testing. ........................................…
Language translators · 4 marks · official answer ready
(a) Describe the advantages of using the interpreter compared to the compiler to translate the program. ...........................................................................…
Language translators · 2 marks · official answer ready
(i) Identify two features that support the visual presentation of the code in a typical Integrated Development Environment (IDE). 1 ...............................................…
Language translators · 2 marks · official answer ready
(ii) Identify two features that support the debugging of the code in a typical IDE. 1 .............................................................................................…
Language translators · 3 marks · official answer ready
(b) The development team needs to use a translator whilst writing the program for the client. Identify whether an interpreter or a compiler would be more appropriate at this stage…
Language translators · 2 marks · official answer ready
(i) Explain the reasons why the programmer uses an interpreter while writing the program code. ....................................................................................…
Language translators · 2 marks · official answer ready
(i) State two drawbacks of using a compiler compared to an interpreter during program development. 1 ..............................................................................…
Language translators · 4 marks · official answer ready
4 Draw one line to connect each stage of compilation to its most appropriate description. Stage of compilation Description minimising a program’s execution time and memory require…
