Q593
The following is true about 2-out of-5 code:
A.
it is weighted code
B.
it is unweighted code
AnswerC.
it has odd parity
D.
All of the above
E.
None of the above
Answer: Option B
Solution
Answer: Option B
Solution:
A two-out-of-five code is a constant-weight code that provides exactly ten possible combinations of two bits, and is thus used for representing the decimal digits using five bits. Each bit is assigned a weight, such that the set bits sum to the desired value, with an exception for zero.