Conversion of decimal number to binary number, Computer Engineering

Assignment Help:

Conversion of Decimal Number to Binary Number:

For converting a decimal number to binary integer part and fractional part are handled separately. Let's describe it with help of an illustration:

Example:  Convert the decimal number 43.125 to binary number.

Solution:

1409_Conversion of Decimal Number to Binary Number.png

Please note in figure above it:

  • Equivalent binary to Integer part of the number is (101011)2
  • You will get Integer part of number if you READ remainder in direction of the Arrow.

1483_Conversion of Decimal Number to Binary Number1.png

Please note in the figure above that:

  • The equivalent binary to Fractional part of number is 001.
  • You will get fractional part of number if you READ Integer part of number in direction of Arrow.

So the number (101011.001)2 is equivalent to (43.125)10

You can cross check it as follows:

1350_Conversion of Decimal Number to Binary Number3.png


Related Discussions:- Conversion of decimal number to binary number

Water technology, Define end series and its application

Define end series and its application

Flowchart, flow chart for ''sin x'' as sum of serie

flow chart for ''sin x'' as sum of serie

Explain the storage class static, Explain the Storage Class Static Th...

Explain the Storage Class Static The Storage Class Static : Static declarations have two important and distinct uses. The more elementary use is to allow a local variable to

What is boyce codd normal form, A relation schema R is in BCNF with respect...

A relation schema R is in BCNF with respect to a set F of functional dependencies if for all functional dependencies in F+ of the form a->b, where a and b is a subset of R, at leas

Show sample instruction format of mips instruction, Q. Show Sample Instruct...

Q. Show Sample Instruction Format of MIPS instruction? Early MIPS architectures had 32-bit instructions and later versions have 64-bit implementations. The first commercial

Displacement addressing mode - computer architecture, Displacement and  Sta...

Displacement and  Stack Addressing  mode - computer architecture: Displacement Addressing: In displacement addressing mode there are three types of addressing mode. They

Explain half-adder with truth-table and logic diagram, What is a half-adder...

What is a half-adder? Explain a half-adder with the help of truth-table and logic diagram. Ans. Half Adder: It is a logic circuit for the addition of two 1-bit numbers is term

How are interrupt handled by the operating system, How are interrupt hand...

How are interrupt handled by the operating system? The fundamental interrupt mechanism works as follows: The CPU hardware has wire called the interrupt-request line which

What is load testing, Load testing is to test that if the application works...

Load testing is to test that if the application works well with the loads that result from large number of concurrent users, transactions and to verify whether it can handle peak u

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