Past-paper question · 2007 May-June · Paper 3 · Q6(c)

Question 6(c) 2007 · May-June · Paper 3 · 4 marks

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

Official answer for Question 6

Part (c)

Part (c)

- Interpreter translates one command at a time and runs it before the next is translated.

  • Used during writing because it aids debugging
  • (Compiler translates whole program) into object code (before running)
  • Runs faster once it has been called/may be held as a library routine.
✓
(1 per -, max 4)
[4]

Mark scheme 9691_s07_ms_3.pdf →

Show text version of question

Question 6

Part (c)

Question 6

A name is passed as a parameter to a function.

The function uses a loop structure to search for the name in an array. It returns the details found to the calling program.

Part (c)

Two types of translator are interpreters and compilers.

Describe the difference between an interpreter and a compiler and state why both would be used with this function.

[4]
Topic relevance

Why this question appears here

71% assigned-topic match · System software › Language translators

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 9691_s07_qp_3.pdf

Keep practising this topic