Past-paper question · 2021 October-November · Paper 12 · Q6(b)

Question 6(b) 2021 · October-November · Paper 12 · 4 marks

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

Official answer for Question 6

Part (b)

✓
Four from (Max 2 per translator):

Question 4

✓
− An interpreter translates and executes the code line by line
✓
− … whereas a compiler translates and executes the whole code all in one go
✓
−
✓
An interpreter stops translating and reports an error as it finds one
✓
−
✓
… whereas a compiler produces an error report at the end of translation
✓
−
✓
An interpreter does not produce an executable file
✓
−
✓
… but a compiler does produce an executable file
✓
−
✓
An interpreter will execute the code until it finds an error
✓
−
✓
… whereas a compiler will not execute any code if there are errors present
✓
−
✓
An interpreter allows correction of errors in real-time
✓
−
✓
… whereas a compiler needs to retranslate the code each time after errors are found and corrected

Mark scheme 2210_w21_ms_12.pdf →

Show text version of question

Question 6

Part (b)

Question 6

A programmer can use translators, such as an interpreter and a compiler, when developing a

computer program.

Part (b)

Describe two differences between a compiler and an interpreter.

Difference 1 ..............................................................................................................................

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

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

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

Difference 2 ..............................................................................................................................

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

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

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

[4]
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 2210_w21_qp_12.pdf

Keep practising this topic