Lec-30: Hamming Code for Error Detection & Correction both with easiest examples

Поделиться
HTML-код
  • Опубликовано: 8 янв 2025

Комментарии • 216

  • @Malikyuvaan
    @Malikyuvaan Год назад +79

    Sir this is the first video of yours I didn’t get is seriously

  • @shwetasharma138
    @shwetasharma138 3 года назад +605

    Sir, please redo this on white board.

  • @VijendraSingh-bp3sf
    @VijendraSingh-bp3sf 3 года назад +353

    Please teach on white board it will extremely helpful and you explained more clear than on digital board🙏🙏🙏

    • @Shivaay.productions0777
      @Shivaay.productions0777 Год назад +5

      bhaiii aisa lag rah hai sir nasha karke padha the hain , jaha detect karai waha correct bol diya jaha coreection batana tha waha detect bol diya 6:02

    • @kalam_indian
      @kalam_indian Год назад +1

      ​@@Shivaay.productions0777hmmm galat padhaya orr sabko galat raste me bula rahe he

    • @encryptedcicada9375
      @encryptedcicada9375 11 месяцев назад

      Hijacking this top comment to say that I have commented a detailed explaination in my comment on 4th Feb 2024. If you find that you will understand the concept

    • @suyashrahatekar4964
      @suyashrahatekar4964 2 месяца назад

      The problem is that it's not even a "board"

  • @encryptedcicada9375
    @encryptedcicada9375 11 месяцев назад +13

    Number of parity bits in the final code: lowest possible value of n that satisfies [ 2^n >= no. of bits in codeword ]
    Parity bits location in codeword = 2^n where n starts from 0 (go until the position value exceeds the number of bits in codeword)
    Finding the value of parity bits works in this way:
    - Take the position number of the parity bit, for example 2 as p1's position is 2.
    - We will write down the identifiers of 2 bits and then skip two bits and write down the id of the next 2 bits. In our example we will write down p1 & d0 then skip over 2 ids which are p2 & d1 then we write down next 2 which are d2 and d3. (For position number n will accept n skip n accept n skip n and so forth till the end, including the postion of the parity bits of course.)
    We now have the following identifiers with us now: p1 d0 d2 and d3
    - We now remove the parity bit ids and xor the remaining data bits, in our case those are: d0, d2, d3. Hence p1 = d0 XOR d2 XOR d3
    - If we were to calculate for p2 which is at position 4, we will accept 4 skip 4 accept 4 skip 4 and so forth till the end. In that case we will have the following ids: p2 d1 d2 and d3
    - Now we remove parity bit ids and xor the remaining. Hence, p2 = d1 XOR d2 XOR d3

  • @jaybisht8502
    @jaybisht8502 2 года назад +82

    For those who failed to understand how Parity value was being extracted and set.
    Each redundant bit, ri, is calculated as the parity, generally even parity, based upon its bit position. It covers all bit positions whose binary representation includes a 1 in the ith position except the position of ri. Thus −
    ---r1 is the parity bit for all data bits in positions whose binary representation includes a 1 in the least significant position excluding 1 (3, 5, 7, 9, 11 and so on)
    ---r2 is the parity bit for all data bits in positions whose binary representation includes a 1 in the position 2 from right except 2 (3, 6, 7, 10, 11 and so on)
    ---r3 is the parity bit for all data bits in positions whose binary representation includes a 1 in the position 3 from right except 4 (5-7, 12-15, 20-23 and so on)

  • @anushakorla7295
    @anushakorla7295 2 года назад +100

    Sir, please teach us only on board,we are finding difficult to understand while your are teaching by this digital method🥺.Anyway we love your teaching❤️😌

  • @relentlessrock
    @relentlessrock 2 года назад +47

    I'm loving the series. This is the first video where I failed to understand how Parity value was being extracted. Hoping, someone can share some clarity in a reply.

    • @prabinmanandhar
      @prabinmanandhar 2 года назад +3

      its because of the 1 present in corresponding binary value of the position numbers. may be you didn't get it. you would understand if I could upload a photo in comment section.

    • @prabinmanandhar
      @prabinmanandhar 2 года назад

      watch this
      ruclips.net/video/V3N6PkmZ5Ok/видео.html

  • @harshdixit3920
    @harshdixit3920 9 месяцев назад +4

    U r ginius sir!!! Hand's off

  • @aqsakanwal723
    @aqsakanwal723 2 года назад +2

    Sir Jo lecture ap deliver krtay hey bht hi helpful thanks a lot for your time and effort # love from Pakistan

  • @hometvfirestick
    @hometvfirestick 3 года назад +5

    I am continue with his channel for last 4-5 days because my are coming after a week
    few minutes ago I was watching COA playlist and this notification comes
    your explanation is amazing it helps me alot to understand these terms very easily.

  • @acquireskills6717
    @acquireskills6717 2 года назад +16

    Very well explained, but it would be good if explained with white board

  • @faisalkhan1026
    @faisalkhan1026 3 года назад +22

    VERY NICE, ITS WOULD BE AWESOME IF YOU COULD UPLOAD A PLAYLIST ON C++ PROGRAMMING (theoretical and practical with A-z compiler demo ). YOUR TEACHING METHOD IS AWESOME.

  • @HassanRaza-nn5ro
    @HassanRaza-nn5ro 2 года назад +5

    Buddy! I love your way of teaching. Best teacher ever.❤ I wish I could send you a gift.

  • @muhammadpatel6014
    @muhammadpatel6014 5 часов назад

    this is the one of your lecture which is difficult to undersand for me.

  • @priyankakhandelwal3495
    @priyankakhandelwal3495 3 месяца назад +1

    Yes ...plz reupload this video on white board....otherwise your teaching technique is awesome.

  • @sanando630
    @sanando630 Год назад +7

    I think you made a mistake near the end there? What you said didn't make sense, could you explain that please? You recalculated the XOR of the error induced output, then you realized that it still came 1 even with the error then without acknowledging that you said the error is there because the number of 1s is odd, but you also said that the receiver calculates the XORs again to check for errors, then why must the receiver calculate the XOR if all it needs to see is whether the 1s are odd or even? And if it does calculate it again, the answer comes out as 1 anyway, so how does it know it's an error? Something went wrong there as it doesn't make sense. Would be very kind of you if you could explain it in a comment or a video. Thank you.

  • @anushakapandey913
    @anushakapandey913 2 месяца назад

    Sir please start giving notes, your channel will become the best channel

  • @waniyafarry4431
    @waniyafarry4431 3 месяца назад

    sir, i think your first video that I couldn't understand this concept.

  • @dkbagdi
    @dkbagdi 2 года назад +9

    I am following this course. all your lectures are amazing but everything you taught on the digital screen is kinda confusing. for me, it's hard to understand. when you use a marker and whiteboard we can see your hands moving. but on this screen, we can't see that. that's why it's hard to understand.

  • @Bazriya-p1f
    @Bazriya-p1f 9 месяцев назад +1

    One shot video bnado sir plz is topic ki again🙇

  • @saimajaved1614
    @saimajaved1614 Год назад +1

    Thanks your lectures are very helpful . But I didn't understand this lec . Try to teach us on White board. Thanks

  • @sunitadodiya5199
    @sunitadodiya5199 Год назад +4

    Thank you sir for your hard work all your videos are good your whiteboard explanation is awesome. I really wanna request you to explain this topic on white board thank you s for reading 😊👏🤩👨‍🏫

  • @ankittelgote1951
    @ankittelgote1951 3 года назад +4

    ♥️Sir Please 🙏 complete Digital Logic syllabus...i am not want to going to another channel for this subject only.. because you are awesome sir ♥️

  • @clashingtv2527
    @clashingtv2527 11 месяцев назад +1

    Agar kisiko samjh ne problem hui to chalo chota trick bata deta hu!
    Jis vi position ki parity calculate horahi he!
    Us bit ka jo vi number he suppose 2
    To hum 2 bit lenge then 2 bit skip karenge then repeat!
    For 4th position we take 4567 then skip 891011

  • @einnuomrre9024
    @einnuomrre9024 9 месяцев назад

    bohut sukriya meri vai🥰

  • @mohitkaushik21
    @mohitkaushik21 Год назад +1

    Thanks sir 😊

  • @Devesh8718
    @Devesh8718 Месяц назад

    Good explain

  • @Bazriya-p1f
    @Bazriya-p1f 9 месяцев назад +4

    Y topic achhe s clear ni ho paya yha esa lg rha h koi ni h hmara jab koi video aap s milti ni to bht afsos hota h😢

  • @akshitmehta2532
    @akshitmehta2532 2 года назад +4

    i think p0=1 at 5:19

  • @continnum_radhe-radhe
    @continnum_radhe-radhe 10 месяцев назад +1

    ❤❤❤

  • @pranavgunjal8543
    @pranavgunjal8543 2 месяца назад +1

    Sita Ram 🙇‍♂️✨

  • @adeelshah280
    @adeelshah280 8 месяцев назад +1

    sir it is too confusing concept is clear pls make a video on this on white board

  • @sahilrox3231
    @sahilrox3231 8 месяцев назад +23

    nothing is understandable

  • @jannatulferdos7063
    @jannatulferdos7063 Год назад +3

    We want lectures on Whiteboard!!!!!

  • @itz_me_imraan02
    @itz_me_imraan02 3 года назад +2

    Sir software engineering ka aur videos add kijiye🙏💙💚

  • @kushverma2334
    @kushverma2334 2 года назад +2

    sahi hai bosh

  • @kamyagupta4030
    @kamyagupta4030 Год назад

    Thank you so much ❤

  • @athukutti
    @athukutti 2 года назад +1

    Sir please teach this once more on white board I am unable to understand it through this method .

  • @indtajeetbanerjee7704
    @indtajeetbanerjee7704 Месяц назад

    Sir formula for p1,p2 and p0 are always same or different??

  • @anishkumargiri9490
    @anishkumargiri9490 Год назад

    please do it slowly it's looking you are revising the concept

  • @tusharmane7301
    @tusharmane7301 6 месяцев назад

    RUclips sir🤡my friend before 5min exam🗿

  • @shreeradhe6410
    @shreeradhe6410 2 года назад +1

    Sir padhaya to aapne bhut ache tarike se h but data in screen is not much clear...as a feedback m saying dis....except dat all is very nice...

  • @umangagarwal8726
    @umangagarwal8726 10 месяцев назад

    If you are getting problem in this video, watch easy engineering classes video of this topic, then come here you will understand each point. 😌

  • @sayandeepmukherjee8726
    @sayandeepmukherjee8726 27 дней назад +1

    Each parity bit controls specific bits in the data according to their position. The rules are simple:
    P1 checks bits 1, 3, 5, 7, ... (all bits where the binary position has a 1 in the least significant bit).
    P2 checks bits 2, 3, 6, 7, ... (all bits where the binary position has a 1 in the second least significant bit).
    P4 checks bits 4, 5, 6, 7, ... (all bits where the binary position has a 1 in the third least significant bit).

  • @SanjeevKumar-do4zg
    @SanjeevKumar-do4zg 3 года назад

    Sir pls gate smashers plus pr jo dssb ke liye series suru kr rakhi thi usko continues karo...
    I have been waiting these for many days.

  • @manmohannayak1089
    @manmohannayak1089 8 месяцев назад

    Sir please explain it on white board again please 🙏🏻

  • @dewanandkumar8589
    @dewanandkumar8589 3 месяца назад

    Understood

  • @InderGuptaa
    @InderGuptaa 2 года назад +1

    Sir, only this video seems difficult to understand🙁
    may be because of board.......

  • @sudeshmayal
    @sudeshmayal Год назад

    Sir mixed 🤯

  • @23Devvrat
    @23Devvrat Год назад +1

    Sir apne 11 bit wale mei thode se confuse ho gaye, while calculating or checking if the parity bit is valid or not, we must take the XOR of the data bits but aap first 1 ko bhi le rahe the, which is the parity bit we are calculating. Hope this solves some confusion. Otherwise really good video sir.

    • @suman8336
      @suman8336 Год назад

      I have the same confusion

    • @23Devvrat
      @23Devvrat Год назад +1

      @@suman8336 1st bit is the parity bit so don't take it and calculate XOR of the data bits. you will get wrong answer when you change the original 9th bit.✌️

  • @Ruchika_7
    @Ruchika_7 Год назад

    This class is also provided in paid batch...i could not understand anything and came to free class....here also the same class....

  • @OctaFoxGaming
    @OctaFoxGaming 2 года назад +1

    please make video again... i can't understand..... use white board method 😌

  • @simrantabassum4364
    @simrantabassum4364 Год назад

    Sir plz teach us in the board , we are unable to take it in this format plzz

  • @yashpreetsinghkalsi5380
    @yashpreetsinghkalsi5380 11 месяцев назад +4

    kuch nhi samjhra yaar

  • @SumanKumar-rt5dk
    @SumanKumar-rt5dk Год назад

    white board was awesome...
    plz back to white board (concepts are more clear over white board)

  • @vanshikarathore3966
    @vanshikarathore3966 Год назад

    Solver it wrongly sir please check 9:10

  • @shubhamgupta9924
    @shubhamgupta9924 Год назад

    Sir EX-OR left to right calculate karna hai ya right to left??

  • @vishuvyas9716
    @vishuvyas9716 2 года назад

    sir you are the best

  • @manishgupta768
    @manishgupta768 Год назад +5

    Teach on white board with pen not like this

  • @soumalyachatto10
    @soumalyachatto10 Год назад +2

    Not satisfied.. it wil be better if you did it on whiteboard

  • @aqsakanwal723
    @aqsakanwal723 2 года назад

    Sir agr hm nay haming code me 2 bit error ko find out krna tu os k leyea hm kon saa fandaa use krain gay ?

  • @supriyoroy2359
    @supriyoroy2359 3 года назад

    thank you sir

  • @Dream-mt7eb
    @Dream-mt7eb Год назад +1

    Ye topic lagata hai apko v hard lagata hai

    • @Dream-mt7eb
      @Dream-mt7eb Год назад

      Isliye to board istamal kiya hai

  • @tannarutvi4401
    @tannarutvi4401 3 года назад

    po,p1,p2 will be already given in question?

  • @sonytv_livesharktank
    @sonytv_livesharktank 11 месяцев назад

    Thanku

  • @binyaminqasmi5446
    @binyaminqasmi5446 3 года назад

    Love you sir

  • @dudamneerajdattu1459
    @dudamneerajdattu1459 Год назад

    that's why ppt is always a bad option for teaching.....traditional way of explaining on board is always the best one.

  • @ManishRaghavLeet
    @ManishRaghavLeet 2 года назад

    Please explain this concept on the whiteboard
    Through this its difficult to understand

  • @collegeboy4362
    @collegeboy4362 2 года назад

    🍎🍎🍎🍎🍎It is for you sir ji

  • @बजरंगबलीभक्त-त6र

    Great lecture ❤️

  • @ExploreElectronics
    @ExploreElectronics 3 года назад

    Nice

  • @rutvikdeshpande3603
    @rutvikdeshpande3603 3 года назад

    Sir incase parity bit change hogaya packet me se toh detection ke waqt ye work karega ?

  • @neerajchandel1342
    @neerajchandel1342 3 года назад

    Good morning sir. Kindly kvs pgt ke according videos BNA dijiye... For topic web scripting, java, .net .....

  • @mdnawab3634
    @mdnawab3634 2 года назад +1

    Sir ,I am getting 0 in place of adding R1 at position 1 but in your example it is written 1.plz rectify me

  • @MdHamza3820
    @MdHamza3820 Год назад

    Please explain on whiteboard

  • @somnathsadaphule2221
    @somnathsadaphule2221 Год назад

    Not understood Sir, what is the parity as p1

  • @cricshorts479
    @cricshorts479 2 месяца назад

    Sir plz do this in white board

  • @codexAbhi007
    @codexAbhi007 3 месяца назад

    but parity bits mai bhi toh error a sakta hai

  • @mohammedsaad3552
    @mohammedsaad3552 11 месяцев назад

    how to calculate the bit r8 value ?

  • @anshu.newwwww
    @anshu.newwwww 3 месяца назад

    Sir white board pr hi pdaiye

  • @mrdevikar5291
    @mrdevikar5291 9 месяцев назад

    Please sir again switch on white board❤

  • @tourWithAman
    @tourWithAman 3 месяца назад

    First time in this channel I didn't understand anything

  • @kamalakantapradhan4992
    @kamalakantapradhan4992 2 года назад

    Sir please teach on white board

  • @amansahu3531
    @amansahu3531 2 года назад

    Taking 011 from where, cursar not visible

  • @mmaaddyyforyou..
    @mmaaddyyforyou.. 10 месяцев назад

    aaj thoda confusion tha, just because of digital board

  • @aashutechbaba407
    @aashutechbaba407 6 месяцев назад

    Sir white board pr hi padaya kro plzz

  • @anjalisadhya2943
    @anjalisadhya2943 10 месяцев назад

    Sir please... use white Board

  • @sanghahome-he9xf
    @sanghahome-he9xf Год назад

    Boerd sir

  • @VishalKumar0510
    @VishalKumar0510 3 года назад +2

    Please Dont use digital way of study its ...,sir

  • @vishalshukla4573
    @vishalshukla4573 11 месяцев назад

    Sir I can't understand 😢
    Please make second video 🙏🏻

  • @afzaljutt6019
    @afzaljutt6019 8 месяцев назад +1

    Only understand a topic m whenever you used a white board

  • @gautamdwivedishayarikhazan5428

    White board p hi mst smjh aata h yaha gnta palle nhi pd rha kyuki yeh English language bich m aarhi h

  • @andrejohnv
    @andrejohnv Год назад

    2nd sum done.

  • @prakharjaiswal5774
    @prakharjaiswal5774 10 месяцев назад

    tu insaan nahi ,bhagwan hai bhai

  • @saadjan4294
    @saadjan4294 3 месяца назад

    please teach on white board

  • @oldisgold2068
    @oldisgold2068 3 года назад

    How can we calculate original data?

  • @alokrana4629
    @alokrana4629 Год назад

    Sir please write the white boad🙏

  • @shiva12832
    @shiva12832 Год назад

    Clear nahi hai ye numerical, aap digitally batate hain to aadha hi clear hota hai achhe se samjh nahi aata,
    White board use kriye sir

  • @sureshkumarlalchand2944
    @sureshkumarlalchand2944 Год назад

    Sir please ek baar white board par explain kr do

  • @UsaGrewal
    @UsaGrewal 5 месяцев назад

    Acha bahala board par samjhata tha Sir phr pata nahi kia hova