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

Answered by Adam M. Computing tutor

4446 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

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.


What is Https?


Give two types of management of either hardware or other resources that are performed by an operating system.


Explain indexed addressing including the benefits when traversing certain data structures (4 Marks)


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo
Cookie Preferences