CBSE Class 11 Computer Science Question 72 of 91

Data Representation — Question 3

Back to all questions
3
Question

Question 3

Convert the following decimal numbers to binary:

(a) 23

Answer
2QuotientRemainder
2231 (LSB)
2111
251
220
211 (MSB)
 0 

Therefore, (23)10 = (10111)2

(b) 100

2QuotientRemainder
21000 (LSB)
2500
2251
2120
260
231
211 (MSB)
 0 

Therefore, (100)10 = (1100100)2

(c) 145

2QuotientRemainder
21451 (LSB)
2720
2360
2180
291
240
220
211 (MSB)
 0 

Therefore, (145)10 = (10010001)2

(d) 0.25

Multiply=ResultantCarry
0.25 x 2=0.50
0.5 x 2=01

Therefore, (0.25)10 = (0.01)2