SlideShare a Scribd company logo
8
Most read
9
Most read
10
Most read
Computer Science
(A Level)
Error Checking and
Correction
Data can be corrupted at any point either in being processed
or transmission. Therefore, there are methods of detecting
errors in data.
Error Checking and Correction
There are 3 types of methods:
oParity Bit
oMajority Voting
oCheck Bits
A method of checking binary codes by
counting the numbers of 0s and 1s
A bit is added to a block of data for error
detection purposes
(Definitions)
If the data has an error and there is 7 bits (ASCII)
you can use 8th bit to detect and correct error.
Parity Bit
Rules: (even parity)
1. If there is an odd number of 1’s, then the
parity bit (8th bit) is 1 to make it even.
2. If there is an even number of 1’s, then
the parity bit (8th bit) is 0 to make/keep it
even.
(Even) Parity Bit
1.1011010 = 10110100
2.1110111 = 11101110
3.1001001 = 10010011
4.0010000 = 00100001
5.1010101 = 10101010
Examples of using Parity bit checker
Parity Bit
Disadvantages
• Cannot detect all errors
• Only detect an odd number of errors
• Parity bit might change
• Increases transmission length
• Doesn’t show where the error is, it just says
that an error has occurred
Each bit is transmitted 3 times to
make it easier to detect errors (for
computers)
(Definitions)
Unlike parity bit, majority voting is able to repair errors.
Majority Voting
Rules:
1. Each bit is transmitted 3 times
2. If a set of 3 (1 bit) doesn’t have the same
three values, majority voting will show and fix
errors.
e.g. 010 – ‘1’ is the error therefore
the transmission should be 000
according to a majority vote
Majority Voting
Original binary 8 bit code  11001010
Transmission (with errors)
101,111,001,010,110,100,011,001
Correction  111,111,000,000,111,000,111,000
Original code executed  11001010
Example of using Majority Voting
Majority Voting
Disadvantages
• If there is more than one error in one bit, it
will not be detected and the computer will
correct it incorrectly assuming that it is right.
• The transmission is 3 times longer than what
you want to send
• Increased processing time
A digit is added to the end of the
binary data to check if the data is
accurate
(Definitions)
Usually, the modulo-11 is used to find the check digit.
Check Digit
Rules (Modulo-11):
Example : 23045
Number 2 3 0 4 5
Weighting 6 5 4 3 2
1) The weighting always
starts from 2 from the right
hand side. Place the numbers
in this form/ position
2) Multiply
Number by each
weighting
number
Result 12 15 0 12 10
3) Add up results Total = 49
4) Total divided
by 11
49 / 11 = 4 rem. 5
5) Subtract
remainder
from 11
11 – 5 = 6 Check Digit
(put this digit
on the end of
the number)
1) 73409
Another Check Digit Example
Number 7 3 4 0 9
Weighting 6 5 4 3 2
Result 42 15 16 0 18
Total = 91
91 / 11 = 8 Rem. 3
11 – 3 = 8
Check
Digit

More Related Content

PPTX
Chapter 10
PPT
Even odd parity
PPTX
The Maximum Subarray Problem
PPTX
Computer Network - Network Layer
PPTX
Parity Generator and Parity Checker
PPTX
Mesh Topology
PDF
IEEE standards 802.3.&802.11
PPTX
Error Detection N Correction
Chapter 10
Even odd parity
The Maximum Subarray Problem
Computer Network - Network Layer
Parity Generator and Parity Checker
Mesh Topology
IEEE standards 802.3.&802.11
Error Detection N Correction

What's hot (20)

PPSX
Multiple access control protocol
PPT
Operating System Concepts - Ch05
PPTX
Modified booth's algorithm Part 2
PPTX
INTRODUCTION TO WIRELESS NETWORKING
PPT
Error Detection And Correction
PPT
Adc dac converter
PPTX
Turbo equalization
PDF
Scalability in wireless sensor networks
DOCX
16 x 16 banyan switch
PPTX
Channel Capacity and transmission media
PPTX
Frame relay
PPTX
Media Access Control
PDF
Computer Network-Data Link Layer-Module-2.pdf
PPTX
Convolution codes and turbo codes
PPTX
Modified booths algorithm part 1
PPTX
Network delay
PPTX
TCP and UDP
PDF
GPON-Doctor TR-156 Monitoring Features
PDF
recursion tree method.pdf
PPTX
Point to-point protocol (ppp)
Multiple access control protocol
Operating System Concepts - Ch05
Modified booth's algorithm Part 2
INTRODUCTION TO WIRELESS NETWORKING
Error Detection And Correction
Adc dac converter
Turbo equalization
Scalability in wireless sensor networks
16 x 16 banyan switch
Channel Capacity and transmission media
Frame relay
Media Access Control
Computer Network-Data Link Layer-Module-2.pdf
Convolution codes and turbo codes
Modified booths algorithm part 1
Network delay
TCP and UDP
GPON-Doctor TR-156 Monitoring Features
recursion tree method.pdf
Point to-point protocol (ppp)
Ad

Viewers also liked (20)

PPTX
Programming Languages / Translators
PPTX
Parity bits
PPTX
Parity check(Error Detecting Codes)
PPTX
High Level Languages (Imperative, Object Orientated, Declarative)
PPTX
Classification of Programming Languages
PPT
Error control, parity check, check sum, vrc
PPTX
Data Compression (Lossy and Lossless)
PPTX
Computer Networks - Error Detection & Error Correction
PPTX
Parity bits
PPT
Ddr presentation
PPTX
PDF
Single-Bit Parity Detection and Correction using Hamming Code 7-Bit Model
PPTX
Universal Gates - Aneesa N Ali
PDF
Si design guideforddr2-ddr3pcb_eng1
PDF
system on chip for telecommand system design
PPT
On kolontai winged eros ......for class
PPT
Lecture 20
PPTX
Hexadecimal (Calculations and Explanations)
PPT
Error Correction And Hamming Code Ibrar
Programming Languages / Translators
Parity bits
Parity check(Error Detecting Codes)
High Level Languages (Imperative, Object Orientated, Declarative)
Classification of Programming Languages
Error control, parity check, check sum, vrc
Data Compression (Lossy and Lossless)
Computer Networks - Error Detection & Error Correction
Parity bits
Ddr presentation
Single-Bit Parity Detection and Correction using Hamming Code 7-Bit Model
Universal Gates - Aneesa N Ali
Si design guideforddr2-ddr3pcb_eng1
system on chip for telecommand system design
On kolontai winged eros ......for class
Lecture 20
Hexadecimal (Calculations and Explanations)
Error Correction And Hamming Code Ibrar
Ad

Similar to Error Checking and Correction (Parity Bit, Majority Voting, Check Digit) (20)

PPTX
Communication & Internet Technologies PPT 2.pptx
PPT
Error detection and correction codes
PPTX
Lecture7.pptxhfjgjgjghcgzgzfzfzvzgxhchchc
PDF
IRJET- Resolve Error with Detection & Correction Techniques in Computer Networks
DOCX
Error dectation and correction
PPTX
Error detection and correction of computer network
DOCX
Calculating the hamming code (tutorial)
PDF
Lecture set 3
PPTX
ERROR_DETECTION.pptx
PPT
Error correction and detection th
PPT
3288940.ppt
PPTX
Computer_Communication_Networking_L07Data_Link_Error_control.pptx
PPTX
Error Detection and Correction presentation
DOCX
Calculating the hamming code
PPTX
Error detection and Correction
PPT
Error detection and correction codes r006
PPT
Information Processes and Technology HSC Communications Unit
PPTX
PPTX
docker docker docker docker docker docker docker docker docker docker docker ...
PDF
4 implementation of various error detection and correction techniques in c...
Communication & Internet Technologies PPT 2.pptx
Error detection and correction codes
Lecture7.pptxhfjgjgjghcgzgzfzfzvzgxhchchc
IRJET- Resolve Error with Detection & Correction Techniques in Computer Networks
Error dectation and correction
Error detection and correction of computer network
Calculating the hamming code (tutorial)
Lecture set 3
ERROR_DETECTION.pptx
Error correction and detection th
3288940.ppt
Computer_Communication_Networking_L07Data_Link_Error_control.pptx
Error Detection and Correction presentation
Calculating the hamming code
Error detection and Correction
Error detection and correction codes r006
Information Processes and Technology HSC Communications Unit
docker docker docker docker docker docker docker docker docker docker docker ...
4 implementation of various error detection and correction techniques in c...

More from Project Student (16)

PPTX
Appraisal (Self Assessment, Peer Assessment, 360 Degree Feedback)
PPTX
Motivation Theories (Maslow's Hierarchy of Needs, Taylor's Scientific Managem...
PPTX
Operating System (Scheduling, Input and Output Management, Memory Management,...
PPTX
Human Resources (HRM, Soft and Hard HRM)
PPTX
Product Life Cycle (Stages and Extension Strategies)
PPTX
Product (Product Portfolio, Branding, USP, Product Depth and Breadth, Product...
PPTX
Training Methods (On-The-Job, Off-The-Job, Retraining and Apprenticeships)
PPTX
Price (Market-Orientated and Cost-Based Pricing)
PPTX
Changes in working practices
PPTX
Ascii and Unicode (Character Codes)
PPTX
Workforce Planning (Process, Labour Shortage, Excess Labour)
PPTX
Harvard vs Von Neumann Architecture
PPTX
Assembly and Machine Code
PPTX
Software (Application and System Software)
PPTX
Hardware and Software
PPTX
Enterprise (Entrepreneur, Innovation, Business Sectors, SMEs)
Appraisal (Self Assessment, Peer Assessment, 360 Degree Feedback)
Motivation Theories (Maslow's Hierarchy of Needs, Taylor's Scientific Managem...
Operating System (Scheduling, Input and Output Management, Memory Management,...
Human Resources (HRM, Soft and Hard HRM)
Product Life Cycle (Stages and Extension Strategies)
Product (Product Portfolio, Branding, USP, Product Depth and Breadth, Product...
Training Methods (On-The-Job, Off-The-Job, Retraining and Apprenticeships)
Price (Market-Orientated and Cost-Based Pricing)
Changes in working practices
Ascii and Unicode (Character Codes)
Workforce Planning (Process, Labour Shortage, Excess Labour)
Harvard vs Von Neumann Architecture
Assembly and Machine Code
Software (Application and System Software)
Hardware and Software
Enterprise (Entrepreneur, Innovation, Business Sectors, SMEs)

Recently uploaded (20)

PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPT
Teaching material agriculture food technology
PDF
Encapsulation theory and applications.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Cloud computing and distributed systems.
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Spectroscopy.pptx food analysis technology
PDF
Empathic Computing: Creating Shared Understanding
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Electronic commerce courselecture one. Pdf
Advanced methodologies resolving dimensionality complications for autism neur...
20250228 LYD VKU AI Blended-Learning.pptx
Teaching material agriculture food technology
Encapsulation theory and applications.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Programs and apps: productivity, graphics, security and other tools
Review of recent advances in non-invasive hemoglobin estimation
Cloud computing and distributed systems.
The AUB Centre for AI in Media Proposal.docx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Spectroscopy.pptx food analysis technology
Empathic Computing: Creating Shared Understanding
MYSQL Presentation for SQL database connectivity
Understanding_Digital_Forensics_Presentation.pptx
Electronic commerce courselecture one. Pdf

Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)

  • 1. Computer Science (A Level) Error Checking and Correction
  • 2. Data can be corrupted at any point either in being processed or transmission. Therefore, there are methods of detecting errors in data. Error Checking and Correction There are 3 types of methods: oParity Bit oMajority Voting oCheck Bits
  • 3. A method of checking binary codes by counting the numbers of 0s and 1s A bit is added to a block of data for error detection purposes (Definitions)
  • 4. If the data has an error and there is 7 bits (ASCII) you can use 8th bit to detect and correct error. Parity Bit Rules: (even parity) 1. If there is an odd number of 1’s, then the parity bit (8th bit) is 1 to make it even. 2. If there is an even number of 1’s, then the parity bit (8th bit) is 0 to make/keep it even.
  • 5. (Even) Parity Bit 1.1011010 = 10110100 2.1110111 = 11101110 3.1001001 = 10010011 4.0010000 = 00100001 5.1010101 = 10101010 Examples of using Parity bit checker
  • 6. Parity Bit Disadvantages • Cannot detect all errors • Only detect an odd number of errors • Parity bit might change • Increases transmission length • Doesn’t show where the error is, it just says that an error has occurred
  • 7. Each bit is transmitted 3 times to make it easier to detect errors (for computers) (Definitions)
  • 8. Unlike parity bit, majority voting is able to repair errors. Majority Voting Rules: 1. Each bit is transmitted 3 times 2. If a set of 3 (1 bit) doesn’t have the same three values, majority voting will show and fix errors. e.g. 010 – ‘1’ is the error therefore the transmission should be 000 according to a majority vote
  • 9. Majority Voting Original binary 8 bit code  11001010 Transmission (with errors) 101,111,001,010,110,100,011,001 Correction  111,111,000,000,111,000,111,000 Original code executed  11001010 Example of using Majority Voting
  • 10. Majority Voting Disadvantages • If there is more than one error in one bit, it will not be detected and the computer will correct it incorrectly assuming that it is right. • The transmission is 3 times longer than what you want to send • Increased processing time
  • 11. A digit is added to the end of the binary data to check if the data is accurate (Definitions)
  • 12. Usually, the modulo-11 is used to find the check digit. Check Digit Rules (Modulo-11): Example : 23045 Number 2 3 0 4 5 Weighting 6 5 4 3 2 1) The weighting always starts from 2 from the right hand side. Place the numbers in this form/ position 2) Multiply Number by each weighting number Result 12 15 0 12 10 3) Add up results Total = 49 4) Total divided by 11 49 / 11 = 4 rem. 5 5) Subtract remainder from 11 11 – 5 = 6 Check Digit (put this digit on the end of the number)
  • 13. 1) 73409 Another Check Digit Example Number 7 3 4 0 9 Weighting 6 5 4 3 2 Result 42 15 16 0 18 Total = 91 91 / 11 = 8 Rem. 3 11 – 3 = 8 Check Digit