Subject analysis · 2017–2026
Computer Networks (CN)
Every GATE CS question on Computer Networks (CN), with how the marks are spread across years and topics.
Questions
76
6 topics
Avg marks / year
11.8
118 marks over 10 years
Peak year
2024
18 marks
Trend
Rising
+54% last 3 yrs
Marks per year
Both shifts counted where there were two · peak highlighted
avg 11.8
15
7
9
6
16
10
8
18
12
17
'17'18'19'20'21'22'23'24'25'26
Topic share
Share of Computer Networks (CN)'s 118 marks
6
topics
- Data Link Layer29%
- Fragmentation and IP Addressing , NAT)26%
- Transport Layer19%
- Routing Protocols11%
- Application Layer & Security10%
- OSI & TCP/IP Protocol Layers5%
Topic × year heatmap
Marks from each topic in each year — darker is heavier. Topics that light up every column are the safest bets.
| '17 | '18 | '19 | '20 | '21 | '22 | '23 | '24 | '25 | '26 | |
|---|---|---|---|---|---|---|---|---|---|---|
| Data Link Layer | 8 | 2 | 2 | 8 | 2 | 1 | 3 | 2 | 6 | |
| Fragmentation and IP Addressing , NAT) | 1 | 2 | 4 | 3 | 3 | 3 | 7 | 4 | 4 | |
| Transport Layer | 2 | 2 | 2 | 3 | 2 | 2 | 3 | 1 | 5 | |
| Routing Protocols | 1 | 2 | 2 | 3 | 2 | 3 | ||||
| Application Layer & Security | 3 | 3 | 1 | 1 | 2 | 1 | 1 | |||
| OSI & TCP/IP Protocol Layers | 1 | 2 | 2 | 1 |
All 76 Computer Networks (CN) questions
2026 11 questions · 17 marks
- FN · Q18With respect to a TCP connection between a client and a server, which one of the following statements is true?Transport Layer · MCQ · 1 mark
- FN · Q19Which of the following statements is/are true with respect to the interaction of a web browser with a web server using HTTP 1.1?Application Layer & Security · MSQ · 1 mark
- FN · Q44A TCP sender successfully establishes a connection with a TCP receiver and starts the transmission of segments. The TCP congestion control mechanism's slow-sta…Transport Layer · MCQ · 2 marks
- FN · Q45Consider 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 h…Data Link Layer · MCQ · 2 marks
- FN · Q56An 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…Fragmentation and IP Addressing , NAT) · MSQ · 2 marks
- AN · Q21Consider 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…OSI & TCP/IP Protocol Layers · MCQ · 1 mark
- AN · Q22Which one of the following protocols may need to broadcast some of its messages?Fragmentation and IP Addressing , NAT) · MCQ · 1 mark
- AN · Q33If 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)Fragmentation and IP Addressing , NAT) · NAT · 1 mark
- AN · Q43Consider 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…Data Link Layer · MCQ · 2 marks
- AN · Q58Consider 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…Transport Layer · NAT · 2 marks
- AN · Q65It 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 l…Data Link Layer · NAT · 2 marks
2025 9 questions · 12 marks
- FN · Q16Identify the ONE CORRECT matching between the OSI layers and their corresponding functionalities as shown. OSI Layers (a) Network layer (b) Transport layer (c)…OSI & TCP/IP Protocol Layers · MCQ · 1 mark
- FN · Q22Consider the 3-way handshaking protocol for TCP connection establishment. Let the three packets exchanged during the connection establishment be denoted as P1,…Transport Layer · MSQ · 1 mark
- FN · Q40A packet with the destination IP address 145.36.109.70 arrives at a router whose routing table is shown. Which interface will the packet be forwarded to?Routing Protocols · MCQ · 2 marks
- FN · Q57Suppose a message of size 15000 bytes is transmitted from a source to a destination using IPv4 protocol via two routers as shown in the figure. Each router has…Fragmentation and IP Addressing , NAT) · NAT · 2 marks
- AN · Q16Consider the following statements: (i) Address Resolution Protocol (ARP) provides a mapping from an IP address to the corresponding hardware (link-layer) addre…OSI & TCP/IP Protocol Layers · MCQ · 1 mark
- AN · Q17Consider the routing protocols given in List-I and the names given in List-II: List-I (i) Distance vector routing (ii) Link state routing List-II (a) Bellman-F…Routing Protocols · MCQ · 1 mark
- AN · Q18A machine receives an IPv4 datagram. The protocol field of the IPv4 header has the protocol number of a protocol X. Which ONE of the following is NOT a possibl…Fragmentation and IP Addressing , NAT) · MCQ · 1 mark
- AN · Q23Consider a network that uses Ethernet and IPv4. Assume that IPv4 headers do not use any options field. Each Ethernet frame can carry a maximum of 1500 bytes in…Fragmentation and IP Addressing , NAT) · MCQ · 1 mark
- AN · Q36Suppose we are transmitting frames between two nodes using Stop-and-Wait protocol. The frame size is 3000 bits. The transmission rate of the channel is 2000 bp…Data Link Layer · MCQ · 2 marks
2024 12 questions · 18 marks
- FN · Q16A user starts browsing a webpage hosted at a remote server. The browser opens a single connection to fetch the entire webpage from the server. The webpage cons…Application Layer & Security · MCQ · 1 mark
- FN · Q29TCP client P successfully establishes a connection to TCP server Q. Let N P denote the sequence number in the SYN sent from P to Q . Let N Q denote the acknowl…Transport Layer · MSQ · 1 mark
- FN · Q31Which of the following fields is/are modified in the IP header of a packet going out of a network address translation (NAT) device from an internal network to…Fragmentation and IP Addressing , NAT) · MSQ · 1 mark
- FN · Q36Consider a network path P - Q - R between nodes P and R via router Q . Node P sends a file of size 10 6 bytes to R via this path by splitting the file into chu…OSI & TCP/IP Protocol Layers · MCQ · 2 marks
- FN · Q58Consider the entries shown below in the forwarding table of an IP router. Each entry consists of an IP prefix and the corresponding next hop router for packets…Routing Protocols · NAT · 2 marks
- FN · Q65Consider sending an IP datagram of size 1420 bytes (including 20 bytes of IP header) from a sender to a receiver over a path of two links with a router between…Fragmentation and IP Addressing , NAT) · NAT · 2 marks
- AN · Q23Node X has a TCP connection open to node Y. The packets from X to Y go through an intermediate IP router R. Ethernet switch S is the first switch on the networ…Data Link Layer · MSQ · 1 mark
- AN · Q28Which of the following statements about IPv4 fragmentation is/are TRUE?Fragmentation and IP Addressing , NAT) · MSQ · 1 mark
- AN · Q32Which of the following fields of an IP header is/are always modified by any router before it forwards the IP packet?Fragmentation and IP Addressing , NAT) · MSQ · 1 mark
- AN · Q38Which one of the following CIDR prefixes exactly represents the range of IP addresses 10.12.2.0 to 10.12.3.255?Fragmentation and IP Addressing , NAT) · MCQ · 2 marks
- AN · Q54Consider a TCP connection operating at a point of time with the congestion window of size 12 MSS (Maximum Segment Size), when a timeout occurs due to packet lo…Transport Layer · NAT · 2 marks
- AN · Q55Consider an Ethernet segment with a transmission speed of 10 8 bits/sec and a maximum segment length of 500 meters. If the speed of propagation of the signal i…Data Link Layer · NAT · 2 marks
2023 5 questions · 8 marks
- FN · Q17Suppose two hosts are connected by a point-to-point link and they are configured to use Stop-and-Wait protocol for reliable data transfer. Identify in which on…Data Link Layer · MCQ · 1 mark
- FN · Q25Which of the following statements is/are INCORRECT about the OSPF (Open Shortest Path First) routing protocol used in the Internet?Routing Protocols · MSQ · 1 mark
- FN · Q50Suppose you are asked to design a new reliable byte-stream transport protocol like TCP. This protocol, named myTCP, runs over a 100 Mbps network with Round Tri…Transport Layer · MSQ · 2 marks
- FN · Q52Suppose in a web browser, you click on the www.gate-2023.in URL. The browser cache is empty. The IP address for this URL is not cached in your local host, so a…Application Layer & Security · MSQ · 2 marks
- FN · Q65The forwarding table of a router is shown below: A packet addressed to a destination address 200.150.68.118 arrives at the router. It will be forwarded to the…Routing Protocols · NAT · 2 marks
2022 6 questions · 10 marks
- FN · Q22Consider an enterprise network with two Ethernet segments, a web server and a firewall, connected via three routers as shown below. What is the number of subne…Fragmentation and IP Addressing , NAT) · MCQ · 1 mark
- FN · Q35Consider the resolution of the domain name www.gate.org.in by a DNS resolver. Assume that no resource records are cached anywhere across the DNS servers and th…Application Layer & Security · NAT · 1 mark
- FN · Q55Consider routing table of an organization's router shown below: Which of the following prefixes in CIDR notation can be collectively used to correctly aggregat…Fragmentation and IP Addressing , NAT) · MSQ · 2 marks
- FN · Q57Consider a network with three routers P, Q, R shown in the figure below. All the links have cost of unity. The routers exchange distance vector routing informa…Routing Protocols · NAT · 2 marks
- FN · Q59Consider a 100 Mbps link between an earth station (sender) and a satellite (receiver) at an altitude of 2100 km. The signal propagates at a speed of 3 10 8 m/s…Data Link Layer · NAT · 2 marks
- FN · Q60Consider the data transfer using TCP over a 1 Gbps link. Assuming that the maximum segment lifetime (MSL) is set to 60 seconds, the minimum number of bits requ…Transport Layer · NAT · 2 marks
2021 9 questions · 16 marks
- FN · Q18Consider the following two statements: S 1 : Destination MAC address of an ARP reply is a broadcast address. S 2 : Destination MAC address of an ARP request is…Fragmentation and IP Addressing , NAT) · MCQ · 1 mark
- FN · Q39Assume that a 12-bit Hamming codeword consisting of 8-bit data and 4 check bits is d 8\ d 7\ d 6\ d 5\ c 8\ d 4\ d 3\ d 2\ c 4\ d 1\ c 2\ c 1, where the data b…Data Link Layer · MCQ · 2 marks
- FN · Q54A TCP server application is programmed to listen on port number P on host S. A TCP client is connected to the TCP server over the network. Consider that while…Transport Layer · MSQ · 2 marks
- FN · Q55Consider two hosts P and Q connected through a router R. The maximum transfer unit (MTU) value of the link between P and R is 1500 bytes, and between R and Q i…Fragmentation and IP Addressing , NAT) · MSQ · 2 marks
- FN · Q59Consider the sliding window flow-control protocol operating between a sender and a receiver over a full-duplex error-free link. Assume the following: • The tim…Data Link Layer · NAT · 2 marks
- AN · Q17Consider the three-way handshake mechanism followed during TCP connection establishment between hosts P and Q. Let X and Y be two random 32-bit starting sequen…Transport Layer · MCQ · 1 mark
- AN · Q44Consider the cyclic redundancy check (CRC) based error detecting scheme having the generator polynomial X 3 + X + 1. Suppose the message m 4m 3m 2m 1m 0 = 1100…Data Link Layer · MCQ · 2 marks
- AN · Q55Consider a computer network using the distance vector routing algorithm in its network layer. The partial topology of the network is as shown below. The object…Routing Protocols · MSQ · 2 marks
- AN · Q64Consider a network using the pure ALOHA medium access control protocol, where each frame is of length 1,000 bits. The channel transmission rate is 1 Mbps (= 10…Data Link Layer · NAT · 2 marks
2020 4 questions · 6 marks
- FN · Q25Consider the following statements about the functionality of an IP based router. I. A router does not modify the IP packets during forwarding. II. It is not ne…Fragmentation and IP Addressing , NAT) · MCQ · 1 mark
- FN · Q35Assume that you have made a request for a web page through your web browser to a web server. Initially the browser cache is empty. Further, the browser is conf…Application Layer & Security · NAT · 1 mark
- FN · Q48An organization requires a range of IP addresses to assign one to each of its 1500 computers. The organization has approached an Internet Service Provider (ISP…Fragmentation and IP Addressing , NAT) · MCQ · 2 marks
- FN · Q65Consider a TCP connection between a client and a server with the following specifications: the round trip time is 6 ms, the size of the receiver advertised win…Transport Layer · NAT · 2 marks
2019 5 questions · 9 marks
- FN · Q26Which of the following protocol pairs can be used to send and retrieve e-mails (in that order)?Application Layer & Security · MCQ · 1 mark
- FN · Q38Consider three machines M, N and P with IP addresses 100.10.5.2, 100.10.5.5 and 100.10.5.6 respectively. The subnet mask is set to 255.255.255.252 for all the…Fragmentation and IP Addressing , NAT) · MCQ · 2 marks
- FN · Q39Suppose that in an IP-over-Ethernet network, a machine X wishes to find the MAC address of another machine Y in its subnet. Which one of the following techniqu…Fragmentation and IP Addressing , NAT) · MCQ · 2 marks
- FN · Q59Consider that 15 machines need to be connected in a LAN using 8-port Ethernet switches. Assume that these switches do not have any separate uplink ports. The m…Data Link Layer · NAT · 2 marks
- FN · Q64In an RSA cryptosystem, the value of the public modulus parameter n is 3007. If it is also known that (n) = 2880 , where () denotes Euler’s Totient Function, t…Application Layer & Security · NAT · 2 marks
2018 5 questions · 7 marks
- FN · Q23Match the following: Field Length in bits P. UDP Header’s Port Number I. 48 Q. Ethernet MAC Address II. 8 R. IPv6 Next Header III. 32 S. TCP Header’s Sequence…OSI & TCP/IP Protocol Layers · MCQ · 1 mark
- FN · Q24Consider the following statements regarding the slow start phase of the TCP congestion control algorithm. Note that cwnd stands for the TCP congestion window a…Transport Layer · MCQ · 1 mark
- FN · Q35Consider a long-lived TCP session with an end-to-end bandwidth of 1 Gbps (= 10 9 bits-per-second). The session starts with a sequence number of 1234. The minim…Transport Layer · NAT · 1 mark
- FN · Q64Consider an IP packet with a length of 4,500 bytes that includes a 20-byte IPv4 header and a 40-byte TCP header. The packet is forwarded to an IPv4 router that…Fragmentation and IP Addressing , NAT) · NAT · 2 marks
- FN · Q65Consider a simple communication system where multiple nodes are connected by a shared broadcast medium (like Ethernet or wireless). The nodes in the system use…Data Link Layer · NAT · 2 marks
2017 10 questions · 15 marks
- FN · Q14Consider a TCP client and a TCP server running on two different machines. After completing data transfer, the TCP client calls close to terminate the connectio…Transport Layer · MCQ · 1 mark
- FN · Q15A sender S sends a message m to receiver R, which is digitally signed by S with its private key. In this scenario, one or more of the following security violat…Application Layer & Security · MCQ · 1 mark
- FN · Q32A computer network uses polynomials over GF(2) for error checking with 8 bits as information bits and uses x 3 + x + 1 as the generator polynomial to generate…Data Link Layer · MCQ · 2 marks
- FN · Q44In a RSA cryptosystem, a participant A uses two prime numbers p = 13 and q = 17 to generate her public and private keys. If the public key of A is 35, then the…Application Layer & Security · NAT · 2 marks
- FN · Q45The values of parameters for the Stop-and-Wait ARQ protocol are as given below: Bit rate of the transmission channel = 1 Mbps. Propagation delay from sender to…Data Link Layer · NAT · 2 marks
- AN · Q9Consider the following statements about the routing protocols, Routing Information Protocol (RIP) and Open Shortest Path First (OSPF) in an IPv4 network. I: RI…Routing Protocols · MCQ · 1 mark
- AN · Q18Consider socket API on a Linux machine that supports connected UDP sockets. A connected UDP socket is a UDP socket on which connect function has already been c…Transport Layer · MCQ · 1 mark
- AN · Q20The maximum number of IPv4 router addresses that can be listed in the record route (RR) option field of an IPv4 header is .Fragmentation and IP Addressing , NAT) · NAT · 1 mark
- AN · Q34Consider a binary code that consists of only four valid codewords as given below: 00000, 01011, 10101, 11110 Let the minimum Hamming distance of the code be p…Data Link Layer · MCQ · 2 marks
- AN · Q35Consider two hosts X and Y, connected by a single direct link of rate 10 6 bits/sec. The distance between the two hosts is 10,000 km and the propagation speed…Data Link Layer · MCQ · 2 marks

