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

In how many ways the data can be passed to functions, Object Oriented Progr...

Object Oriented Programming 1. Describe that in how many ways the Data can be passed to functions? Explain with the help of one example. 2. Describe how you create class a

Explain chomsky classification of languages, Explain chomsky classification...

Explain chomsky classification of languages with suitable examples Ans: Any language is appropriate for communication provided the syntax & semantic of the language is termed t

What is race condition, What is Race condition? Race condition: The c...

What is Race condition? Race condition: The circumstances where several processes access - and manipulate shared data-concurrently. The last value of the shared data depends

Physics, what is fresnel''s biprism?how it is used to determine wavelength ...

what is fresnel''s biprism?how it is used to determine wavelength of monochromatic source of light

Search in problem solving - artificial intelligence, Search in Problem Sol...

Search in Problem Solving: If Artificial Intelligence can inform that the other science about anything, it is about problem solving and, in particular, how to research after s

Problems.., what are the different types of tablets?

what are the different types of tablets?

BCD ADDER, create a BCD adder combinational ckt. that adds 2 digit BCD inpu...

create a BCD adder combinational ckt. that adds 2 digit BCD inputs

What are sewing kits, What are Sewing Kits? Sewing Kits are modules whi...

What are Sewing Kits? Sewing Kits are modules which contain a not used mix of gates, any other cells or flip-flops considered potentially helpful for an unforeseen metal fix. W

How will these instructions perform?, Q. How will these instructions perfor...

Q. How will these instructions perform? Let's assume that above machine instructions are stored in three consecutive memory locations 1, 2 and 3 and PC contains a value (1) tha

Program accept decimal number and convert it into given base, Q Develop a p...

Q Develop a program that accepts decimal number and converts it into given base. Fractional numbers are allowed and negative numbers are not allowed. Also check that entered number

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