Computer Networks
![](https://i0.wp.com/allabouttesting.org/wp-content/uploads/2018/01/system-1527685_960_720.jpg?resize=720%2C340&ssl=1)
Q21. There are n stations in a slotted LAN. Each station attempts to transmit with a probability p in each time slot. What is the probability that ONLY one station transmits in a given time slot? (Gate 2007)
- np(1 − p)n−1
- (1 − p)n−1
- p(1 − p)n−1
- 1 − (1 − p)n−1
Ans. (1) np(1 − p)n−1
Q22. Which one of the following uses UDP as the transport protocol?(Gate 2007)
- HTTP
- Telnet
- DNS
- SMTP
Ans. (3) DNS
Q23. In Ethernet when Manchester encoding is used, the bit rate is(Gate 2007)
- Half the baud rate
- Twice the baud rate
- Same as the baud rate
- None of these
Ans. (1) Half the baud rate
Q24. Station A needs to send a message consisting of 9 packets to Station B using a sliding window (window size 3) and go-back-n error control strategy. All packets are ready and immediately available for transmission. If every 5th packet that A transmits gets lost (but no acks from B ever get lost), then what is the number of packets that A will transmit for sending the message to B? (Gate 2006)
- 12
- 14
- 16
- 18
Ans. (3) 16
Q25. Consider the diagram shown below where a number of LANs are connected by (transparent) bridges. In order to avoid packets looping through circuits in the graph, the bridges organize themselves in a spanning tree. First, the root bridge is identified as the bridge with the least serial number. Next, the root sends out (one or more) data units to enable the setting up of the spanning tree of shortest paths from the root bridge to each bridge.
Each bridge identifies a port (the root port) through which it will forward frames to the root bridge. Port conflicts are always resolved in favor of the port with the lower index value. When there is a possibility of multiple bridges forwarding to the same LAN (but not through the root port), ties are broken as follows: bridges closest to the root get preference and between such bridges, the one with the lowest serial number is preferred.
![](https://i0.wp.com/allabouttesting.org/wp-content/uploads/2018/01/bridge.jpg?resize=498%2C362)
For the given connection of LANs by bridges, which one of the following choices represents the depth-first traversal of the spanning tree of bridges? (Gate 2006)
- B1,B5,B3,B4,B2
- B1,B3,B5,B2,B4
- B1,B5,B2,B3,B4
- B1.B3.B4.B5.B2
Ans. (3) B1,B5,B3,B4,B2
Q26.Consider the correct spanning tree for the previous question. Let host H1 send out a broadcast ping packet. Which of the following options represents the correct for forwarding table on B3? (Gate 2006)
-
H1,H2,H3,H4 3 H5,H6,H9,H10 1 H7,H8,H11,H12 2 -
H1, H2 4 H3, H4 3 H5, H6 1 H7, H8, H9, H10,H11,H12 2 -
H3, H4 3 H5, H6, H9, H10 1 H1, H2 4 H7, H8, H11, H12 2 -
H1, H2, H3, H4 3 H5, H7, H9, H10 1 H7, H8, H11, H12 4
Ans.(1)
H1,H2,H3,H4 | 3 |
H5,H6,H9,H10 | 1 |
H7,H8,H11,H12 | 2 |
Q27. Two computers C1 and C2 are configured as follows. C1 has an IP address of 203. 197.2.53 and netmask 255.255. 128.0. C2 has an IP address of 203.197.75.201 and a netmask 255.255.192.0. Which one of the following statements is true? (Gate 2006)
- C1 and C2 both assume they are on the same network
- C2 assumes C1 is on the same network, but C1 assumes C2 is on a different network
- C1 assumes C2 is on the same network, but C2 assumes C1 is on a different network
- C1 and C2 both assume they are on different networks
Ans. (3) C1 assumes C2 is on the same network, but C2 assumes C1 is on a different network
Q28. Station A uses 32-byte packets to transmit messages to Station B using a sliding window protocol. The round trip delay between A and B is 80 milliseconds and the bottleneck bandwidth on the path between a A and B is 128 kbps. What is the optimal window size that A should use? (Gate 2006)
- 20
- 40
- 160
- 320
Ans. (2) 40
Q29. For which one of the following reason: does Internet Protocol (IP) use
the time-to-live (TTL) field in the IP datagram header? (Gate 2006)
- Ensure packets reach the destination within that time
- Discard packets that reach later than that time
- Prevent packets from looping indefinitely
- Limit the time for which a packet gets queued in the intermediate
routers
Ans. (3) Prevent packets from looping indefinitely
Q30. Suppose the round trip propagation delay for a 10 Mbps Ethernet having a 48-bit jamming signal is 46.4 μs. The minimum frame size is :(Gate 2005)
- 94
- 416
- 464
- 512
Ans. (4) 512
Subscribe us to receive more such articles updates in your email.
If you have any questions, feel free to ask in the comments section below. Nothing gives me greater joy than helping my readers!
Disclaimer: This tutorial is for educational purpose only. Individual is solely responsible for any illegal act.