KnowledgeBoat Logo

Computer Science

Convert the following binary numbers to decimal:

(a) 1101

(b) 111010

(c) 101011111

Number System

73 Likes

Answer

(a) 1101

Binary
No
PowerValueResult
1 (LSB)2011x1=1
02120x2=0
12241x4=4
1 (MSB)2381x8=8

Equivalent decimal number = 1 + 4 + 8 = 13

Therefore, (1101)2 = (13)10

(b) 111010

Binary
No
PowerValueResult
0 (LSB)2010x1=0
12121x2=2
02240x4=0
12381x8=8
124161x16=16
1 (MSB)25321x32=32

Equivalent decimal number = 2 + 8 + 16 + 32 = 58

Therefore, (111010)2 = (58)10

(c) 101011111

Binary
No
PowerValueResult
1 (LSB)2011x1=1
12121x2=2
12241x4=4
12381x8=8
124161x16=16
025320x32=0
126641x64=64
0271280x128=0
1 (MSB)282561x256=256

Equivalent decimal number = 1 + 2 + 4 + 8 + 16 + 64 + 256 = 351

Therefore, (101011111)2 = (351)10

Answered By

14 Likes


Related Questions