AQA A Level · Computer Science 7517

Types of program translator: Practice Questions

5 multiple-choice questions marked as you go, and 5 written questions with worked solutions. All on Types of program translator.

10 questions24 marksFree, no account
Question 1
1 mark

What is the primary role of an assembler in program translation?

Question 2
1 mark

Which of the following describes the role of an assembler in the context of program translation?

Question 3
1 mark

Many modern languages, such as Java and C#, use a two-step translation process. Which of the following correctly describes this sequence?

Question 4
1 mark

Which of the following is a characteristic of an interpreter?

Question 5
1 mark

In program translation, what is the specific difference between source code and object code?

Question 6
3 marks

Explain the role of an assembler in program translation.

Write your answer out first, then check it against the worked solution.

Question 7
5 marks

Discuss the difference between source code and object code in the context of program translation.

Write your answer out first, then check it against the worked solution.

Question 8
3 marks

Describe one advantage of using a compiler over an interpreter for distributing software to a user.

Write your answer out first, then check it against the worked solution.

Question 9
4 marks

A programmer needs to translate a high-level language program into machine code.
a) Explain two advantages of using a compiler rather than an interpreter for a completed commercial software package.
b) Describe one scenario where an interpreter would be more suitable than a compiler.

Write your answer out first, then check it against the worked solution.

Question 10
4 marks

Modern software development often involves the use of intermediate language (such as bytecode).
a) Explain the role of an intermediate language in the translation process.
b) Explain how the use of bytecode allows for platform independence.

Write your answer out first, then check it against the worked solution.

* The content provided by thinka is generated by AI and may not always be accurate or up-to-date. Please use it as a supplementary resource and verify with official materials.

You've seen the model answer. Now get yours marked.

This page can show you how a good answer looks. It cannot tell you what your answer was missing. thinka marks your written work against the real mark scheme in about 15 seconds.

Want more questions like these? Get a fresh set on this topic, marked as you go.

Practise More