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

What is the best way offload responsibility, What is the best way offload r...

What is the best way offload responsibility? The best way to offload responsibilities is to purchase services through a Service Provider. ISPs, customers and Service Provide

Explain the working of thousand line exchanges, E xplain the working of th...

E xplain the working of thousand line exchanges by u sing a combination of uniselectors and two motion selectors. The schematic diagram for such an exchange is demonstrated i

Total number of registers in a cpu, Q. Total number of registers in a CPU? ...

Q. Total number of registers in a CPU? Factors to consider when choosing total number of registers in a CPU are:  CPU can access registers faster than it can access m

Define the Load address for the first word of the program, Load address for...

Load address for the first word of the program is called? Ans. load address origin is known as load address for the first word of the program.

C++, #question.constructors and destructors

#question.constructors and destructors

The disadvantage of specifying parameter, The disadvantage of specifying pa...

The disadvantage of specifying parameter during instantiation are: -  This has a lower precedence when compared to assigning using defparam.

How can i delete a file, The Standard C Library function is removing. (This...

The Standard C Library function is removing. (This is thus one of the few questions in this section for which the answer is not ''It's system-dependent.'') On older, pre-ANSI Unix

Describe independent loops in fortran, Q. Describe Independent Loops in for...

Q. Describe Independent Loops in fortran? HPF offers extra opportunities for parallel execution by employing the INDEPENDENT directive to declare the iterations of a do-loop is

What are the events used for page headers and footers, What are the events ...

What are the events used for page headers and footers? The events TOP-OF-PAGE and END-OF-PAGE are used for pager headers and footers.

Explain that lost acknowledgement in packet retransmission, Explain that th...

Explain that the lost acknowledgement does not necessarily enforce retransmission of the packet . To guarantee reliable transfer, protocols utilize positive acknowledgement al

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