Computer Networks questions

Q18

GATE CS 2015 CS-3Application LayerMCQ1 mark−1/3 if wrong
In a web server, ten WebPages are stored with the URLs of the form http://www.yourname.com/var.html; where, var is a different number from 1 to 10 for each Webpage. Suppose, the client stores the Webpage with var = 1 (say W1) in local machine, edits and then tests. Rest of the WebPages remains on the web server. W1 contains several relative URLs of the form "var.html" referring to the other WebPages. Which one of the following statements needs to be added in W1, so that all the relative URLs in W1 refer to the appropriate WebPages on the web server?
Show answer without attempting

Answer: B

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

Q35

GATE CS 2015 CS-3Data Link LayerMCQ1 mark−1/3 if wrong
Consider a CSMA/CD network that transmits data at a rate of 100 Mbps (10810^8 bits per second) over a 1 km (kilometer) cable with no repeaters. If the minimum frame size required for this network is 1250 bytes, what is the signal speed (km/sec) in the cable?
Show answer without attempting

Answer: D

Q46

GATE CS 2015 CS-3IPv4NAT2 marks
In the network 200.10.11.144/27, the fourth octet (in decimal) of the last IP address of the network which can be assigned to a host is ____________.
Show answer without attempting

Answer: 158

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

Q56

GATE CS 2015 CS-3Layering and SwitchingNAT2 marks
Two hosts are connected via a packet switch with 10710^7 bits per second links. Each link has a propagation delay of 20 microseconds. The switch begins forwarding a packet 35 microseconds after it receives the same. If 10000 bits of data are to be transmitted between the two hosts using a packet size of 5000 bits, the time elapsed between the transmission of the first bit of data and the reception of the last bit of the data in microseconds is ____________.
Show answer without attempting

Answer: 1575

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

Q24

GATE CS 2015 CS-1Application LayerMCQ1 mark−1/3 if wrong
Suppose that everyone in a group of NN people wants to communicate secretly with the N−1N-1 others using symmetric key cryptographic system. The communication between any two persons should not be decodable by the others in the group. The number of keys required in the system as a whole to satisfy the confidentiality requirement is
Show answer without attempting

Answer: C

Q25

GATE CS 2015 CS-1Application LayerMCQ1 mark−1/3 if wrong
Which of the following statements is/are FALSE?

I. XML overcomes the limitations in HTML to support a structured way of organizing content.
II. XML specification is not case sensitive while HTML specification is case sensitive.
III. XML supports user defined tags while HTML uses pre-defined tags.
IV. XML tags need not be closed while HTML tags must be closed.
Show answer without attempting

Answer: C

Q26

GATE CS 2015 CS-1IPv4MCQ1 mark−1/3 if wrong
Which one of the following fields of an IP header is NOT modified by a typical IP router?
Show answer without attempting

Answer: B

Q27

GATE CS 2015 CS-1Application LayerMCQ1 mark−1/3 if wrong
In one of the pairs of protocols given below, both the protocols can use multiple TCP connections between the same client and the server. Which one is that?
Show answer without attempting

Answer: A

Q36

GATE CS 2015 CS-1Layering and SwitchingNAT2 marks
Suppose that the stop-and-wait protocol is used on a link with a bit rate of 64 kilobits per second and 20 milliseconds propagation delay. Assume that the transmission time for the acknowledgement and the processing time at nodes are negligible. Then the minimum frame size in bytes to achieve a link utilization of at least 50% is ________.
Show answer without attempting

Answer: 160

Q39

GATE CS 2015 CS-1Data Link LayerNAT2 marks
Consider a LAN with four nodes S1,S2,S3S_1, S_2, S_3 and S4S_4. Time is divided into fixed-size slots, and a node can begin its transmission only at the beginning of a slot. A collision is said to have occurred if more than one node transmit in the same slot. The probabilities of generation of a frame in a time slot by S1,S2,S3S_1, S_2, S_3 and S4S_4 are 0.1, 0.2, 0.3 and 0.4, respectively. The probability of sending a frame in the first slot without any collision by any of these four stations is ________.
Show answer without attempting

Answer: 0.40 to 0.46

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

Q34

GATE CS 2015 CS-2Layering and SwitchingNAT1 mark
A link has a transmission speed of 10610^6 bits/sec. It uses data packets of size 1000 bytes each. Assume that the acknowledgment has negligible transmission delay, and that its propagation delay is the same as the data propagation delay. Also assume that the processing delays at nodes are negligible. The efficiency of the stop-and-wait protocol in this setup is exactly 25%. The value of the one-way propagation delay (in milliseconds) is ____________.
Show answer without attempting

Answer: 12

Q35

GATE CS 2015 CS-2Application LayerMCQ1 mark−1/3 if wrong
Which one of the following statements is NOT correct about HTTP cookies?
Show answer without attempting

Answer: A

Q36

GATE CS 2015 CS-2IPv4MCQ2 marks−2/3 if wrong
Consider the following routing table at an IP router:
Network No.Net MaskNext Hop
128.96.170.0255.255.254.0Interface 0
128.96.168.0255.255.254.0Interface 1
128.96.166.0255.255.254.0R2
128.96.164.0255.255.252.0R3
0.0.0.0DefaultR4
For each IP address in Group I identify the correct choice of the next hop from Group II using the entries from the routing table above.

Group I
i) 128.96.171.92
ii) 128.96.167.151
iii) 128.96.163.151
iv) 128.96.165.121

Group II
a) Interface 0
b) Interface 1
c) R2
d) R3
e) R4
Show answer without attempting

Answer: A

Q37

GATE CS 2015 CS-2IPv4MCQ2 marks−2/3 if wrong
Host A sends a UDP datagram containing 8880 bytes of user data to host B over an Ethernet LAN. Ethernet frames may carry data up to 1500 bytes (i.e. MTU=1500 bytes). Size of UDP header is 8 bytes and size of IP header is 20 bytes. There is no option field in IP header. How many total number of IP fragments will be transmitted and what will be the contents of offset field in the last fragment?
Show answer without attempting

Answer: C

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

0/190 correct0 marks

Related topics in GATE CS