obonaventure / cnp3

Computer Networking : Principles, Protocols and Practice (first and second edition, third edition is being written on https://github.com/cnp3/ebook)
https://www.computer-networking.info
508 stars 91 forks source link

Update reliability.rst #254

Open TdesTouches opened 5 years ago

TdesTouches commented 5 years ago

In the frame (just under the change I made) and in the exercises, the parity bit takes the number of bit set to 0 into account.

kaskales commented 5 years ago

the parity bit takes the number of bit set to 0 into account.

This seems to contradict the definition of bit parity; "A parity bit, or check bit, is a bit added to a string of binary code to ensure that the total number of 1-bits in the string is even or odd" .

The original definition seems to be correctly written in terms of the number of bits set to 1.