Q- Calculate the efficiency of BCD codes wrt Binary number representation for (a) 4-bit (b) 8-bit.
Ans: (a) With 4-bits we have 10 numbers represented in BCD while 16 in Binary hence
Efficiency = (10/16)* 100 = 62.5%
(b) With 8-bits we have 100(102) numbers represented in BCD while 256(28) in Binary hence
Efficiency = (100/256)* 100 = 625/16%=39%
In general Efficiency (for 4n bit number) = (10n /24n)*100
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.