Computer Networks
![](https://i0.wp.com/allabouttesting.org/wp-content/uploads/2018/01/system-1527685_960_720.jpg?resize=720%2C340&ssl=1)
Q11. A client process P needs to make a TCP connection to a server Process S. Consider the following situation; the server process S executes a socket (), a bind() and a listen () system call in that order, following which it is preempted. Subsequently, the client Process P executes a socket () system call followed by connect () system call to connect to the server process S. The server process has not executed any accept() system call. Which one of the following events could take place? (Gate 2008)
- connect ( ) system call returns successfully
- connect ( ) system call blocks
- connect ( ) system call returns an error
- connect ( ) system call results in a core dump
Ans. (3) connect ( ) system call returns an error
Q12. A computer on a 10Mbps network is regulated by a token bucket. The token bucket is filled at a rate of 2Mbps. It is initially filled to capacity with 16Megabits. What is the maximum duration for which the computer can transmit at the full 10Mbps? (Gate 2008)
- 1.6 seconds
- 2 seconds
- 5 seconds
- 8 seconds
Ans. (2) 2 seconds
Q13. If a class B network on the Internet has a subnet mask of 255.255.248.0, what is the maximum number of hosts per subnet?(Gate 2008)
- 1022
- 1023
- 2046
- 2047
Ans. (3) 2046
Q14.In the slow start phase of the TCP congesting control algorithm, the size of the congestion window(Gate 2008)
- Does not increase
- Increases linearly
- Increases quadratically
- Increases exponentially
Ans. (4) Increases exponentially
Q15.What is the maximum size of data that the application layer can pass on to the TCP layer below?(Gate 2008)
- Any size
- 216 bytes-size of TCP header
- 216 bytes
- 1500 bytes
Ans. (1)Any size
Q16.Match the following:(Gate 2007)
Protocol | Layers |
---|---|
P. SMTP | 1. Application Layer |
Q. BGP | 2. Transport Layer |
R. TCP | 3. Data Link Layer |
S. PPP | 4. Network Layer |
5. Physical Layer |
- P-2,Q-1,R-3,S-5
- P-1,Q-4,R-2,S-3
- P-1,Q-4,R-2,S-5
- P-2,Q-4,R-1,S-3
Ans. (2) P-1,Q-4,R-2,S-3
Q17. The distance between the two stations M and N is L kilometers. All frames are K bits long. The propagation delay per kilometer is t seconds Let R bits/second be the channel capacity. Assuming that the processing delay is negligible, the minimum number of bits for the sequence number field in a frame for maximum utilization, when the sliding window protocol is used, is; (Gate 2007)
Ans.(3)
Q18. The message 11001001 is to be transmitted using the CRC polynomial x 1 3 + to protect it from errors. The message that should be transmitted is:(Gate 2007)
- 11001001000
- 11001001011
- 11001010
- 110010010011
Ans. (2) 11001001011
Q19. The address of a class B host is to be split into subnets with a 6-bit subnet number. What are the maximum number of subnets and the maximum number of hosts in each subnet? (Gate 2007)
- 62 subnets and 262142 hosts
- 64 subnets and 262142 hosts
- 62 subnets and 1022 hosts
- 64 subnets and 1024 hosts
Ans. (3) 62 subnets and 1022 hosts
Q20. In a token ring network, the transmission speed is 10 bps and the ropagation speed is 200 metres/μs . The 1-bit delay in this network is equivalent to; (Gate 2007)
- 500 metres of cable
- 200 metres of cable
- 20 metres of cable
- 50 metres of cable
Ans. (3) 20 metres of cable
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.