Question 1
To detect transmission errors, a computer appends $1$ parity bit to the $6$-bit code 001110 so that the total number of $1$s in the $7$-bit code is even. What is the total number of $1$s in the final $7$-bit code?
Xem đáp án và lời giải
Đáp án: $4$
Chuỗi ban đầu có $3$ bit $1$. Sau khi thêm bit kiểm tra $1$, tổng số bit $1$ chẵn là $4$.