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

Intelligent retrieval from database, Intelligent Retrieval from Database: D...

Intelligent Retrieval from Database: Database system are large bodies of facts about some subjects, which are used to answer users queries about that subject. The design of d

Explain post office protocol, Explain POP (Post Office Protocol). The P...

Explain POP (Post Office Protocol). The Post Office Protocol gives remote access to an electronic mail box. The protocol permits a user's mailbox to reside on a computer which

Name of all sap databases, All SAP Databases are Relational Databases ...

All SAP Databases are Relational Databases is the all sap databases.

How client and server use same protocol port at same time, Can both client ...

Can both client and server use the same protocol port on the same computer at the same time? Explain. Client and server can't use similar port number on similar computer at ide

What is blocking probability, What is blocking probability? Blocking ...

What is blocking probability? Blocking Probability: The blocking probability P is described as the probability like all the servers in system are busy. If all the servers ar

Categorize the cpu scheduling algorithms, Categorize the CPU scheduling alg...

Categorize the CPU scheduling algorithms? The various CPU scheduling algorithms are categorized as given below:

Develop a menu driven program, Q.  Develop a Menu driven program with follo...

Q.  Develop a Menu driven program with following menu: a.  Binary to Decimal b.  Binary to Octal c.  Binary to Hexadecimal d.  Exit (Put proper validation for input

cell array to a spreadsheet, The xlswrite function can write the contents ...

The xlswrite function can write the contents of a cell array to a spreadsheet.  A manufacturer kepts information on the weights of some parts in a cell array.  Every row stores the

Define software is in machine language or not, Define Software is in machin...

Define Software is in machine language or not Software is in machine language, today it is often developed by first writing in a high-level language or an assembly language or

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