Computer Networks questions

Q23

GATE CS 2014 CS-2RoutingMCQ1 mark−1/3 if wrong
Which one of the following is TRUE about the interior gateway routing protocols – Routing Information Protocol (RIP) and Open Shortest Path First (OSPF)?
Show answer without attempting

Answer: A

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

Q25

GATE CS 2014 CS-2IPv4NAT1 mark
In the diagram shown below, L1 is an Ethernet LAN and L2 is a Token-Ring LAN. An IP packet originates from sender S and traverses to R, as shown. The links within each ISP and across the two ISPs, are all point-to-point optical links. The initial value of the TTL field is 32. The maximum possible value of the TTL field when R receives the datagram is ____________.
Question figure
Show answer without attempting

Answer: 26

Q26

GATE CS 2014 CS-2Layering and SwitchingMCQ2 marks−2/3 if wrong
Consider the store and forward packet switched network given below. Assume that the bandwidth of each link is 10610^6 bytes / sec. A user on host A sends a file of size 10310^3 bytes to host B through routers R1 and R2 in three different ways. In the first case a single packet containing the complete file is transmitted from A to B. In the second case, the file is split into 10 equal parts, and these packets are transmitted from A to B. In the third case, the file is split into 20 equal parts and these packets are sent from A to B. Each packet contains 100 bytes of header information along with the user data. Consider only transmission time and ignore processing, queuing and propagation delays. Also assume that there are no errors during transmission. Let T1, T2 and T3 be the times taken to transmit the file in the first, second and third case respectively. Which one of the following is CORRECT?

A — R1 — R2 — B
Show answer without attempting

Answer: D

Q27

GATE CS 2014 CS-2Layering and SwitchingMCQ2 marks−2/3 if wrong
An IP machine Q has a path to another IP machine H via three IP routers R1, R2, and R3.

Q—R1—R2—R3—H

H acts as an HTTP server, and Q connects to H via HTTP and downloads a file. Session layer encryption is used, with DES as the shared key encryption protocol. Consider the following four pieces of information:

[I1] The URL of the file downloaded by Q
[I2] The TCP port numbers at Q and H
[I3] The IP addresses of Q and H
[I4] The link layer addresses of Q and H

Which of I1, I2, I3, and I4 can an intruder learn through sniffing at R2 alone?
Show answer without attempting

Answer: C

Q28

GATE CS 2014 CS-2Application LayerMCQ2 marks−2/3 if wrong
A graphical HTML browser resident at a network client machine Q accesses a static HTML webpage from a HTTP server S. The static HTML page has exactly one static embedded image which is also at S. Assuming no caching, which one of the following is correct about the HTML webpage loading (including the embedded image)?
Show answer without attempting

Answer: B

Q23

GATE CS 2014 CS-3Layering and SwitchingMCQ1 mark−1/3 if wrong
In the following pairs of OSI protocol layer/sub-layer and its functionality, the INCORRECT pair is
Show answer without attempting

Answer: B

Q24

GATE CS 2014 CS-3Data Link LayerMCQ1 mark−1/3 if wrong
A bit-stuffing based framing protocol uses an 8-bit delimiter pattern of 01111110. If the output bit-string after stuffing is 01111100101, then the input bit-string is
Show answer without attempting

Answer: B

Q25

GATE CS 2014 CS-3IPv4MCQ1 mark−1/3 if wrong
Host A (on TCP/IP v4 network A) sends an IP datagram D to host B (also on TCP/IP v4 network B). Assume that no error occurred during the transmission of D. When D reaches B, which of the following IP header field(s) may be different from that of the original datagram D?

(i) TTL (ii) Checksum (iii) Fragment Offset
Show answer without attempting

Answer: D

Q26

GATE CS 2014 CS-3IPv4NAT2 marks
An IP router implementing Classless Inter-domain Routing (CIDR) receives a packet with address 131.23.151.76. The router’s routing table has the following entries:
PrefixOutput Interface Identifier
131.16.0.0/123
131.28.0.0/145
131.19.0.0/162
131.22.0.0/151
The identifier of the output interface on which this packet will be forwarded is ______.
Show answer without attempting

Answer: 1

Q27

GATE CS 2014 CS-3IPv4NAT2 marks
Every host in an IPv4 network has a 1-second resolution real-time clock with battery backup. Each host needs to generate up to 1000 unique identifiers per second. Assume that each host has a globally unique IPv4 address. Design a 50-bit globally unique ID for this purpose. After what period (in seconds) will the identifiers generated by a host wrap around?
Show answer without attempting

Answer: 256

Q28

GATE CS 2014 CS-3IPv4MCQ2 marks−2/3 if wrong
An IP router with a Maximum Transmission Unit (MTU) of 1500 bytes has received an IP packet of size 4404 bytes with an IP header of length 20 bytes. The values of the relevant fields in the header of the third IP fragment generated by the router for this packet are
Show answer without attempting

Answer: A

Q23

GATE CS 2014 CS-1RoutingMCQ1 mark−1/3 if wrong
Consider the following three statements about link state and distance vector routing protocols, for a large network with 500 network nodes and 4000 links.

[S1] The computational overhead in link state protocols is higher than in distance vector protocols.
[S2] A distance vector protocol (with split horizon) avoids persistent routing loops, but not a link state protocol.
[S3] After a topology change, a link state protocol will converge faster than a distance vector protocol.

Which one of the following is correct about S1, S2, and S3 ?
Show answer without attempting

Answer: D

Q24

GATE CS 2014 CS-1Application LayerMCQ1 mark−1/3 if wrong
Which of the following are used to generate a message digest by the network security protocols?

(P) RSA
(Q) SHA-1
(R) DES
(S) MD5
Show answer without attempting

Answer: C

Q25

GATE CS 2014 CS-1Application LayerMCQ1 mark−1/3 if wrong
Identify the correct order in which the following actions take place in an interaction between a web browser and a web server.

1. The web browser requests a webpage using HTTP.
2. The web browser establishes a TCP connection with the web server.
3. The web server sends the requested webpage using HTTP.
4. The web browser resolves the domain name using DNS.
Show answer without attempting

Answer: A

Q26

GATE CS 2014 CS-1Data Link LayerNAT2 marks
Consider a token ring network with a length of 2 km having 10 stations including a monitoring station. The propagation speed of the signal is 2×1082 \times 10^8 m/s and the token transmission time is ignored. If each station is allowed to hold the token for 2 μsec, the minimum time for which the monitoring station should wait (in μsec) before assuming that the token is lost is _______.
Show answer without attempting

Answer: 28 to 30

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

0/180 correct0 marks

Related topics in GATE CS