Computer Science, asked by mahalakshmigowda08, 6 hours ago

___ is the value of 10° 0,100,10,1​

Answers

Answered by sshreyashi821
0

Explanation:

Binary to Decimal

add

Binary to decimal conversion is done to convert a number given in the binary system to its equivalent in the decimal number system. A number system is a format to represent numbers in a certain way. The binary number system is used in computers and electronic systems to represent data and it consists of only two digits which are 0 and 1. The decimal number system is the most commonly used number system around the world which is easily understandable to people. It consists of digits from 0 to 9. Binary to decimal conversion can be done in the simplest way by adding the products of each binary digit with its weight (which is of the form - binary digit × 2 raised to a power of the position of the digit) starting from the right-most digit which has a weight of 20.

Binary to decimal conversion can be done by two methods - the positional notation method and the doubling method. Let us understand the different methods for binary to decimal conversion.

What is Binary to Decimal Conversion?

Binary to decimal conversion is done to represent a number given in binary number system to its equivalent in the decimal number system. A number system is very essential to represent numbers. Every number system has a base and the base of a number system is determined by the total number of digits used in the number system. For example, the binary number system has a base of 2 because it has only two digits to represent any number. Similarly, the decimal number system has a base of 10, as it has 10 digits to represent a number.

The conversion of numbers from binary to decimal is important as it helps to read numbers that are represented as a set of 0s and 1s.

Binary to Decimal Conversion Methods

Binary to decimal conversion is done to help read large binary numbers easily in a form that humans can understand. There are two methods to convert a number in binary to decimal number system.

Positional Notation Method

Doubling Method

Let us understand these binary to decimal conversion methods in detail.

Binary to Decimal Conversion Using Positional Notation Method

The positional notation method is one in which the value of a digit in a number is determined by a weight based on its position. This is achieved by multiplying each digit by the base(2) raised to the respective power depending upon the position of that digit in the number. The summation of all these values obtained for each digit gives the equivalent value of the given binary number in the decimal system.

Observe the following steps to understand the binary to decimal conversion. Let us consider the binary number

(

101101

)

2

. In any binary number, the rightmost digit is called the 'Least Significant Bit' (LSB) and the left-most digit is called the 'Most Significant Bit' (MSB). For a binary number with 'n' digits, the least significant bit has a weight of 20 and the most significant bit has a weight of 2n-1.

Step 1: List out the powers of 2 for all the digits starting from the rightmost position. The first power would be 20 and as we move on it will be 21, 22, 23, 24, 25,... In the given example, there are 6 digits, therefore, starting from the rightmost digit, the weight of each position from the right is 20,21,22,23,24,25.

Binary to Decimal - Power of base-2 with Exponents

Step 2: Now multiply each digit in the binary number starting from the right with its respective weight based on its position and evaluate the product. Observe the figure shown below to relate to the step. Finally, sum up all the products obtained for all the digits in the binary number.

Binary to Decimal Conversion Using Positional Notation Method

Step 3: Now, express the binary number as a decimal number:

(

101101

)

2

=

(

45

)

10

Binary to Decimal Conversion Using Doubling Method

As the name suggests, the process of doubling or multiplying by 2 is done to convert binary to decimal. Let us use the same example for converting the binary number

(

101101

)

2

to decimal. Observe the following steps given below to understand the binary to decimal conversion using the doubling method.

Step 1: Write the binary number and start from the left-most digit. Double the previous number and add the current digit. Since we are starting from the left-most digit and there is no previous digit to the left-most digit, we consider the double of the previous digit as 0. For example in

(

101101

)

2

, the left-most digit is '1'. The double of the previous number is 0. Therefore, we get ((0 × 2) + 1) which is 1.

Step 2: Continue the same process for the next digit also. The second digit from the left is 0. Now, double the previous digit and add it with the current digit. Therefore, we get, [(1 × 2) + 0], which is 2.

Step 3: Continue the same step in sequence for all the digits. The sum that is achieved in the last step is the actual decimal value. Therefore, the result of converting the binary number

(

101101

)

2

to a decimal using the doubling method is

45

10

.

Similar questions