16.2 Translation Software (3)

Resources | Revision Questions | Computer Science

Login to see all questions

Click on a question to view the answer

1.

Explain the difference between a compiler and an interpreter. Discuss the advantages and disadvantages of each approach, providing examples of languages that typically use each.

2.

Explain how an interpreter executes a program directly from the source code, without first creating a separate, translated executable file. Your answer should detail the key steps involved in the interpretation process.

3.

Describe the key stages involved in the compilation process of a high-level programming language, such as C++. For each stage, explain its purpose and the typical output generated.