How do you convert between 11B (Base-16) to Base-8?

Though we could go via decimal, we can convert via binary to result in a far simpler method.
First, you convert each digit of the base-16 value into 4 bit binary:
11B = 0001 0001 1011
Then, split this string into sets of 3 bits
000 100 011 011
And convert each of those sets into Octal.
0433 (we can ignore the leading 0)
This works because 1 digit of hexadecimal is stored in 4 bits of binary, whilst 1 digit of octal is stored into 3 bits.

Answered by Dan B. Computing tutor

1091 Views

See similar Computing GCSE tutors

Related Computing GCSE answers

All answers ▸

Describe the process used by a binary search algorithm, and explain why binary search would not be appropriate for the list [3,2,5,7,9]


In terms of programming software, what is a translator? Describe the differences between the following three translators: assembler, compiler, interpreter.


What are 'pointers'?


What is an algorithm?


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–2024

Terms & Conditions|Privacy Policy