Error Detection Learning Objectives:

Slides:



Advertisements
Similar presentations
DIGITAL COMMUNICATION Packet error detection (CRC) November 2011 A.J. Han Vinck.
Advertisements

Applied Algorithmics - week7
Lecture 12 Layer 2 – Data Link Layer Protocols
Introduction to Information Technologies
Chapter 6 Errors, Error Detection, and Error Control
Chapter 6 Errors, Error Detection, and Error Control.
Networks Workbook.
Data Link Layer – Part 1 V.T.Raja Oregon State University.
PART III DATA LINK LAYER. Position of the Data-Link Layer.
CS335 Networking & Network Administration Wednesday, April 7 PacketsPackets, Frames, and Error DetectionFramesError Detection.
Chapter 6: Errors, Error Detection, and Error Control
Practical Session 11 Codes. Hamming Distance General case: The distance between two code words is the amount of 1-bit changes required to reach from one.
Data Communications Chapter 7 Error Detection. Despite the best prevention techniques, errors may still happen. To detect an error, something extra has.
Chapter 6 Errors, Error Detection, and Error Control
7/2/2015Errors1 Transmission errors are a way of life. In the digital world an error means that a bit value is flipped. An error can be isolated to a single.
Unit 1 Protocols Learning Objectives: Understand the need to detect and correct errors in data transmission.
Synchronous - Asynchronous Data Transmission. Asynchronous ► The sender and receiver are not Synchronised. ► The sender sends only one character at a.
Error Detection and Correction.  Corrupted files  Attachments that won’t open  Files that won’t download  Videos that won’t play Errors occur when.
Rutvi Shah1 ERROR CORRECTION & ERROR DETECTION Rutvi Shah2 Data can be corrupted during transmission. For reliable communication, errors must be detected.
Shashank Srivastava Motilal Nehru National Institute Of Technology, Allahabad Error Detection and Correction : Data Link Layer.
Networks Workbook.
Error Detection and Correction
PART III DATA LINK LAYER. Position of the Data-Link Layer.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
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.
Data and Computer Communications by William Stallings Eighth Edition Digital Data Communications Techniques Digital Data Communications Techniques Click.
Practical Session 10 Error Detecting and Correcting Codes.
Unit 5 Lecture 2 Error Control Error Detection & Error Correction.
COSC 3213: Computer Networks I Instructor: Dr. Amir Asif Department of Computer Science York University Section M Topics: 1. Error Detection Techniques:
Errors, Error Detection, and Error Control
AS Computing Data Transmission and Networks. Transmission error Detecting errors in data transmission is very important for data integrity. There are.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
1 Chapter Six - Errors, Error Detection, and Error Control Chapter Six.
Communication Systems 3.1) Characteristics of a Communication System.
Data Communications & Computer Networks, Second Edition1 Chapter 6 Errors, Error Detection, and Error Control.
Chapter 6: Errors, Error Detection, and Error Control Data Communications and Computer Networks: A Business User’s Approach Third Edition.
Overview All data can be corrupted, for reliable communications we must be able to detect and correct errors implemented at the data link and transport.
1 © Unitec New Zealand CRC calculation and Hammings code.
Error Detection.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
ERROR DETECTION AND CORRECTION Chapter 8 Data Communications & Networking ERROR DETECTION AND CORRECTION Chapter 8 First Semester 2007/2008.
Data Transmission and Networks Transmission error checking & correcting.
Dr. Clincy Professor of CS
Simple Parity Check The simplest form of error detection is the parity check used with ASCII codes, originally on asynchronous modem links Each 7 bit ASCII.
Introduction to Information Technologies
ERROR DETECTION AND CORRECTION
Cyclic Redundancy Check (CRC)
ERROR CORRECTING CODES
Error Correcting Code.
CIS 321 Data Communications & Networking
OCR AS Level F451: Data transmission
Representing characters
Part III Datalink Layer 10.
Error Detection Bit Error Rate(BER): It is the ratio of number Ne of errors appearing over a certain time interval t to the number Nt of 1 and 0 pulses.

Dhanushiya. R I YEAR BSc COMPUTER TECHNOLOGY.  Error is a condition when the output information does not match with the input information. During transmission,
Packetizing Error Detection
Packetizing Error Detection
Chapter 9 Error Detection and Correction
Dr. Clincy Professor of CS
Introduction to Information Technologies

Packetizing Error Detection
DATA COMMUNICATION Lecture-33.
Chapter 9 Error Detection and Correction
CS 325: CS Hardware and Software Organization and Architecture
Reliability and Channel Coding
Error Detection and Correction
Presentation transcript:

Error Detection Learning Objectives: 5.1.7 Understand the need to detect and correct errors in data transmission

Error Detection Errors can occur whenever information is stored or transmitted. Error detection techniques add extra parity bits to data to determine when errors have occurred. This activity uses a magic trick to show how to detect when data has been corrupted, and how to correct it. Click on the image to load the interactive grid. 1. Choose a child to click on the square, so a random mixture of black and white is showing. Casually click on the add another row/column button, “just to make it a bit harder”. These squares are the key to the trick. You must choose the extra square to ensure that there is an even number of black cards in each row and column. 2. Get a child to change one square only while you cover your eyes. The row and column containing the changed card will now have an odd number of coloured cards, and this will identify the changed card. Can the children guess how the trick is done? Get the students to try the trick for themselves in groups, talk them through setting up the grid. These videos show the trick in action: https://www.youtube.com/watch?v=voqghyZbZxo https://www.youtube.com/watch?v=gBPZOpT4DPU

A match means that no transmission error has been detected. Checksums A checksum is an algorithm used to check for errors in data transmission. It works by calculating a numerical value based on the number of bits in a packet of data. This value is attached to the packet. When the packet reaches its destination, the same checksum algorithm is applied to the data. If the two checksums don’t match it shows that an error has occurred and the receiving computer asks the sending computer to re-send that package. A match means that no transmission error has been detected. Now complete task 7.1.

Parity Checking Parity checking is a simple form of error detection. A parity bit is added to the end of a string of binary code to indicate whether the number of bits in the string with the value 1 is even or odd. There are two type of parity bits: Even Parity Odd Parity Where the bit is set to 1 if the number of bits is odd. The extra parity bit will make the number of 1s even. Where the parity bit is set to 1 if the number of bits is even. The extra parity bit will make the number of 1s odd. There are other more sophisticated methods of detecting errors, such as cyclic redundancy checks (CRC). Now complete task 7.2.

Work through these examples as a class. Data being transmitted Number of 1s Even parity Odd parity 0101010 3 01010101 01010100 0001111 4 00011110 1000001 2 Now complete tasks 7.3 to 7.5.