Computer Networks
Q31. In a packet switching network, packets are routed from source to destination along a single path having two intermediate nodes. If the message size is 24 bytes and each packet contains a header of 3 bytes, then the optimum packet size is(Gate 2005)
- 4
- 6
- 7
- 9
Ans. (4) 9
Q32. An organization has a class B network and wishes to form subnets for 64 departments. The subnet mask would be(Gate 2005)
- 255.255.0.0
- 255.255.64.0
- 255.255.128.0
- 255.255.255.0
Ans. (4) 255.255.255.0
Q33. In a network of LANs connected by bridges, packets are sent from one LAN to another through intermediate bridges. Since more than one path may exist between two LANs, packets may have to be routed through multiple bridges. Why is the spanning tree algorithm used for bridge routing? (Gate 2005)
- For shortest path routing between LANs
- For avoiding loops in the routing paths
- For fault tolerance
- For minimizing collisions
Ans. (2) For avoiding loops in the routing paths
Q34. The maximum window size for data transmission using the selective reject protocol with n-bit frame sequence numbers is (Gate 2005)
- 2n
- 2n−1
- 2n − 1
- 2n−2
Ans. (2) 2n−1
Q35. The address resolution protoc0l (ARP) is used for (Gate 2005)
- Finding the IP address from the DNS
- Finding the IP address of the default gateway
- Finding the IP address that corresponds to a MAC address
- Finding the MAC address that corresponds to an IP address
Ans. (4) Finding the MAC address that corresponds to an IP address
Q36. Packets of the same session may be routed through different paths in(Gate 2005)
- TCP, but not UDP
- TCP and UDP
- UDP but not TCP
- Neither TCP nor UDP
Ans. (2) TCP nor UDP
Solve the problems and choose the correct answers.
Consider three IP networks A, B, and C. Host HA in network A sends messages each containing 180 bytes of application data to a host HC in network C. The TCP layer prefixes a 20-byte header to the message. This passes through an intermediate network B. The maximum packet size, including 20 byte IP header, in each network, is
A: 1000 bytes
B: 100 bytes
C: 1000 bytes
The Networks A and B are connected through a 1 Mbps link, while B and C are connected by a 512 Kbps link (bps=bits per second).
Question 37 and 38 are based on the above statement
Q37.Assuming that the packets are correctly delivered, how many bytes, including headers, are delivered to the IP layer at the destination for one application message, in the best case? Consider only data packets.(Gate 2004)
- 200
- 220
- 240
- 260
Ans. (4) 260
Q38. What is the rate at which application data is transferred to host Hc? Ignore errors, acknowledgments, and other overheads.(Gate 2004)
- 325.5 Kbps
- 354.5 Kbps
- 409.6 Kbps
- 512.0 Kpps
Ans. (2) 354.5 Kbps
Q39. The routing table of a router is shown below :
Destination | Subnet Mask | Interface |
---|---|---|
128.75.43.0 | 255.255.255.0 | Eth 0 |
128.75.43.0 | 255.255.255.128 | Eth 1 |
192.12.17.5 | 255.255.255.255 | Eth 3 |
default | Eth 2 |
On which interface will the router forward packets addressed to destinations 128.75.43.16 and 192.12.17.10 respectively? (Gate 2004)
- Eth 1 and Eth 2
- Eth 0 and Eth 2
- Eth 0 and Eth 3
- Eth 1 and Eth 3
Ans. (1) Eth 1 and Eth 2
Q40. A and B are the only two stations on an Ethernet. Each has a steady queue of frames to send. Both A and B attempt to transmit a frame, collide and A wins the first backoff race, At the end of this successful transmission by A, both A and B attempt to transmit and collide. The probability that A wins the second backoff race is(Gate 2004)
- 0.5
- 0.625
- 0.75
- 1.0
Ans. (2) 0.625
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.