Cambridge AS Level Computer Science 9618 · 1.1 Data Representation

Q11 · 9618/11/M/J/23 Q3

Worked solution from the Information representation Paper 1 Theory Fundamentals booklet, Part 1 of 3.

Q119618/11/M/J/23original Q3Structured · 17 marks
Question 3 from 9618/11/M/J/23

Worked solution

(a)

Any four of these points:

The OS installs device drivers so that the peripherals and the computer can communicate [1]

It sends data to and receives data from the devices, for example to a printer and from a keyboard [1]

It handles buffers so data transfers smoothly between devices of different speeds [1]

It manages interrupts (signals) from the devices [1]

(b)

Any two of these:

Memory management [1]

File management (or security management, process management, error checking and recovery) [1]

(c)

Write these points:

Defragmentation rearranges the blocks of each file on the hard disk so they are contiguous (free space is moved together) [1]

Accessing each file is faster because the next block does not need to be searched for [1]

There is less read / write head movement [1]

(d)(i)

Write: a kibibyte is 1024 bytes but a kilobyte is 1000 bytes [1]

(d)(ii)

Write each denary digit as 4 bits: 9 = 1001, 6 = 0110, 4 = 0100.

Write: 1001 0110 0100 [1]

(d)(iii)

11110010 splits into 1111 and 0010. 1111 = F and 0010 = 2.

Write: F2 [1]

(d)(iv)

Smallest: the top bit is -128 and all other bits are 0. Largest: the top bit is 0 and all other bits are 1 (127).

Smallest: 10000000 [1]

Largest: 01111111 [1]

(d)(v)

Add column by column from the right, carrying 1 when 1 + 1.

10110000
+00011011
carries01100000
=11001011

Working shown, with carries [1]

Write: 11001011 [1]

(d)(vi)

Move every bit 3 places right, fill the left with 0s and lose the 3 bits on the right.

Write: 00011001 [1]

KEY IDEAKnow the OS tasks, the kibi / kilo difference and the number work: BCD, hex, two's complement, addition and shifts.
TOTAL 17 marks

Official mark scheme

Mark scheme for 9618/11/M/J/23 question 3
VIDEO
▶ Starts at Q3 (41:08)

Starts at Q3 (41:08) · by Pseudocode Pro. 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.