Bỏ qua nội dung

Labs · IGCSE 0478 2.2 · 9618 AS 6.2

Error Detection

Add parity bits, find and fix a flipped bit in a parity block, work out checksums and check digits, and be the receiver in ARQ.

10 levelsFree bench

In the exam

0478/12 May/June 2026 · Question 4(a)–(b) · 7 marks

An odd parity byte check is used for data sent from a computer to a printer. (a) Give the correct parity bit for each of the bytes 0101110, 1110111 and 1000100. (b)(i) Explain why an error may not be detected by a parity byte check. (ii) Give two other error detection methods that could be used.

Points that gain marks

  • (a) 1, 1 and 1.
  • (b)(i) An even number of bits changed (for example two bits changed places), so the number of 1s is still odd and the byte still passes the check.
  • (b)(ii) Two of: parity block check, even parity check, checksum, echo check, ARQ. Not a check digit: that is for data entry, not data that is sent.

In this lab: Levels 'Odd parity (exam)' and 'Be the receiver'.

0478/13 May/June 2026 · Question 2(d) · 3 marks

A checksum value is calculated from the data before it is transmitted. Describe how this checksum value is used to check for errors in the data after transmission.

Points that gain marks

  • The checksum value is sent with the data.
  • The receiver uses the same algorithm to calculate the checksum again.
  • The two checksum values are compared.
  • If they are the same there is no error; if they are different there is an error.

In this lab: Level 'A checksum'.

9618/12 October/November 2022 · Question 4(b) · 3 marks

A checksum can be used to detect errors during data transmission. Describe how a checksum is used.

Points that gain marks

  • The checksum is calculated from the data before it is sent (an algorithm is applied to the data).
  • The checksum is sent with the data.
  • The receiving computer calculates the checksum again from the data it received.
  • If the two checksums match, no error has occurred; if they do not match, there is an error.

In this lab: Level 'A checksum'.

0478/12 February/March 2026 · Question 7(c)(ii) · 3 marks

The computer and printer agree to use automatic repeat query (ARQ). Explain how ARQ using negative acknowledgement is used to establish that data is received without error.

Points that gain marks

  • The receiver checks the data for errors (for example with a parity check).
  • If there is an error, the receiver sends a negative acknowledgement to the sender.
  • If the sender gets a negative acknowledgement, it sends the data again.
  • If no negative acknowledgement arrives before the timeout, the data is taken to have arrived safely.

In this lab: Level 'ARQ: ask again'.

0478/12 February/March 2026 · Question 9(a) · 3 marks

A bar code includes a check digit. Explain how the check digit is used to check for errors in data entry.

Points that gain marks

  • The check digit is calculated from the other digits, using an algorithm, and input with the data.
  • After input, the computer calculates the check digit again with the same algorithm.
  • If the check digits match, the code was input correctly; if not, there is an error.

In this lab: Levels 'A check digit' and 'Spot the typing errors'.

0478/12 February/March 2023 · Question 5(c)(ii)–(iii) · 4 marks

(ii) A parity block check can be used instead of a parity byte check. Explain how a parity block check might detect an error in transmission that would not be detected by a parity byte check. (iii) The data was sent using an even parity block check and one bit was transmitted incorrectly. Identify the bit number and the byte number of the incorrect bit.

Points that gain marks

  • (ii) A parity byte check cannot find an even number of changes in one byte, for example two bits swapped.
  • (ii) A parity block check also checks each column, so it shows the horizontal and vertical position of the changes.
  • (iii) The error is where the failing row and the failing column cross (in the paper: bit 6 of byte 4).

In this lab: Levels 'Be the receiver' and 'A parity block'.

0478/11 May/June 2025 · Question 4(b) · 6 marks

A checksum is used to check the data for errors after transmission. (i) Describe the process of the checksum error detection method. (ii) Identify one other error detection method that checks data after transmission.

Points that gain marks

  • (i) The checksum is calculated from the data, using an algorithm, and transmitted with the data.
  • (i) The receiver calculates the checksum again.
  • (i) If the two values do not match, an error is detected and the data is requested again.
  • (ii) Parity byte or block check // echo check.

In this lab: Level 'A checksum'.

More real experiments

Đăng nhập hoặc tạo tài khoản

IGCSE, A-Level & AP