Page 25 - computer science (868) class 11
P. 25
= 7 + 8 + 320 + 1024
= 1359
Now converting (1359) into binary
10
2 1359
2 679 1
2 339 1
2 169 1
2 84 1
2 42 0
2 21 0
2 10 1
2 5 0
2 2 1
2 1 0
Method 2:
2 5 1 7
010 101 001 111
Binary equivalent is (010 101 001 111) 2
After removing leading 0s in the integer part
(10101001111) 2
Example 2: Convert (621.04) to binary.
8
Answer:
6 2 1 . 0 4
110 010 001 . 000 100
Binary equivalent is (110 010 001.000 100) 2
After removing trailing 0s in fractional part
(110010001.0001) 2
1.2.10 Hexadecimal to Binary
The steps to be followed are:
1. Convert each hexadecimal digit to its binary equivalent with the help of the table given previously that shows
relationship among different number systems.
2. Arrange the newly converted binary digits together.
3. Remove leading 0s in the integer part and trailing 0s in the fractional part to get the final binary equivalent.
Example 1: Convert (25C9) to binary.
16
Answer:
2 5 C(12) 9
0010 0101 1100 1001
Binary equivalent is (0010010111001001) 2
After removing leading 0s in the integer part
= (10010111001001)
2
23
Numbers 23

