Computer Networks questions

Q14

GATE CS 2017 CS-1Transport LayerMCQ1 mark−1/3 if wrong
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 (RFC 793), in which state does the client-side TCP connection wait for the FIN from the server-side TCP?
Show answer without attempting

Answer: D

Q15

GATE CS 2017 CS-1Layering and SwitchingMCQ1 mark−1/3 if wrong
A sender S sends a message mm to receiver R, which is digitally signed by S with its private key. In this scenario, one or more of the following security violations can take place.

(I) S can launch a birthday attack to replace mm with a fraudulent message.
(II) A third party attacker can launch a birthday attack to replace mm with a fraudulent message.
(III) R can launch a birthday attack to replace mm with a fraudulent message.

Which of the following are possible security violations?
Show answer without attempting

Answer: B

Q32

GATE CS 2017 CS-1Data Link LayerMCQ2 marks−2/3 if wrong
A computer network uses polynomials over GF(2)GF(2) for error checking with 88 bits as information bits and uses x3+x+1x^3 + x + 1 as the generator polynomial to generate the check bits. In this network, the message 0101101101011011 is transmitted as
Show answer without attempting

Answer: C

Q45

GATE CS 2017 CS-1Layering and SwitchingNAT2 marks
The values of parameters for the Stop-and-Wait ARQ protocol are as given below:

Bit rate of the transmission channel = 1 Mbps1\text{ Mbps}.
Propagation delay from sender to receiver = 0.75 ms0.75\text{ ms}.
Time to process a frame = 0.25 ms0.25\text{ ms}.
Number of bytes in the information frame = 19801980.
Number of bytes in the acknowledge frame = 2020.
Number of overhead bytes in the information frame = 2020.

Assume that there are no transmission errors. Then, the transmission efficiency (expressed in percentage) of the Stop-and-Wait ARQ protocol for the above parameters is ____________ (correct to 2 decimal places).
Show answer without attempting

Answer: 86.5 to 89.5

Q9

GATE CS 2017 CS-2RoutingMCQ1 mark−1/3 if wrong
Consider the following statements about the routing protocols, Routing Information Protocol (RIP) and Open Shortest Path First (OSPF) in an IPv4 network.

I: RIP uses distance vector routing
II: RIP packets are sent using UDP
III: OSPF packets are sent using TCP
IV: OSPF operation is based on link-state routing

Which of the statements above are CORRECT?
Show answer without attempting

Answer: C

Q18

GATE CS 2017 CS-2Transport LayerMCQ1 mark−1/3 if wrong
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?

I. A connected UDP socket can be used to communicate with multiple peers simultaneously.
II. A process can successfully call connect function again for an already connected UDP socket.
Show answer without attempting

Answer: B

Q20

GATE CS 2017 CS-2IPv4NAT1 mark
The maximum number of IPv4 router addresses that can be listed in the record route (RR) option field of an IPv4 header is ____________.
Show answer without attempting

Answer: 9.0

Q34

GATE CS 2017 CS-2Data Link LayerMCQ2 marks−2/3 if wrong
Consider a binary code that consists of only four valid codewords as given below:

00000,01011,10101,1111000000, 01011, 10101, 11110

Let the minimum Hamming distance of the code be pp and the maximum number of erroneous bits that can be corrected by the code be qq. Then the values of pp and qq are
Show answer without attempting

Answer: A

Q35

GATE CS 2017 CS-2Layering and SwitchingMCQ2 marks−2/3 if wrong
Consider two hosts XX and YY, connected by a single direct link of rate 10610^6 bits/sec. The distance between the two hosts is 10,00010,000 km and the propagation speed along the link is 2×1082 \times 10^8 m/sec. Host XX sends a file of 50,00050,000 bytes as one large message to host YY continuously. Let the transmission and propagation delays be pp milliseconds and qq milliseconds, respectively. Then the values of pp and qq are
Show answer without attempting

Answer: D

0/90 correct0 marks

Related topics in GATE CS