Show the decimal equivalent of a binary number, Computer Engineering

Assignment Help:

Q. Show the Decimal equivalent of a binary number?

In binary numbers we have two digits 0 and 1 in addition they can also be signified as a string of these two-digits known as bits. The base of binary number system is 2.

E.g. 101010 is a valid binary number.

Decimal equivalent of a binary number:

For converting value of binary numbers into decimal equivalent we have to find its value that is found by multiplying a digit by its place value. E.g. binary number 101010 is equal to:

    1×25+0×24+1×23+ 0×22+1×21+0×20

 = 1×32 + 0×16 + 1×8 + 0×4 + 1×2 + 0×1 

 = 32 + 8 + 2 

 = 42 in decimal.


Related Discussions:- Show the decimal equivalent of a binary number

How many address bits are required to represent 4K memory, How many address...

How many address bits are required to represent 4K memory ? Ans. 12 address bits are required for representing 4K memory, as 4K = 2 2 x 2 10   = 2 12 Therefore 1K = 1024

Drawbacks of specifying parameter assignments using defparam, The disadvant...

The disadvantages of specifying parameter assignments using defparam are: -  Parameter  is  essentially specified  by  the  scope  of  hierarchies  underneath  which  it exists

What are the input devices, What are the Input devices Various devices ...

What are the Input devices Various devices are available for data input on graphics workstations. Most systems have a keyboard and one or more additional devices specially desi

What is jmx, JMX is native to the Java programming language. As a result, i...

JMX is native to the Java programming language. As a result, it offers natural, efficient, and lightweight management extensions to Java-based functions. It has of a set of specifi

What does not use by FTP, FTP does not use ? FTP doesn't use User Datag...

FTP does not use ? FTP doesn't use User Datagram Protocol.

Cso, why we don''t use register at the place of ram?

why we don''t use register at the place of ram?

Input a list of positive numbers, Input a list of positive numbers, termina...

Input a list of positive numbers, terminated by 0, into an array Numbers. Then display the array and the largest and smallest number in it.

Way to interconnect multiple computer across short distance, A computer com...

A computer communication technology that gives a way to interconnect multiple computer across short distance is LAN

What is indexed addressing, What is Indexed addressing The location of ...

What is Indexed addressing The location of data is calculated as sum of an address specified by one of previous methods, and value of an index register. This allows an array of

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