Computer Networks questions

Q8

GATE CS 2021 CS-1Data Link LayerMCQ1 mark−1/3 if wrong
Consider the following two statements.
S1S_1: Destination MAC address of an ARP reply is a broadcast address.
S2S_2: Destination MAC address of an ARP request is a broadcast address.
Which one of the following choices is correct?
Show answer without attempting

Answer: C

Q29

GATE CS 2021 CS-1Data Link LayerMCQ2 marks−2/3 if wrong
Assume that a 12-bit Hamming codeword consisting of 8-bit data and 4 check bits is d8d7d6d5c8d4d3d2c4d1c2c1d_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 bits and the check bits are given in the following tables:

Data bits:
d8d_8d7d_7d6d_6d5d_5d4d_4d3d_3d2d_2d1d_1
110xx0101
Check bits:
c8c_8c4c_4c2c_2c1c_1
yy010
Which one of the following choices gives the correct values of xx and yy?
Show answer without attempting

Answer: A

Q44

GATE CS 2021 CS-1Transport LayerMSQ2 marks
A TCP server application is programmed to listen on port number PP on host SS. A TCP client is connected to the TCP server over the network.
Consider that while the TCP connection was active, the server machine SS crashed and rebooted. Assume that the client does not use the TCP keepalive timer.
Which of the following behaviors is/are possible?
More than one option can be correct.
Show answer without attempting

Answer: A, B, C

Q45

GATE CS 2021 CS-1IPv4MSQ2 marks
Consider two hosts PP and QQ connected through a router RR. The maximum transfer unit (MTU) value of the link between PP and RR is 1500 bytes, and between RR and QQ is 820 bytes.
A TCP segment of size 1400 bytes was transferred from PP to QQ through RR, with IP identification value as 0x1234. Assume that the IP header size is 20 bytes. Further, the packet is allowed to be fragmented, i.e., Don't Fragment (DF) flag in the IP header is not set by PP.
Which of the following statements is/are correct?
More than one option can be correct.
Show answer without attempting

Answer: A, C

Q49

GATE CS 2021 CS-1Transport LayerNAT2 marks
Consider the sliding window flow-control protocol operating between a sender and a receiver over a full-duplex error-free link. Assume the following:
- The time taken for processing the data frame by the receiver is negligible.
- The time taken for processing the acknowledgement frame by the sender is negligible.
- The sender has infinite number of frames available for transmission.
- The size of the data frame is 2,000 bits and the size of the acknowledgement frame is 10 bits.
- The link data rate in each direction is 1 Mbps (= 10610^6 bits per second).
- One way propagation delay of the link is 100 milliseconds.
The minimum value of the sender's window size in terms of the number of frames, (rounded to the nearest integer) needed to achieve a link utilization of 50% is ______.
Show answer without attempting

Answer: 50 to 52

Q7

GATE CS 2021 CS-2Transport LayerMCQ1 mark−1/3 if wrong
Consider 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 sequence numbers chosen by P and Q respectively. Suppose P sends a TCP connection request message to Q with a TCP segment having SYN bit = 1, SEQ number = X, and ACK bit = 0. Suppose Q accepts the connection request. Which one of the following choices represents the information present in the TCP segment header that is sent by Q to P?
Show answer without attempting

Answer: C

Q34

GATE CS 2021 CS-2Data Link LayerMCQ2 marks−2/3 if wrong
Consider the cyclic redundancy check (CRC) based error detecting scheme having the generator polynomial X3+X+1X^3 + X + 1. Suppose the message m4m3m2m1m0=11000m_4 m_3 m_2 m_1 m_0 = 11000 is to be transmitted. Check bits c2c1c0c_2 c_1 c_0 are appended at the end of the message by the transmitter using the above CRC scheme. The transmitted bit string is denoted by m4m3m2m1m0c2c1c0m_4 m_3 m_2 m_1 m_0 c_2 c_1 c_0. The value of the checkbit sequence c2c1c0c_2 c_1 c_0 is
Show answer without attempting

Answer: C

Q45

GATE CS 2021 CS-2RoutingMSQ2 marks
Consider a computer network using the distance vector routing algorithm in its network layer. The partial topology of the network is as shown below.

The objective is to find the shortest-cost path from the router RR to routers PP and QQ. Assume that RR does not initially know the shortest routes to PP and QQ. Assume that RR has three neighbouring routers denoted as XX, YY, and ZZ. During one iteration, RR measures its distance to its neighbours XX, YY, and ZZ as 3, 2, and 5, respectively. Router RR gets routing vectors from its neighbours that indicate that the distance to router PP from routers XX, YY, and ZZ are 7, 6, and 5, respectively. The routing vector also indicates that the distance to router QQ from routers XX, YY, and ZZ are 4, 6, and 8, respectively. Which of the following statement(s) is/are correct with respect to the new routing table of RR, after updation during this iteration?
Question figure
More than one option can be correct.
Show answer without attempting

Answer: B, C

Q54

GATE CS 2021 CS-2Data Link LayerNAT2 marks
Consider 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 Mbps1\text{ Mbps} (=106= 10^6 bits per second). The aggregate number of transmissions across all the nodes (including new frame transmissions and retransmitted frames due to collisions) is modelled as a Poisson process with a rate of 1,000 frames per second. Throughput is defined as the average number of frames successfully transmitted per second. The throughput of the network (rounded to the nearest integer) is ____________.
Show answer without attempting

Answer: 130 to 140

0/90 correct0 marks

Related topics in GATE CS