Transport Layer questions — page 2 of 2

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

Q54

GATE CS 2016 CS-1Transport LayerNAT2 marks
For a host machine that uses the token bucket algorithm for congestion control, the token bucket has a capacity of 1 megabyte and the maximum output rate is 20 megabytes per second. Tokens arrive at a rate to sustain output at a rate of 10 megabytes per second. The token bucket is currently full and the machine needs to send 12 megabytes of data. The minimum time required to transmit the data is ________ seconds.
Show answer without attempting

Answer: 1.1

Q19

GATE CS 2015 CS-3Transport LayerMCQ1 mark−1/3 if wrong
Consider the following statements.

I. TCP connections are full duplex
II. TCP has no option for selective acknowledgement
III. TCP connections are message streams
Show answer without attempting

Answer: A

Q47

GATE CS 2015 CS-3Transport LayerNAT2 marks
Consider a network connecting two systems located 8000 kilometers apart. The bandwidth of the network is 500×106500 \times 10^6 bits per second. The propagation speed of the media is 4×1064 \times 10^6 meters per second. It is needed to design a Go-Back-NN sliding window protocol for this network. The average packet size is 10710^7 bits. The network is to be used to its full capacity. Assume that processing delays at nodes are negligible. Then, the minimum size in bits of the sequence number field has to be ____________.
Show answer without attempting

Answer: 8

Q23

GATE CS 2015 CS-1Transport LayerMCQ1 mark−1/3 if wrong
Suppose two hosts use a TCP connection to transfer a large file. Which of the following statements is/are FALSE with respect to the TCP connection?

I. If the sequence number of a segment is mm, then the sequence number of the subsequent segment is always m+1m+1.
II. If the estimated round trip time at any given point of time is tt sec, the value of the retransmission timeout is always set to greater than or equal to tt sec.
III. The size of the advertised window never changes during the course of the TCP connection.
IV. The number of unacknowledged bytes at the sender is always less than or equal to the advertised window.
Show answer without attempting

Answer: B

Q33

GATE CS 2015 CS-2Transport LayerMCQ1 mark−1/3 if wrong
Identify the correct order in which a server process must invoke the function calls accept, bind, listen, and recv according to UNIX socket API.
Show answer without attempting

Answer: B

Q38

GATE CS 2015 CS-2Transport LayerMCQ2 marks−2/3 if wrong
Assume that the bandwidth for a TCP connection is 1048560 bits/sec. Let α\alpha be the value of RTT in milliseconds (rounded off to the nearest integer) after which the TCP window scale option is needed. Let β\beta be the maximum possible window size with window scale option. Then the values of α\alpha and β\beta are
Show answer without attempting

Answer: C

Q24

GATE CS 2014 CS-2Transport LayerMCQ1 mark−1/3 if wrong
Which one of the following socket API functions converts an unconnected active TCP socket into a passive socket?
Show answer without attempting

Answer: C

Q27

GATE CS 2014 CS-1Transport LayerNAT2 marks
Let the size of congestion window of a TCP connection be 32 KB when a timeout occurs. The round trip time of the connection is 100 msec and the maximum segment size used is 2 KB. The time taken (in msec) by the TCP connection to get back to 32 KB congestion window is _________.
Show answer without attempting

Answer: 1100 to 1300

Q28

GATE CS 2014 CS-1Transport LayerNAT2 marks
Consider a selective repeat sliding window protocol that uses a frame size of 1 KB to send data on a 1.5 Mbps link with a one-way latency of 50 msec. To achieve a link utilization of 60%, the minimum number of bits required to represent the sequence number field is ________.
Show answer without attempting

Answer: 5

Q12

GATE CS 2013 CSTransport LayerMCQ1 mark−1/3 if wrong
The transport layer protocols used for real time multimedia, file transfer, DNS and email, respectively are
Show answer without attempting

Answer: C

Q13

GATE CS 2013 CSTransport LayerMCQ1 mark−1/3 if wrong
Using public key cryptography, X adds a digital signature σ\sigma to message MM, encrypts ⟨M,σ⟩\langle M, \sigma \rangle, and sends it to Y, where it is decrypted. Which one of the following sequences of keys is used for the operations?
Show answer without attempting

Answer: D

Q22

GATE CS 2012 CSTransport LayerMCQ1 mark−1/3 if wrong
Which of the following transport layer protocols is used to support electronic mail?
Show answer without attempting

Answer: C

Q45

GATE CS 2012 CSTransport LayerMCQ2 marks−2/3 if wrong
Consider an instance of TCP's Additive Increase Multiplicative Decrease (AIMD) algorithm where the window size at the start of the slow start phase is 2 MSS and the threshold at the start of the first transmission is 8 MSS. Assume that a timeout occurs during the fifth transmission. Find the congestion window size at the end of the tenth transmission.
Show answer without attempting

Answer: Marks to all

0/140 correct0 marks

Related topics in Computer Networks