URGENT HELP! PARITY BIT TROUBLE! (1 Viewer)

Citrusacrobat08

New Member
Joined
May 31, 2023
Messages
3
Gender
Male
HSC
2026
Guys, I know its pretty late in the year for this, but I an getting very confused on how to do any parity bit questions. Cans anyone please lend a helping hand?
 

jimmysmith560

Le Phénix Trilingue
Moderator
Joined
Aug 22, 2019
Messages
4,298
Location
Krak des Chevaliers
Gender
Male
HSC
2019
Uni Grad
2022
Feel free to specify areas of the content that you are not fully confident with and/or post specific questions that you are struggling with. :)
 

liamkk112

Well-Known Member
Joined
Mar 26, 2022
Messages
933
Gender
Female
HSC
2023
I am just wanting explanation on this and how to generally for questions for parity bits, thanks a lot! :
View attachment 43743
the parity bit is the last bit of every byte, and aims to balance the number of 1s in every byte to be odd/even. this can be used to error check a byte, because if you know the number of 1s should be even for example, yet the byte has an odd number of 1s, then we know some of the bits of the byte have been scrambled and the byte must thus be corrupted.

we can notice that the first byte has odd parity, second has even, third has even. because the second and third bytes have different parity to the first, we can assume that the parity is meant to be odd and that the second and third bytes are corrupt. tbh the question doesn’t consider that corruption of data can still maintain parity, but in the context of hsc i guess you can assume that any corrupted data would have a different parity to what it’s meant to be.
 

Citrusacrobat08

New Member
Joined
May 31, 2023
Messages
3
Gender
Male
HSC
2026
the parity bit is the last bit of every byte, and aims to balance the number of 1s in every byte to be odd/even. this can be used to error check a byte, because if you know the number of 1s should be even for example, yet the byte has an odd number of 1s, then we know some of the bits of the byte have been scrambled and the byte must thus be corrupted.

we can notice that the first byte has odd parity, second has even, third has even. because the second and third bytes have different parity to the first, we can assume that the parity is meant to be odd and that the second and third bytes are corrupt. tbh the question doesn’t consider that corruption of data can still maintain parity, but in the context of hsc i guess you can assume that any corrupted data would have a different parity to what it’s meant to be.
Oh My God! That is such a great explanation! Thank you so much, I really appreciate the time you took to explain it to me! Have joyous rest of your week!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top