Cambridge O Level Computer Science 2210 · 1.1 Number systems

Q18 · 2210/11/M/J/24 Q3

Worked solution from the Data representation Paper 1 Computer Systems booklet, Part 1 of 3.

Q182210/11/M/J/24original Q3Structured · 5 marks
Question 3 from 2210/11/M/J/24

Worked solution

(a)

Move every bit 3 places to the left and fill the right with 0s: 10100011 → 00011000.

00011000 [1]

(b)

Each left shift multiplies by 2, so two shifts multiply by 4.

Tick D [1]

(c)

In two's complement the left-most bit has a negative value of -128.

-128 + 32 + 2 + 1 (or flip the bits and add 1 to get 01011101 = 93) [1]

Answer: -93 [1]

(d)

1 KiB = 1024 bytes [1]

KEY IDEAA left shift multiplies by 2 for each place, and the left-most bit of a two's complement number is negative.
TOTAL 5 marks

Official mark scheme

Mark scheme for 2210/11/M/J/24 question 3
VIDEO
▶ Whole paper

Video solution of the whole paper · by Mr Bulmer's Learning Zone. 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.