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

How do you decide which integer type to use, It depends on our requirement....

It depends on our requirement. When we are needed an integer to be stored in 1 byte (means less than or equal to 255) we use short int, for 2 bytes we use int, for 8 bytes we use l

Acting rationally - artificial intelligence, Acting Rationally: "Al" C...

Acting Rationally: "Al" Capone was finally convicted for tax evasion. Were the police reacting on rationally?? To solve this puzzle, we must first look at how the performance

Define process control block, Define Process Control Block (PCB). Pr...

Define Process Control Block (PCB). Process Control Block (PCB): Information related with each process is stored into Process control Block. a)      Process state b)

#MyLife, where should I work?

where should I work?

What is missing offset, Q. What is Missing offset? The xxxx in machine ...

Q. What is Missing offset? The xxxx in machine language for instruction at line 0010 is there since the assembler doesn't know DATA segment location which will be determined at

Dna sequences, The dataset provided in this assignment contains a collectio...

The dataset provided in this assignment contains a collection of real DNA sequences. The number of true binding sites is quite limited and that makes the problem challenging. In ma

Computer Graphics , What do you mean by ‘Bresenham’s him Algorithm?

What do you mean by ‘Bresenham’s him Algorithm?

Determine the output of an even parity generator, When the set of input dat...

When the set of input data to an even parity generator is 0111, the output will be ? Ans. Into even parity generator if number of one is odd then output will be 0.

Row-major order and column-major order of arrays, Two-dimensional array is ...

Two-dimensional array is represented in memory in following two ways: 1.  Row major representation: To attain this linear representation, the first row of the array is kept in

Which is the slowest sorting procedure, The slowest sorting procedure is   ...

The slowest sorting procedure is    Bubble Sort is the slowest sorting process.

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