The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+18 votes

Choose the best matching between $\text{Group 1}$ and $\text{Group 2}$

$$\begin{array}{|l|l|}\hline \textbf{Group-1} & \textbf{Group-2} \\\hline  \text{P. Data link layer} & \text{1. Ensures reliable transport of data over a physical point-}\\ & \text{to-point link} \\\hline   \text{Q. Network layer} & \text{2. Encodes/decodes data for physical transmission} \\\hline  \text{R. Transport layer} & \text{3. Allows end-to-end communication between two }\\ & \text{processes} \\\hline \text{} & \text{4. Routes data from one network node to the next} \\\hline \end{array}$$

  1. $\text{P-1, Q-4, R-3}$
  2. $\text{P-2, Q-4, R-1}$
  3. $\text{P-2, Q-3, R-1}$
  4. $\text{P-1, Q-3, R-2}$
asked in Computer Networks by Veteran (52.1k points)
edited by | 1.8k views
Encodes/decodes data for frame transmission then it will be data link layer (frame synchronization)

Encodes/decodes data for physical transmission it will on physical layer (bit synchronization)

3 Answers

+16 votes
Best answer

Answer is A.

answered by Loyal (5.2k points)
edited by
But I have read somwhere that Data Link Layer encodes/decides data for physical transmission. So P should be matched with  2 in this case.
Sir please suggest me one good book for networking. I can't do well in gate..or tell me how to prepare well.
+15 votes

Option A:


Data Link Layer :: Hop to Hop connection or point to point connection.

Transport Layer:: Service point addressing/Socket to socket connection or end to end connection with full reliability.

Network Layer:: Host to Host

answered by Loyal (9.7k points)
edited by

not right person within the house to right person within house



not right person within the house to right person within house  ??

–2 votes
data link layer does encode and decode for physical transmission so ...b is the answer
answered by (111 points)


Segmentation and Reassembling : A message is divided into segments; each segment contains sequence number, which enables this layer in reassembling the message. Message is reassembled correctly upon arrival at the destination and replaces packets which were lost in transmission.
Connection Control : It includes 2 types :
Connectionless Transport Layer : Each segment is considered as an independent packet and delivered to the transport layer at the destination machine.
Connection Oriented Transport Layer : Before delivering packets, connection is made with transport layer at the destination machine.
Flow Control : In this layer, flow control is performed end to end.
Error Control : Error Control is performed end to end in this layer to ensure that the complete message arrives at the receiving transport layer without any error. Error Correction is done through retransmission.


Framing: Frames are the streams of bits received from the network layer into manageable data units. This division of stream of bits is done by Data Link Layer.
Physical Addressing: The Data Link layer adds a header to the frame in order to define physical address of the sender or receiver of the frame, if the frames are to be distributed to different systems on the network.
Flow Control: A flow control mechanism to avoid a fast transmitter from running a slow receiver by buffering the extra bit is provided by flow control. This prevents traffic jam at the receiver side.
Error Control: Error control is achieved by adding a trailer at the end of the frame. Duplication of frames are also prevented by using this mechanism. Data Link Layers adds mechanism to prevent duplication of frames.
Access Control: Protocols of this layer determine which of the devices has control over the link at any given time, when two or more devices are connected to the same link.

flow and error  are in both the layers

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
49,807 questions
54,506 answers
74,944 users