SlideShare a Scribd company logo
1 of 25
Download to read offline
Networks

And Communication Systems
Protocols
• Defined as a set of rules for communication
Handshaking
• 2 devices will “shake” hands to establish
  what kind of protocol to use. This involves
  things like:
• Are you ready for communication? (session
  level)
• What speed can you talk at ( Application
  level. flow control)
Handshaking example with printer


• Session level in which contact is established

               Are you ready for a print job?




                        Sorry I’m offline
Handshaking: Application level
       (Flow Control)
       Starting to send 50 page print
                     job




        Please send ½ page at a time.
         I am a cheap printer with a
         small cache and slow print
                   speed.
Error checking methods
• When data is sent, it can get damaged or
  lost or corrupted. Therefore data must be
  somehow checked for correctness.
What happens when things go
         wrong?
First we have to find if something
         has gone wrong
• Error detection is the most important step in
  the process of getting correct data. How do
  we detect an error?
Summary!
For the exam, you must therefore think of it in 2 parts
1) Error Detection
2) Error Correction
Error Detection
• Parity check
• Checksum
• Cyclic Redundancy Check
Parity Check
                parity “to be equivalent to or the same”
A byte of information is made of 8 bits
The first 7 bits are used to transmit data, the 8 th bit is added to mark
the total number of 1s as either odd or even. It is then used to check
if the data is correct. (It is the number of 1s that is checked)
Odd & Even Parity in use


Example of even parity                Parity Bit of 0 is added to keep the
                                      total number of 1s as even
10101010

        10000111                      Parity Bit of 1 is added to
                                      keep the totals # of 1s as
                                      even.



Example of odd parity

                                      Parity bit of 0 is added to
      11100000                        keep the total # of 1s as odd



                                       In this case a 1 is added to keep
      11000001                         the total number of 1s as odd
Even and Odd Parity
• Parity can be set at even or odd
Parity in use…
         Suppose we send the letter A in ASCII. It might
              consist of the following 7 0s and 1s

        1001101                              0

If we count the 1s, there are 4       The last 8th bit is used to indicate
which is an even number               that there was an even number
                                      of 1s

   If the A is corrupted and arrives with an odd number of 1s


      1001100                              0
If we count the 1s, there are      This indicates that the number of 1s should be even.
now 3 which is an odd number       Therefore an error has taken place.
Problems with Parity
If more than one error occurs then it
 might cancel the check out. This is
      known as “bit swapping”
  The parity bit may be corrupted,
       changing the end result.
  More than one error could occur
within the first seven bits, cancelling
     out the detectable error (bit
              swapping)
Parity problems

  Original
                       1001101              0
 Received with 1
 detected error        1001100               0

Cannot detect 2
errors as parity is    1001000               0
even




      The second group of bits has an even number of 1s and
      therefore it is accepted as correct.
Introduction to Checksum

    Checksum checks blocks of data made up of bytes
    rather than individual bytes.
      Entire block of data is checked using a
      checksum made up of the the last byte
                   in the block




    10101010 100101010 11101010 11101010




Added up value /256 =
Pros and Cons of Checksum

Pros: More accurate than parity. Faster as blocks of data can
  be checked.
Cons: The precise byte or bytes in error can’t be identified so
  entire block must be retransmitted.
Checking long message blocks is not reliable,
Example of Checksum




                      I run above and
   I run above        get checksum of
     and get            36 too. Data
 checksum of 36       block is correct
Cyclic Redundancy Check
• CRC is the most accurate error checking
  method.
• It uses much larger numbers than Checksum
• Like checksum it checks a block of data
• High level of accuracy with 16 bit check or
  a 32 bit check
Cyclic Redundancy Check
    The values of each of the block are read as 1 big
    number


    12                     9       18           24

00011100              00001001   00010010    00011000
           58,790,424/16 or 32 bit CRC value
             I run above                           I run above and
            and get CRC                            get CRC of 36
               of 3692                                92too. Data
                                                   block is correct
Error Correction
• When an error is detected using Parity,
  Checksum or CRC, then the error must be
  corrected.
Methods of Error Correction
• Retransmission – The receiving computer
  having detected the error requests that the
  data block be transmitted again.
           I got an error, please send
              that last block again!




                                Retransmit
Symbol Substitution
• The receiving computer will replace faulty
  symbols with a substitute symbol such as 

It will then run a spell check to try and correct
   the data –example love you would be
   corrected to I love you. This does not
   always work.
Error Correction Code (ECC)
• ECC is a technique that sends “extra” data so that
  if there is an error, it can be corrected with the
  extra data. At least one extra byte must be sent for
  every eight bytes of data.
• Problems with this is that it is slow and much
  more data is sent overall. It is better to just resend
  each block of data that is in error,

More Related Content

What's hot

Mendel And The Gene Idea
Mendel And The Gene IdeaMendel And The Gene Idea
Mendel And The Gene IdeaCrystal Wood
 
Error Detection & Error Correction Codes
Error Detection & Error Correction CodesError Detection & Error Correction Codes
Error Detection & Error Correction CodesShahDhruv21
 
Address calculation-sort
Address calculation-sortAddress calculation-sort
Address calculation-sortVasim Pathan
 
Introduction to binary number system
Introduction to binary number systemIntroduction to binary number system
Introduction to binary number systemVikas Dongre
 
Error detection and correction unit-05
Error detection and correction unit-05Error detection and correction unit-05
Error detection and correction unit-05shrinivasgnaik
 
Linked list memory allocation and its types.pptx
Linked list memory allocation and its types.pptxLinked list memory allocation and its types.pptx
Linked list memory allocation and its types.pptxSanthiya S
 
Number system and codes
Number system and codesNumber system and codes
Number system and codesAbhiraj Bohra
 
6.2 Human Genetic Disorders 2019
6.2 Human Genetic Disorders 20196.2 Human Genetic Disorders 2019
6.2 Human Genetic Disorders 2019alexsong2018
 
Error Detection N Correction
Error Detection N CorrectionError Detection N Correction
Error Detection N CorrectionAnkan Adhikari
 
Binary number systems multiplication
Binary number systems multiplicationBinary number systems multiplication
Binary number systems multiplicationRavi Ramchandani
 
Parity check(Error Detecting Codes)
Parity check(Error Detecting Codes)Parity check(Error Detecting Codes)
Parity check(Error Detecting Codes)Imesha Perera
 
Congestion control 1
Congestion control 1Congestion control 1
Congestion control 1Aman Jaiswal
 
Hexadecimal numbers
Hexadecimal  numbersHexadecimal  numbers
Hexadecimal numbersatcnerd
 
Data communications 4 1
Data communications 4 1Data communications 4 1
Data communications 4 1Raymond Pidor
 
Data Communication And Networking - ERROR DETECTION AND CORRECTION
Data Communication And Networking - ERROR DETECTION AND CORRECTIONData Communication And Networking - ERROR DETECTION AND CORRECTION
Data Communication And Networking - ERROR DETECTION AND CORRECTIONAvijeet Negel
 

What's hot (20)

Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 
Mendel And The Gene Idea
Mendel And The Gene IdeaMendel And The Gene Idea
Mendel And The Gene Idea
 
Error Detection & Error Correction Codes
Error Detection & Error Correction CodesError Detection & Error Correction Codes
Error Detection & Error Correction Codes
 
Address calculation-sort
Address calculation-sortAddress calculation-sort
Address calculation-sort
 
Error Control In Network Layer
Error Control In Network LayerError Control In Network Layer
Error Control In Network Layer
 
Introduction to binary number system
Introduction to binary number systemIntroduction to binary number system
Introduction to binary number system
 
Error detection and correction unit-05
Error detection and correction unit-05Error detection and correction unit-05
Error detection and correction unit-05
 
Linked list memory allocation and its types.pptx
Linked list memory allocation and its types.pptxLinked list memory allocation and its types.pptx
Linked list memory allocation and its types.pptx
 
Number system and codes
Number system and codesNumber system and codes
Number system and codes
 
Boolean+logic
Boolean+logicBoolean+logic
Boolean+logic
 
6.2 Human Genetic Disorders 2019
6.2 Human Genetic Disorders 20196.2 Human Genetic Disorders 2019
6.2 Human Genetic Disorders 2019
 
Error Detection N Correction
Error Detection N CorrectionError Detection N Correction
Error Detection N Correction
 
Binary number systems multiplication
Binary number systems multiplicationBinary number systems multiplication
Binary number systems multiplication
 
Parity check(Error Detecting Codes)
Parity check(Error Detecting Codes)Parity check(Error Detecting Codes)
Parity check(Error Detecting Codes)
 
Lect07
Lect07Lect07
Lect07
 
Congestion control 1
Congestion control 1Congestion control 1
Congestion control 1
 
Hexadecimal numbers
Hexadecimal  numbersHexadecimal  numbers
Hexadecimal numbers
 
Number system
Number systemNumber system
Number system
 
Data communications 4 1
Data communications 4 1Data communications 4 1
Data communications 4 1
 
Data Communication And Networking - ERROR DETECTION AND CORRECTION
Data Communication And Networking - ERROR DETECTION AND CORRECTIONData Communication And Networking - ERROR DETECTION AND CORRECTION
Data Communication And Networking - ERROR DETECTION AND CORRECTION
 

Viewers also liked

Ipt Syllabus Changes Communications Systems
Ipt Syllabus Changes   Communications SystemsIpt Syllabus Changes   Communications Systems
Ipt Syllabus Changes Communications SystemsLiam Dunphy
 
Mobile Research: Notetaking and Bookmarking
Mobile Research: Notetaking and BookmarkingMobile Research: Notetaking and Bookmarking
Mobile Research: Notetaking and BookmarkingShelly Sanchez Terrell
 

Viewers also liked (20)

Ipt Syllabus Changes Communications Systems
Ipt Syllabus Changes   Communications SystemsIpt Syllabus Changes   Communications Systems
Ipt Syllabus Changes Communications Systems
 
IPT HSC Summary
IPT HSC SummaryIPT HSC Summary
IPT HSC Summary
 
Windows xp
Windows xpWindows xp
Windows xp
 
Visual basic
Visual basicVisual basic
Visual basic
 
Mastering utility
Mastering utilityMastering utility
Mastering utility
 
Vb dot net_hatekhori
Vb dot net_hatekhoriVb dot net_hatekhori
Vb dot net_hatekhori
 
50 examples of there with rules
50 examples of there with rules50 examples of there with rules
50 examples of there with rules
 
Gopal bhar er 170 hasir galpo
Gopal bhar er 170 hasir galpoGopal bhar er 170 hasir galpo
Gopal bhar er 170 hasir galpo
 
150 aesop's fables or golpo in bengali
150 aesop's fables or golpo in bengali150 aesop's fables or golpo in bengali
150 aesop's fables or golpo in bengali
 
Computer chamak
Computer chamakComputer chamak
Computer chamak
 
Computer paricharja
Computer paricharjaComputer paricharja
Computer paricharja
 
Computer networking step by step
Computer networking step by stepComputer networking step by step
Computer networking step by step
 
Photoshop cs hatekhori
Photoshop cs hatekhoriPhotoshop cs hatekhori
Photoshop cs hatekhori
 
Handbook of bangla fruits tanbircox
Handbook of bangla fruits   tanbircoxHandbook of bangla fruits   tanbircox
Handbook of bangla fruits tanbircox
 
Banking interview for experienced banker
Banking interview for experienced bankerBanking interview for experienced banker
Banking interview for experienced banker
 
Easy way to learn english spelling and pronunciation
Easy way to learn english spelling and pronunciationEasy way to learn english spelling and pronunciation
Easy way to learn english spelling and pronunciation
 
Duschintahin notun jibon dale carnegie final
Duschintahin notun jibon dale carnegie finalDuschintahin notun jibon dale carnegie final
Duschintahin notun jibon dale carnegie final
 
Information and communication technology for hsc
Information and communication technology for hscInformation and communication technology for hsc
Information and communication technology for hsc
 
Bere uthi ashtar sathe (girls)
Bere uthi ashtar sathe (girls)Bere uthi ashtar sathe (girls)
Bere uthi ashtar sathe (girls)
 
Mobile Research: Notetaking and Bookmarking
Mobile Research: Notetaking and BookmarkingMobile Research: Notetaking and Bookmarking
Mobile Research: Notetaking and Bookmarking
 

Similar to Information Processes and Technology HSC Communications Unit

ERROR_DETECTION.pptx
ERROR_DETECTION.pptxERROR_DETECTION.pptx
ERROR_DETECTION.pptxBeniamTekeste
 
ERROR DETECTION data communication and computer network.pptx
ERROR DETECTION data communication and computer network.pptxERROR DETECTION data communication and computer network.pptx
ERROR DETECTION data communication and computer network.pptxgadisaAdamu
 
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)Project Student
 
Error detection and correction codes
Error detection and correction codesError detection and correction codes
Error detection and correction codesGargiKhanna1
 
07 Data Link LayerError Control.pdf
07 Data Link LayerError Control.pdf07 Data Link LayerError Control.pdf
07 Data Link LayerError Control.pdfbaysahcmjames2kblax
 
Computer Organisation and Architecture :Module M-1.pdf
Computer Organisation and Architecture :Module M-1.pdfComputer Organisation and Architecture :Module M-1.pdf
Computer Organisation and Architecture :Module M-1.pdfSushantRaj25
 
Error detection and Correction
Error detection and CorrectionError detection and Correction
Error detection and CorrectionTarjMehta1
 
Error detection.
Error detection.Error detection.
Error detection.Wasim Akbar
 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correctionAbdul Razaq
 
Error dectation and correction
Error dectation and correctionError dectation and correction
Error dectation and correctionfg657
 
Skr+3200+chapter+3+(kweh)
Skr+3200+chapter+3+(kweh)Skr+3200+chapter+3+(kweh)
Skr+3200+chapter+3+(kweh)Ammar Shafiq
 
Error correction and detection th
Error correction and detection thError correction and detection th
Error correction and detection thShardaSalunkhe1
 
Errror Detection and Correction
Errror Detection and CorrectionErrror Detection and Correction
Errror Detection and CorrectionMahesh Kumar Attri
 
PARITY_GENERATOR_AND_CHECKER_PPT.pptx
PARITY_GENERATOR_AND_CHECKER_PPT.pptxPARITY_GENERATOR_AND_CHECKER_PPT.pptx
PARITY_GENERATOR_AND_CHECKER_PPT.pptxRockFellerSinghRusse
 

Similar to Information Processes and Technology HSC Communications Unit (20)

ERROR_DETECTION.pptx
ERROR_DETECTION.pptxERROR_DETECTION.pptx
ERROR_DETECTION.pptx
 
ERROR DETECTION data communication and computer network.pptx
ERROR DETECTION data communication and computer network.pptxERROR DETECTION data communication and computer network.pptx
ERROR DETECTION data communication and computer network.pptx
 
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
 
Error.pdf
Error.pdfError.pdf
Error.pdf
 
Error detection and correction codes
Error detection and correction codesError detection and correction codes
Error detection and correction codes
 
07 Data Link LayerError Control.pdf
07 Data Link LayerError Control.pdf07 Data Link LayerError Control.pdf
07 Data Link LayerError Control.pdf
 
Sak
SakSak
Sak
 
Computer Organisation and Architecture :Module M-1.pdf
Computer Organisation and Architecture :Module M-1.pdfComputer Organisation and Architecture :Module M-1.pdf
Computer Organisation and Architecture :Module M-1.pdf
 
Error detection and Correction
Error detection and CorrectionError detection and Correction
Error detection and Correction
 
Lecture 20
Lecture 20Lecture 20
Lecture 20
 
Error detection.
Error detection.Error detection.
Error detection.
 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correction
 
Error control
Error controlError control
Error control
 
Error dectation and correction
Error dectation and correctionError dectation and correction
Error dectation and correction
 
Skr+3200+chapter+3+(kweh)
Skr+3200+chapter+3+(kweh)Skr+3200+chapter+3+(kweh)
Skr+3200+chapter+3+(kweh)
 
Error correction and detection th
Error correction and detection thError correction and detection th
Error correction and detection th
 
Errror Detection and Correction
Errror Detection and CorrectionErrror Detection and Correction
Errror Detection and Correction
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
22BA013 IM.pptx
22BA013 IM.pptx22BA013 IM.pptx
22BA013 IM.pptx
 
PARITY_GENERATOR_AND_CHECKER_PPT.pptx
PARITY_GENERATOR_AND_CHECKER_PPT.pptxPARITY_GENERATOR_AND_CHECKER_PPT.pptx
PARITY_GENERATOR_AND_CHECKER_PPT.pptx
 

Recently uploaded

Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
Employablity presentation and Future Career Plan.pptx
Employablity presentation and Future Career Plan.pptxEmployablity presentation and Future Career Plan.pptx
Employablity presentation and Future Career Plan.pptxryandux83rd
 
Shark introduction Morphology and its behaviour characteristics
Shark introduction Morphology and its behaviour characteristicsShark introduction Morphology and its behaviour characteristics
Shark introduction Morphology and its behaviour characteristicsArubSultan
 
The role of Geography in climate education: science and active citizenship
The role of Geography in climate education: science and active citizenshipThe role of Geography in climate education: science and active citizenship
The role of Geography in climate education: science and active citizenshipKarl Donert
 
PART 1 - CHAPTER 1 - CELL THE FUNDAMENTAL UNIT OF LIFE
PART 1 - CHAPTER 1 - CELL THE FUNDAMENTAL UNIT OF LIFEPART 1 - CHAPTER 1 - CELL THE FUNDAMENTAL UNIT OF LIFE
PART 1 - CHAPTER 1 - CELL THE FUNDAMENTAL UNIT OF LIFEMISSRITIMABIOLOGYEXP
 
The Emergence of Legislative Behavior in the Colombian Congress
The Emergence of Legislative Behavior in the Colombian CongressThe Emergence of Legislative Behavior in the Colombian Congress
The Emergence of Legislative Behavior in the Colombian CongressMaria Paula Aroca
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
6 ways Samsung’s Interactive Display powered by Android changes the classroom
6 ways Samsung’s Interactive Display powered by Android changes the classroom6 ways Samsung’s Interactive Display powered by Android changes the classroom
6 ways Samsung’s Interactive Display powered by Android changes the classroomSamsung Business USA
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdfMr Bounab Samir
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesVijayaLaxmi84
 
DBMSArchitecture_QueryProcessingandOptimization.pdf
DBMSArchitecture_QueryProcessingandOptimization.pdfDBMSArchitecture_QueryProcessingandOptimization.pdf
DBMSArchitecture_QueryProcessingandOptimization.pdfChristalin Nelson
 
BÀI TẬP BỔ TRỢ 4 KĨ NĂNG TIẾNG ANH LỚP 8 - CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC ...
BÀI TẬP BỔ TRỢ 4 KĨ NĂNG TIẾNG ANH LỚP 8 - CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC ...BÀI TẬP BỔ TRỢ 4 KĨ NĂNG TIẾNG ANH LỚP 8 - CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC ...
BÀI TẬP BỔ TRỢ 4 KĨ NĂNG TIẾNG ANH LỚP 8 - CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC ...Nguyen Thanh Tu Collection
 
physiotherapy in Acne condition.....pptx
physiotherapy in Acne condition.....pptxphysiotherapy in Acne condition.....pptx
physiotherapy in Acne condition.....pptxAneriPatwari
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Celine George
 

Recently uploaded (20)

Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
Employablity presentation and Future Career Plan.pptx
Employablity presentation and Future Career Plan.pptxEmployablity presentation and Future Career Plan.pptx
Employablity presentation and Future Career Plan.pptx
 
Shark introduction Morphology and its behaviour characteristics
Shark introduction Morphology and its behaviour characteristicsShark introduction Morphology and its behaviour characteristics
Shark introduction Morphology and its behaviour characteristics
 
The role of Geography in climate education: science and active citizenship
The role of Geography in climate education: science and active citizenshipThe role of Geography in climate education: science and active citizenship
The role of Geography in climate education: science and active citizenship
 
Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...
Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...
Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...
 
PART 1 - CHAPTER 1 - CELL THE FUNDAMENTAL UNIT OF LIFE
PART 1 - CHAPTER 1 - CELL THE FUNDAMENTAL UNIT OF LIFEPART 1 - CHAPTER 1 - CELL THE FUNDAMENTAL UNIT OF LIFE
PART 1 - CHAPTER 1 - CELL THE FUNDAMENTAL UNIT OF LIFE
 
The Emergence of Legislative Behavior in the Colombian Congress
The Emergence of Legislative Behavior in the Colombian CongressThe Emergence of Legislative Behavior in the Colombian Congress
The Emergence of Legislative Behavior in the Colombian Congress
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
6 ways Samsung’s Interactive Display powered by Android changes the classroom
6 ways Samsung’s Interactive Display powered by Android changes the classroom6 ways Samsung’s Interactive Display powered by Android changes the classroom
6 ways Samsung’s Interactive Display powered by Android changes the classroom
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their uses
 
DBMSArchitecture_QueryProcessingandOptimization.pdf
DBMSArchitecture_QueryProcessingandOptimization.pdfDBMSArchitecture_QueryProcessingandOptimization.pdf
DBMSArchitecture_QueryProcessingandOptimization.pdf
 
BÀI TẬP BỔ TRỢ 4 KĨ NĂNG TIẾNG ANH LỚP 8 - CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC ...
BÀI TẬP BỔ TRỢ 4 KĨ NĂNG TIẾNG ANH LỚP 8 - CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC ...BÀI TẬP BỔ TRỢ 4 KĨ NĂNG TIẾNG ANH LỚP 8 - CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC ...
BÀI TẬP BỔ TRỢ 4 KĨ NĂNG TIẾNG ANH LỚP 8 - CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC ...
 
physiotherapy in Acne condition.....pptx
physiotherapy in Acne condition.....pptxphysiotherapy in Acne condition.....pptx
physiotherapy in Acne condition.....pptx
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17
 
Spearman's correlation,Formula,Advantages,
Spearman's correlation,Formula,Advantages,Spearman's correlation,Formula,Advantages,
Spearman's correlation,Formula,Advantages,
 
Mattingly "AI & Prompt Design" - Introduction to Machine Learning"
Mattingly "AI & Prompt Design" - Introduction to Machine Learning"Mattingly "AI & Prompt Design" - Introduction to Machine Learning"
Mattingly "AI & Prompt Design" - Introduction to Machine Learning"
 

Information Processes and Technology HSC Communications Unit

  • 2. Protocols • Defined as a set of rules for communication
  • 3. Handshaking • 2 devices will “shake” hands to establish what kind of protocol to use. This involves things like: • Are you ready for communication? (session level) • What speed can you talk at ( Application level. flow control)
  • 4. Handshaking example with printer • Session level in which contact is established Are you ready for a print job? Sorry I’m offline
  • 5. Handshaking: Application level (Flow Control) Starting to send 50 page print job Please send ½ page at a time. I am a cheap printer with a small cache and slow print speed.
  • 6. Error checking methods • When data is sent, it can get damaged or lost or corrupted. Therefore data must be somehow checked for correctness.
  • 7. What happens when things go wrong?
  • 8. First we have to find if something has gone wrong • Error detection is the most important step in the process of getting correct data. How do we detect an error?
  • 9. Summary! For the exam, you must therefore think of it in 2 parts 1) Error Detection 2) Error Correction
  • 10. Error Detection • Parity check • Checksum • Cyclic Redundancy Check
  • 11. Parity Check parity “to be equivalent to or the same” A byte of information is made of 8 bits The first 7 bits are used to transmit data, the 8 th bit is added to mark the total number of 1s as either odd or even. It is then used to check if the data is correct. (It is the number of 1s that is checked)
  • 12. Odd & Even Parity in use Example of even parity Parity Bit of 0 is added to keep the total number of 1s as even 10101010 10000111 Parity Bit of 1 is added to keep the totals # of 1s as even. Example of odd parity Parity bit of 0 is added to 11100000 keep the total # of 1s as odd In this case a 1 is added to keep 11000001 the total number of 1s as odd
  • 13. Even and Odd Parity • Parity can be set at even or odd
  • 14. Parity in use… Suppose we send the letter A in ASCII. It might consist of the following 7 0s and 1s 1001101 0 If we count the 1s, there are 4 The last 8th bit is used to indicate which is an even number that there was an even number of 1s If the A is corrupted and arrives with an odd number of 1s 1001100 0 If we count the 1s, there are This indicates that the number of 1s should be even. now 3 which is an odd number Therefore an error has taken place.
  • 15. Problems with Parity If more than one error occurs then it might cancel the check out. This is known as “bit swapping” The parity bit may be corrupted, changing the end result. More than one error could occur within the first seven bits, cancelling out the detectable error (bit swapping)
  • 16. Parity problems Original 1001101 0 Received with 1 detected error 1001100 0 Cannot detect 2 errors as parity is 1001000 0 even The second group of bits has an even number of 1s and therefore it is accepted as correct.
  • 17. Introduction to Checksum Checksum checks blocks of data made up of bytes rather than individual bytes. Entire block of data is checked using a checksum made up of the the last byte in the block 10101010 100101010 11101010 11101010 Added up value /256 =
  • 18. Pros and Cons of Checksum Pros: More accurate than parity. Faster as blocks of data can be checked. Cons: The precise byte or bytes in error can’t be identified so entire block must be retransmitted. Checking long message blocks is not reliable,
  • 19. Example of Checksum I run above and I run above get checksum of and get 36 too. Data checksum of 36 block is correct
  • 20. Cyclic Redundancy Check • CRC is the most accurate error checking method. • It uses much larger numbers than Checksum • Like checksum it checks a block of data • High level of accuracy with 16 bit check or a 32 bit check
  • 21. Cyclic Redundancy Check The values of each of the block are read as 1 big number 12 9 18 24 00011100 00001001 00010010 00011000 58,790,424/16 or 32 bit CRC value I run above I run above and and get CRC get CRC of 36 of 3692 92too. Data block is correct
  • 22. Error Correction • When an error is detected using Parity, Checksum or CRC, then the error must be corrected.
  • 23. Methods of Error Correction • Retransmission – The receiving computer having detected the error requests that the data block be transmitted again. I got an error, please send that last block again! Retransmit
  • 24. Symbol Substitution • The receiving computer will replace faulty symbols with a substitute symbol such as  It will then run a spell check to try and correct the data –example love you would be corrected to I love you. This does not always work.
  • 25. Error Correction Code (ECC) • ECC is a technique that sends “extra” data so that if there is an error, it can be corrected with the extra data. At least one extra byte must be sent for every eight bytes of data. • Problems with this is that it is slow and much more data is sent overall. It is better to just resend each block of data that is in error,