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
Consider that machines need to be connected in a LAN using -port Ethernet switches. Assume that these switches do not have any separate uplink ports. The minimum number of switches needed is ______
In an RSA cryptosystem, the value of the public modulus parameter is . If it is also known as that where denotes Euler’s Totient Function, then the prime factor of which is greater than is _________
Consider a simple communication system where multiple nodes are connected by a shared broadcast medium (like Ethernet or wireless). The nodes in the system use the following carrier-sense based medium access protocol. A node that receives a packet to transmit will carrier-sense the medium for units of time. If the node does not detect any other …
Consider an IP packet with a length of that includes a header and a TCP header. The packet is forwarded to an router that supports a Maximum Transmission Unit (MTU) of . Assume that the length of the IP header in all the outgoing fragments of …
Consider a long-lived session with an end-to-end bandwidth of bits-per-second The session starts with a sequence number of . The minimum time (in seconds, rounded to the closet integer) before this sequence number can be used again is _________.
Consider the following statements regarding the slow start phase of the TCP congestion control algorithm. Note that cwnd stands for the TCP congestion window and MSS window denotes the Maximum Segments Size: The cwnd increases by MSS on every successful acknowledgment The cwnd approximately doubles on every successful acknowledgment The cwnd increases …
Match the following:
The values of parameters for the Stop-and-Wait ARQ protocol are as given below: Bit rate of the transmission channel Mbps. Propagation delay from sender to receiver ms. Time to process a frame ms. Number of bytes in the information frame . Number of bytes in the acknowledge frame . Number of overhead bytes in …
In a RSA cryptosystem, a participant uses two prime numbers and to generate her public and private keys. If the public key of is , then the private key of is __________ .
A computer network uses polynomials over for error checking with bits as information bits and uses as the generator polynomial to generate the check bits. In this network, the message is transmitted as:
A sender sends a message to receiver , which is digitally signed by with its private key. In this scenario, one or more of the following security violations can take place. can launch a birthday attack to replace with a fraudulent message third party attacker can launch a birthday attack to replace with a …
Consider a TCP client and a TCP server running on two different machines. After completing data transfer, the TCP client calls close to terminate the connection and a FIN segment is sent to the TCP server. Server-side TCP responds by sending an ACK, which is received by the client-side TCP. As per the TCP connection state diagram , in …
Consider two hosts and , connected by a single direct link of rate . The distance between the two hosts is and the propagation speed along the link is . Host sends a file of as one large message to host continuously. Let the …
The maximum number of router addresses that can be listed in the record route (RR) option field of an header is______.
Consider the binary code that consists of only four valid codewords as given below: Let the minimum Hamming distance of the code and the maximum number of erroneous bits that can be corrected by the code be . Then the values of and are
Consider the following statements about the routing protocols. Routing Information Protocol (RIP) and Open Shortest Path First (OSPF) in an network. RIP uses distance vector routing RIP packets are sent using UDP OSPF packets are sent using TCP OSPF operation is based on link-state routing Which of the above statements are CORRECT?
Consider 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 called. Which of the following statements is/are CORRECT? A connected UDP socket can be used to communicate with multiple peers simultaneously. A process can successfully call connect function again for …
For a host machine that uses the token bucket algorithm for congestion control, the token bucket has a capacity of and the maximum output rate is per . Tokens arrive at a rate to sustain output at a rate of per . The token bucket is currently …
An IP datagram of size arrives at a router. The router has to forward this packet on a link whose MTU (maximum transmission unit) is . Assume that the size of the IP header is The number of fragments that the IP datagram will be divided into for transmission is________.
A sender uses the Stop-and-Wait protocol for reliable transmission of frames. Frames are of size bytes and the transmission rate at the sender is Size of an acknowledgment is bytes and the transmission rate at the receiver is The one-way …
