Description
P AND A ARE THE FIRST TWO LETTERS OF MY NAME SO WORK ACCORDINGLY.
Convert the FIRST two letters of your last name into a 16 bit binary number based on the ASCII table as discussed in class. You can use this link: https://www.rapidtables.com/convert/number/ascii-to-binary.htm
Links to an external site.
1) You want to transmit the letters using the even parity scheme in two rows. How many parity pits are you going to use? Calculate all parity bits
2) Calculate the checksum. You can do so by converting the binary numbers to decimal or by doing the binary addition. You are free to use https://www.rapidtables.com/convert/number/binary-…
3)Due to an error bits 7 and 8 flip. These are the last two bits on the first row. The second row does not change! Flip means that a 1 becomes 0 and a 0 becomes 1. For example for binary number 01000001 (corresponds to A) when bits 7 and 8 flip means that the number becomes 01000010.
4)Calculate the new parity bits. Do the parity bits change?
5) Do the new parity bits in 4. allow you to locate the error introduced in 3 or not? Specifically, can you locate that the error is on the first now or not?
6)Calculate the checksum AFTER the the bits in the first row have flipped as described in 3. Is the checksum the same or different compared to 2?
8) Go back to 1) and the original bits you want to transmit. Now flip bits 15 and 16 only. These are the last two bits in the second row. The first row does not change.
9)Calculate the checksum for 8) the same way you did it for 2)
10) Calculate the parity bits for 8) Have the parity bits changed? Are the parity bits the same as 4? Yes or no? If the parity bits are the same what does it mean?
11) Can you locate that the error is in the first or second row without using the checksum? Explain.
12) Suppose that you start from 1. and only the parity bits 7 and 8 have flipped. This is case 3. If you have available both the parity bits and the checksum can you find AND fix the error? To do this you will have to use insights from all previous answers.