Answer:
![\left[\begin{array}{ccccc}1&1&1&0&1\\0&1&1&0&0\\1&0&0&1&0\\1&1&0&1&1\\1&1&0&0&0\end{array}\right]](https://tex.z-dn.net/?f=%5Cleft%5B%5Cbegin%7Barray%7D%7Bccccc%7D1%261%261%260%261%5C%5C0%261%261%260%260%5C%5C1%260%260%261%260%5C%5C1%261%260%261%261%5C%5C1%261%260%260%260%5Cend%7Barray%7D%5Cright%5D)
Explanation:
To keep the checksum length minimum ,checksum field should be a 4x4 matrix with two dimensional even parity bit.
For this purpose first create a matrix of RxC dimensions and add one even parity bit at the end of each row and column.
parity bit is sort of a check flag used to detect errors in binary data.Error detection is done by adding total number of 1's in the binary sequence.
There are two types of parity bits
- Even
- Odd
For even parity if total number of 1 is even parity bit for that sequence would be (0).
For even parity if total number of 1 is odd parity bit for that sequence would be (1)
For odd parity if total number of 1 is odd parity bit for that sequence would be (0)
For odd parity if total number of 1 is even parity bit for that sequence would be (1)