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/ | チェックディジット |
| parity check/ˈpærɪti tʃek/ | パリティチェック |
| parity bit/ˈpærɪti bɪt/ | パリティビット |
| 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 |
エラーチェック
- データが移動中、干渉によってデータが変換されることがある — ビットが消失したり追加されたり、反転したりする。
- そのため、受信者はデータが正しく届いたか確認する。
- これを行うための複数の手法があり、入力した数字に対してはチェックディジットも用いる。
コンピューティング概念ラボ
Classify concrete examples by the computing idea they demonstrate.
パリティチェック
- パリティチェックでは、各バイトに1つのパリティビットを追加する。
- 偶数パリティ:1の総数が偶数である必要があります;奇数パリティ:奇数である必要があります。
- 受信者は1の数を数え、パリティが合わない場合はエラーが発生したことを示す。
- すべてのエラーを検出できるわけではない — 2つのビットが反転した場合、合計は依然として正しいように見えることがある。

いくつかの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
- チェックサム — 送信前にデータから計算される値;受信者はこれを再計算して比較する。不一致がある場合 → 再送信。
- Echo check — the receiver sends the data back; the sender compares it with the original (slow — data sent twice).
- ARQ(自動再送要求)— レシーバーは肯定または否定の応答を送信します。もしタイムアウト前に肯定応答が到着しない場合、送信者はデータを再送信します。

シリアル通信は一度に1ビットを1本のワイヤで送ります;パラレル通信は一度に複数のビットを複数のワイヤで送ります。

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.
チェックディジット
- チェックディジットとは、他の数字から計算される末尾の追加数字であり、入力時の数字(バーコード、ISBNなど)に使用されます。
- 入力された際は再計算され、比較されます。
- 誤った数字、転記ミス(2桁の入れ替え、例: 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.
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の入力ミス(誤った数字、転記ミス)を検出します。
何が問題でしたか?この内容はサイトの運営チームだけが確認します。