HSC Stuff > HSC Information Processes and Technology
IPT Question Thread + Useful Info
BPunjabi:
--- Quote from: Hua Fei on October 09, 2016, 08:53:15 pm ---Ah, right.
Well then,
For parity checks, you choose to transmit the data with an odd parity bit or an even one.
E.g. the binary to be transmitted is 0110101 and you choose odd parity. Choosing odd parity means that the number of 1's must be odd - if it's not, then you make it odd by making the parity bit 1. However, if it is, then the parity bit would be 0 in order to leave the number of 1's odd.
In this case, the number of 1's in the binary are 4. We have chosen odd parity hence the parity bit has to be 1 to make the number of 1's odd. As a result, the transmitting data would read as: 0110101 1
On the other hand, if even parity was chosen, the parity bit would be zero and the data to be transmitted would read as: 0110101 0
Hope this helped!
--- End quote ---
Ah Cool thanks :D!!!!!
- So how would you answer this question?
aimbotted:
Answer's B.
Here's why, the first bye there 3 0's and 5 1's this makes it an odd parity as the parity bit is 1 to make the 1's odd. Whilst in the 2nd and 3rd byte there are even amounts of 1's and 0's. As state before the first byte's parity is ODD, whilst the second byte and third byte have even parities. Therefor the Parity is odd and the corrupted data bytes are second and third
BPunjabi:
--- Quote from: aimbotted on October 09, 2016, 11:12:20 pm ---Answer's B.
Here's why, the first bye there 3 0's and 5 1's this makes it an odd parity as the parity bit is 1 to make the 1's odd. Whilst in the 2nd and 3rd byte there are even amounts of 1's and 0's. As state before the first byte's parity is ODD, whilst the second byte and third byte have even parities. Therefor the Parity is odd and the corrupted data bytes are second and third
--- End quote ---
OMFG, I love you!!! Thank you so much... I get it now!!!! do you have a similar question that you could ask me on this binary thing and I answer it and you tell me if Im right?
Hua Fei:
--- Quote from: BPunjabi on October 09, 2016, 11:42:34 pm ---OMFG, I love you!!! Thank you so much... I get it now!!!! do you have a similar question that you could ask me on this binary thing and I answer it and you tell me if Im right?
--- End quote ---
Have a go at these two :)
BPunjabi:
--- Quote from: Hua Fei on October 09, 2016, 11:57:44 pm ---Have a go at these two :)
--- End quote ---
Im guessing a) for 1, I dont know its odd and a 1, all the rest are even
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version