CS 111 – Sept. 13 Error detection Error correction Review/practice chapter 1 questions Commitment: –Please read sections 2.1 and 2.2.

Slides:



Advertisements
Similar presentations
STATISTIC & INFORMATION THEORY (CSNB134) MODULE 12 ERROR DETECTION & CORRECTION.
Advertisements

Hamming Code.
parity bit is 1: data should have an odd number of 1's
Applied Algorithmics - week7
Ch 2.7 Error Detection & Correction CS-147 Tu Hoang.
The Data Link Layer Chapter 3. Data Link Layer Design Issues Services Provided to the Network Layer Framing Error Control Flow Control.
Chapter 6 Errors, Error Detection, and Error Control.
Error Detection / Correction
CSC 3352 Computer Communications Chapter 3&41 The Link Layer Has 2 main Components The Data Link Layer Medium Access Control (MAC) Examples:SLIP, PPP,
PART III DATA LINK LAYER. Position of the Data-Link Layer.
Unit 1 Protocols Learning Objectives: Understand the need to detect and correct errors in data transmission.
Hamming Code Rachel Ah Chuen. Basic concepts Networks must be able to transfer data from one device to another with complete accuracy. Data can be corrupted.
Error Detection/Correction Section 1.7 Section 3.9 Bonus Material: Hamming Code.
Hamming It Up with Hamming Codes CSE 461 Section Week 3.
RNJ 10/02/091 3 Computing System Fundamentals 3.6 Errors Prevention and Detection.
Binary Numbers and ASCII and EDCDIC Mrs. Cueni. Data Representation  Human speech is analog because it uses continuous signals (waves) that vary in strength.
It is physically impossible for any data recording or transmission medium to be 100% perfect 100% of the time over its entire expected useful life. As.
Morgan Kaufmann Publishers
Error Detection and Correction
CS151 Introduction to Digital Design
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
CIT 307 Online Data Communications Error Detection Module 11 Kevin Siminski, Instructor.
Practical Session 10 Error Detecting and Correcting Codes.
ECE453 – Introduction to Computer Networks Lecture 4 – Data Link Layer (I)
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
CS 111 – Sept. 1 Intro to data representation Binary numbers –Convert binary  decimal –Convert decimal  binary Text –ASCII and Unicode Commitment: –For.
ERROR DETECTING AND CORRECTING CODES -BY R.W. HAMMING PRESENTED BY- BALAKRISHNA DHARMANA.
Computer Communication & Networks Lecture 10 Datalink Layer: Error Correction Waleed Ejaz
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CS 101 – Nov. 20 Communication, continued (Ch. 15) Cryptography –examples Error detection Local Area Networks –Different ways to hook up machines.
David Wetherall Professor of Computer Science & Engineering Introduction to Computer Networks Error Coding Overview (§3.2)
Data Communications and Networking
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
Computer Architecture Error Correcting Codes Ralph Grishman Oct (Text pp and B-65-67) NYU.
Data Link Layer 1. 2 Single-bit error 3 Multiple-bit error 4.
Error Detecting and Error Correcting Codes
ERROR DETECTION AND CORRECTION Chapter 8 Data Communications & Networking ERROR DETECTION AND CORRECTION Chapter 8 First Semester 2007/2008.
2.8 Error Detection and Correction
Binary Numbers and ASCII and EDCDIC
Computer Architecture and Assembly Language
Data Link Layer Objective: to achieve reliable and efficient communication between 2 adjacent machines Data link layer design issues services provided.
ERROR DETECTION AND CORRECTION
Part III. Data Link Layer
ERROR CORRECTING CODES
Character coding schemes
Error Correcting Code.
Where we are in the Course
Advanced Computer Networks
CIS 321 Data Communications & Networking
Chapter 7 Packets, Frames, and Error Detection
Representing characters
Error Detection and Correction
Even/odd parity (1) Computers can sometimes make errors when they transmit data. Even/odd parity: is basic method for detecting if an odd number of bits.

Chapter 3 The Data Link Layer.
Binary Data representation
Fundamentals of Data Representation
Lecture 7 review Consider a link running the Go-Back-N protocol. Suppose the transmission delay and propagation delay are both 1ms, the window size is.
Data Link Layer Objective: to achieve reliable and efficient communication between 2 adjacent machines Data link layer design issues services provided.
DATA COMMUNICATION Lecture-33.
Data Link Layer Objective: to achieve reliable and efficient communication between 2 adjacent machines Data link layer design issues services provided.
LAB 7.
Communicating Efficiently
Reliability and Channel Coding
Computer Architecture and Assembly Language
How to lie and get away with it
Error Detection and Correction
2.8 Error Detection and Correction
Presentation transcript:

CS 111 – Sept. 13 Error detection Error correction Review/practice chapter 1 questions Commitment: –Please read sections 2.1 and 2.2

Transmission errors When you send data over a network, there could be rare random flipping of bits. Error Detection Error Correction One method of detection is using a parity bit –Add 9 th bit to each byte during transmission –Goal is that each byte has even # of 1’s –Receiver checks each byte. –… Catches many but not all errors.

2-d parity The 9 th byte is called a check byte.

Error correction Useful if you think there may be a lot of potential errors, such as a noisy transmission medium. Devise a “code” so that each symbol’s bit pattern is quite distinct from all the others. –In practice, this means longer codes. In other words, the 8-bit ASCII code would not be enough. One technique: Hamming code –Example code p. 71 –Idea for assigning code is Hamming distance: comparing codes, count how many bits differ. –When you receive an erroneous code, see which letter it’s closest to. Then you can make a correction.