BÊTACette plateforme est en développement actif ; des bugs, des fonctionnalités manquantes et un risque de perte de données sont possibles. Merci pour ton soutien !

Methods Of Error Detection

Apprends en jouant

Réponds à ces questions pour gagner de l'énergie, puis pêche et explore. Sans compte.

Pour les profs : diapos de leçon, notes de révision prêts à l'emploi pour Methods Of Error Detection (Computer Science, CIE) — utilise-les en cours, ou lance le thème en activité de classe interactive que tes élèves jouent en direct.

Notes de leçon

Why Errors Occur

  • Errors occur due to interference in wired or wireless transmission (e.g., wire degradation, electrical fields, weather, physical barriers).
  • Results of interference: data loss, data gain, or data change (bits flipped).
  • Computers expect data in specific formats; unexpected data causes errors or corruption.

Parity Check

  • A parity bit is added to each byte; sender and receiver agree on odd or even parity.
  • For even parity, total number of 1s (including parity bit) must be even; for odd parity, total must be odd.
  • If parity doesn't match, an error is detected, but the location is unknown.
  • Limitation: parity check fails if an even number of bits are flipped or bits are transposed.

Parity Block & Parity Byte

  • A parity block uses horizontal (per byte) and vertical (per column) parity calculations.
  • The parity byte contains vertical parity bits for each column.
  • Cross-referencing horizontal and vertical parity pinpoints the exact error location.
  • The error can be corrected automatically or a retransmission requested.

Checksum

  • A checksum is a value calculated from data using an algorithm and sent with the data.
  • Receiver recalculates the checksum and compares it to the transmitted value.
  • If they do not match, an error is assumed; checksum does not indicate error location.

Echo Check

  • The receiver echoes (sends back) the received data to the sender.
  • Sender compares echoed data to original; if different, an error occurred and data is retransmitted.
  • Limitation: an error could occur during the echo transmission itself.

Check Digits

  • A check digit is the last digit in a numeric code (e.g., ISBN, barcode) used to detect entry errors.
  • Detects: incorrect digits, omitted/extra digits, phonetic errors.
  • Calculated using a standard algorithm; if the result is a whole number, the code is valid.

Automatic Repeat Query (ARQ)

  • ARQ is a protocol using acknowledgements and timeout to ensure error-free transmission.
  • Receiver sends positive acknowledgement (ACK) if data is correct, or negative acknowledgement (NAK) if corrupted.
  • If no acknowledgement is received within a timeout period, the sender automatically retransmits the data.
  • Process repeats until data is received correctly or a limit is reached.

Diapos

Sign up free to view the lesson slides

Step through every slide for this topic — plus flashcards and revision notes — with a free account.

Questions d'entraînement

Aperçu gratuit — 8 sur 59 questions. Inscris-toi pour toutes les voir.
  1. 1.Which of the following is a result of interference during data transmission?

    Easy
    • AData loss
    • BData encryption
    • CData compression
    • DData indexing
  2. 2.What is the purpose of a parity bit in data transmission?

    Easy
    • ATo detect errors in the transmitted data
    • BTo correct errors in the transmitted data
    • CTo encrypt the transmitted data
    • DTo compress the transmitted data
  3. 3.A byte is transmitted with even parity. The byte received is 10110010. Does this byte contain an error?

    Medium
    • AYes, because there are four 1s
    • BNo, because there are four 1s
    • CYes, because there are five 1s
    • DNo, because there are five 1s
  4. 4.Why might a parity check fail to detect an error?

    Medium
    • AIf an even number of bits are flipped
    • BIf an odd number of bits are flipped
    • CIf the parity bit itself is corrupted
    • DIf the data is encrypted
  5. 5.In a parity block check using odd parity, the parity byte is calculated as 01111111. If the received parity byte is 01111110, what does this indicate?

    Medium
    • AAn error has occurred in bit column 8
    • BAn error has occurred in bit column 7
    • CAn error has occurred in byte row 8
    • DNo error has occurred
  6. 6.What is a checksum used for?

    Easy
    • ATo determine if data has been corrupted
    • BTo encrypt data
    • CTo compress data
    • DTo convert data to a different format
  7. 7.In an echo check, the receiver sends the received data back to the sender. Why is this method not fully reliable?

    Medium
    • AAn error could occur when the receiver transmits the data back
    • BThe sender cannot detect errors
    • CThe receiver cannot detect errors
    • DIt requires too much bandwidth
  8. 8.What is a check digit?

    Easy
    • AThe last digit in a code used to detect errors in numeric data entry
    • BThe first digit in a code used to identify the data type
    • CA digit used to encrypt the data
    • DA digit used to compress the data

Unlock all 59 questions & more

Crée un compte gratuit pour voir toutes les questions, les diapos, les cartes mémo et les notes de révision de ce thème.

Annales

Les annales d'entraînement pour ce thème arrivent bientôt.
Bientôt disponible