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

4625 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

Convert 10101100 to decimal.


Outline the differences between how a compiler and an interpreter works, and explain the advantages and usage of of each [12 marks]


In a computer program, a parameter may be passed to a procedure by value. Explain how this method works.


Which are the parts of a compuer?


We're here to help

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

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences