12

Misc Topics in Computer Networks

Question 1
Which one of the following is not a client server application?
A
Internet chat
B
Web browsing
C
E-mail
D
ping
GATE CS 2010    Misc Topics in Computer Networks    
Discuss it


Question 1 Explanation: 
Ping is not a client server application. Ping is a computer network administration utility used to test the reachability of a host on an Internet Protocol (IP). In ping, there is no server that provides a service.
Question 2
Match the following:

(P) SMTP     (1) Application layer
(Q) BGP      (2) Transport layer
(R) TCP      (3) Data link layer
(S) PPP      (4) Network layer
             (5) Physical layer 
A
P – 2 Q – 1 R – 3 S – 5
B
P – 1 Q – 4 R – 2 S – 3
C
P – 1 Q – 4 R – 2 S – 5
D
P – 2 Q – 4 R – 1 S – 3
Misc Topics in Computer Networks    GATE-CS-2007    
Discuss it


Question 2 Explanation: 
Question 3
In the following pairs of OSI protocol layer/sub-layer and its functionality, the INCORRECT pair is
A
Network layer and Routing
B
Data Link Layer and Bit synchronization
C
Transport layer and End-to-end process communication
D
Medium Access Control sub-layer and Channel sharing
Misc Topics in Computer Networks    GATE-CS-2014-(Set-3)    
Discuss it


Question 3 Explanation: 
1) Yes, Network layer does Rotuing
2) No, Bit synchronization is provided by Physical Layer
3) Yes, Transport layer provides End-to-end process 
   communication
4) Yes, Medium Access Control sub-layer of Data Link Layer provides
   Channel sharing. 
Question 4
Choose the best matching between Group 1 and Group 2.
   Group-1   	  	  Group-2   
 P. Data link          1. Ensures reliable transport of data
                           over a physical point-to-point link
 Q. Network layer      2. Encoder/decodes data for physical
                          transmission
 R. Transport layer    3. Allows end-to-end communication
                          between two processes
                       4. Routes data from one network
                          node to the next
A
P-1, Q-4, R-3
B
P-2, Q-4, R-1
C
P-2, Q-3, R-1
D
P-1, Q-3, R-2
Misc Topics in Computer Networks    GATE-CS-2004    
Discuss it


Question 4 Explanation: 
Data link layer is the second layer of the OSI Model. This layer is responsible for data transfer between nodes on the network and providing a point to point local delivery framework. So, P matches with 1. Network layer is the third layer of the OSI Model. This layer is responsible for forwarding of data packets and routing through intermediate routers. So, Q matches with 4. Transport layer is the fourth layer of the OSI Model. This layer is responsible for delivering data from process to process. So, R matches with 3.   Thus, A is the correct option.   Please comment below if you find anything wrong in the above post.
Question 5
Which of the following is NOT true with respect to a transparent bridge and a router?
A
Both bridge and router selectively forward data packets
B
A bridge uses IP addresses while a router uses MAC addresses
C
A bridge builds up its routing table by inspect­ing incoming packets
D
A router can connect between a LAN and a WAN
Misc Topics in Computer Networks    GATE-CS-2004    
Discuss it


Question 6
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 may total number of IP fragments will be transmitted and what will be the contents of offset field in the last fragment?
A
6 and 925
B
6 and 7400
C
7 and 1110
D
7 and 8880
Misc Topics in Computer Networks    GATE-CS-2015 (Set 2)    
Discuss it


Question 6 Explanation: 
UDP data = 8880 bytes
UDP header = 8 bytes
IP Header = 20 bytes

Total Size excluding IP Header = 8888 bytes.

Number of fragments  = ⌈ 8888 / 1480 ⌉ 
                     = 7
Refer the Kurose book slides on IP (Offset is always scaled by 8)

Offset of last segment = (1480 * 6) / 8 = 1110 
Question 7
Since it is a network that uses switch, every packet goes through two links, one from source to switch and other from switch to destination. Since there are 10000 bits and packet size is 5000, two packets are sent. Transmission time for each packet is 5000 / 1077 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 _________.
A
1075
B
1575
C
2220
D
2200
Misc Topics in Computer Networks    GATE-CS-2015 (Set 3)    
Discuss it


Question 7 Explanation: 
Sender host transmits first packet to switch, the transmission time is 5000/107 which is 500 microseconds. After 500 microseconds, the second packet is transmitted. The first packet reaches destination in 500 + 35 + 20 + 20 + 500 = 1075 microseconds. While the first packet is traveling to destination, the second packet starts its journey after 500 microseconds and rest of the time taken by second packet overlaps with first packet. So overall time is 1075 + 500 = 1575.
Question 8
Which one of the following statements is FALSE?
A
TCP guarantees a minimum communication rate
B
TCP ensures in-order delivery
C
TCP reacts to congestion by reducing sender window size
D
TCP employs retransmission to compensate for packet loss
Misc Topics in Computer Networks    GATE-IT-2004    
Discuss it


Question 9
Which one of the following statements is FALSE?
A
HTTP runs over TCP
B
HTTP describes the structure of web pages
C
HTTP allows information to be stored in a URL
D
HTTP can be used to test the validity of a hypertext link
Misc Topics in Computer Networks    GATE-IT-2004    
Discuss it


Question 9 Explanation: 
HTML describes structure of page not HTTP. HTTP is the set of rules for transferring files (text, graphic images, sound, video, and other multimedia files) on the World Wide Web.
Question 10
A serial transmission Ti uses 8 information bits, 2 start bits, 1 stop bit and 1 parity bit for each character. A synchronous transmission T2 uses 3 eight bit sync characters followed by 30 eight bit information characters. If the bit rate is 1200 bits/second in both cases, what are the transfer rates of Ti and T2?
A
100 characters/sec, 153 characters/sec
B
80 characters/sec, 136 characters/sec
C
100 characters/sec, 136 characters/sec
D
80 characters/sec, 153 characters/sec
Misc Topics in Computer Networks    GATE-IT-2004    
Discuss it


Question 10 Explanation: 

Serial communication :
Total number of bits transmitted = 8 + 2 + 1 + 1 = 12 bits Bit rate = 1200 / second Transfer Rate = 1200 * (8/12) = 800 bits/sec = 100 bytes/sec = 100 characters/sec
Synchronous transmission :
Total number of bits transmitted = 3 + 30 = 33 bits Transfer Rate = 1200 * (30/33) = 136 characters/sec
 
Thus, option (C) is correct.
 
Please comment below if you find anything wrong in the above post.
There are 20 questions to complete.
12

GATE CS Corner


See Placement Course for placement preparation, GATE Corner for GATE CS Preparation and Quiz Corner for all Quizzes on GeeksQuiz.