Past-paper question · 2015 May-June · Paper 31 · Q6(c)

Question 6(c) 2015 · May-June · Paper 31 · 2 marks

Question 6

Part (c)

Question 6

A team of programmers has developed software using a variety of languages and software tools.

Some of the code was written in the XYZ high-level language and some in an assembly language.

The programmers have also made use of program libraries.

The programmers had available both a compiler and an interpreter for the high-level code written. Some of the early error detection was carried out using an interpreter.

The diagram opposite shows the complete development life cycle, finishing with the final executable code.

Part (c)

Describe one benefit and one drawback of using an interpreter for part of the software

development.

Benefit .......................................................................................................................................

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

Drawback ..................................................................................................................................

...............................................................................................................................................[2]

Question 19

XYZ program code

Question 2

Source code

Interpreter

Question 4

3 1

2 Assembler 2 Compiler

4 4

Intermediate Intermediate code code

Question 5

Question 6

Object code

Question 7

Code execution

Question 20

Reveal official mark-scheme answer Official mark-scheme answer for 6(C)Official mark-scheme answer for 6(C)

Official answer for Question 6

Part (c)

Part (c)

Benefit:

✓
Interpreter makes for easier debugging // better diagnostics
✓
(1)
✓
Testing can be done without all the code being written
✓
(1)
✓
(Max 1)
✓
Drawback:
✓
Interpreter needed/source code always present every time program execution
✓
attempted
✓
(1)
✓
Execution will be slower
✓
(1)
✓
(Max 1)
[2]
✓
[Total: 10]
✓
Mark Scheme
✓
Syllabus
✓
Paper
✓
Cambridge International A Level – May/June 2015
✓
9691

Question 31

Question 7

Mark scheme 9691_s15_ms_31.pdf →

Topic relevance

Why this question appears here

85% 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_s15_qp_31.pdf

Keep practising this topic