Learn in your language
Skip to content
IGCSE · Cambridge (CIE) · 0984

Unsigned binary representation

Use place values to convert numbers and preserve a requested bit width.

What you will learn

  • Convert a non-negative denary integer to binary.
  • Explain leading zeros and the range of an unsigned byte.

Binary uses powers of two

Each binary digit is 0 or 1. Starting on the right, place values are 1,2,4,8,16,32,64,128. A one includes that place value and a zero excludes it. Add the included values to convert binary to denary.

For conversion in the other direction, work from the largest place value downward. If that value fits into the remaining amount, write one and subtract it; otherwise write zero.

Value and format both matter

Leading zeros do not change an unsigned binary value, but they do affect the written width. An instruction requesting eight bits requires eight digits. The largest unsigned eight-bit value is 255 and the smallest is zero.

Signed representations use a different interpretation. Do not apply an unsigned conversion rule to two's-complement numbers without considering the sign bit.

Unsigned n-bit range: 0 to 2ⁿ−1
Put the idea to work

Worked example

Convert denary 53 into unsigned eight-bit binary.

Show the worked solution
  1. 53 contains 32, leaving 21; include 16, leaving 5.
  2. Include 4 and 1, giving 32+16+4+1.
  3. For places 128,64,32,16,8,4,2,1, write 0,0,1,1,0,1,0,1.

Answer 00110101

Common mistakes

  • A correct value can still have the wrong requested width.
  • Each place is a power of two, not a power of ten.
Recall without your notes

What can you explain now?

Convert 00011010 to denary.

Compare with the explanation

26

The set bits represent 16+8+2.

After trying it yourself, choose your next review. This is your self-assessment.

Your review choice appears on Today. Sign in to sync it across devices.

Keep learning Computer Science (9-1)

Course scope and assessment

165 original lessons map the listed objectives across all 10 main topics in the 2026–2028 Version 4 syllabus. Cambridge states that 0984 has the same subject content as 0478, with 9–1 grading. Three retained introductory lessons remain available but are not counted as syllabus-mapped teaching. The 2023–2025 syllabus remains unmapped. The separately published 2029–2031 syllabus changes to Python 3 only and removes pseudocode; this 2026–2028 route does not cover those changes. In June and November, Cambridge lists 0984 in Administrative zone 3 and for centres in Oman and the UAE. Confirm availability for your centre and exam series with Cambridge International. Practical programming in an executable browser workspace, full timed-paper practice and human subject-teacher review remain outstanding. Practice is self-checked and does not award an official Cambridge grade.

StudyForA · Learn with understanding

Original teaching content and links to official sources. Check your exam year and qualification before using a resource.