- If the original data to send is 10011001 11100010 00100100 10000100. How would it be possible to detect error using two dimensional error detecting technique?
- Construct an example to explain the parity check method used for error detection.
- Differentiate between Error control and flow control mechanism.
- Elaborate sliding window flow control mechanism with example. Also differentiate it with stop and wait method.
Elaborate sliding window flow control mechanism with example. Also differentiate it with stop and wait method.
Share
Q//If the original data to send is 10011001 11100010 00100100 10000100. How would it be possible to detect error using two dimensional error detecting technique?
Answer:
Q//Construct an example to explain the parity check method used for error detection.
Answer: Go through below link for answer.
Q1//Differentiate between Error control and flow control mechanism.
Answer:
Flow control:
Error control:
Q2//Elaborate sliding window flow control mechanism with example. Also differentiate it with stop and wait method.
Answer: Sliding window protocols are data link layer protocols for reliable and sequential delivery of data frames. The sliding window is also used in Transmission Control Protocol.
In these protocols, the sender has a buffer called the sending window and the receiver has buffer called the receiving window. The size of the sending window determines the sequence number of the outbound frames. If the sequence number of the frames is an n-bit field, then the range of sequence numbers that can be assigned is 0 to 2𝑛−1. Consequently, the size of the sending window is 2𝑛−1. Thus in order to accommodate a sending window size of 2𝑛−1, a n-bit sequence number is chosen.
Suppose that we have sender window and receiver window each of size 4. So the sequence numbering of both the windows will be 0,1,2,3,0,1,2 and so on. The following diagram shows the positions of the windows after sending the frames and receiving acknowledgments.
#Note: Download the above pic by clicking on attachment button below.