Skip to main content
WalesComputer ScienceSyllabus dot point

Why do computers use the binary number system, and how do you convert between binary and denary?

The binary and denary number systems, why computers store data in binary, the units of data capacity, and converting whole numbers between binary and denary.

A focused answer to the WJEC GCSE Computer Science Unit 1 content on binary and denary numbers, covering why computers use binary, bits bytes and the units of data capacity, place value in base 2, and converting whole numbers between binary and denary in both directions.

Generated by Claude Opus 4.88 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this topic is asking
  2. Why computers use binary
  3. Units of data capacity
  4. Place value in binary
  5. Converting binary to denary
  6. Converting denary to binary
  7. Try this

What this topic is asking

WJEC wants you to know why computers store everything in binary, the units used to measure data capacity, and how to convert whole numbers between binary (base 2) and denary (base 10). This is the foundation of the Data representation and data types content in Unit 1 of WJEC GCSE Computer Science (3500).

Why computers use binary

A single binary digit is called a bit (short for binary digit). Because one bit can only be 00 or 11, it can store just two different values; to store more, you group bits together.

Units of data capacity

So 1KB=10001\,\text{KB} = 1000 bytes, 1MB=1000KB1\,\text{MB} = 1000\,\text{KB}, 1GB=1000MB1\,\text{GB} = 1000\,\text{MB} and 1TB=1000GB1\,\text{TB} = 1000\,\text{GB}. The number of different values that nn bits can store is 2n2^n: one bit stores 22 values, two bits store 44, and a full byte of 88 bits stores 28=2562^8 = 256 different values, from 00 to 255255.

Place value in binary

Converting binary to denary

To convert a binary number to denary, write the place values above the bits and add up every place value that has a 11 beneath it.

Converting denary to binary

The reliable method is to keep subtracting the largest power of 22 that fits, writing a 11 in that column and a 00 in any column you skip. An alternative is repeated division by 22, writing the remainders and reading them from bottom to top, but the subtraction method is usually quicker for the small numbers in the exam.

Try this

Q1. Convert 1100011011000110 to denary. [2 marks]

  • Cue. 128+64+4+2=198128 + 64 + 4 + 2 = 198.

Q2. State how many different values can be stored in 44 bits. [1 mark]

  • Cue. 24=162^4 = 16 different values.

Exam-style practice questions

Practice questions written in the style of WJEC exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

WJEC-style Unit 12 marksConvert the binary number 0110101001101010 into denary. Show your working.
Show worked answer →

A Unit 1 conversion question. Write the place values above each bit from the right: 128,64,32,16,8,4,2,1128, 64, 32, 16, 8, 4, 2, 1. Line them up with 0,1,1,0,1,0,1,00,1,1,0,1,0,1,0 (1 mark for the correct place values). Add the values where a 11 appears: 64+32+8+2=10664 + 32 + 8 + 2 = 106 (1 mark for the correct total). Markers reward the place-value method and the final answer. A common error is to read the bits left to right with the wrong place values, or to include the 128128 column when its bit is 00.

WJEC-style Unit 13 marksExplain why computers use the binary number system to represent data, and state how many bits are in one byte.
Show worked answer →

A Unit 1 explain question. Computers are built from electronic components such as transistors that have two stable states, on and off (or high and low voltage) (1 mark). These two states map directly onto the two binary digits 11 and 00, so binary is a reliable and simple way to store and process data with electronic circuits (1 mark). One byte contains 88 bits (1 mark). Markers reward the link between two physical states and two binary digits, plus the value 88. A common error is to say computers use binary because it is faster, which misses the hardware reason.

Related dot points

Sources & how we know this