Past-paper question · 2022 May-June · Paper 11 · Q6(a)(ii)

Question 6(a)(ii) 2022 · May-June · Paper 11 · 4 marks

Original past-paper question for 6(A)(II)
Original past-paper question for 6(A)(II)
Reveal official mark-scheme answer Official mark-scheme answer for 6(A)(II)

Official answer for Question 6

Part (a)

(ii)

✓
Four from (MAX 2 per translator):

Question 4

✓
An interpreter translates the code line by line (and executes each line immediately)
✓
… whereas a compiler translates the whole code at the same time (before executing it)
✓
A compiler produces an executable file
✓
… but an interpreter does not
✓
An interpreter is required to run the code each time if used
✓
… whereas a compiler is not
✓
An interpreter stops and reports an error as it is encountered
✓
… whereas a compiler creates a report of all errors at the end of translation
✓
An interpreter will run code up to the point it finds an error
✓
… whereas a compiler will not run the code at all if an error is found
✓
Question
✓
Answer
✓
Marks

Mark scheme 0478_s22_ms_11.pdf →

Show text version of question

Question 6

Part (a)

(ii)

Question 6

A compiler and an interpreter are two different types of translator.

One similarity between a compiler and an interpreter is that they both translate high‑level language into machine code.

(ii)

Explain two differences between a compiler and an interpreter.

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

.....................................................................................................................................

[4]

Question 6

Topic relevance

Why this question appears here

98% assigned-topic match · Software › Types of programming language, translators and integrated development environments (IDEs)

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 0478_s22_qp_11.pdf

Keep practising this topic