SlideShare a Scribd company logo
 The negative number has two representations:
a. complement representation
b. sign magnitude representation
Complement representation:
There are two ways of representing complement
numbers:
a. 1’s Complement
b. 2’s Complement
1’s complement of a binary number is obtained simply
by replacing each 1 by 0 and each 0 by 1. Alternately,
1’s complement of a binary can be obtained by
subtracting each bit from 1.
 Example: Find 1’s complement of (i) 011001 (ii)
00100111
Solution. (i) Replace each 1 by 0 and each 0 by 1
0 1 1 0 0 1
↓ ↓ ↓ ↓ ↓ ↓
1 0 0 1 1 0
So, 1’s complement of 011001 is 100110.
 (ii) Subtract each binary bit from 1.
1 1 1 1 1 1 1 1
–0 0 1 0 0 1 1 1
1 1 0 1 1 0 0 0 ← 1’s complement
one can see that both the method gives same
result.
2’s Complement
2’s complement of a binary number can be obtained
by adding 1 to its 1’s complement.
Example 1. Find 2’s complement of (i) 011001 (ii)
0101100
Solution. (i) 0 1 1 0 0 1 ← Number
1 0 0 1 1 0 ← 1’s complement
+ 1 ← Add 1 to 1’s complement
1 0 0 1 1 1 ← 2’s complement
(ii) 0 1 0 1 1 0 0 ← Number
1 0 1 0 0 1 1 ← 1’s complement
+ 1 ← Add 1 to 1’s complement
1 0 1 0 1 0 0 ← 2’s complement
review of number systems and codes
 Before using any complement method for subtraction
equate the length of both minuendand subtrahend by
introducing leading zeros.
 1’s complement subtraction following are the rules for
subtraction using 1’s complement.
1. Take 1’s complement of subtrahend.
2. Add 1’s complement of subtrahend to minuend.
3. If a carry is produced by addition then add this carry to the
LSB of result. This is called as end around carry (EAC).
4. If carry is generated from MSB in step 2 then result is
positive. If no carry generated result is negative, and is in
1’s complement form.
 Example. Perform following subtraction using
1’s complement.
(i) 7 – 3 (ii) 3 – 7
Solution. (i) 7 – 3:
binary of 7 = (0111)2
binary of 3 = (0011)2
both numbers have equal length.
Step 1. 1’s complement of (0011)2 = (1100)2
review of number systems and codes
review of number systems and codes
review of number systems and codes
review of number systems and codes
review of number systems and codes
review of number systems and codes
review of number systems and codes
review of number systems and codes
review of number systems and codes
review of number systems and codes
In a broad sense we can classify the codes into
five groups:
(i) Weighted Binary codes
(ii) Non-weighted codes
(iii) Error–detecting codes
(iv) Error–correcting codes
(v) Alphanumeric codes.
 In weighted binary codes, each position of a number
represents a specific weight. The bits are multiplied by the
weights indicated; and the sum of these weighted bits gives
the equivalent decimal digit.
(a) Straight Binary coding is a method of representing a
decimal number by its binary equivalent.
 In BCD codes, individual decimal digits are coded in
binary notation and are operated upon singly. Thus
binary codes representing 0 to 9 decimal digits are
allowed. Therefore, all BCD codes have at least
four bits (∵ min. no. of bits required to encode to
decimal digits = 4)
For example, decimal 364 in BCD
3 → 0011
6 → 0110
4 → 0100
364 → 0011 0110 0100
 There are many binary coded decimal codes
(BCD) all of which are used to represent decimal
digits. Therefore, all BCD codes have atleast 4
bits and at least 6 unassigned or unused code
words.
 Some example of BCD codes are:
(a) 8421 BCD code, sometimes referred to as the
Natural Binary Coded Decimal Code (NBCD);
(b)* Excess-3 code (XS3);
(c)** 84 –2 –1 code (+8, +4, –2, –1);
(d) 2 4 2 1 code
review of number systems and codes
Example: Lowest [643]10 into XS3 code
Decimal 6 4 3
Add 3 to each 3 3 3
Sum 9 7 6
Converting the sum into BCD code we have
9 7 6
↓ ↓ ↓
1001 0111 0110
Hence, XS3 for [643]10 = 1001 0111 0110
 The excess 3, 8 4–2–1 and 2421 BCD codes are also known
as self complementing codes.
 Self complementing property– 9’s complement of the
decimal number is easily obtained by changing 1’0 to 0’s
and 0’s to 1’s in corresponding codeword or the 9’s
complement of self complementing code word is the same
as its logical complement.
 Example. The decimal digit 3 in 8.4–2–1 code is coded as
0101. The 9’s complement of 3 is 6. The decimal digit 6 is
coded as 1010 that is 1’s complement of the code for 3. This
is termed as self complementing property.
 These codes are not positionally weighted.
This means that each position within a binary
number is not assigned a fixed value.
 Excess-3 codes
 Gray codes
are examples of nonweighted codes.
Gray code (Unit Distance code or Reflective code)
 There are applications in which it is desirable to represent
numerical as well as other information with a code that
changes in only one bit position from one code word to the
nextadjacent word.
 This class of code is called a unit distance code (UDC).
 These are sometimes also called as ‘cyclic’, ‘reflective’ or
‘gray’ code.
 These codes finds great applications in Boolean function
minimization using Karnaugh map.
review of number systems and codes
 Binary information is transmitted from one device to
another by electric wires or other communication medium.
 A system that can not guarantee that the data received by
one device are identical to the data transmitted by another
device is essentially useless.
 Yet anytime data are transmitted from source to destination,
they can become corrupted in passage. Many factors,
including external noise, may change some of the bits from
0 to 1 or viceversa.
 Reliable systems must have a mechanism for detecting and
correcting such errors.
 In a single bit error, a 0 is changed to a 1 or a 1 is
changed to a 0.
 In a burst error, multiple (two or more) bits are
changed.
 The purpose of error detection code is to detect such bit
reversal errors.
 Error detection uses the concept of redundancy which
means adding extra bits for detecting errors at the
destination.
Four types of redundancy checks are used:
 Parity check or vertial redundancy check(VRC)
 longitudinal redundancy check (LRC)
 cyclic redundancy check (CRC) and
 checksum
 For a single bit error detection, the most common way
to achieve error detection is by means of a parity bit
 A parity bit is an extra bit (redundant bit) included with
a message to make the total number of 1’s transmitted
either odd or even.
 In LRC, a block of bits is organised in rows and columns
(table). For example, a block of 16 bits can be organised in
two rows and eight columns as shown in Fig.
 We then calcualte the parity bit (even parity/odd parity, here
we are using even parity) for each column and create a new
row of 8 bits, which are the parity bits for the whole block.
 CRC is most powerful of the redundancy checking
techniques.Cyclic redundancy check is based on
binary division.
 A sequence of redundant bits called CRC or CRC
remainder is appended to the end of a data unit.
 After adding CRC remainder, the resulting data
unit becomes exactly divisible by another
predetermined binary number.
 At the destination this data unit is divided by the
same binary number. If there is no remainder,
then there is no error.
 The CRC generator and CRC checker are
shown in Fig.(a) and Fig.(b) respectively.
Fig.(a) Fig.(b)
review of number systems and codes
 The mechanism that we have covered upto this
point detect errors but do not correct them. Error
correction can be handled in two ways.
 In one, when an error is encountered the receiver
can request the sender to retransmit entire data
unit.
 In the other, a receiver can use an error correcting
code, which automatically corrects certain errors.

More Related Content

What's hot (20)

PPTX
Instruction format
chauhankapil
 
PPTX
Computer architecture data representation
Anil Pokhrel
 
PPT
digital logic design number system
Nallapati Anindra
 
PDF
ARM CORTEX M3 PPT
Gaurav Verma
 
PPTX
Decoders-Digital Electronics
Paurav Shah
 
PPTX
Addressing modes of 8086
saurav kumar
 
PPTX
Multiplexers
DrSonali Vyas
 
PPS
Computer instructions
Anuj Modi
 
PDF
Binary codes
Revathi Subramaniam
 
PDF
Digital Electronics Question Bank
Mathankumar S
 
PPTX
3.codes( binary code ,excess 3, gray code )
MdFazleRabbi18
 
PPTX
Computer architecture control unit
Mazin Alwaaly
 
PPTX
Digital signal processor architecture
komal mistry
 
PPTX
K map
GaureshMehta
 
PPTX
I/O Ports
Islam Samir
 
PPTX
Latches and flip flops
mubashir farooq
 
PPT
Binary codes
ZareenRauf1
 
PPTX
Types of flip flops ppt
Viraj Shah
 
PPTX
SHIFT REGISTERS
kumari36
 
PPT
8086
Ravi Anand
 
Instruction format
chauhankapil
 
Computer architecture data representation
Anil Pokhrel
 
digital logic design number system
Nallapati Anindra
 
ARM CORTEX M3 PPT
Gaurav Verma
 
Decoders-Digital Electronics
Paurav Shah
 
Addressing modes of 8086
saurav kumar
 
Multiplexers
DrSonali Vyas
 
Computer instructions
Anuj Modi
 
Binary codes
Revathi Subramaniam
 
Digital Electronics Question Bank
Mathankumar S
 
3.codes( binary code ,excess 3, gray code )
MdFazleRabbi18
 
Computer architecture control unit
Mazin Alwaaly
 
Digital signal processor architecture
komal mistry
 
I/O Ports
Islam Samir
 
Latches and flip flops
mubashir farooq
 
Binary codes
ZareenRauf1
 
Types of flip flops ppt
Viraj Shah
 
SHIFT REGISTERS
kumari36
 

Viewers also liked (10)

PPT
Representation of Negative Numbers
Forrester High School
 
PPT
2s complement arithmetic
Sanjay Saluth
 
PPTX
Number system conversion
Kawsar Hamid Sumon
 
PPTX
Introduction number systems and conversion
kanyuma jitjumnong
 
PPTX
Number System
MusPaintal
 
PPSX
Number system
Gagan Deep
 
PPT
Conversion of number system
University of Potsdam
 
PPTX
Number system
Khinda Saab
 
PPTX
Computer number systems
Revi Shahini
 
PPTX
Number System
itutor
 
Representation of Negative Numbers
Forrester High School
 
2s complement arithmetic
Sanjay Saluth
 
Number system conversion
Kawsar Hamid Sumon
 
Introduction number systems and conversion
kanyuma jitjumnong
 
Number System
MusPaintal
 
Number system
Gagan Deep
 
Conversion of number system
University of Potsdam
 
Number system
Khinda Saab
 
Computer number systems
Revi Shahini
 
Number System
itutor
 
Ad

Similar to review of number systems and codes (20)

PPTX
Digital Logic BCA TU Chapter 2.2
ISMT College
 
PDF
Lecture5 Chapter1- Binary Codes.pdf
UmerKhan147799
 
PDF
Binary_Codes.pdfhfkhvfkdhvbhfvfdhfgffhfdhyf
KusumitaSahoo1
 
PPTX
Coding Schemes related dld lecture it is dld
shayan03239
 
PPTX
Chapter 1: Binary System
Er. Nawaraj Bhandari
 
PPTX
Module_3_Codes and Arithmetic operation.pptx
earningmoney9595
 
PPT
Digital fundamendals r001a
arunachalamr16
 
PDF
W3 Chapter 2B Notes CCB1223 Digital Logic.pdf
MOHDZAMRIBINIBRAHIM1
 
PPTX
Unit-1 (DLD) Lecture 2.pptx
BunnyYadav7
 
PPTX
Binary Codes and Number System
Debarati Das
 
PPT
De boolean algebra
VinodKataria5
 
PPTX
micro processor and its architecture unit1.pptx
AjayKumar626901
 
PPTX
Digital computer fundamentals
vinothinisureshbabu
 
PPT
Fundamentals of Electrical and electronic engineering Binary code,grey code,o...
njr200505
 
PPTX
Binary and EC codes
Mahesh Singh Madai
 
PDF
Module 2_Data representations.pdf
Aditya kishore saxena
 
PPT
dld chapter 2 logic gates and logic works affer subtactor
k240538
 
PPTX
PPT_Module_1.pptx
Techie5879
 
PPTX
EC8392 -DIGITAL ELECTRONICS -basics
C.Helen Sulochana
 
Digital Logic BCA TU Chapter 2.2
ISMT College
 
Lecture5 Chapter1- Binary Codes.pdf
UmerKhan147799
 
Binary_Codes.pdfhfkhvfkdhvbhfvfdhfgffhfdhyf
KusumitaSahoo1
 
Coding Schemes related dld lecture it is dld
shayan03239
 
Chapter 1: Binary System
Er. Nawaraj Bhandari
 
Module_3_Codes and Arithmetic operation.pptx
earningmoney9595
 
Digital fundamendals r001a
arunachalamr16
 
W3 Chapter 2B Notes CCB1223 Digital Logic.pdf
MOHDZAMRIBINIBRAHIM1
 
Unit-1 (DLD) Lecture 2.pptx
BunnyYadav7
 
Binary Codes and Number System
Debarati Das
 
De boolean algebra
VinodKataria5
 
micro processor and its architecture unit1.pptx
AjayKumar626901
 
Digital computer fundamentals
vinothinisureshbabu
 
Fundamentals of Electrical and electronic engineering Binary code,grey code,o...
njr200505
 
Binary and EC codes
Mahesh Singh Madai
 
Module 2_Data representations.pdf
Aditya kishore saxena
 
dld chapter 2 logic gates and logic works affer subtactor
k240538
 
PPT_Module_1.pptx
Techie5879
 
EC8392 -DIGITAL ELECTRONICS -basics
C.Helen Sulochana
 
Ad

More from srinu247 (8)

PPTX
Power point presentation on Universal gravitational law for ICSE class IX stu...
srinu247
 
PPTX
Power point presentation on Laws of motion for ICSE class IX students
srinu247
 
PPTX
Power point presentation on Contact and non contact forces for ICSE class VII...
srinu247
 
PPTX
Power Point Presentation on Motion in one dimension for ICSE VIII & IX students
srinu247
 
PPTX
power point presentation on Pascals law and its applications for ICSE class IX
srinu247
 
PPTX
power point presentation on Atmospheric pressure for class IX ICSE students
srinu247
 
PPTX
power point presentation on Pressure in Fluids for ICSE Class IX
srinu247
 
PPTX
power point presentation on Magnetism for ICSE class IX students
srinu247
 
Power point presentation on Universal gravitational law for ICSE class IX stu...
srinu247
 
Power point presentation on Laws of motion for ICSE class IX students
srinu247
 
Power point presentation on Contact and non contact forces for ICSE class VII...
srinu247
 
Power Point Presentation on Motion in one dimension for ICSE VIII & IX students
srinu247
 
power point presentation on Pascals law and its applications for ICSE class IX
srinu247
 
power point presentation on Atmospheric pressure for class IX ICSE students
srinu247
 
power point presentation on Pressure in Fluids for ICSE Class IX
srinu247
 
power point presentation on Magnetism for ICSE class IX students
srinu247
 

Recently uploaded (20)

PPTX
Rules and Regulations of Madhya Pradesh Library Part-I
SantoshKumarKori2
 
PPTX
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
PDF
Module 1: Determinants of Health [Tutorial Slides]
JonathanHallett4
 
PPTX
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
PPTX
10CLA Term 3 Week 4 Study Techniques.pptx
mansk2
 
PDF
Right to Information.pdf by Sapna Maurya XI D
Directorate of Education Delhi
 
PPTX
Orientation MOOCs on SWAYAM for Teachers
moocs1
 
PPTX
How to Manage Resupply Subcontracting in Odoo 18
Celine George
 
PPTX
DIARRHOEA & DEHYDRATION: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
PPTX
Joint Mobility : Fundamentals of Joint Mobility
Sreeraj S R
 
PPTX
Constitutional Design Civics Class 9.pptx
bikesh692
 
PPTX
The Future of Artificial Intelligence Opportunities and Risks Ahead
vaghelajayendra784
 
PPTX
Electrophysiology_of_Heart. Electrophysiology studies in Cardiovascular syste...
Rajshri Ghogare
 
PPTX
quizbeenutirtion-230726075512-0387d08e.pptx
domingoriahlyne
 
PDF
Tips for Writing the Research Title with Examples
Thelma Villaflores
 
PPTX
national medicinal plants board mpharm.pptx
SHAHEEN SHABBIR
 
PPTX
VOMITINGS - NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
PPTX
Continental Accounting in Odoo 18 - Odoo Slides
Celine George
 
PPTX
GENERAL METHODS OF ISOLATION AND PURIFICATION OF MARINE__MPHARM.pptx
SHAHEEN SHABBIR
 
PPTX
Top 10 AI Tools, Like ChatGPT. You Must Learn In 2025
Digilearnings
 
Rules and Regulations of Madhya Pradesh Library Part-I
SantoshKumarKori2
 
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
Module 1: Determinants of Health [Tutorial Slides]
JonathanHallett4
 
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
10CLA Term 3 Week 4 Study Techniques.pptx
mansk2
 
Right to Information.pdf by Sapna Maurya XI D
Directorate of Education Delhi
 
Orientation MOOCs on SWAYAM for Teachers
moocs1
 
How to Manage Resupply Subcontracting in Odoo 18
Celine George
 
DIARRHOEA & DEHYDRATION: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
Joint Mobility : Fundamentals of Joint Mobility
Sreeraj S R
 
Constitutional Design Civics Class 9.pptx
bikesh692
 
The Future of Artificial Intelligence Opportunities and Risks Ahead
vaghelajayendra784
 
Electrophysiology_of_Heart. Electrophysiology studies in Cardiovascular syste...
Rajshri Ghogare
 
quizbeenutirtion-230726075512-0387d08e.pptx
domingoriahlyne
 
Tips for Writing the Research Title with Examples
Thelma Villaflores
 
national medicinal plants board mpharm.pptx
SHAHEEN SHABBIR
 
VOMITINGS - NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
Continental Accounting in Odoo 18 - Odoo Slides
Celine George
 
GENERAL METHODS OF ISOLATION AND PURIFICATION OF MARINE__MPHARM.pptx
SHAHEEN SHABBIR
 
Top 10 AI Tools, Like ChatGPT. You Must Learn In 2025
Digilearnings
 

review of number systems and codes

  • 1.  The negative number has two representations: a. complement representation b. sign magnitude representation Complement representation: There are two ways of representing complement numbers: a. 1’s Complement b. 2’s Complement
  • 2. 1’s complement of a binary number is obtained simply by replacing each 1 by 0 and each 0 by 1. Alternately, 1’s complement of a binary can be obtained by subtracting each bit from 1.  Example: Find 1’s complement of (i) 011001 (ii) 00100111 Solution. (i) Replace each 1 by 0 and each 0 by 1 0 1 1 0 0 1 ↓ ↓ ↓ ↓ ↓ ↓ 1 0 0 1 1 0 So, 1’s complement of 011001 is 100110.
  • 3.  (ii) Subtract each binary bit from 1. 1 1 1 1 1 1 1 1 –0 0 1 0 0 1 1 1 1 1 0 1 1 0 0 0 ← 1’s complement one can see that both the method gives same result. 2’s Complement 2’s complement of a binary number can be obtained by adding 1 to its 1’s complement. Example 1. Find 2’s complement of (i) 011001 (ii) 0101100
  • 4. Solution. (i) 0 1 1 0 0 1 ← Number 1 0 0 1 1 0 ← 1’s complement + 1 ← Add 1 to 1’s complement 1 0 0 1 1 1 ← 2’s complement (ii) 0 1 0 1 1 0 0 ← Number 1 0 1 0 0 1 1 ← 1’s complement + 1 ← Add 1 to 1’s complement 1 0 1 0 1 0 0 ← 2’s complement
  • 6.  Before using any complement method for subtraction equate the length of both minuendand subtrahend by introducing leading zeros.  1’s complement subtraction following are the rules for subtraction using 1’s complement. 1. Take 1’s complement of subtrahend. 2. Add 1’s complement of subtrahend to minuend. 3. If a carry is produced by addition then add this carry to the LSB of result. This is called as end around carry (EAC). 4. If carry is generated from MSB in step 2 then result is positive. If no carry generated result is negative, and is in 1’s complement form.
  • 7.  Example. Perform following subtraction using 1’s complement. (i) 7 – 3 (ii) 3 – 7 Solution. (i) 7 – 3: binary of 7 = (0111)2 binary of 3 = (0011)2 both numbers have equal length. Step 1. 1’s complement of (0011)2 = (1100)2
  • 18. In a broad sense we can classify the codes into five groups: (i) Weighted Binary codes (ii) Non-weighted codes (iii) Error–detecting codes (iv) Error–correcting codes (v) Alphanumeric codes.
  • 19.  In weighted binary codes, each position of a number represents a specific weight. The bits are multiplied by the weights indicated; and the sum of these weighted bits gives the equivalent decimal digit. (a) Straight Binary coding is a method of representing a decimal number by its binary equivalent.
  • 20.  In BCD codes, individual decimal digits are coded in binary notation and are operated upon singly. Thus binary codes representing 0 to 9 decimal digits are allowed. Therefore, all BCD codes have at least four bits (∵ min. no. of bits required to encode to decimal digits = 4) For example, decimal 364 in BCD 3 → 0011 6 → 0110 4 → 0100 364 → 0011 0110 0100
  • 21.  There are many binary coded decimal codes (BCD) all of which are used to represent decimal digits. Therefore, all BCD codes have atleast 4 bits and at least 6 unassigned or unused code words.  Some example of BCD codes are: (a) 8421 BCD code, sometimes referred to as the Natural Binary Coded Decimal Code (NBCD); (b)* Excess-3 code (XS3); (c)** 84 –2 –1 code (+8, +4, –2, –1); (d) 2 4 2 1 code
  • 23. Example: Lowest [643]10 into XS3 code Decimal 6 4 3 Add 3 to each 3 3 3 Sum 9 7 6 Converting the sum into BCD code we have 9 7 6 ↓ ↓ ↓ 1001 0111 0110 Hence, XS3 for [643]10 = 1001 0111 0110
  • 24.  The excess 3, 8 4–2–1 and 2421 BCD codes are also known as self complementing codes.  Self complementing property– 9’s complement of the decimal number is easily obtained by changing 1’0 to 0’s and 0’s to 1’s in corresponding codeword or the 9’s complement of self complementing code word is the same as its logical complement.  Example. The decimal digit 3 in 8.4–2–1 code is coded as 0101. The 9’s complement of 3 is 6. The decimal digit 6 is coded as 1010 that is 1’s complement of the code for 3. This is termed as self complementing property.
  • 25.  These codes are not positionally weighted. This means that each position within a binary number is not assigned a fixed value.  Excess-3 codes  Gray codes are examples of nonweighted codes.
  • 26. Gray code (Unit Distance code or Reflective code)  There are applications in which it is desirable to represent numerical as well as other information with a code that changes in only one bit position from one code word to the nextadjacent word.  This class of code is called a unit distance code (UDC).  These are sometimes also called as ‘cyclic’, ‘reflective’ or ‘gray’ code.  These codes finds great applications in Boolean function minimization using Karnaugh map.
  • 28.  Binary information is transmitted from one device to another by electric wires or other communication medium.  A system that can not guarantee that the data received by one device are identical to the data transmitted by another device is essentially useless.  Yet anytime data are transmitted from source to destination, they can become corrupted in passage. Many factors, including external noise, may change some of the bits from 0 to 1 or viceversa.  Reliable systems must have a mechanism for detecting and correcting such errors.
  • 29.  In a single bit error, a 0 is changed to a 1 or a 1 is changed to a 0.  In a burst error, multiple (two or more) bits are changed.  The purpose of error detection code is to detect such bit reversal errors.  Error detection uses the concept of redundancy which means adding extra bits for detecting errors at the destination.
  • 30. Four types of redundancy checks are used:  Parity check or vertial redundancy check(VRC)  longitudinal redundancy check (LRC)  cyclic redundancy check (CRC) and  checksum
  • 31.  For a single bit error detection, the most common way to achieve error detection is by means of a parity bit  A parity bit is an extra bit (redundant bit) included with a message to make the total number of 1’s transmitted either odd or even.
  • 32.  In LRC, a block of bits is organised in rows and columns (table). For example, a block of 16 bits can be organised in two rows and eight columns as shown in Fig.  We then calcualte the parity bit (even parity/odd parity, here we are using even parity) for each column and create a new row of 8 bits, which are the parity bits for the whole block.
  • 33.  CRC is most powerful of the redundancy checking techniques.Cyclic redundancy check is based on binary division.  A sequence of redundant bits called CRC or CRC remainder is appended to the end of a data unit.  After adding CRC remainder, the resulting data unit becomes exactly divisible by another predetermined binary number.  At the destination this data unit is divided by the same binary number. If there is no remainder, then there is no error.
  • 34.  The CRC generator and CRC checker are shown in Fig.(a) and Fig.(b) respectively. Fig.(a) Fig.(b)
  • 36.  The mechanism that we have covered upto this point detect errors but do not correct them. Error correction can be handled in two ways.  In one, when an error is encountered the receiver can request the sender to retransmit entire data unit.  In the other, a receiver can use an error correcting code, which automatically corrects certain errors.