Data Link Layer · Computer Networks
69 questions · asked in 19 of 27 years (2000–2026)
MCQ 53 · NAT 161-mark 38 · 2-mark 31
2000Questions per year2026
Questions 16–20 of 69
The values of parameters for the Stop-and-Wait ARQ protocol are as given below:
Bit rate of the transmission channel = 1Mbps
Propagation delay from sender to receiver = 0.75 ms
Time to process a frame = 0.25ms
Number of bytes in the information frame =1980
Number of bytes in the acknowledge frame = 20
Number of overhead bytes in the information frame = 20
Assume that there are no transmission errors. Then the transmission efficiency ( expressed in percentage) of the Stop-and - Wait ARQ protocol for the above parameters is _________( correct to 2 decimal places)
Bit rate of the transmission channel = 1Mbps
Propagation delay from sender to receiver = 0.75 ms
Time to process a frame = 0.25ms
Number of bytes in the information frame =1980
Number of bytes in the acknowledge frame = 20
Number of overhead bytes in the information frame = 20
Assume that there are no transmission errors. Then the transmission efficiency ( expressed in percentage) of the Stop-and - Wait ARQ protocol for the above parameters is _________( correct to 2 decimal places)
Answer: 86.5 to 89.5
Work through each part:
- Time to send the frame: 1980 8 / = 15.84 ms (the useful data is 1960 bytes, which takes 15.68 ms)
- Time to send the ACK: 20 8 / = 0.16 ms
- Propagation takes 0.75 ms in each direction. Processing takes 0.25 ms.
One full cycle = 15.84 + 0.75 + 0.25 + 0.16 + 0.75 = 17.75 ms
Efficiency = 15.68 / 17.75 88.34%
Answer: 88.34
- Time to send the frame: 1980 8 / = 15.84 ms (the useful data is 1960 bytes, which takes 15.68 ms)
- Time to send the ACK: 20 8 / = 0.16 ms
- Propagation takes 0.75 ms in each direction. Processing takes 0.25 ms.
One full cycle = 15.84 + 0.75 + 0.25 + 0.16 + 0.75 = 17.75 ms
Efficiency = 15.68 / 17.75 88.34%
Answer: 88.34
Consider a binary code that consists of only four valid code words as given below:
00000,01011,10101,11110
Let the minimum Hamming distance of the code be p and the maximum number of erroneous bits that can be corrected by the code be q. Then the values of p and q are
00000,01011,10101,11110
Let the minimum Hamming distance of the code be p and the maximum number of erroneous bits that can be corrected by the code be q. Then the values of p and q are
Answer: (A)
Hamming distance between each pair of code words: 00000 and 01011 = 3, 00000 and 10101 = 3, 00000 and 11110 = 4, 01011 and 10101 = 4, 01011 and 11110 = 3, 10101 and 11110 = 3.
The smallest distance is p = 3. So the code can correct error.
Answer: p = 3 and q = 1
The smallest distance is p = 3. So the code can correct error.
Answer: p = 3 and q = 1
A sender uses the Stop-and Wait ARQ protocol for reliable transmission of frames. Frames are of size 1000bytes and the transmission rate at the sender is 80Kbps(1Kbps=1000 bits/second). Size of anacknowledgement is 100bytes and the transmission rate at the receiver is 8Kbps. The one-way propagation delay is 100milliseconds.
Assuming no frame is lost, the sender throughput is _____bytes/second.
Assuming no frame is lost, the sender throughput is _____bytes/second.
Answer: 2500
Work out each time:
- Frame transmission time: 8000 bits / 80 Kbps = 0.1 s
- ACK transmission time: 800 bits / 8 Kbps = 0.1 s
- Propagation time: 0.1 s in each direction
So one frame is sent in 0.1 + 0.1 + 0.1 + 0.1 = 0.4 s throughput = 1000 / 0.4 = 2500 bytes/s
Answer: 2500
- Frame transmission time: 8000 bits / 80 Kbps = 0.1 s
- ACK transmission time: 800 bits / 8 Kbps = 0.1 s
- Propagation time: 0.1 s in each direction
So one frame is sent in 0.1 + 0.1 + 0.1 + 0.1 = 0.4 s throughput = 1000 / 0.4 = 2500 bytes/s
Answer: 2500
In an Ethernet local area network,which one of the following statements is TRUE?
Answer: (D)
Let us check each statement one by one:
- A station goes on sensing the channel while it sends (this is how it finds a collision). So the statement is False.
- The jam signal informs all stations that a collision has taken place. Padding is a different thing. So the statement is False.
- When a collision happens, the station stops sending. So the statement is False.
- Exponential backoff makes stations wait for a random time that keeps growing, so a second collision is less likely. So the statement is True.
Answer: The exponential backoff mechanism reduces the probability of collision on retransmissions
- A station goes on sensing the channel while it sends (this is how it finds a collision). So the statement is False.
- The jam signal informs all stations that a collision has taken place. Padding is a different thing. So the statement is False.
- When a collision happens, the station stops sending. So the statement is False.
- Exponential backoff makes stations wait for a random time that keeps growing, so a second collision is less likely. So the statement is True.
Answer: The exponential backoff mechanism reduces the probability of collision on retransmissions
A network has a data transmission bandwidth of bits per second. It uses CSMA/CD in the MAClayer. The maximum signal propagation time from one node to another node is 40 microseconds. The minimum size of a frame in the network is ______ bytes.
Answer: 200
In CSMA/CD the sender must still be transmitting when the collision signal gets back to it: .
Minimum frame size = bits = 200 bytes
Answer: 200
Minimum frame size = bits = 200 bytes
Answer: 200
Keep practising