HSC Stuff > HSC Information Processes and Technology
IPT Question Thread + Useful Info
Hua Fei:
--- Quote from: BPunjabi on October 10, 2016, 12:13:57 pm ---Guys I sorta get it but not completely now... is there a slow and basic way you can explain to me because I know every other element of IPT except for this and its pis*ing me off
--- End quote ---
* The message I want to send is: 01001101
* Which parity do I want? Odd or even?
* I choose even.
* I count the number of ones in my message.
* There are 4 number of ones - therefore, it is even.
* To make it stay even, the parity bit that I add is 0.
* Just to check, I count the number of ones again in my modified message: 01001101 0. There are still 4 number of ones.
* If the receiver gets this message: 01001101 0 or 01111010 1, it says it is correct.
* This is because the receiver and the sender agreed upon even parity. The receiver counted the number of ones and they were even. Hence, it accepted this message and did not detect an error.
* If however the receiver gets this message: 01101101 0, it would request a resend as the number of ones are odd (there are 5 number of ones in that message). This is because the receiver and the sender had agreed upon even parity and not odd.
If you still don't get it, say exactly which step makes you confused and I can expand on it
Hope this helped!
aimbotted:
--- Quote from: BPunjabi on October 10, 2016, 12:13:57 pm ---Guys I sorta get it but not completely now... is there a slow and basic way you can explain to me because I know every other element of IPT except for this and its pis*ing me off
--- End quote ---
It's all about counting the number of odds and evens in the first line of data.
You determine the parity bit and then try to determine the parity bit of the other pieces of data
You'll eventually find one with a different parity and that's the one that has to be checked.
BPunjabi:
--- Quote from: Hua Fei on October 10, 2016, 01:37:20 pm ---
* The message I want to send is: 01001101
* Which parity do I want? Odd or even?
* I choose even.
* I count the number of ones in my message.
* There are 4 number of ones - therefore, it is even.
* To make it stay even, the parity bit that I add is 0.
* Just to check, I count the number of ones again in my modified message: 01001101 0. There are still 4 number of ones.
* If the receiver gets this message: 01001101 0 or 01111010 1, it says it is correct.
* This is because the receiver and the sender agreed upon even parity. The receiver counted the number of ones and they were even. Hence, it accepted this message and did not detect an error.
* If however the receiver gets this message: 01101101 0, it would request a resend as the number of ones are odd (there are 5 number of ones in that message). This is because the receiver and the sender had agreed upon even parity and not odd.
If you still don't get it, say exactly which step makes you confused and I can expand on it
Hope this helped!
--- End quote ---
It makes sense now.. i didnt know you choose even or add.. i was like where the fu*k are they getting this from ahaha -_-
Hua Fei:
--- Quote from: BPunjabi on October 10, 2016, 03:49:00 pm ---It makes sense now.. i didnt know you choose even or add.. i was like where the fu*k are they getting this from ahaha -_-
--- End quote ---
Do you want to test yourself?
Try these questions
BPunjabi:
Is the first one d) what i did was select odd and there are 3 1's if i add a zero there are still 3 1's
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version