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

External program components, How does the system handle roll areas for exte...

How does the system handle roll areas for external program components? Transactions run in their own roll areas. Reports run in their own roll areas. Dialog modules run

Why should i use xml, ? XML can be used to explain and recognize informatio...

? XML can be used to explain and recognize information accurately and unambiguously, in a way that computers can be programmed to? Understand? (Well, at least influence as if they

Explain public key encryption, Public Key Encryption A cryptographic sy...

Public Key Encryption A cryptographic system that uses two-keys-a public  key known to everyone and a private or secret key known only to the recipient of the message. An si

What are the different types of parameters, What are the different types of...

What are the different types of parameters? Formal Parameters: Parameters, which are described during the definition of subroutine with the FORM statement.

What is a virtual address, Q. What is a virtual address? Von Neumann ha...

Q. What is a virtual address? Von Neumann had suggested that execution of a program is possible only if program and data are residing in memory. In such a condition program len

Which work process triggers database changes, Which work process triggers d...

Which work process triggers database changes? Update work process

Explain instruction level of parallel processing, Instruction Level It ...

Instruction Level It refers to condition where different instructions of a program are implemented by different processing elements. Most processors have various execution unit

What is code segment, Q. What is CODE SEGMENT? The logical program segm...

Q. What is CODE SEGMENT? The logical program segment is termed as code segment. When linker links a program it makes a note in header section of program's executable file defin

Write shorts notes on digital signature, Write shorts notes on Digital Si...

Write shorts notes on Digital Signature. This method is used to authenticate the sender of a message. For sign a message, the sender encrypts the message by using a key ident

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