GATE 2005
203 questions
MCQ 2031-mark 203
Questions 181–185 of 203
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)
i. A node determines whether its neighbors in the graph are accessible. If so, it sets the tentative cost to each accessible neighbor as 1. Otherwise, the cost is set to .
ii. From each accessible neighbor, it gets the costs to relay to other nodes via that neighbor (as the next hop).
iii. Each node updates its routing table based on the information received in the previous two steps by choosing the minimum cost.
Continuing from the earlier problem, suppose at some time t, when the costs have stabilized, node A goes down. The cost from node F to node A at time (t+100) is :
Answer: (A)
Once A is down, nobody has a real route to A. In each interval a node takes the minimum cost to A reported by its neighbours in the previous interval, and adds 1. Nodes still use stale costs from each other (there is no split horizon):
: B = 2 (via C), C = 2 (via B), D = 2, E = 2, F = 3
: B = 3, C = 3, D = 3, E = 3, F = 3
: all of B, C, D, E rise to 4 and F = 4
From on, every node's cost rises by 1 each interval, because each node always finds a neighbour with a stale cost one lower. So F's cost at is .
At , F's cost is . This is the count-to-infinity problem: the cost is finite, and it keeps growing, so it is more than 100 but finite. It is not , because no infinity limit is set.
Answer: (A)