User Tools

Site Tools


tanszek:oktatas:techcomm:parity_check

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tanszek:oktatas:techcomm:parity_check [2024/11/04 19:00] kneheztanszek:oktatas:techcomm:parity_check [2025/10/27 18:59] (current) – [Parity Check] knehez
Line 1: Line 1:
 ===== Parity Check ===== ===== Parity Check =====
  
-A parity check is a simple error detection mechanism used in digital communication and data storage to detect errors in transmitted or stored data. It ensures that the number of bits with a value of 1 in a binary sequence is either even or odd, depending on the type of parity used.+A parity check is a simple **error detection** mechanism used in digital communication and data storage to **detect errors** in transmitted or stored data. It ensures that the number of bits with a value of 1 in a binary sequence is either even or odd, depending on the type of parity used.
  
 There are two types of parity: There are two types of parity:
Line 41: Line 41:
   * **Limited error detection**: Parity checks can only detect single-bit errors (if one bit flips). It cannot detect multi-bit errors, where two or more bits are changed.   * **Limited error detection**: Parity checks can only detect single-bit errors (if one bit flips). It cannot detect multi-bit errors, where two or more bits are changed.
   * **No error correction**: Parity checks only detect errors but cannot correct them. For correction, more advanced techniques like Hamming codes.   * **No error correction**: Parity checks only detect errors but cannot correct them. For correction, more advanced techniques like Hamming codes.
 +
 +Let's see a C code to check 8 bits parity.
  
 <sxh c> <sxh c>
tanszek/oktatas/techcomm/parity_check.1730746809.txt.gz · Last modified: 2024/11/04 19:00 by knehez