请输入您要查询的字词:

 

单词 parity bit
释义

Parity bit

Parity bit

A bit (0 or 1) added to a binary number (such as 1001100) to help check if the number is received correctly.

For even parity all the "1" bits are counted:
• if the count is odd then the parity bit is set to 1 (making an even number of 1s)
• if the count is even then the parity bit is set to 0 (also an even number of 1s)

Examples:
1001100 has an odd number of 1s, so the parity bit is set to 1, giving 10011001
1010011 has an even number of 1s, so the parity bit is set to 0, giving 10100110

So, including the parity bit, all binary numbers will have an even number of 1s.
If we receive a number that breaks this rule then some error happened and the number can be sent again.


There is also odd parity: same idea, but the parity bit is set to always have an odd number of 1s.


Note: this is a good way to check if there is a single error in the number, but won't work if there are two errors!

See: Parity

随便看

 

数学辞典收录了1200条数学词条,基本涵盖了常用数学知识及数学英语单词词组的翻译及用法,是数学学习的有利工具。

 

Copyright © 2000-2023 Newdu.com.com All Rights Reserved
更新时间:2025/5/13 16:52:06