GATE CSE Computer Networks PYQ analysis
Topic-wise weightage of Computer Networks from the 15 official GATE CSE papers on this site (2017–2026), with every question listed under the syllabus topics it tests.
7.9
average marks per paper
76
PYQs (2017–2026)
7 / 7
syllabus topics asked
#7 of 11
subjects by marks
Computer Networks weightage by year
Per paper; a year with two sessions shows their average. Of the 76 questions, 36 MCQ, 15 MSQ, 25 NAT; 42 carry 2 marks.
| Measure | 20172 papers | 2018 | 2019 | 2020 | 20212 papers | 2022 | 2023 | 20242 papers | 20252 papers | 20262 papers | Average |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Marks | 7.5 | 7 | 7 | 6 | 8 | 10 | 8 | 9 | 7 | 8.5 | 7.9 |
| Questions | 5 | 5 | 4 | 4 | 4.5 | 6 | 5 | 6 | 5 | 5.5 | 5.1 |
Computer Networks topic-wise weightage
Every topic of the official syllabus, most marks first. Year columns show marks per paper; marks count each question once, under its main topic, while “Questions” also counts supporting topics.
| Topic | 20172 papers | 2018 | 2019 | 2020 | 20212 papers | 2022 | 2023 | 20242 papers | 20252 papers | 20262 papers | Marks | Questions | Share |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| IPv4: fragmentation, CIDR notation and network address translation (NAT) | 0.5 | 2 | 2 | 3 | 1 | 3 | 2 | 4.5 | 3 | 2 | 34 | 22 | |
| Data link layer: error detection, medium access control and Ethernet | 3 | 2 | 4 | – | 3.5 | – | 1 | 1 | 1.5 | 3 | 31 | 19 | |
| TCP: flow control and congestion control; socket API | 1 | 3 | – | 2 | 1.5 | 2 | 2 | 1.5 | 0.5 | 2.5 | 23 | 19 | |
| Basics of switching (circuit, packet and virtual circuit) and performance metrics | 1 | – | – | – | 1 | 2 | – | 1 | 1 | 0.5 | 11 | 10 | |
| Distance vector and link state routing | 0.5 | – | – | – | 1 | 2 | 1 | – | 0.5 | – | 7 | 5 | |
| DNS and HTTP | – | – | – | 1 | – | 1 | 2 | 0.5 | – | 0.5 | 6 | 5 | |
| Principles of layering | – | – | – | – | – | – | – | 0.5 | 0.5 | – | 2 | 2 |
Computer Networks PYQs by topic
Newest first. A question can appear under up to three topics; one filed under another subject is marked with that subject.
IPv4: fragmentation, CIDR notation and network address translation (NAT)
22 questions · 34 marks as main topic · asked in 10 of 10 years · last in 2026
- 2026 Session 1 · Q56Valid CIDR blocks for 6000 addresses inside 202.16.0.0/152M · MSQ
- 2026 Session 2 · Q22Which application protocol may broadcast messages1M · MCQ
- 2026 Session 2 · Q33Usable host addresses with subnet mask 255.255.240.01M · NAT
- 2025 Session 1 · Q40Longest prefix match for 145.36.109.702M · MCQ
- 2025 Session 1 · Q57IPv4 fragments through routers with MTU 5000 and 30002M · NAT
- 2025 Session 2 · Q18Protocol that cannot appear in the IPv4 protocol field1M · MCQ
- 2025 Session 2 · Q23IPv4 fragments of a 7488-byte UDP payload over Ethernet1M · MCQ
- 2024 Session 1 · Q31IP header fields changed by NAT on outgoing packets1M · MSQ
- 2024 Session 1 · Q58Packets sent to R2 by longest-prefix match2M · NAT
- 2024 Session 1 · Q65Fragments delivered after two links with MTUs 542 and 3602M · NAT
- 2024 Session 2 · Q28Where IPv4 fragmentation and reassembly happen1M · MSQ
- 2024 Session 2 · Q32IPv4 header fields every router modifies1M · MSQ
- 2024 Session 2 · Q38CIDR prefix covering 10.12.2.0 to 10.12.3.2552M · MCQ
- 2023 · Q65Longest prefix match for 200.150.68.1182M · NAT
- 2022 · Q22Number of subnets in an enterprise network with three routers1M · MCQ
- 2022 · Q55CIDR prefixes that aggregate a router's subnets2M · MSQ
- 2021 Set 1 · Q55IP fragmentation of a 1400-byte TCP segment over an 820-byte MTU2M · MSQ
- 2020 · Q25True statements about an IP router's forwarding behaviour1M · MCQ
- 2020 · Q48Candidate /21 blocks from 202.61.0.0/17 for 1500 hosts2M · MCQ
- 2019 · Q38Which of three machines share a subnet with mask 255.255.255.2522M · MCQ
- 2018 · Q64Fragment offset of the third IPv4 fragment with MTU 6002M · NAT
- 2017 Session 2 · Q30Maximum router addresses in the IPv4 record route option1M · NAT
Data link layer: error detection, medium access control and Ethernet
19 questions · 31 marks as main topic · asked in 8 of 10 years · last in 2026
- 2026 Session 1 · Q45Minimum sliding window size for full link utilisation2M · MCQ
- 2026 Session 2 · Q43CRC remainder for data 110001011 with generator 10012M · MCQ
- 2026 Session 2 · Q65Sequence number bits for no wrap-around in 60 s at full utilisation2M · NAT
- 2025 Session 1 · Q56Probability a 5-bit message arrives error-free2M · NAT
- 2025 Session 2 · Q16ARP mapping and TCP piggybacked acknowledgements1M · MCQ
- 2024 Session 2 · Q23Destination IP and MAC addresses as a packet leaves the hostsupporting · 1M · MSQ
- 2024 Session 2 · Q55Minimum Ethernet frame size for collision detection2M · NAT
- 2023 · Q17When is Stop-and-Wait link utilization lowest1M · MCQ
- 2021 Set 1 · Q18Destination MAC addresses of ARP request and reply1M · MCQ
- 2021 Set 1 · Q39Missing data and check bits in a 12-bit Hamming codeword2M · MCQ
- 2021 Set 2 · Q44CRC check bits for message 11000 with generator x³+x+12M · MCQ
- 2021 Set 2 · Q64Pure ALOHA throughput at 1000 frames/s on a 1 Mbps channel2M · NAT
- 2019 · Q39How a machine finds the MAC address of another machine in its subnet2M · MCQ
- 2019 · Q59Minimum number of 8-port switches to connect 15 machines2M · NAT
- 2018 · Q23Bit lengths of UDP port, MAC address, IPv6 Next Header, TCP sequence numbersupporting · 1M · MCQ
- 2018 · Q65Maximum distance for carrier sense to avoid a collision2M · NAT
- 2017 Session 1 · Q42CRC check bits for message 01011011 with generator x^3 + x + 12M · MCQ
- 2017 Session 1 · Q55Stop-and-Wait ARQ efficiency: 1 Mbps, 1980-byte frame, 0.75 ms propagation2M · NAT
- 2017 Session 2 · Q44Minimum Hamming distance and error correction of a 4-codeword code2M · MCQ
TCP: flow control and congestion control; socket API
19 questions · 23 marks as main topic · asked in 9 of 10 years · last in 2026
- 2026 Session 1 · Q18True statement about TCP connection setup and closing1M · MCQ
- 2026 Session 1 · Q44When segment 2000 is sent under TCP slow start2M · MCQ
- 2026 Session 2 · Q58Slow-start rounds before TCP reaches congestion avoidance2M · NAT
- 2025 Session 1 · Q22TCP flags in the three-way handshake1M · MSQ
- 2025 Session 2 · Q16ARP mapping and TCP piggybacked acknowledgementssupporting · 1M · MCQ
- 2024 Session 1 · Q16Order of DNS, TCP SYN and HTTP GET packets when loading a pagesupporting · 1M · MCQ
- 2024 Session 1 · Q29Sequence and acknowledgement numbers in a TCP handshake1M · MSQ
- 2024 Session 2 · Q54TCP congestion window two RTTs after a timeout2M · NAT
- 2023 · Q50Valid sequence number field lengths for a TCP-like protocol2M · MSQ
- 2022 · Q60TCP sequence number bits to avoid wrap-around in one MSL2M · NAT
- 2021 Set 1 · Q54TCP client behaviour after the server host crashes and reboots2M · MSQ
- 2021 Set 1 · Q59Sliding window size for 50% utilisationsupporting · 2M · NAT
- 2021 Set 2 · Q17TCP SYN-ACK segment in the three-way handshake1M · MCQ
- 2020 · Q65TCP congestion window after 60 ms with slow start and AIMD2M · NAT
- 2018 · Q23Bit lengths of UDP port, MAC address, IPv6 Next Header, TCP sequence number1M · MCQ
- 2018 · Q24cwnd growth during TCP slow start1M · MCQ
- 2018 · Q35Wrap-around time of TCP sequence numbers at 1 Gbps1M · NAT
- 2017 Session 1 · Q24TCP client state while waiting for the server's FIN1M · MCQ
- 2017 Session 2 · Q28Connected UDP sockets: multiple peers and calling connect again1M · MCQ
Basics of switching (circuit, packet and virtual circuit) and performance metrics
10 questions · 11 marks as main topic · asked in 7 of 10 years · last in 2026
- 2026 Session 1 · Q45Minimum sliding window size for full link utilisationsupporting · 2M · MCQ
- 2026 Session 2 · Q21File transfer time over three links of different bandwidth1M · MCQ
- 2026 Session 2 · Q65Sequence number bits for no wrap-around in 60 s at full utilisationsupporting · 2M · NAT
- 2025 Session 2 · Q36Channel utilisation of stop-and-wait on a slow link2M · MCQ
- 2024 Session 1 · Q36Time for a file split into chunks to cross a store-and-forward router2M · MCQ
- 2023 · Q17When is Stop-and-Wait link utilization lowestsupporting · 1M · MCQ
- 2022 · Q59Time to receive a packet over an earth–satellite link2M · NAT
- 2021 Set 1 · Q59Sliding window size for 50% utilisation2M · NAT
- 2017 Session 1 · Q55Stop-and-Wait ARQ efficiency: 1 Mbps, 1980-byte frame, 0.75 ms propagationsupporting · 2M · NAT
- 2017 Session 2 · Q45Transmission and propagation delay for a 50,000-byte file2M · MCQ
Distance vector and link state routing
5 questions · 7 marks as main topic · asked in 5 of 10 years · last in 2025
- 2025 Session 2 · Q17Match routing protocols to their shortest-path algorithms1M · MCQ
- 2023 · Q25Incorrect statements about OSPF1M · MSQ
- 2022 · Q57Probability of a routing loop after link failure in distance vector2M · NAT
- 2021 Set 2 · Q55Distance vector update at R from neighbours X, Y, Z2M · MSQ
- 2017 Session 2 · Q19True statements about RIP and OSPF routing protocols1M · MCQ
DNS and HTTP
5 questions · 6 marks as main topic · asked in 5 of 10 years · last in 2026
- 2026 Session 1 · Q19HTTP 1.1 persistent connections and pipelining1M · MSQ
- 2024 Session 1 · Q16Order of DNS, TCP SYN and HTTP GET packets when loading a page1M · MCQ
- 2023 · Q52RTTs to load a page with iterative DNS and 10 objects2M · MSQ
- 2022 · Q35DNS query-response pairs for iterative resolution of www.gate.org.in1M · NAT
- 2020 · Q35TCP connections to load a page with five images, non-persistent HTTP1M · NAT
Principles of layering
2 questions · 2 marks as main topic · asked in 2 of 10 years · last in 2025