Error detection
도입됨
10:32
데이터 전송
전 세계 다른편에 있는 친구에게 사진을 보내는 것 같습니다. 그것은 한 덩어리로 이동하지 않습니다. 수백 개의 작은 패킷으로 잘려져 있으며, 각각…이라는 라벨이 붙어 있습니다.
영어 내레이션 · 영어와 중국어 자막 전환 가능
이 수업의 내용
| English | 의미 |
|---|---|
| interference/ˌɪntəˈfɪərəns/ | 간섭 |
| bits/bɪts/ | A binary digit, taking the value zero or one. |
| receiver/rɪˈsiːvə/ | |
| check digit/tʃek ˈdɪdʒɪt/ | 검증 digit |
| parity check/ˈpærɪti tʃek/ | 이진 parity check |
| parity bit/ˈpærɪti bɪt/ | 이진 parity bit |
| byte/baɪt/ | A group of eight bits, commonly used as a unit of data storage. |
| Even parity | The total number of 1s must be even. |
| odd parity | |
| checksum/ˈtʃeksəm/ | 체크섬 |
| echo check/ˈekəʊ tʃek/ | 에코 체크 |
| ARQ | Acknowledgements + timeout resend. |
| acknowledgement/əkˈnɒlɪdʒmənt/ | 확인 |
| timeout/ˈtaɪmaʊt/ | 타임아웃 |
| packet/ˈpækɪt/ | Units of data sent through a network, containing payload and control information such as addressing details. |
| barcodes/ˈbɑːkəʊdz/ | Machine-readable arrangements of bars and spaces that encode identifiers or other data. |
| ISBNs | |
| transposition/trænspəˈzɪʃn/ | 전위 |
| phonetic errors |
오류 검사
- 데이터가 전송되는 동안 간섭(interference) 으로 인해 데이터가 변경될 수 있습니다 — 비트가 분실되거나 추가되거나 반전될 수 있음.
- 따라서 수신자가 데이터가 올바르게 도착했는지 확인(checks) 합니다.
- Several methods do this, plus a check digit for typed-in numbers.
컴퓨팅 개념 실험실
Classify concrete examples by the computing idea they demonstrate.
패리티 체크
- 패리티 체크(parity check) 는 각 바이트에 패리티 비트 하나를 추가합니다.
- 이벤 패리티(even parity) : 1의 총 개수가 짝수여야 함; 오드 패리티(odd parity) : 홀수여야 함.
- 수신자가 1의 개수를 세우며, 패리티가 맞지 않으면 오류가 발생했습니다.
- 모든 오류를 검출할 수는 없습니다 — 두 비트가 반전되면 개수는 여전히 올바르게 보일 수 있습니다.

USB 커넥터 모양 몇 가지. 모두 동일한 USB 표준을 사용하므로 장치가 자동으로 감지됩니다.

In an even-parity system, the parity bit is set so that:
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
Even parity makes the count of 1s even; the receiver re-counts to detect a single-bit error.
A parity check catches a single flipped bit, but if TWO bits flip the 1-count's parity can still look correct, hiding the error.
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
That blind spot is why stronger checks (checksums, CRC) are used when reliability really matters.
체크섬, 에코 체크 및 ARQ
- 체크섬(checksum) — 전송 전 데이터로부터 계산된 값; 수신자가 다시 계산하여 비교합니다. 불일치 발생 → 재전송.
- 에코 체크(echo check) — 수신자가 데이터를 다시 보내며, 송신자가 이를 원본과 비교합니다 (느림 — 데이터가 두 번 전송됨).
- ARQ(자동 재전송 요청) — 수신기는 양/음성 확인을 보냅니다. 타임아웃 전에 양의 확인이 도착하지 않으면, 송신기가 다시 전송합니다.

직렬은 한 번에 한 비트를 한 개의 선으로 전송하고; 병렬은 한 번에 여러 비트를 여러 개의 선으로 전송합니다.

A checksum detects errors by:
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
The receiver recomputes the checksum; if it differs from the sent one, the data is resent.
In ARQ, the sender resends a packet when:
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
ARQ uses acknowledgements and a timeout timer; no positive ack in time → resend.
체크 디지트
- **검증 숫자(check digit)**는 번호 끝부분에 있는 추가 숫자로, 나머지 숫자를 바탕으로 계산되며, **타입되어 입력되는 numbers(barcode, ISBNs)**에 사용됩니다.
- 입력될 때 다시 계산되어 비교됩니다.
- 잘못된 디지트, 자리바꿈(두 숫자의 위치가 바뀜, 예: 21→12), 누락되거나 추가된 디지트, 그리고 발음 오류를 포착합니다.

1의 개수가 짝수(또는 홀수)가 되도록 패리티 비트를 추가합니다
Match each error-detection method to how it works.
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
Parity and checksums detect errors in transit; a check digit guards typed-in numbers; ARQ triggers the resend.
*even-parity bit(짝수 패리티 비트)는 1의 개수를 수로 유지합니다. 전송 중 단일 비트가 반전되면 재계산 시 홀수가 되어 오류를 감지할 수 있습니다.
With odd parity, which parity bit is added to the 7 data bits 1100101?
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
There are four 1s; a parity bit of 1 makes five, which is odd.
In an echo check, the receiver sends the data back and the sender compares it with the original.
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
The sender does the comparison; if the copies differ, the data is sent again.
이해했습니다
- 패리티 체크 = 패리티 비트를 통한 1의 개수의 짝/홀 수; 일부 2비트 오류는 놓칠 수 있습니다.
- 체크섬 = 다시 계산하여 비교함; 에코 체크 = 데이터를 다시 보내기
- ARQ = 확인 + 타임아웃 재전송
- 체크 디지트는 바코드/ISBN의 타이핑 실수(잘못된 디지트, 자리바꿈)를 포착합니다.
어떤 문제가 있었나요? 사이트 팀만 이 내용을 볼 수 있습니다.