Home › GATE CS › PYQs › Computer Networks

Computer Networks (CN) — GATE CS Previous Year Questions

Practise GATE Computer Networks (CN) previous year questions, organized by topic. Filter by year, marks and MCQ, MSQ or NAT question type. Browse free previews; full access may require a paid plan.

Mapped syllabus topics

  • Layering, Switching & Performance Metrics
  • Data Link Layer: Error Detection, MAC & Ethernet
  • Routing: Distance Vector & Link State
  • IPv4: Fragmentation, CIDR & NAT
  • TCP: Flow Control, Congestion Control & Socket API
  • DNS & HTTP

Public question previews

  • With respect to a TCP connection between a client and a server, which one of the following statements is true? (2026 · 1 mark · MCQ)
  • 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? (2026 · 1 mark · MSQ)
  • 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 t denote the time (in milliseconds) at which the transmission of segment number 2000 starts. Which one of the following options is correct? (2026 · 2 marks · MCQ)
  • Consider the implementation of sliding window protocol over a lossless link, with a window size of W frames, where each frame is of size 1000 bits (including header). The bandwidth of the link is 100 kbps (1k = 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 W (in number of frames) required to achieve 100% link utilization? (2026 · 2 marks · MCQ)
  • 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? (2026 · 2 marks · MSQ)