Worked solution from the Information representation Paper 1 Theory Fundamentals booklet, Part 3 of 3.
Write any two benefits:
The DLL is loaded once or only when required, so memory use is reduced. [1]
The executable file is smaller because it does not hold all the library routines. [1]
Also accepted: the DLL can be updated or fixed separately without recompiling the main program.
Write any two points:
RAM is divided into blocks, and blocks are allocated dynamically to programs. [1]
Unused blocks are reclaimed, and no two programs use the same area of RAM at once. [1]
Also accepted: moves data in from secondary storage when needed (paging, virtual memory).
Method: lossless compression using run-length encoding. [1]
Repeated sequences of the same character are replaced by a single copy of the character ... [1]
... and a count of how many times it repeats. [1]
Cache is very fast memory close to the CPU and holds frequently used data and instructions. [1]
More cache means more can be fetched quickly, so there is less swapping with RAM and the CPU does not sit idle waiting. [1]
3D printer: USB port [1]
Monitor: HDMI port (VGA or DisplayPort also score) [1]
▶ Whole paper
Video solution of the whole paper · by qiphyedu. 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.