How to convert binary to octal and hexadecimal, Computer Engineering

Assignment Help:

Q. How to convert Binary to Octal and Hexadecimal?

Rules for these conversions are simple. For converting binary to octal binary number is splitted in groups of three, that are then joined by place value to produce equivalent octal. For illustration binary number 1101011.00101 can be converted to Octal in below manner:

2291_Conversion of Binary to Octal and Hexadecimal.png

(Please note that number is unchanged even though we have added 0 to complete grouping. Also note that style of grouping before and after decimal. We count 3 numbers from right to left whereas after decimal from left to right.)

So octal number equivalent to binary number 1101011.00101 is (153.12)8.

In the same manner by grouping 4 binary digits and finding equivalent hexadecimal digits for it can make hexadecimal conversion.  For illustration the same number would be equivalent to (6B.28)H.

915_Conversion of Binary to Octal and Hexadecimal1.png

On the contrary we should conclude that hexadecimal digit can be splitted into a string of binary having 4 places whereas an octal can be splitted in string of binary having 3 place values. Figure below gives binary equivalents of octal and hexadecimal numbers. 

93_Conversion of Binary to Octal and Hexadecimal2.png

Figure: Binary equivalent of octal and hexadecimal digits


Related Discussions:- How to convert binary to octal and hexadecimal

Library of functions of parallel virtual machine, Q. Library of functions o...

Q. Library of functions of parallel virtual machine? PVM offers a library of functions libpvm3.a, that application programmer calls. Every function has some specific effect in

What are the differences between one hot and binary encoding, What are the ...

What are the differences between one hot and binary encoding? Common classifications used to explain the state encoding of an FSM is Binary or highly encoded and one hot. A bin

Computers and cntrol, Define open and closed loop cotrol systems.Explain di...

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example

Isoquants, what are the types of isoquants

what are the types of isoquants

What is a compiler, What is a compiler? A Compiler is a program that ac...

What is a compiler? A Compiler is a program that accepts a program written in a high level language and creates an object program.

Draw a diagram to explain major components of web browser, Draw a neat diag...

Draw a neat diagram to explain major components of a web browser. The Major Component of a Web browser A browser contains a set of clients, a controller and a set o

Two "next screen "attributes, Of the two "next screen "attributes the attri...

Of the two "next screen "attributes the attributes that has more priority is?? Dynamic.

Avoiding overfitting - decision tree learning , Avoiding Overfitting : ...

Avoiding Overfitting : However remember there that in the previous lecture, there is over fitting that common problem in machine learning. Furthermore details to decision tree

Explain the transport layer in detail, Explain the transport layer in detai...

Explain the transport layer in detail. Transport Layer: The transport layer controls and makes sure the end-to-end integrity of the data message propagated by the network am

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd