Cambridge AS Level Computer Science 9618 · 5.2 Language Translators

Q28 · 9618/13/O/N/25 Q8

Worked solution from the System Software Paper 1 Theory Fundamentals booklet, Part 2 of 2.

Q289618/13/O/N/25original Q8Structured · 10 marks
Question 8 from 9618/13/O/N/25

Worked solution

(a)

Write any two disadvantages of a compiler during development:

Large amounts of source code take time to compile [1]

The code must be recompiled every time it is changed [1]

Others that score: the program cannot run if there are errors; errors cannot be corrected in real time; one error can cause false reports of more errors; unfinished sections cannot easily be tested.

(b)

Explain the benefits, any three:

Programming time is saved as code does not have to be written from scratch [1]

Testing time is saved as the code is already tested and documented, so it is more likely to work [1]

Programmers can use routines for complex functions they could not write themselves [1]

Library routines also update automatically if they are improved.

(c)

Write two licence types:

Open Source (Initiative) [1]

Free Software (Foundation) [1]

(d)

Write any three other management tasks:

File management [1]

Security management [1]

Hardware (peripheral or input/output) management [1]

Or: process management (any three of the four score).

KEY IDEACompilers need a full recompile after each change, while libraries and open licences save time and allow sharing.
TOTAL 10 marks

Official mark scheme

Mark scheme for 9618/13/O/N/25 question 8
VIDEO
▶ Topic lesson

A lesson on this topic · by Craig'n'Dave. Tap the picture to open it on YouTube.

Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.