Error Detecting Code : Parity Explained | Odd Parity and Even Parity

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ม.ค. 2025

ความคิดเห็น •

  • @ALLABOUTELECTRONICS
    @ALLABOUTELECTRONICS  3 ปีที่แล้ว +29

    timestamps:
    0:00 Introduction
    1:00 What is Parity? Odd and Even Parity
    2:00 Error Detection using Parity Bit
    5:03 Limitation of Parity

  • @jaipreetsingh4779
    @jaipreetsingh4779 2 ปีที่แล้ว +99

    I don't know why we pay so hefty fees to colleges if such excellent talent is available free. I think it's due to the simple human behaviour that we don't respect things that we get easily(free) , the type of teaching that u are teaching is wayyyyy better than colleges ...
    ❤️❤️❤️❤️❤️
    U should sell ur courses for little ammounts like 200 to 300 rupees as we will then understand the value of ur content

    • @waitwhat612
      @waitwhat612 ปีที่แล้ว +5

      A piece of paper

  • @jimsvolt
    @jimsvolt ปีที่แล้ว +109

    Saving a cs degree

  • @Zaara.rehan_khazi
    @Zaara.rehan_khazi 3 ปีที่แล้ว +25

    I had seminar on this topic .. it's 3rd time n im fully prepared

    • @pravallikakuruba3846
      @pravallikakuruba3846 9 หลายเดือนก่อน

      Same I had also seminar on this topic tmroo ....

  • @revathya4525
    @revathya4525 3 ปีที่แล้ว +10

    🥳🥳 omgg atlast I got thiz video thank you sir for sharing ur knowledge

  • @Xp_Musicc
    @Xp_Musicc 2 หลายเดือนก่อน +7

    2024 and damn this is really helpful😍❤ it's 1am in the morning and just hours left for my Data Communication exams🤣

    • @CuteFun_world
      @CuteFun_world 2 หลายเดือนก่อน

      @@Xp_Musicc how was the exam lol

    • @Xp_Musicc
      @Xp_Musicc 9 วันที่ผ่านมา

      @@CuteFun_world Have to write the exam again lol😪😪none of these came to my exam..the exam was based on only theory

    • @CuteFun_world
      @CuteFun_world 9 วันที่ผ่านมา

      @@Xp_Musicc hmm ok but I got these in my exam

  • @maazsiddiqui3326
    @maazsiddiqui3326 8 หลายเดือนก่อน +3

    OMG. That was the easiest explanation on earth 🥰

  • @gokulkrishnan829
    @gokulkrishnan829 2 ปีที่แล้ว +5

    Thank You Fav :) You Really Helped Me To Catch This Concept !

  • @CyberDinner
    @CyberDinner 9 หลายเดือนก่อน +1

    thank you my indian friend , you are my savior.

  • @Manan_91
    @Manan_91 3 หลายเดือนก่อน +2

    Excellent Explanation ❤

  • @poojashah6183
    @poojashah6183 3 ปีที่แล้ว +6

    Best explanation 👌🏻👌🏻

  • @ritampal01
    @ritampal01 3 ปีที่แล้ว +13

    Excellent sir ...... 🔥 Give us more detailed videos, I'm so much interested sir .......You are great sir 👍

  • @mayurshah9131
    @mayurshah9131 3 ปีที่แล้ว +3

    Thanks for such a useful VEDIO 🙏🙏

  • @amashasky9567
    @amashasky9567 2 ปีที่แล้ว +5

    Thanks sir.It's clear and easy to understand.

  • @_Anna_Nass_
    @_Anna_Nass_ ปีที่แล้ว +15

    In real world practice, how accurate is it to use a parity bit as an error detector?

    • @Omar-ic3wc
      @Omar-ic3wc ปีที่แล้ว +2

      Not accurate

  • @SujataGahlawat
    @SujataGahlawat ปีที่แล้ว +4

    Well defined 😊

  • @SandaniNavodya-w8b
    @SandaniNavodya-w8b 7 หลายเดือนก่อน +1

    It was helpful .. thank you

  • @MuhammadSalmanRazzaq
    @MuhammadSalmanRazzaq 8 หลายเดือนก่อน

    2:43 Should we add the parity bit at right side or left side of 8 bit number

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  8 หลายเดือนก่อน

      It depends on the protocol that is established between transmitter and receiver. It can be appended at the last (at LSB side) or at the beginning (at MSB side)

  • @laxmikant5045
    @laxmikant5045 ปีที่แล้ว +4

    How does the parity checking network decides what parity we have opted(even or odd)?

  • @sandip_kanzariya8476
    @sandip_kanzariya8476 2 ปีที่แล้ว +3

    Fantastic sir ....

  • @soumodipbhattacharjee3610
    @soumodipbhattacharjee3610 2 หลายเดือนก่อน

    5:00 Sir how the Receiver comes to that whatever data has been transmitted contains odd or even number of bits??

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  2 หลายเดือนก่อน +1

      Generally the protocol is already been established between the transmitter and receiver, like how many bits will be transmitted. What type of parity is used on in general what type of error detecting and correcting mechanism is used.

    • @soumodipbhattacharjee3610
      @soumodipbhattacharjee3610 2 หลายเดือนก่อน

      @ALLABOUTELECTRONICS thank you

  • @indiradas1280
    @indiradas1280 2 ปีที่แล้ว

    Thank you so much Sir 🙏🙏💐💐

  • @taedy6928
    @taedy6928 2 ปีที่แล้ว +1

    Thanku sooo much sir 😍

  • @RitiRoy-b1t
    @RitiRoy-b1t 3 หลายเดือนก่อน +2

    Good explanation but the parity bit should be added to MSB (most sognificant bit) isn't it.

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  3 หลายเดือนก่อน +2

      No, not necessarily. It can be either MSB or LSB. That depends on the protocol established between transmitter and receiver.

    • @RitiRoy-b1t
      @RitiRoy-b1t 3 หลายเดือนก่อน

      Oh yes, I got it​@@ALLABOUTELECTRONICS

  • @mohammadrezajavadi3498
    @mohammadrezajavadi3498 ปีที่แล้ว +1

    Well done man

  • @manomana18
    @manomana18 4 หลายเดือนก่อน

    Thanks alot sir💫

  • @marco_robert
    @marco_robert ปีที่แล้ว +2

    But what if we do not know which parity is used?(Even or Odd) How will we know if the recieved pattern is correct?

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  ปีที่แล้ว +5

      Typically for transmitters and receiver the protocol is set for specific parity in advance. Because accordingly you decide the hardware for both transmitter and receiver. So when the receiver receives the data, it already knows which parity is used in transmission. I hope, it will clear your doubt.

    • @marco_robert
      @marco_robert ปีที่แล้ว +1

      @@ALLABOUTELECTRONICS Thank you. It is clear ♥️

  • @nagireddymadhava8179
    @nagireddymadhava8179 6 หลายเดือนก่อน

    Thank you sir🎉

  • @ankitakumari343
    @ankitakumari343 ปีที่แล้ว +1

    Good sir 😃

  • @rjrodrig
    @rjrodrig 3 ปีที่แล้ว +1

    What if the parity bit is flipped? There are no guarantees the parity bit will not flip. What then?

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  3 ปีที่แล้ว +2

      In that case also, the parity checker circuit will generate the error. In short, if the parity of transmitted and the received code doesn't match then it will generate the error. (Irrespective of whether the error is in data bit or in the parity bit)

  • @deepa_jayan
    @deepa_jayan 2 ปีที่แล้ว

    Sir,I have a doubt.We are adding parity bits for error detection ie since data is getting corrupted we are adding parity bits.But doesn't a condition occurs like parity bits can get corrupted and the error detection can go wrong

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  2 ปีที่แล้ว +3

      Yes, it is quite possible that the parity bit itself gets corrupted during the transmission. But as far as there is an odd number of errors in the code, it is still possible to detect the error. Let's say, we are sending the data for odd parity. The parity bit will be set in such a way that, the total number of 1s in the code is odd. Now, suppose, the parity bit gets corrupted then the total number of 1s in the received code will become even. And since it is even, the parity checker circuit will be able to detect the error. I hope, it will clear your doubt. If you still have any doubt then let me know here.

    • @deepa_jayan
      @deepa_jayan 2 ปีที่แล้ว

      @@ALLABOUTELECTRONICS Sir,let me explain my doubt with an example.Consider I am sending 3 bit data 011 and then we are using odd parity for error detection.So the data along with parity that will be transmitted is 0111.Now assuming that the parity bit is corrupted and the data received at receiver is 0110.The receiver will find the number of one's to be even and there is an error.Receiver will expect the number of bits in the data bits had to be odd,so the error is in data.Now assuming the second case,where the second bit of data was corrupted while transmission and then data received at the receiver along with the parity bit be 0011.(Here data is corrupted).Here also receiver finds that the number of one's are even and there is error.But how to differentiate whether data is corrupted or parity bit is corrupted.

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  2 ปีที่แล้ว +1

      See, this code( parity) is error detecting code. Meaning that, it can just tell you that, there is some error in the received code. It just can't correct the error. Or it can't tell you the location of the error. For that, error correcting codes are used. I think I have mentioned that at the end of the video. And on the Channel I have also covered couple of videos on Hamming distance and Hamming code. ( It is error correcting code).
      Please go through those videos. Your doubts will get clear. I have explained it in detail.
      Please go through the digital electronics playlist on the channel. You will get those videos.
      In case, if you are not able to find it, let me know here.

    • @brunodragas2417
      @brunodragas2417 2 ปีที่แล้ว +1

      @@ALLABOUTELECTRONICS hi, what if 2 bits are corrupted for example 1 goes into 0 and other where zero goes into one it will not change the number of 1's, so how will it detect the error?

    • @muhammadshaheer124
      @muhammadshaheer124 11 หลายเดือนก่อน

      There is a another thing. What if, instead of 0111, the code gets corrupted and transmitted as 1110, then how'll we find the error?

  • @karen7856
    @karen7856 ปีที่แล้ว +1

    10/10 video

  • @lochanahansini5700
    @lochanahansini5700 2 ปีที่แล้ว

    Thank you so much sir

  • @17vrd_nyk
    @17vrd_nyk ปีที่แล้ว +3

    What if parity bit only changes from 0 to 1 while transmission

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  ปีที่แล้ว +5

      Then also it will be able to detect the error. Because at the receiver side, the parity checker circuit will check the parity of entire code ( including parity bit ).
      So if there is an error in parity bit then also it will detected.
      I hope it will clear your doubt.

  • @leenan001
    @leenan001 3 ปีที่แล้ว

    Thank you so much!

  • @kamlekarkamal
    @kamlekarkamal 3 ปีที่แล้ว +1

    I like it teaching in digital format

  • @ayeshaaslam7927
    @ayeshaaslam7927 2 ปีที่แล้ว +1

    THANK YOU

  • @akinokiji5423
    @akinokiji5423 3 ปีที่แล้ว

    Thank you so much

  • @vedanshithakkar
    @vedanshithakkar ปีที่แล้ว

    What if there are 2 errors in one data ? So that means the parity bit checker will not shows the error so what is the solution?

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  ปีที่แล้ว +2

      If there are even number of errors in the received code then parity checker won't detect it. You need to use other coding schemes to detect such errors. On such error correcting scheme (Hamming Code ) is discussed on the channel.
      You can watch that video for more information.
      Here is the link: th-cam.com/video/t4kiy4Dsx5Y/w-d-xo.html

  • @theodavidyani6514
    @theodavidyani6514 2 ปีที่แล้ว

    nice explanation

  • @rahaf7982
    @rahaf7982 2 ปีที่แล้ว

    Thank you so so so much

  • @dilipkumar-jh1mz
    @dilipkumar-jh1mz ปีที่แล้ว

    what happened if two bits are corrupted at a time?
    for example : data iam sending is 110011001 including parity bit (odd parity), but at the receiver side i got 110000001, how we can detect this error ?

    • @0xdecaf
      @0xdecaf ปีที่แล้ว +1

      Your assumption is correct. If two bits are corrupted at a time in a parity-based system, the parity bit can't correct the error. Parity can only handle single-bit errors within its group of bits. More advanced error correction techniques like "Vertical Parity", "LRC", or "CRC" (checksums) are used in modern systems to ensure data remains correct. The sophistication level depends on factors like signal strength, data loss, and the importance of accurate data. If you're interested, read up more on checksums :)

  • @erdenedavaa.0730
    @erdenedavaa.0730 11 หลายเดือนก่อน

    excellent nice work

  • @shahadsaeed312
    @shahadsaeed312 หลายเดือนก่อน

    Even the parity bit of 0101011 is 1: true or fulse

  • @jawadhassan3657
    @jawadhassan3657 2 ปีที่แล้ว +1

    good Sir

  • @rafco90
    @rafco90 ปีที่แล้ว

    Thank you!

  • @kabitakhatri173
    @kabitakhatri173 2 ปีที่แล้ว

    Thanks a lot

  • @kellysmith7357
    @kellysmith7357 2 ปีที่แล้ว +1

    thanks dawg

  • @AliFarazJaffery
    @AliFarazJaffery 8 หลายเดือนก่อน

    But what if, due the noise, the parity bit is changed?

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  8 หลายเดือนก่อน +1

      Check this short video. th-cam.com/users/shortsVg48TJUcQJw?si=Lz_zgteQOFfSYYCE

  • @all9126
    @all9126 3 ปีที่แล้ว

    Thanks sir

  • @abhishekanand9372
    @abhishekanand9372 2 ปีที่แล้ว +1

    Best

  • @webdevop9709
    @webdevop9709 ปีที่แล้ว +1

    What if the noise flipped the parity bit 🤣🤣🤣

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  ปีที่แล้ว +2

      Even if the parity bit gets flipped, then also the error can be detected. As far as the number of error in the code is odd, it can be detected using the parity method.
      When there is an error in the parity bit then overall parity of the received code will change. For example, if you are using the odd parity then parity bit at the transmitter should be set such that, the overall parity of the code remains odd. Now, if there is an error in the parity bit itself then that would change the parity of the received code. And that would be detected at the receiver end by the parity checker circuit.

    • @webdevop9709
      @webdevop9709 ปีที่แล้ว +2

      @@ALLABOUTELECTRONICS Thanks dude Its been two years since this video was uploaded You are still replying with half million subscribers. Means a lot to me. Also you explained the concept very well that I figured that out.

  • @omwmakingprogress
    @omwmakingprogress 4 หลายเดือนก่อน

    could anyone pls send me link of the next video after this video

  • @simple_most788
    @simple_most788 ปีที่แล้ว

    to detect the
    error

    • @Kaloz2111
      @Kaloz2111 ปีที่แล้ว +1

      True his English is messed up

  • @efeincir3254
    @efeincir3254 2 ปีที่แล้ว +1

    great

  • @shortieewuttt6225
    @shortieewuttt6225 2 หลายเดือนก่อน

    tqsm

  • @LavudyaPooja
    @LavudyaPooja 15 วันที่ผ่านมา

    Digital electronics and digital circuit s both are same

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  15 วันที่ผ่านมา

      Digital electronics is a broader field that includes digital circuits.

  • @shinooooo394
    @shinooooo394 2 ปีที่แล้ว

    Great

  • @HemalathaMoyyi
    @HemalathaMoyyi ปีที่แล้ว

    I don't understand how you fix the p1=D3 D5 D4

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  ปีที่แล้ว

      Hi, would you please provide the timestamp where you are referring in the video ?

  • @YeshaniNethmi-q6o
    @YeshaniNethmi-q6o 7 หลายเดือนก่อน +1

    ❤🎉🎉

  • @Ok-wp4ed
    @Ok-wp4ed 2 ปีที่แล้ว

    Do u teach at neso academy?😂

  • @nirmala8331
    @nirmala8331 ปีที่แล้ว

    What if parity bit only got changed

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  ปีที่แล้ว

      If there is an error in the parity bit, then also it will get detected. As far as the number of errors in the received codes are odd, the error will be detected. But if there is an even number of error in the received code, then it won't be detected.

  • @martian1253
    @martian1253 11 หลายเดือนก่อน

    I don't know but u are mixing odd parity and even parity I watch three times but same confusion

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  11 หลายเดือนก่อน +2

      The thing is when we use Odd parity then parity bit should be set such that the overall parity of the code (including parity bit) should remain odd. And the same is applicable for even parity.

  • @siddhantraaj1764
    @siddhantraaj1764 2 ปีที่แล้ว +3

    30/07/22

  • @technicaltalha1242
    @technicaltalha1242 9 หลายเดือนก่อน +1

    saving math degree

  • @sarthak6356
    @sarthak6356 ปีที่แล้ว

    thanks

  • @cyber_insect99
    @cyber_insect99 9 หลายเดือนก่อน

    ❤❤❤

  • @MohamedAhmed-iy7du
    @MohamedAhmed-iy7du 2 ปีที่แล้ว

    Thanks

  • @sai_arts_club
    @sai_arts_club 7 วันที่ผ่านมา

    Excellent Explanation 🔥

  • @rakshitabandi9615
    @rakshitabandi9615 ปีที่แล้ว

    Thank you so much

  • @konohafrog
    @konohafrog ปีที่แล้ว

    Thank you

  • @رند-س5ح
    @رند-س5ح ปีที่แล้ว +1

    Thank you

  • @ahmadjaradat3011
    @ahmadjaradat3011 3 หลายเดือนก่อน

    Thank you