Question

In: Computer Science

a. Suppose the information content of a packet is the bit pattern 1110101010101111 and an even...

a. Suppose the information content of a packet is the bit pattern 1110101010101111 and an even parity scheme is being used. What would the value of the checksum field (sequence of parity bits) be for the case of a two-dimensional parity scheme? Your answer should be such that a minimum-length checksum field is used.

b. With the same bit-pattern and your derived checksum, prove that the 2D scheme will not be able to detect all burst errors?

Solutions

Expert Solution

Solution

Part 1

1110101010101111 is divided to 4 bit codes : 1110 , 1010 ,1010 , 1111

1 1 1 0 1
1 0 1 0 0
1 0 1 0 0
1 1 1 1 0
0 0 0 1 1

For checksum to be length minimum ,checksum field should be a 4x4 matrix with two dimensional even parity bit.

So we create a matrix of RxC dimensions and add one even parity bit at the end of each row and column.

Even Parity

If total number of 1 is even, parity bit is 0

If total number of 1 is odd, parity bit is 1

Part 2

A burst error  is a contiguous sequence of symbols, received over a communication channel, such that the first and last symbols have error and no contiguous subsequence of m exists which is correctly received symbols within the error burst.

The correct sequence without code is shown below:

1 1 1 0 1
1 0 1 0 0
1 0 1 0 0
1 1 1 1 0
0 0 0 1 1

Imagine a burst errors involving the highligted bits(in green) above so that the bits are changed from 0 to 1 and 1 to 0.

1 1 1 0 1
0 1 0 1 0
0 1 0 1 0
1 1 1 1 0
0 0 0 1 1

This error cannot be detected by the 2D parity scheme using the row and column parity bits.


Related Solutions

a. Suppose the information content of a packet is the bit pattern 1110101010101111 and an even...
a. Suppose the information content of a packet is the bit pattern 1110101010101111 and an even parity scheme is being used. What would the value of the checksum field (sequence of parity bits) be for the case of a two-dimensional parity scheme? Your answer should be such that a minimum-length checksum field is used. b. With the same bit-pattern and your derived checksum, prove that the 2D scheme will not be able to detect all burst errors?
IPv4 packet header has a bit field called DF. The semantics of this bit is “Don’t...
IPv4 packet header has a bit field called DF. The semantics of this bit is “Don’t frangment”, as such, when a router sees a IPv4 packet whose DF bit is set and the packet is bigger than MTU, it will discard the packet and returns an ICMP Destination Unreachable messages with a code meaning “fragmentation needed and DF set”. (a) Relying on only this mechanism, devise an algorithm for a host that sends a sequence of IPv4 packets with varying...
Assuming three-bit exponent field and four-bit significand, what is the bit pattern for -8.75
Assuming three-bit exponent field and four-bit significand, what is the bit pattern for -8.75
Using the three-bit exponent field and four-bit significand, what is the bit pattern for the -2.5?...
Using the three-bit exponent field and four-bit significand, what is the bit pattern for the -2.5? (show work)
Assuming three-bit exponent field and four-bit significant, what is the bit pattern for 5.75
Assuming three-bit exponent field and four-bit significant, what is the bit pattern for 5.75
1. Assuming three-bit exponent field and four-bit significand, what is the bit pattern for -8.75?
1. Assuming three-bit exponent field and four-bit significand, what is the bit pattern for -8.75?
1.The binary bit pattern 10011. Please give the number for this pattern represent in each of...
1.The binary bit pattern 10011. Please give the number for this pattern represent in each of the following: ones complement integer, twos complement integer, unsigned integer, sign-magnitude integer, and fixed point factional number. (Please note that there will be two bits to the left of the binary points and three bits to the right)
(5 pts) Assuming three-bit exponent field and four-bit significand, what is the bit pattern for 11.25(show...
(5 pts) Assuming three-bit exponent field and four-bit significand, what is the bit pattern for 11.25(show work)
What is the information content of dividend policy? Given this information content concept, what is the...
What is the information content of dividend policy? Given this information content concept, what is the market's typical reaction to a firm's reduction in their dividend (i.e. what happens to the stock's price)?
Using the parity bit, port b is to flash in a pattern of Odd Numbered LEDs...
Using the parity bit, port b is to flash in a pattern of Odd Numbered LEDs On and Even Numbered LEDS Off for 1 second, and then Odd Numbered LEDs Off and Even Numbered LEDS On for 1 second. This pattern will repeat indefinitely. Please provide the both the assembly code for MPLAB and a flow chart. Note - consider delay calculations and port B initialization have already been completed.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT