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

Difference between depth first and breadth first traversing, Explain the di...

Explain the difference between depth first and breadth first traversing techniques of a graph.   Depth-first search is dissimilar from Breadth-first search in the following way

When can we see layer groups in gimp, Sometimes it is nice to place layers ...

Sometimes it is nice to place layers in groups. It makes them simple to organize when you have lots of them. It also means you can simply apply the similar effect to lots of layers

Cisc approach - cisc architecture, CISC Approach - CISC architecture: ...

CISC Approach - CISC architecture: The main goal of CISC architecture is to finish a task in as few lines of assembly as possible as. This is gain by building processor hardwa

What is the efi shell?, The EFI community has formed an open source shell e...

The EFI community has formed an open source shell environment. Rather than booting directly into a full OS, on some executions, the user can boot to the EFI shell. The shell is an

What is assembly, What is assembly Assemblies are the building blocks o...

What is assembly Assemblies are the building blocks of .NET Framework applications; they variety the fundamental unit of deployment, version control, reuse, activation scoping,

Benefits of traditional hard disks and cd-rom, Q. Benefits of traditional h...

Q. Benefits of traditional hard disks and CD-ROM? CD-ROM is suitable for distribution of large amounts of data to a large number of users. CD-ROMs are a general medium these da

Example of the horizon problem, Example of the horizon problem: It is ...

Example of the horizon problem: It is also worth bearing in mind the horizon problem, however a game-playing agent cannot see much far satisfactory into the search space. Now

What are the external storage systems, External storage systems A numb...

External storage systems A number of different types of external memory devices are available now. Some of these are considered below (hard drives haven't been mentioned as th

Incorporating javascript into a web page, As we already know, HTML (Hyperte...

As we already know, HTML (Hypertext Markup Language) is the language we use to create Web documents. Now we will read "Hello World!" As given below:

Indian standard code for information interchange, The ISCII is an 8-bit cod...

The ISCII is an 8-bit code which contains standard ASCII values till 127 from 128-225 it contains characters necessary in ten Brahmi-based Indian scripts. It is defined in IS 13194

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