Computer Networks questions

Q18

GATE CS 2026 CS-1Transport LayerMCQ1 mark−1/3 if wrong
With respect to a TCP connection between a client and a server, which one of the following statements is true?
Show answer without attempting

Answer: D

Q19

GATE CS 2026 CS-1Application LayerMSQ1 mark
Which of the following statements is/are true with respect to the interaction of a web browser with a web server using HTTP 1.1?
More than one option can be correct.
Show answer without attempting

Answer: A, C, D

Q44

GATE CS 2026 CS-1Transport LayerMCQ2 marks−2/3 if wrong
A TCP sender successfully establishes a connection with a TCP receiver and starts the transmission of segments. The TCP congestion control mechanism’s slow-start threshold is set to 10000 segments. Assume that the round-trip time is fixed at 1 millisecond. Assume that the sender always has data to send, the segments are numbered from 1, and no segment is lost. Let tt denote the time (in milliseconds) at which the transmission of segment number 2000 starts.

Which one of the following options is correct?
Show answer without attempting

Answer: B

Q45

GATE CS 2026 CS-1Transport LayerMCQ2 marks−2/3 if wrong
Consider the implementation of sliding window protocol over a lossless link, with a window size of WW frames, where each frame is of size 1000 bits (including header). The bandwidth of the link is 100 kbps (1k=1031\text{k} = 10^3) and the one-way propagation delay is 100 milliseconds. Assume that processing times at the sender and receiver are zero and the transmission time of acknowledgements is also zero. Which one of the following options gives the minimum size of WW (in number of frames) required to achieve 100% link utilization?
Show answer without attempting

Answer: B

Q56

GATE CS 2026 CS-1IPv4MSQ2 marks
An ISP having an address block 202.16.0.0/15 assigns a block of 6000 IP addresses to a client, using the classless internet domain routing (CIDR) super-netting approach. Which of the following address blocks can be assigned by the ISP?
More than one option can be correct.
Show answer without attempting

Answer: A, B, C

Q21

GATE CS 2026 CS-2Layering and SwitchingMCQ1 mark−1/3 if wrong
Consider a file of size 4 million bytes being transferred between two hosts connected via a path consisting of three consecutive links of bandwidth 2 Mbps, 500 kbps, and 1 Mbps, respectively. All processing delays and propagation delays are negligible. Assume that there is no other background traffic over the path and no other additional overhead to transfer the file.

Which one of the following is the total time (in seconds) to transfer the file?

Note: 1M=1061\text{M}=10^6, 1k=1031\text{k}=10^3
Show answer without attempting

Answer: B

Q22

GATE CS 2026 CS-2Application LayerMCQ1 mark−1/3 if wrong
Which one of the following protocols may need to broadcast some of its messages?
Show answer without attempting

Answer: C

Q33

GATE CS 2026 CS-2IPv4NAT1 mark
If an IP network uses a subnet mask of 255.255.240.0, the maximum number of IP addresses that can be assigned to network interfaces is __________. (answer in integer)
Show answer without attempting

Answer: 4094

Q43

GATE CS 2026 CS-2Data Link LayerMCQ2 marks−2/3 if wrong
Consider the transmission of data bits 110001011 over a link that uses Cyclic Redundancy Check (CRC) code for error detection. If the generator bit pattern is given to be 1001, which one of the following options shows the remainder bit pattern appended to the data bits before transmission?
Show answer without attempting

Answer: D

Q58

GATE CS 2026 CS-2Transport LayerNAT2 marks
Consider a new TCP connection between a sender and a receiver. The receiver advertised window is constant at 48 KB, the maximum segment size (MSS) is 2 KB, and the slow start threshold for TCP congestion control is 16 KB. Assume that there are no timeouts or duplicate acknowledgements. The number of rounds of transmission required for the congestion control algorithm of the TCP connection to reach the congestion avoidance phase is ___________. (answer in integer)

Note: 1K=2101\text{K}=2^{10}
Show answer without attempting

Answer: 4

Q65

GATE CS 2026 CS-2Data Link LayerNAT2 marks
It is necessary to design a link-layer protocol between two hosts that are directly connected over a lossless link of length 3000 kilometers. Assume that the link bandwidth is 10810^8 bits per second and that the propagation delay in the link is 5 nanoseconds per meter. Every transmitted data byte is assigned a unique sequence number.

Let NN be the minimum number of bits needed for the sequence number field in the protocol header such that

i. the sequence numbers do not wrap around before 60 seconds, and
ii. the maximum utilization of the link is achieved.

The value of NN is ______. (answer in integer)
Show answer without attempting

Answer: 30

0/110 correct0 marks

Related topics in GATE CS