The correct answer is: C. it has odd parity.
A 2-out-of-5 code is a type of error-correcting code that uses five bits to represent one of three values: 0000, 0011, or 1111. The code is called a 2-out-of-5 code because each value is represented by two bits that are set to 1. The remaining three bits are set to 0.
The 2-out-of-5 code has odd parity because the number of 1 bits in each value is odd. This makes it possible to detect errors in the code. If any of the bits in a value are changed, the number of 1 bits will no longer be odd, and the error will be detected.
A weighted code is a type of code in which each bit has a different weight. The weights of the bits are used to represent different values. In
512"> Subscribe on YouTube