6,243 views
0 votes
0 votes
Que.

Represent the decimal number 6,248 in (a) BCD, (b) excess‐3 code, (c) 2421 code, and

(d) a 6311 code.

Ans. a)0110 0010 0100 1000

       b)1001 0101 0111 1011

      c)0110 0010 0100 1110 but it might also be 1100 1000 0100 1110 Is it Possible how would we assign the number to 2421 Please Explain???

    d)1000 0011 0110 1011

Is the answer Correct for a,b,c,d???

1 Answer

0 votes
0 votes

$a)$ Correct

$b)$ Correct

$c)$ The $2421$ code is the Aiken code. It has a standard coding system where first $5$ numbers (0,1,2,3,4) start with binary $0$ and the remaining (5,6,7,8,9) start with binary $1$. 

https://en.wikipedia.org/wiki/Aiken_code

"One might think that double codes are possible for a number, for example 1011 and 0101 could represent 5. However, here one makes sure that the digits 0 to 4 are mirror image complementary to the numbers 5 to 9."

So the correct representation for $6248$ in 2421 code is $1100$ $0010$ $0100$ $1110$.

$d)$ Not sure. Here also, ambiguity is there for coding 4 and 7, as $4$ can be represented as both 0101 and 0110 and $7$ as 1001 and 1010 in $6311$ code. But I couldn't find any standards for that.

Related questions

0 votes
0 votes
2 answers
1
sh!va asked Mar 3, 2017
926 views
The logic circuit given below converts a binary code Y1 Y2 Y3 intoa) Excess -3 codeb) Gray codec) BCD coded) Hamming code
0 votes
0 votes
1 answer
2
2 votes
2 votes
1 answer
3
shreshtha5 asked Nov 29, 2015
4,467 views
Convert $1101_2$ to corresponding $excess-3$ binary number.(A) $10000$(B) $01000110$(C) $100110$(D) $10110$