Computer Networks questions — page 3 of 7

Q57

GATE CS 2022 CSRoutingNAT2 marks
Consider 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 information and have converged on the routing tables, after which the link Q-R fails. Assume that P and Q send out routing updates at random times, each at the same average rate. The probability of a routing loop formation (rounded off to one decimal place) between P and Q, leading to count-to-infinity problem, is___________.
Question figure
Show answer without attempting

Answer: 0.5

Q59

GATE CS 2022 CSLayering and SwitchingNAT2 marks
Consider 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×1083 \times 10^8 m/s. The time taken (in milliseconds, rounded off to two decimal places) for the receiver to completely receive a packet of 1000 bytes transmitted by the sender is_________.
Show answer without attempting

Answer: 7.07 to 7.09

Q60

GATE CS 2022 CSTransport LayerNAT2 marks
Consider 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 required for the sequence number field of the TCP header, to prevent the sequence number space from wrapping around during the MSL is____________.
Show answer without attempting

Answer: 33

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

Q15

GATE CS 2020 CSIPv4MCQ1 mark−1/3 if wrong
Consider 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 necessary for a router to implement any routing protocol.
III. A router should reassemble IP fragments if the MTU of the outgoing link is larger than the size of the incoming IP packet.

Which of the above statements is/are TRUE?
Show answer without attempting

Answer: D

Q25

GATE CS 2020 CSApplication LayerNAT1 mark
Assume 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 configured to send HTTP requests in non-persistent mode. The web page contains text and five very small images. The minimum number of TCP connections required to display the web page completely in your browser is __________.
Show answer without attempting

Answer: 6

Q38

GATE CS 2020 CSIPv4MCQ2 marks−2/3 if wrong
An 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) for this task. The ISP uses CIDR and serves the requests from the available IP address space 202.61.0.0/17. The ISP wants to assign an address space to the organization which will minimize the number of routing entries in the ISP’s router using route aggregation. Which of the following address spaces are potential candidates from which the ISP can allot any one to the organization?

I. 202.61.84.0/21
II. 202.61.104.0/21
III. 202.61.64.0/21
IV. 202.61.144.0/21
Show answer without attempting

Answer: B

Q55

GATE CS 2020 CSTransport LayerNAT2 marks
Consider 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 window is 50 KB, slow-start threshold at the client is 32 KB, and the maximum segment size is 2 KB. The connection is established at time t=0t = 0. Assume that there are no timeouts and errors during transmission. Then the size of the congestion window (in KB) at time t+60t + 60 ms after all acknowledgements are processed is __________.
Show answer without attempting

Answer: 44

Q16

GATE CS 2019 CSApplication LayerMCQ1 mark−1/3 if wrong
Which of the following protocol pairs can be used to send and retrieve e-mails (in that order)?
Show answer without attempting

Answer: B

Q28

GATE CS 2019 CSIPv4MCQ2 marks−2/3 if wrong
Consider 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 three machines. Which one of the following is true?
Show answer without attempting

Answer: C

Q29

GATE CS 2019 CSIPv4MCQ2 marks−2/3 if wrong
Suppose 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 techniques can be used for this?
Show answer without attempting

Answer: C

Q49

GATE CS 2019 CSData Link LayerNAT2 marks
Consider 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 minimum number of switches needed is __________.
Show answer without attempting

Answer: 3

0/200 correct0 marks

Related topics in GATE CS