🎓 BookMCQ
← Back to 9. Introduction to Data Link Layer

📝 Nodes and Links in Data Link Layer (10 MCQs)

Adjacent Nodes and the Links That Connect Them

In data communication, a node is a device or interface that participates in sending or receiving frames, while a link is the communication path connecting adjacent nodes. The data link layer operates over that link and coordinates delivery between its endpoints. Nodes may be computers, routers, switches, or other network devices, depending on the network design. The link is treated as one hop for forwarding on that particular connection.

Point-to-Point and Shared Communication Paths

A link may connect exactly two interfaces or provide a shared medium used by several nodes. Point-to-point links dedicate the connection to two endpoints. Broadcast links allow multiple attached nodes to receive transmissions, so a media access method is needed to coordinate use and reduce or manage simultaneous transmissions in practice.

Frame Transfer Between Neighboring Interfaces

A sending node creates a frame addressed for the next node on the link and submits its bits to the physical medium. The adjacent receiving interface detects the signal, reconstructs the frame, and checks relevant fields. The packet inside may then be passed upward or reframed for another link by an intermediate device.

A Router Connected to Two Ethernet Links

Consider a router with one Ethernet interface connected to a campus LAN and another connected to an upstream network. Each interface is a node on its respective link. A packet arriving in a frame on the first link is processed by the router, then placed in a new frame for the second link.

Why Link Boundaries Matter in Multi-Hop Networks

A path across several networks consists of successive links joined by nodes. Link-layer addressing and frame formats apply to each individual hop, whereas the network-layer packet can travel across multiple routers. Recognizing the current link identifies which neighboring interface should receive a frame before routing determines the packet's next network destination.

Avoiding Confusion Between Nodes, Links and Routes

'A link is the complete end-to-end route' is incorrect because a route may contain many links. 'Only computers are nodes' overlooks routers, switches, and other participating interfaces. 'Every link is shared by many devices' is also false: point-to-point links have two endpoints, while shared broadcast media permit multiple attached nodes.

Tracing Adjacent Hops in Network Diagrams

When reading a network diagram, mark each node and the link between adjacent interfaces. Determine whether the connection is point-to-point or shared, identify the frame's immediate destination, and count the links along a route. Do not confuse a router's multiple interfaces with one continuous data link between all connected networks.

Node and Link Terminology

  • Node - A participating network device.
  • Link - Path between adjacent interfaces.
  • Point-to-point - Dedicated two-endpoint link.
  • Broadcast link - Shared medium serving several attached devices.
  • Hop - One link transfer.
  • Interface - Network connection point.
4
Easy
5
Medium
1
Hard

📝 All Nodes and Links in Data Link Layer MCQs

Q1. At which layer of the OSI model does a node communicate with the next node through a logical connection?

A.Physical
B.Data-link ✅
C.Network
D.Transport
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: The data‑link layer is responsible for establishing logical links between directly connected devices. It frames the packet, adds a MAC header, and manages error detection for the hop. The physical layer only handles raw bits, while the network layer works with IP addresses, and the transport layer provides end‑to‑end services.

Q2. If a packet travels from Alice to Bob passing through routers R1 and R2, which statement must be true about the data‑link layer connections?

A.Alice’s data‑link layer talks directly to Bob’s
B.A single data‑link frame is used end‑to‑end
C.Each hop requires its own data‑link logical connection ✅
D.The data‑link layer is not involved
💡 Difficulty: easy | ✅ Correct: C

📖 Explanation: Because each hop between two neighboring nodes is handled by its own data‑link layer, a separate logical connection must be formed for every segment of the path. Therefore, when Alice’s frame reaches R1, it is encapsulated anew, and the process repeats at each subsequent router until it arrives at Bob.

Q3. Which statement best differentiates the role of a switch versus a router at the data‑link layer in the scenario shown in Figure 9.1?

A.Switch forwards frames based on MAC addresses while router forwards based on IP addresses
B.Both devices operate solely at the data‑link layer
C.Switch creates logical links, router does not
D.Router does not use data‑link addressing ✅
💡 Difficulty: easy | ✅ Correct: D

📖 Explanation: A switch operates at the data‑link layer and makes forwarding decisions based on MAC addresses, which are local to the link. A router, however, works at the network layer and forwards packets using IP addresses that span multiple links. This distinction determines how each device interacts with the data‑link logical connections in the scenario.

Q4. Applying encapsulation, which header does the data‑link layer add at each hop?

A.MAC header ✅
B.IP header
C.TCP header
D.UDP header
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: At each hop, the data‑link layer encapsulates the network‑layer packet by adding its own header, which contains the source and destination MAC addresses. This MAC header is essential for delivering the frame across the physical medium to the next directly connected node, and it is removed by the receiving data‑link layer.

Q5. Suppose the link between R2 and R4 fails and traffic is rerouted through R3. What immediate effect does this have on the number of data‑link logical connections a packet experiences?

A.The count increases by one ✅
B.The count decreases by one
C.The count stays the same
D.No effect on data‑link layer
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: When the original link fails, the packet must travel through an additional router, introducing an extra hop. Each hop requires its own data‑link frame and therefore an additional logical connection. Consequently, the total count of data‑link logical connections the packet experiences increases by one.

Q6. Between two adjacent routers, the data‑link layer can use Ethernet or PPP. Which factor is most critical when selecting a technology for a high‑throughput backbone?

A.Maximum frame size (MTU)
B.Physical medium compatibility
C.Error‑checking overhead ✅
D.Cost of implementation
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: For a backbone that must carry large volumes of traffic, the size of the largest allowable frame directly influences throughput. A larger MTU reduces the overhead per byte, allowing more user data to be transmitted with fewer headers, which is crucial for high‑throughput environments.

Q7. If Alice’s network interface card supports full‑duplex operation, how does this affect the logical connections at the data‑link layer compared with half‑duplex?

A.It creates two separate logical connections
B.It halves the number of required frames
C.It allows simultaneous send and receive over the same logical connection ✅
D.It requires additional routing tables
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: Full‑duplex operation allows a node to send and receive frames simultaneously over the same physical link. This does not create separate logical connections; instead, the single data‑link connection supports bidirectional traffic, effectively doubling the utilization of the link without altering the logical connection count.

Q8. When a frame is corrupted on the link between R1 and R2, the data‑link layer at R1 discards the frame. What downstream effect does this have on the logical connections?

A.The next logical connection is skipped
B.Only the affected link is retransmitted
C.All subsequent logical connections are delayed until the frame is successfully retransmitted ✅
D.No effect because higher layers handle the error
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: When a frame is discarded due to corruption, the sending data‑link layer must retransmit that frame before proceeding. This retransmission delays the delivery of subsequent frames, so all later logical connections wait until the corrupted frame is successfully resent, affecting end‑to‑end latency.

Q9. Consider two designs: (i) a single long Ethernet segment connecting Alice, R1, R2, R4, and Bob; (ii) segmented links with separate data‑link connections at each router. Which design offers better fault isolation at the data‑link layer?

A.Design (i)
B.Design (ii) ✅
C.Both provide equal isolation
D.Neither provides fault isolation
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: A single long Ethernet segment means that a fault on any part of the cable can disrupt the entire communication path, providing little isolation. Segmented links with separate data‑link connections at each router confine failures to the affected segment, preserving the rest of the network; thus design (ii) offers superior fault isolation.

Q10. Assume each data‑link logical connection adds a processing delay dp=0.5d_p = 0.5 ms and a transmission delay dt=2d_t = 2 ms per hop. If a packet traverses four hops, what total delay is contributed solely by the data‑link layer?

A.8 ms
B.12 ms
C.14 ms
D.10 ms ✅
💡 Difficulty: hard | ✅ Correct: D

📖 Explanation: Each hop contributes a processing delay dp=0.5d_p = 0.5 ms and a transmission delay dt=2d_t = 2 ms, giving a total of 0.5+2=2.50.5 + 2 = 2.5 ms per hop. Over four hops the cumulative delay is \( 4 \times

🔗 Related Topics (MCQs)