SlideShare a Scribd company logo
1 of 6
Download to read offline
CHECKSUM (Error Detection Method)
Original Data (n = 32) β†’ 10011001 11100010 00100100 10000100
K = 4
M = n/k = 8
Transmitter:
10011001
11100010
101111011
1
01111100 β†’ Result 1
00100100
10100000 β†’ Result 2
10000100
100100100
1
00100101 β†’ Result 3 (Final Addition)
11011010 (1’s Complement of Final Result, called Checksum)
Checksum β†’ 11011010
New Transmitted Data β†’
10011001 11100010 00100100 10000100 11011010
Receiver:
10011001
11100010
101111011
1
01111100 β†’ Result 1
00100100
10100000 β†’ Result 2
10000100
100100100
1
00100101 β†’ Result 3
11011010
11111111 β†’ Result 4
00000000 β†’ 1’s Complement
If 1’s complement is all zeros, then received data is true
Q. If received data is 10011001 11100010 00100100 10000100 01011010
Now, check weather the data is right or wrong
Q. If the original data is 11000110 00110011 10101010 11110000, so what
the resultant transmitted data you will form by using checksum.
(Homework Part)
Error Correction Method:
Hamming Code Method
Original Data (n)
No of Parity Bit (k)
Total length of transmitted data (l = n+k)
To calculate the value of k
2k
>= k+n+1 (we will take the minimum possible value for k)
n = 4,
2k
>= k+4+1
2k
-k >= 5
K = 0
Not satisfy the eqn
K = 1
K = 2
K = 3, satisfying the eqn
N = 4,
K= 3,
L = 7
Ex:
1010 (n = 4)
Positions of k = 2k
; {k = 0, 1……. (k-1)}
Positions of k = 1, 2, 4
Total length of data = l = n+k
1 2 3 4 5 6 7
P1 P2 n1 P3 n2 n3 n4
P1 P2 1 P3 0 1 0
We have to find the value of P1, P2 & P3
Octal Number System (0 to 7)
c3c2c1
ABC β†’ No
000 β†’ 0 (Homework Part)
001 β†’ 1
010 2
011 3
100 4
101 5
110 6
111 7
p1 -β†’ c1 {1, 3, 5, 7}
p2 -> c2 {2, 3, 6, 7}
p3 β†’ c3 {4, 5, 6, 7}
1 2 3 4 5 6 7
P1 P2 1 P3 0 1 0
1 0 1 1 0 1 0 Transmitted Data (Even)
0 1 1 0 0 1 0 Transmitted Data (Odd)
Data (1010) Hamming Code (1011010) using even parity
Data (1010) Hamming Code (0110010) using odd parity
Even Parity Odd Parity Methods
P1 { - 1 0 0} { 1 1 0 0 } { 0 1 0 0 }
P2 { - 1 1 0} { 0 1 1 0 } { 1 1 1 0 }
P3 { - 0 1 0} { 1 0 1 0 } { 0 0 1 0 }
Ex:
Received Data is: 1111010, on even parity
1 2 3 4 5 6 7
1 1 1 1 0 1 0
P1 P2 n1 P3 n2 n3 n4
p1 β†’ c1 {1, 3, 5, 7} {1 1 0 0} c1 = 0
p2 -> c2 {2, 3, 6, 7} {1 1 1 0} c2 = 1
p3 β†’ c3 {4, 5, 6, 7} {1 0 1 0} c3 = 0
010 β†’ error position β†’ (2)
Received Data is wrong at 2nd
bit position
Correct Data is: 1011010
Q. If the received data is: 0111010, you have to check on odd parity that
this data is correct or not. If it is wrong then correct it.
1 2 3 4 5 6 7
0 1 1 1 0 1 0
P1 P2 n1 P3 n2 n3 n4
p1 -β†’ c1 {1, 3, 5, 7} {0100} c1 β†’ 0
p2 -> c2 {2, 3, 6, 7} {1110} c2 β†’ 0
p3 β†’ c3 {4, 5, 6, 7} {1010} c3 β†’ 1
100 β†’ 4 (error position)
Correct Data: 0110010
Data (1010) Hamming Code (0110010) using odd parity
Q. Original Data: 1110
Form Hamming Code using Even & Odd Parity Method.
Q. Received Data is: 1100110, check weather this data is correct or not? If
it is wrong, correct it.
Checksum & Hamming Code

More Related Content

What's hot

Integer Representation
Integer RepresentationInteger Representation
Integer Representationgavhays
Β 
SOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSelf-employed
Β 
Hamming codes
Hamming codesHamming codes
Hamming codesGIGI JOSEPH
Β 
Division algorithm
Division algorithmDivision algorithm
Division algorithmSnehalataAgasti
Β 
Chapter 10: Error Correction and Detection
Chapter 10: Error Correction and DetectionChapter 10: Error Correction and Detection
Chapter 10: Error Correction and DetectionJeoffnaRuth
Β 
ADDRESSING MODES
ADDRESSING MODESADDRESSING MODES
ADDRESSING MODESSadaf Rasheed
Β 
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...Madhumita Tamhane
Β 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correctionMaria Akther
Β 
Error Detection and Correction presentation
Error Detection and Correction presentation Error Detection and Correction presentation
Error Detection and Correction presentation Badrul Alam
Β 
Booth’s algorithm.(a014& a015)
Booth’s algorithm.(a014& a015)Booth’s algorithm.(a014& a015)
Booth’s algorithm.(a014& a015)Piyush Rochwani
Β 
Shannon-Fano algorithm
Shannon-Fano algorithmShannon-Fano algorithm
Shannon-Fano algorithmMANISH T I
Β 
Instruction Set Architecture
Instruction Set ArchitectureInstruction Set Architecture
Instruction Set ArchitectureDilum Bandara
Β 
Linear Block Codes
Linear Block CodesLinear Block Codes
Linear Block CodesNilaNila16
Β 
Congestion control
Congestion controlCongestion control
Congestion controlAman Jaiswal
Β 
Presentation1
Presentation1Presentation1
Presentation1tapubhai
Β 
Error detection correction (CRC)
Error detection correction  (CRC)Error detection correction  (CRC)
Error detection correction (CRC)Karam Munir Butt
Β 
Huffman codes
Huffman codesHuffman codes
Huffman codesNargis Ehsan
Β 
Fixed-point arithmetic
Fixed-point arithmeticFixed-point arithmetic
Fixed-point arithmeticDavid BaΕ™ina
Β 

What's hot (20)

Integer Representation
Integer RepresentationInteger Representation
Integer Representation
Β 
SOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSOP POS, Minterm and Maxterm
SOP POS, Minterm and Maxterm
Β 
Hamming codes
Hamming codesHamming codes
Hamming codes
Β 
Division algorithm
Division algorithmDivision algorithm
Division algorithm
Β 
Chapter 10: Error Correction and Detection
Chapter 10: Error Correction and DetectionChapter 10: Error Correction and Detection
Chapter 10: Error Correction and Detection
Β 
Polygon filling
Polygon fillingPolygon filling
Polygon filling
Β 
ADDRESSING MODES
ADDRESSING MODESADDRESSING MODES
ADDRESSING MODES
Β 
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Β 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correction
Β 
Error Detection and Correction presentation
Error Detection and Correction presentation Error Detection and Correction presentation
Error Detection and Correction presentation
Β 
Check sum
Check sumCheck sum
Check sum
Β 
Booth’s algorithm.(a014& a015)
Booth’s algorithm.(a014& a015)Booth’s algorithm.(a014& a015)
Booth’s algorithm.(a014& a015)
Β 
Shannon-Fano algorithm
Shannon-Fano algorithmShannon-Fano algorithm
Shannon-Fano algorithm
Β 
Instruction Set Architecture
Instruction Set ArchitectureInstruction Set Architecture
Instruction Set Architecture
Β 
Linear Block Codes
Linear Block CodesLinear Block Codes
Linear Block Codes
Β 
Congestion control
Congestion controlCongestion control
Congestion control
Β 
Presentation1
Presentation1Presentation1
Presentation1
Β 
Error detection correction (CRC)
Error detection correction  (CRC)Error detection correction  (CRC)
Error detection correction (CRC)
Β 
Huffman codes
Huffman codesHuffman codes
Huffman codes
Β 
Fixed-point arithmetic
Fixed-point arithmeticFixed-point arithmetic
Fixed-point arithmetic
Β 

Similar to Checksum & Hamming Code

DIGITAL ELECTRONICS.pptx
DIGITAL ELECTRONICS.pptxDIGITAL ELECTRONICS.pptx
DIGITAL ELECTRONICS.pptxKSatyanarayanaRaju
Β 
Digital Electronics and Computer Language
Digital Electronics and Computer Language Digital Electronics and Computer Language
Digital Electronics and Computer Language Manthan Chavda
Β 
Digital computer fundamentals
Digital computer fundamentalsDigital computer fundamentals
Digital computer fundamentalsvinothinisureshbabu
Β 
Digital Fundamental Learning for the Students
Digital Fundamental Learning for the StudentsDigital Fundamental Learning for the Students
Digital Fundamental Learning for the Studentsshaival
Β 
Lec2 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Num...
Lec2 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Num...Lec2 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Num...
Lec2 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Num...Hsien-Hsin Sean Lee, Ph.D.
Β 
Chapter 6 base_number
Chapter 6 base_numberChapter 6 base_number
Chapter 6 base_numberNazrul Shah
Β 
Errror Detection and Correction
Errror Detection and CorrectionErrror Detection and Correction
Errror Detection and CorrectionMahesh Kumar Attri
Β 
Internal assessment
Internal assessmentInternal assessment
Internal assessmentgokicchi
Β 
Digital_Electronics_Basics.pdf
Digital_Electronics_Basics.pdfDigital_Electronics_Basics.pdf
Digital_Electronics_Basics.pdfrahul143341
Β 
UNIT - I.pptx
UNIT - I.pptxUNIT - I.pptx
UNIT - I.pptxamudhak10
Β 
UNIT - I.pptx
UNIT - I.pptxUNIT - I.pptx
UNIT - I.pptxamudhak10
Β 
Week 5 - Number Systems.pdf
Week 5 - Number Systems.pdfWeek 5 - Number Systems.pdf
Week 5 - Number Systems.pdfHama302631
Β 
Digital electronics
Digital electronicsDigital electronics
Digital electronicsRaviGhael
Β 
ch3a-binary-numbers.ppt
ch3a-binary-numbers.pptch3a-binary-numbers.ppt
ch3a-binary-numbers.pptMUNAZARAZZAQELEA
Β 
B sc3 unit 2 number system
B sc3  unit 2 number systemB sc3  unit 2 number system
B sc3 unit 2 number systemMahiboobAliMulla
Β 
Booth's Multiplication Algorithm.pptx
Booth's Multiplication Algorithm.pptxBooth's Multiplication Algorithm.pptx
Booth's Multiplication Algorithm.pptxSMohiuddin1
Β 
Binary Mathematics Classwork and Hw
Binary Mathematics Classwork and HwBinary Mathematics Classwork and Hw
Binary Mathematics Classwork and HwJoji Thompson
Β 

Similar to Checksum & Hamming Code (20)

DIGITAL ELECTRONICS.pptx
DIGITAL ELECTRONICS.pptxDIGITAL ELECTRONICS.pptx
DIGITAL ELECTRONICS.pptx
Β 
5. Error Coding
5. Error Coding5. Error Coding
5. Error Coding
Β 
Digital Electronics and Computer Language
Digital Electronics and Computer Language Digital Electronics and Computer Language
Digital Electronics and Computer Language
Β 
Digital computer fundamentals
Digital computer fundamentalsDigital computer fundamentals
Digital computer fundamentals
Β 
Digital Fundamental Learning for the Students
Digital Fundamental Learning for the StudentsDigital Fundamental Learning for the Students
Digital Fundamental Learning for the Students
Β 
Lec2 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Num...
Lec2 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Num...Lec2 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Num...
Lec2 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Num...
Β 
Lecture08
Lecture08Lecture08
Lecture08
Β 
Chapter 6 base_number
Chapter 6 base_numberChapter 6 base_number
Chapter 6 base_number
Β 
Errror Detection and Correction
Errror Detection and CorrectionErrror Detection and Correction
Errror Detection and Correction
Β 
Lecture 5
Lecture 5Lecture 5
Lecture 5
Β 
Internal assessment
Internal assessmentInternal assessment
Internal assessment
Β 
Digital_Electronics_Basics.pdf
Digital_Electronics_Basics.pdfDigital_Electronics_Basics.pdf
Digital_Electronics_Basics.pdf
Β 
UNIT - I.pptx
UNIT - I.pptxUNIT - I.pptx
UNIT - I.pptx
Β 
UNIT - I.pptx
UNIT - I.pptxUNIT - I.pptx
UNIT - I.pptx
Β 
Week 5 - Number Systems.pdf
Week 5 - Number Systems.pdfWeek 5 - Number Systems.pdf
Week 5 - Number Systems.pdf
Β 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
Β 
ch3a-binary-numbers.ppt
ch3a-binary-numbers.pptch3a-binary-numbers.ppt
ch3a-binary-numbers.ppt
Β 
B sc3 unit 2 number system
B sc3  unit 2 number systemB sc3  unit 2 number system
B sc3 unit 2 number system
Β 
Booth's Multiplication Algorithm.pptx
Booth's Multiplication Algorithm.pptxBooth's Multiplication Algorithm.pptx
Booth's Multiplication Algorithm.pptx
Β 
Binary Mathematics Classwork and Hw
Binary Mathematics Classwork and HwBinary Mathematics Classwork and Hw
Binary Mathematics Classwork and Hw
Β 

More from Sweta Kumari Barnwal

MODULE-2-Cloud Computing.docx.pdf
MODULE-2-Cloud Computing.docx.pdfMODULE-2-Cloud Computing.docx.pdf
MODULE-2-Cloud Computing.docx.pdfSweta Kumari Barnwal
Β 
Cloud Computing_Module-1.pdf
Cloud Computing_Module-1.pdfCloud Computing_Module-1.pdf
Cloud Computing_Module-1.pdfSweta Kumari Barnwal
Β 
Computer Network-Data Link Layer-Module-2.pdf
Computer Network-Data Link Layer-Module-2.pdfComputer Network-Data Link Layer-Module-2.pdf
Computer Network-Data Link Layer-Module-2.pdfSweta Kumari Barnwal
Β 
Sensors in Different Applications Area.pdf
Sensors in Different Applications Area.pdfSensors in Different Applications Area.pdf
Sensors in Different Applications Area.pdfSweta Kumari Barnwal
Β 
Sensor technology module-3-interface electronic circuits
Sensor technology module-3-interface electronic circuitsSensor technology module-3-interface electronic circuits
Sensor technology module-3-interface electronic circuitsSweta Kumari Barnwal
Β 
Sensors fundamentals and characteristics, physical principle of sensing
Sensors fundamentals and characteristics, physical principle of sensingSensors fundamentals and characteristics, physical principle of sensing
Sensors fundamentals and characteristics, physical principle of sensingSweta Kumari Barnwal
Β 
Operating system and services
Operating system and servicesOperating system and services
Operating system and servicesSweta Kumari Barnwal
Β 
Network Layer & Transport Layer
Network Layer & Transport LayerNetwork Layer & Transport Layer
Network Layer & Transport LayerSweta Kumari Barnwal
Β 
Module 5-cloud computing-SECURITY IN THE CLOUD
Module 5-cloud computing-SECURITY IN THE CLOUDModule 5-cloud computing-SECURITY IN THE CLOUD
Module 5-cloud computing-SECURITY IN THE CLOUDSweta Kumari Barnwal
Β 
Unit ii-hackers and cyber crimes
Unit ii-hackers and cyber crimesUnit ii-hackers and cyber crimes
Unit ii-hackers and cyber crimesSweta Kumari Barnwal
Β 
Virtualization - cloud computing
Virtualization - cloud computingVirtualization - cloud computing
Virtualization - cloud computingSweta Kumari Barnwal
Β 

More from Sweta Kumari Barnwal (20)

UNIT-1 Start Learning R.pdf
UNIT-1 Start Learning R.pdfUNIT-1 Start Learning R.pdf
UNIT-1 Start Learning R.pdf
Β 
MODULE-2-Cloud Computing.docx.pdf
MODULE-2-Cloud Computing.docx.pdfMODULE-2-Cloud Computing.docx.pdf
MODULE-2-Cloud Computing.docx.pdf
Β 
Number System.pdf
Number System.pdfNumber System.pdf
Number System.pdf
Β 
Cloud Computing_Module-1.pdf
Cloud Computing_Module-1.pdfCloud Computing_Module-1.pdf
Cloud Computing_Module-1.pdf
Β 
Computer Network-Data Link Layer-Module-2.pdf
Computer Network-Data Link Layer-Module-2.pdfComputer Network-Data Link Layer-Module-2.pdf
Computer Network-Data Link Layer-Module-2.pdf
Β 
Sensors in Different Applications Area.pdf
Sensors in Different Applications Area.pdfSensors in Different Applications Area.pdf
Sensors in Different Applications Area.pdf
Β 
Sensor technology module-3-interface electronic circuits
Sensor technology module-3-interface electronic circuitsSensor technology module-3-interface electronic circuits
Sensor technology module-3-interface electronic circuits
Β 
Sensors fundamentals and characteristics, physical principle of sensing
Sensors fundamentals and characteristics, physical principle of sensingSensors fundamentals and characteristics, physical principle of sensing
Sensors fundamentals and characteristics, physical principle of sensing
Β 
Logic gates
Logic gatesLogic gates
Logic gates
Β 
Basic computer system
Basic computer systemBasic computer system
Basic computer system
Β 
Features of windows
Features of windowsFeatures of windows
Features of windows
Β 
Operating system and services
Operating system and servicesOperating system and services
Operating system and services
Β 
Introduction to computers
Introduction to computersIntroduction to computers
Introduction to computers
Β 
Application Layer
Application LayerApplication Layer
Application Layer
Β 
Network Layer & Transport Layer
Network Layer & Transport LayerNetwork Layer & Transport Layer
Network Layer & Transport Layer
Β 
Module 5-cloud computing-SECURITY IN THE CLOUD
Module 5-cloud computing-SECURITY IN THE CLOUDModule 5-cloud computing-SECURITY IN THE CLOUD
Module 5-cloud computing-SECURITY IN THE CLOUD
Β 
Module 3-cyber security
Module 3-cyber securityModule 3-cyber security
Module 3-cyber security
Β 
Unit ii-hackers and cyber crimes
Unit ii-hackers and cyber crimesUnit ii-hackers and cyber crimes
Unit ii-hackers and cyber crimes
Β 
Module 3-cloud computing
Module 3-cloud computingModule 3-cloud computing
Module 3-cloud computing
Β 
Virtualization - cloud computing
Virtualization - cloud computingVirtualization - cloud computing
Virtualization - cloud computing
Β 

Recently uploaded

Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
Β 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
Β 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
Β 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
Β 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
Β 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
Β 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
Β 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
Β 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
Β 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
Β 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
Β 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
Β 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
Β 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
Β 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
Β 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
Β 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
Β 

Recently uploaded (20)

Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
Β 
Model Call Girl in Tilak Nagar Delhi reach out to us at πŸ”9953056974πŸ”
Model Call Girl in Tilak Nagar Delhi reach out to us at πŸ”9953056974πŸ”Model Call Girl in Tilak Nagar Delhi reach out to us at πŸ”9953056974πŸ”
Model Call Girl in Tilak Nagar Delhi reach out to us at πŸ”9953056974πŸ”
Β 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
Β 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
Β 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
Β 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
Β 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
Β 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
Β 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
Β 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Β 
Model Call Girl in Bikash Puri Delhi reach out to us at πŸ”9953056974πŸ”
Model Call Girl in Bikash Puri  Delhi reach out to us at πŸ”9953056974πŸ”Model Call Girl in Bikash Puri  Delhi reach out to us at πŸ”9953056974πŸ”
Model Call Girl in Bikash Puri Delhi reach out to us at πŸ”9953056974πŸ”
Β 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
Β 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Β 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
Β 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Β 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
Β 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
Β 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
Β 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
Β 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
Β 

Checksum & Hamming Code

  • 1. CHECKSUM (Error Detection Method) Original Data (n = 32) β†’ 10011001 11100010 00100100 10000100 K = 4 M = n/k = 8 Transmitter: 10011001 11100010 101111011 1 01111100 β†’ Result 1 00100100 10100000 β†’ Result 2 10000100 100100100 1 00100101 β†’ Result 3 (Final Addition) 11011010 (1’s Complement of Final Result, called Checksum) Checksum β†’ 11011010 New Transmitted Data β†’ 10011001 11100010 00100100 10000100 11011010 Receiver: 10011001 11100010 101111011
  • 2. 1 01111100 β†’ Result 1 00100100 10100000 β†’ Result 2 10000100 100100100 1 00100101 β†’ Result 3 11011010 11111111 β†’ Result 4 00000000 β†’ 1’s Complement If 1’s complement is all zeros, then received data is true Q. If received data is 10011001 11100010 00100100 10000100 01011010 Now, check weather the data is right or wrong Q. If the original data is 11000110 00110011 10101010 11110000, so what the resultant transmitted data you will form by using checksum. (Homework Part) Error Correction Method: Hamming Code Method Original Data (n) No of Parity Bit (k) Total length of transmitted data (l = n+k) To calculate the value of k 2k >= k+n+1 (we will take the minimum possible value for k) n = 4,
  • 3. 2k >= k+4+1 2k -k >= 5 K = 0 Not satisfy the eqn K = 1 K = 2 K = 3, satisfying the eqn N = 4, K= 3, L = 7 Ex: 1010 (n = 4) Positions of k = 2k ; {k = 0, 1……. (k-1)} Positions of k = 1, 2, 4 Total length of data = l = n+k 1 2 3 4 5 6 7 P1 P2 n1 P3 n2 n3 n4 P1 P2 1 P3 0 1 0 We have to find the value of P1, P2 & P3 Octal Number System (0 to 7) c3c2c1 ABC β†’ No 000 β†’ 0 (Homework Part) 001 β†’ 1 010 2 011 3
  • 4. 100 4 101 5 110 6 111 7 p1 -β†’ c1 {1, 3, 5, 7} p2 -> c2 {2, 3, 6, 7} p3 β†’ c3 {4, 5, 6, 7} 1 2 3 4 5 6 7 P1 P2 1 P3 0 1 0 1 0 1 1 0 1 0 Transmitted Data (Even) 0 1 1 0 0 1 0 Transmitted Data (Odd) Data (1010) Hamming Code (1011010) using even parity Data (1010) Hamming Code (0110010) using odd parity Even Parity Odd Parity Methods P1 { - 1 0 0} { 1 1 0 0 } { 0 1 0 0 } P2 { - 1 1 0} { 0 1 1 0 } { 1 1 1 0 } P3 { - 0 1 0} { 1 0 1 0 } { 0 0 1 0 } Ex: Received Data is: 1111010, on even parity 1 2 3 4 5 6 7 1 1 1 1 0 1 0 P1 P2 n1 P3 n2 n3 n4 p1 β†’ c1 {1, 3, 5, 7} {1 1 0 0} c1 = 0 p2 -> c2 {2, 3, 6, 7} {1 1 1 0} c2 = 1 p3 β†’ c3 {4, 5, 6, 7} {1 0 1 0} c3 = 0
  • 5. 010 β†’ error position β†’ (2) Received Data is wrong at 2nd bit position Correct Data is: 1011010 Q. If the received data is: 0111010, you have to check on odd parity that this data is correct or not. If it is wrong then correct it. 1 2 3 4 5 6 7 0 1 1 1 0 1 0 P1 P2 n1 P3 n2 n3 n4 p1 -β†’ c1 {1, 3, 5, 7} {0100} c1 β†’ 0 p2 -> c2 {2, 3, 6, 7} {1110} c2 β†’ 0 p3 β†’ c3 {4, 5, 6, 7} {1010} c3 β†’ 1 100 β†’ 4 (error position) Correct Data: 0110010 Data (1010) Hamming Code (0110010) using odd parity Q. Original Data: 1110 Form Hamming Code using Even & Odd Parity Method. Q. Received Data is: 1100110, check weather this data is correct or not? If it is wrong, correct it.