Question: Starting from the left, the first binary digit is multiplied by 16, the second by 8, the third by 4, the fourth by 2, and
Starting from the left, the first binary digit is multiplied by 16, the second by 8, the third by 4, the fourth by 2, and the fifth by 1. This will convert the 5-bit binary numbers to decimal numbers as shown below:
Row 1: (0 16) + (0 8) + (1 4) + (1 2) + (0 1) = 0 + 0 + 4 + 2 + 0 = 6.
Row 2: (0 16) + (1 8) + (0 4) + (0 2) + (1 1) = 0 + 8 + 0 + 0 + 1 = 9.
Row 3: (1 16) + (1 8) + (1 4) + (0 2) + (0 1) = 16 + 8 + 4 + 0 + 0 = 28.
Row 4: (0 16) + (1 8) + (0 4) + (0 2) + (0 1) = 0 + 8 + 0 + 0 + 0 = 8.
Row 5: (1 16) + (1 8) + (1 4) + (1 2) + (0 1) = 16 + 8 + 4 + 2 + 0 = 30.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
