Past-paper question · 2023 February-March · Paper 12 · Q2(b)

Question 2(b) 2023 · February-March · Paper 12 · 4 marks

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

Official answer for Question 2

Part (b)

✓
Two from for each compiler and interpreter.

Question 4

✓
Compiler
  • Checks all code before executing any code
  • Produces error report with all errors found for the whole code (before
✓
translating/running any of the code)
  • Produces executable file
✓
Interpreter
  • Checks/translates one line of code and then executes it before moving
✓
on to the next line
  • Stops when an error is found
  • … when corrected the program can be run from the same position //
✓
allows error correction in real time
✓
Cambridge IGCSE – Mark Scheme
✓
0478/12
✓
February/March 2023
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 0478_m23_ms_12.pdf →

Show text version of question

Question 2

Part (b)

Question 2

A programmer has designed a three‑dimensional (3D) interactive computer game. They are going

to develop a program for the game. The program needs to run efficiently, but it must also be developed as soon as possible.

Part (b)

If the programmer chooses a high‑level language, they can use a compiler or an interpreter to

translate the high‑level language into a low‑level language.

Describe the operation of a compiler and of an interpreter.

Compiler ...................................................................................................................................

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

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

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

Interpreter .................................................................................................................................

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

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

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

[4]

Question 5

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_m23_qp_12.pdf

Keep practising this topic