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.
בדיקת זוגיות
- בדיקת זוגיות מוסיפה ביט זוגיות אחד לכל ביית.
- זוגיות זוגית: סך הכול של ה-1s חייב להיות זוגי; זוגיות אי-זוגית: חייב להיות אי-זוגי.
- המקבל סופר את ה-1s; אם הזוגיות שגויה, התרחשה שגיאה.
- היא לא תופסת כל שגיאה — אם שני ביטים משתנים, הספרייה עשויה להיראות נכונה.

מספר צורות מחברי 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
- סיכום בדיקה — ערך המחושב מהנתונים לפני השליחה; המק recalculates אותו ומשווה. חוסר התאמה → sending חידוש.
- בדיקת הדה — המק sends את הנתונים בחזרה; המק sender משווה אותם עם המק original (איטי — data sent twice).
- ARQ (Automatic Repeat reQuest) — המק sends positive/negative acknowledgement; אם no positive one arrives before a timeout, the sender resends.

העברת סדרתית שולחת ביט אחד בכל פעם לאורך כבל אחד; העברת מקבילה שולחת מספר ביטים בו-זמנית לאורך מספר כבלים.

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.
ספרת בדיקה
- ספרת בדיקה היא ספרה נוספת בסוף של מספר, worked out from the others — used for numbers that are typed in (barcodes, ISBNs).
- When entered, it is recalculated and compared.
- היא מזהה דיסקית שגויה, החלפה (שתי דיסקיות הוחלפו, 21→12), דיסקית חסרה או עודפת, ושגיאות פונטיות.

ביט זוגיות נוסף כדי שהמספר של 1s יהיה זוגי (או אי-זוגי)
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.
הבנתך מושלמת
- בדיקת זוגיות = ספירה זוגית/אי-זוגית של 1s באמצעות ביט זוגיות; משמעת חלק מהשגיאות 2-bit
- צ'קסום = חישוב מחדש והשוואה; בדיקת הדמה = שליחת הנתונים חזרה.
- ARQ = אישורים + חלון זמן להעברה מחדש.
- ספרת ביקורת מזהה טעיינות הקלדה (ספרה שגויה, החלפת סדר ספרות) ברקודים/מספרי ISBN.
מה השתבש? רק צוות האתר רואה זאת.