Data Link Layer · Computer Networks
69 questions · asked in 19 of 27 years (2000–2026)
MCQ 53 · NAT 161-mark 38 · 2-mark 31
Questions 56–60 of 69
Answer: (A)
We need a minimum frame size so that collisions are detected properly. With this size, the sender learns about any collision before it has finished sending the frame.
In CSMA/CD, a sender will not send a packet if it senses that another sender is using the cable. Take a sender A and a receiver B. While A sends a packet, B may still use the cable until it is told that a packet is coming. B learns this as soon as the first bit arrives, and after that it will not send any packet until that packet is finished. So, in the worst case, B sends a packet back just before the first bit of A's packet reaches it. (If is the propagation delay of the cable, this time is just .) In this case there will surely be a collision. But A can only detect it if it hears B's packet before it finishes sending its own. B's packet takes another to reach A, so A must still be sending after a time .
So the transmission time of the frame must be at least . The number of bits sent in time is , and the propagation delay is . Here the bandwidth is 1 Gbps bps and the signal speed is m/s.
So, frame size
Answer: (A)
Answer: (D)
A bridge works at the Data Link layer (layer 2) and joins two or more LAN segments by looking at MAC addresses. So (A) and (C) are true.
Each port of a bridge is a separate collision domain, because the bridge only forwards frames that must cross to the other segment. So (B) is true.
A bridge still forwards broadcast frames to all its ports, so all the segments it joins stay in one broadcast domain. It cannot reduce the broadcast domain; a router is needed for that. So (D) is false.
Answer: (D)
Answer: (C)
(A) is false: IEEE 802.11 wireless LAN uses CSMA/CA, not CSMA/CD, because a radio station cannot listen for a collision while it is sending.
(B) is false: Ethernet (IEEE 802.3) is defined with CSMA/CD.
(D) is false: in CSMA/CD stations compete for the same medium and collisions can happen, so contention does exist.
(C) is true: to detect a collision, a sender must still be transmitting when the collision signal returns, so the frame transmission time must be at least . In a satellite network the propagation delay is very large, so carrier sensing is out of date and the minimum frame size would have to be impractically large.
Answer: (C)
Answer: (D)
The sender must detect a collision before it finishes sending the whole frame. So the minimum frame length must be such that any collision is detected before the frame fully leaves the sender.
The worst case for collision detection is when the start of the frame is about to reach the receiver and the receiver starts sending. A collision happens and a jam signal is produced, and this signal must travel back to the sender.
The time needed is the time for the start of the frame to reach near the receiver the time for the jam signal to reach the sender the transmission time of the jam signal.
(We do not need to include the transmission time of the frame, as the receiver detects the frame as soon as its first bit arrives.) The first two times together are the round trip propagation delay . The 48-bit jam signal at 10 Mbps takes . So
The frame transmission time must be at least , so
minimum frame length .
(464 bits would be the answer if the jam signal were ignored.)
Answer: (D)
Answer: (B)
In selective reject (selective repeat), the sender window and the receiver window must fit together in the sequence number space: .
Reason: suppose the sender sends a full window and all of it is received, but the ACKs are lost. The receiver window moves on to the next numbers, while the sender times out and resends the old frames. If the old and new windows share any sequence numbers, the receiver cannot tell an old retransmitted frame from a new frame.
The two windows are equal here, so , and the largest window is .
For Go-back-N the receiver window is 1, so and the largest window is .
Answer: (B)
Keep practising