Express the number 208 as a) an 8-bit binary number b) an octal string c) a hexadecimal string

Number conversions are a staple of both A-Level and GCSE computing papers. a) Expressing as a binary number is the hardest part of a conversion. Octal and hexadecimal can all come after easily. To express as a binary number, the easiest way is to use the "take away" method from the left hand side. Digit 1 - 128: is (208 - 128) >= 0? Yes - 1 carry 80 Digit 2 - 64: is (80 - 64) >= 0? Yes - 1 carry 16 Digit 3 - 32: is (16 - 32) >= 0? No - 0 carry 16 Digit 4 - 16: is (16 - 16) >= 0? Yes - 1 carry 0 Since we have reached carry 0, we can assume all other digits are 0 giving us 1101 00002. b) Converting to octal is simple from binary: you take each 3 binary bits and turn them in to octal. Pad 1101 0000 to 9 bits: 011 010 000 Gives us 3208 c) Exactly the same as b) but using 4 bits. Gives us D016

AM
Answered by Adam M. Computing tutor

5159 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

Explain what is meant by the term ‘TCP/IP stack’ [3]


Discuss the differences between operating systems designed for desktop computers and embedded systems.


Write pseudocode for the binary search algorithm and state, with an explanation, it's worst case complexity in big-O notation


Explain how the even parity system works when transmitting ASCII codes. Include a description of the roles of the sending device and the receiving device during transmission.


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2025 by IXL Learning