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

Describe the functionality of software testing, What do you do if you have ...

What do you do if you have given functionality that wasn't listed in the requirements? - If the functionality isn't essential to the purpose of the application, it should be re

Harvard mark-I and the bug, The next important effort in the direction of d...

The next important effort in the direction of devising an electromechanical computer was made at Harvard University mutually sponsored by IBM and Department of UN Navy, Howard Aike

Write a program that finds the minimum total number of shelv, Write a progr...

Write a program that finds the minimum total number of shelv, C/C++ Programming

Unix for multiprocessor system, The UNIX operating system for a multiproces...

The UNIX operating system for a multiprocessor system has a number of extra features as compared to normal UNIX operating system.  Let's first consider the design objectives of mul

Clarify the operation of iret instruction, Clarify the operation of IRET in...

Clarify the operation of IRET instruction.  What memory locations comprise the vector for an INT 34 instruction? Interrupt return (IRET) instruction is used only with hardware

Illustrate the examples of simulations, Illustrate the Examples of simulati...

Illustrate the Examples of simulations -  Training (for example pilots, drivers, etc.) -  Running/testing nuclear plants and chemical plants -  trying out equipment to be

Power and energy, Ask questiPower and EnergyQuestion 4Consider a processor ...

Ask questiPower and EnergyQuestion 4Consider a processor that runs at 2.5 GHz and 1 Volt. When running a given CPU-bound program,the processor consumes 100 W, of which 20 W is leak

Write pseudocode, Ask question #Minimum 100 If today is a weekday and it’s ...

Ask question #Minimum 100 If today is a weekday and it’s not a holiday, then you go to work. However, if it’s a weekday and a holiday, then what you do depends on the weather: If i

Show error detection mechanism, Q. Show Error detection mechanism? Erro...

Q. Show Error detection mechanism? Error detection mechanism can be described as below: Figure: Error detection and correction

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