Answer:
The code is given as = 010100000001101000101
Step-by-step explanation:
The steps take is shown below,
The SEC code is used to ascertain where errors had occurred. Such as the occurrence of errors in data bits.
The inequality given is: 2^k - 1 >= M + K
Where M is =16
For the arrangement of the data bits and checking of the bits, the following steps is taken below
Bit position Number Check bits Data Bits
21 10101
20 10100
The bits is therefore checked in a way up to the bit position 1
Therefore, the code is then written as follows: 010100000001101000101