Question bank › GCSE › GCSE Computer Science › Fundamentals of data representation

Number bases & converting between them

10 questions37 marksabout 45 min

Answer on paper first, then reveal the mark scheme one mark at a time.

1Grade 1–33 marks

(a) Convert the binary number 10110110 into denary. [1]

(b) Convert the denary number 45 into binary. [1]

(c) State how many different values can be represented using 4 bits. [1]

2Grade 4–54 marks

(a) Convert the hexadecimal number A7 into denary. You must show your working. [2]

(b) Convert the binary number 11011001 into hexadecimal. [2]

3Grade 1–34 marks

Computers store and process all data and instructions using the binary number system.

(a) State the base of the binary number system. [1]

(b) Explain why computers use binary rather than denary to represent data. [2]

(c) The bit pattern 00100101 is stored in a computer's memory. Give two different types of data that this bit pattern could represent. [1]

Stuck on Number bases & converting between them?

Get it sorted in a free 30-minute session

We work through your weakest questions on this topic on Zoom. I reply the same day.

4Grade 1–33 marks

A student uses the place-value table shown to convert a binary number into denary.

(a) Use the table to convert the binary number 01100011 into denary. [1]

(b) Convert the denary number 77 into an 8-bit binary number. [2]

Place-value table for an 8-bit binary number128064132116080402111
5Grade 4–54 marks

(a) Convert the hexadecimal number 3E into 8-bit binary. [2]

(b) Convert the binary number 10011100 into hexadecimal. [2]

6Grade 4–53 marks

A programmer is reading an error report. The report shows the contents of eight bytes of memory in hexadecimal rather than in binary.

(a) Explain why hexadecimal is often used by programmers when displaying binary data. [2]

(b) State why using hexadecimal in the report does not change how the computer itself stores the data. [1]

7Grade 6–74 marks

(a) Convert the denary number 203 into hexadecimal. You must show your working. [2]

(b) State the largest denary number that can be represented using two hexadecimal digits. [1]

(c) Give the number of bits needed to store the number in part (b). [1]

8Grade 6–74 marks

A graphics program stores the colour of each pixel as three 8-bit values: red, green and blue. The values for one pixel are shown in hexadecimal.

RedGreenBlue
5A0CFF

(a) Convert the red value 5A into denary. [1]

(b) Convert the green value 0C into 8-bit binary. [1]

(c) Without converting it, explain what the blue value FF tells you about the amount of blue in this pixel. [2]

9Grade 6–73 marks

Priya is asked to convert the binary number 1010011 into hexadecimal. Her working is shown.

(a) Identify the mistake Priya has made. [1]

(b) Give the correct hexadecimal value of 1010011. You must show your working. [2]

Priya's working1010011split into1010011A3Answer given: A3
10Grade 8–95 marks

Three sensor readings are stored by a system but have been written down in different number bases:

  • Reading X: 7D (hexadecimal)
  • Reading Y: 01111011 (binary)
  • Reading Z: 124 (denary)

(a) Convert all three readings into the same number base and write them in ascending order using their letters. You must show your working. [3]

(b) A fourth reading is the binary value 10101010. State whether this reading is larger or smaller than the hexadecimal value A9, and justify your answer. [2]

Stuck on this topic?

Book a free 30-minute session on WhatsApp and we'll find exactly which step is costing you the marks. Or build a timed paper on it.

Free 30-minute session