Skip to content

GATE CS Computer Networks questions

Practise Computer Networks questions for GATE CS. Explore official PYQs and original subject-wise quizzes, check answers and view available solutions. Free, no sign-in.

Subject, topic, year and type filter the full library. Match any choice within a filter, and all selected filter categories. Search, source and sort apply to this page.

20 on this page
Official PYQ2015Computer NetworksPacket, Circuit and Virtual Circuit SwitchingNAT · 1 mark
Two hosts are connected via a packet switch with 10710^7 bits per second links. Each link has a propagation delay of 2020 microseconds. The switch begins forwarding a packet 3535 microseconds after it receives the same. If 1000010000 bits of data are to be transmitted between the two hosts using a packet size of 50005000 bits, the time elapsed between …
Official PYQ2015Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsNAT · 1 mark
Consider a network connecting two systems located 80008000 Km\text{Km} apart. The bandwidth of the network is 500×106500 \times 10^6 bits\text{bits} per second. The propagation speed of the media is 4×1064 \times 10^6 meters\text{meters} per second. It needs to design a Go-Back-NN sliding window protocol for this network. The average packet size is 10710^7 …
Official PYQ2015Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsMCQ · 1 mark
Consider the following statements. TCP connections are full duplex TCP has no option for selective acknowledgement TCP connections are message streams
Official PYQ2015Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsMCQ · 1 mark
Consider a CSMA/CD network that transmits data at a rate of 100  Mbps  (108  bits100\;\textsf{Mbps}\; (10^8\;\text{bits} per second) over a 1  km1\;\textsf{km} (kilometre) cable with no repeaters. If the minimum frame size required for this network is 1250  bytes,1250\;\text{bytes}, What is the signal speed (km/sec)\textsf{(km/sec)} in the cable?
Official PYQ2014Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsNAT · 1 mark
Consider a selective repeat sliding window protocol that uses a frame size of 11 KB\text{KB} to send data on a 1.51.5 Mbps\text{Mbps} link with a one-way latency of 5050 msec\text{msec}. To achieve a link utilization of 60%60\%, the minimum number of bits required to represent the sequence number field is ________.
Official PYQ2014Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsNAT · 1 mark
Let the size of congestion window of a TCP connection be 3232 KB when a timeout occurs. The round trip time of the connection is 100100 msec and the maximum segment size used is 22 KB. The time taken (in msec) by the TCP connection to get back to 3232 KB congestion window is _________.
Official PYQ2014Computer NetworksData Link Layer: Framing, Error Detection, MAC, Ethernet BridgingNAT · 1 mark
Consider a token ring network with a length of 2 km having 10 stations including a monitoring station. The propagation speed of the signal is 2×108m/s2 \times10^8m/s and the token transmission time is ignored. If each station is allowed to hold the token for 2µsec2 µsec, the minimum time for which the monitoring station should wait (in µsecµsec) before assuming …
Official PYQ2014Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateMCQ · 1 mark
Which of the following are used to generate a message digest by the network security protocols? RSA SHA-11 DES MD5
Official PYQ2014Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateMCQ · 1 mark
Consider the following three statements about link state and distance vector routing protocols, for a large network with 500500 network nodes and 40004000 links. [S1]: The computational overhead in link state protocols is higher than in distance vector protocols. [S2]: A distance vector protocol (with split horizon) avoids persistent routing loops, but not …
Official PYQ2014Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateMCQ · 1 mark
An IP machine QQ has a path to another IP machine HIP\ machine\ H via three IP routers R1,R2,IP\ routers \ R1, R2, and R3R3. Q−R1−R2−R3−HQ-R1-R2-R3-H HH acts as an HTTP server\text{HTTP}\ server, and QQ connects to HH via HTTP\text{HTTP} and downloads a file. Session layer encryption is used, with DES\text{DES} as the shared key encryption protocol. Consider the following four …
Official PYQ2014Computer NetworksPacket, Circuit and Virtual Circuit SwitchingMCQ · 1 mark
Consider the store and forward packet switched network given below. Assume that the bandwidth of each link is 10610^6 bytes / sec. A user on host AA sends a file of size 10310^3 bytes to host BB through routers R1R1 and R2R2 in three different ways. In the first case a single packet containing the complete file is transmitted from AA to BB. …
Official PYQ2014Computer NetworksData Link Layer: Framing, Error Detection, MAC, Ethernet BridgingNAT · 1 mark
In the diagram shown below, L1L1 is an Ethernet LAN and L2L2 is a Token-Ring LAN. An IPIP packet originates from sender SS and traverses to RR, as shown. The links within each ISP\text{ISP} and across the two ISP\text{ISP}s, are all point-to-point optical links. The initial value of the TTL\text{TTL} field is 3232. The maximum possible value …
Official PYQ2014Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsMCQ · 1 mark
Which of the following socket API functions converts an unconnected active TCP socket into a passive socket?
Official PYQ2014Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateMCQ · 1 mark
Which of the following is TRUE about the interior gateway routing protocols −- Routing Information Protocol (RIP)(RIP) and Open Shortest Path First (OSPF)(OSPF)
Official PYQ2014Computer NetworksFragmentation and IP Addressing, IPv4, CIDRMCQ · 1 mark
An IPIP router with a Maximum Transmission Unit (MTU)\text{Maximum Transmission Unit (MTU)} of 15001500 bytes has received an IPIP packet of size 4404 bytes4404\text{ bytes} with an IPIP header of length 20 bytes20\text{ bytes}. The values of the relevant fields in the header of the third IPIP fragment generated by the router for this packet are:
Official PYQ2014Computer NetworksFragmentation and IP Addressing, IPv4, CIDRNAT · 1 mark
Every host in an IPv4\textsf{IPv4} network has a 1-second1\text{-second} resolution real-time clock with battery backup. Each host needs to generate up to 10001000 unique identifiers per second. Assume that each host has a globally unique IPv4\textsf{IPv4} address. Design a 50-bit50\text{-bit} globally unique ID for this purpose. After what period (in seconds) …
Official PYQ2014Computer NetworksRouting Protocols: Shortest Path, Flooding, Distance Vector, Link StateNAT · 1 mark
An IP router implementing Classless Inter-domain Routing (CIDR) receives a packet with address 131.23.151.76131.23.151.76. The router's routing table has the following entries: …
Official PYQ2014Computer NetworksFragmentation and IP Addressing, IPv4, CIDRMCQ · 1 mark
Host A (on TCP/IP v4 network A) sends an IP datagram D to host B (also on TCP/IP v4 network B). Assume that no error occurred during the transmission of D. When D reaches B, which of the following IP header field(s) may be different from that of the original datagram D? TTL Checksum Fragment Offset
Official PYQ2014Computer NetworksData Link Layer: Framing, Error Detection, MAC, Ethernet BridgingMCQ · 1 mark
A bit-stuffing based framing protocol uses an 8-bit\text{8-bit} delimiter pattern of 01111110.01111110. If the output bit-string after stuffing is 01111100101,01111100101, then the input bit-string is:
Official PYQ2014Computer NetworksConcept of Layering: OSI and TCP/IP Protocol StacksMCQ · 1 mark
In the following pairs of OSI protocol layer/sub-layer and its functionality, the INCORRECT pair is