Digital Electronics - Number Systems and Codes - Discussion

Discussion Forum : Number Systems and Codes - General Questions (Q.No. 28)
28.
Convert decimal 213 to binary.
11001101
11010101
01111001
11100011
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
2 comments Page 1 of 1.

Kahindi said:   6 years ago
Divide the decimal number i.e 213 by 2 and keep track of the remainder.

213÷2=106 rem 1
106÷2=53 rem 0
53÷2=26 rem 1
26 ÷2=13 rem 0
13 ÷2= 6 rem 1
6÷2= 3 rem 0
3÷2 =1 rem 1
1÷2=0 rem 1.

The last remainder is the most significant bit(MSB) while the first reminder the list significant bit(LSB).

Arrange the bits from MSB to the LSB and obtain the binary number which is 11010101.

Kashmir chand dawer said:   9 years ago
128 = 10000000,
64 = 1000000,
32 = 100000,
16 = 10000,
8 = 1000,
4 = 100,
2 = 10,
1 = 1.

128 + 64 + 16 + 4 + 1= 213.

10000000 + 1000000 + 10000 + 100 + 1 = 11010101.

Post your comments here:

Your comments will be displayed after verification.