EXAM QUESTIONS · AS LEVEL 9618

System Software Exam-Style Questions with Answers (A Level 9618)

Original exam-style questions on operating system management tasks, utility software, program libraries and DLLs, language translators and IDE features for Cambridge AS & A Level Computer Science 9618 (Paper 1). There are 22 marks in total. Try each question on paper first, then press Show answer to see the mark scheme. Answers that can be calculated mark themselves.

Question 1[4 marks]

Describe two ways an operating system manages memory.

Show answer

Any two, with a description (2 marks each) from:

  • Allocates memory to each process / program when it is loaded.
  • Protects memory so one process cannot access another process’s memory.
  • Frees memory when a process ends.
  • Uses virtual memory/paging when RAM is full, moving pages between RAM and secondary storage.
Question 2[3 marks]

Explain the purpose of each utility program.

  1. Defragmenter [1]
  2. Disk formatter [1]
  3. Back-up software [1]
Show answer
  1. Rearranges the parts of files on a hard disk so each file is stored in one place, making files faster to read. [1]
  2. Prepares a disk for use by setting up its file system and tracks/sectors (erasing existing data). [1]
  3. Makes copies of files at set times so they can be restored if the originals are lost or damaged. [1]
Question 3[3 marks]

Give three benefits of using program libraries when writing a program.

Show answer

Any three from:

  • The routines are already written, so development is faster.
  • The routines have been tested, so they are less likely to contain errors.
  • Code can be reused in many programs.
  • Specialist routines (e.g. maths/graphics) can be used without the programmer having that expertise.
Question 4[3 marks]

Explain what a Dynamic Link Library (DLL) is and give two benefits of using one.

Show answer
  • A library file that is linked to a program only when it runs, rather than being included in the executable. [1]

Any two benefits [2] from:

  • Executable files are smaller.
  • One copy can be shared by several programs at the same time, saving memory.
  • The DLL can be updated without recompiling the programs that use it.
Question 5[4 marks]

A programmer is developing a large program. Explain why they might use an interpreter while developing it and a compiler when it is finished.

Show answer
  • Interpreter during development: each line is executed as it is translated, so errors are found one at a time [1] and the program can be tested in stages / changed and rerun quickly without recompiling. [1]
  • Compiler when finished: produces an executable that runs faster [1] and can be distributed without the source code / without the translator. [1]
Question 6[5 marks]

Describe five features of an IDE that help a programmer write and debug code.

Show answer

Any five, with a description from:

  • Context-sensitive prompts – suggest possible keywords/identifiers as you type.
  • Dynamic syntax checking – highlights syntax errors as the code is typed.
  • Prettyprint – colour-codes keywords and indents code.
  • Expand and collapse code blocks – hides sections to make the code easier to read.
  • Single stepping – runs the program one line at a time.
  • Breakpoints – stop the program at a chosen line.
  • Report window / watch window – shows the values of variables as the program runs.

Frequently asked questions

Why does Java use both a compiler and an interpreter?

Java source code is compiled into bytecode, which is then interpreted (or just-in-time compiled) by a Java Virtual Machine on each platform. This makes Java programs portable.

Are these past paper questions?

No. These are original exam-style questions written by a Computer Science teacher in the Cambridge style.

Revise the topic: 9618 system software notes · 9618 flashcards · All exam-style questions