Question
A $(6,3)$ systematic block code has the following generator matrix: $$ A = \begin{pmatrix} 1 & 1 & 0 & 1 & 0 & 0 \\ 0 & 1 & 1 & 0 & 1 & 0 \\ 0 & 1 & 0 & 0 & 0 & 1 \end{pmatrix} $$ When a message is encoded by this block code, the code-word $\mathbf{U}=(0,1,1,1,0,1)$ is obained. Suppose the receiver obtains $\mathbf{r}=(0, 0, 1, 1, 0, 1)$, show how $\mathbf{r}$ is decoded by the receiver and also how the errors is corrected by computing its syndrome.
I was given this question in the exams. I listed all the possibilities for the codewords and I think the codeword $\mathbf{U}$ is wrong or am I doing something wrong?