U5. Data Link Layer and Network Layer Flashcards

(9 cards)

1
Q
  1. Data Link Layer – Design Issues
A

Framing: Divides data into frames for synchronization.
Error Control: Detects and corrects transmission errors.
Flow Control: Maintains pace between sender and receiver.
Acknowledgment & Retransmission used for reliable delivery.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  1. Services Provided by Data Link
A

Framing

Reliable Delivery

Error Detection & Correction

Flow Control

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. Framing Techniques
A

Character Count

Flag bytes with byte stuffing

Flag bits with bit stuffing

Physical layer coding violations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  1. Error Control Mechanisms
A

Error detection: Parity bits, CRC (Cyclic Redundancy Check).

Error correction: Hamming Code.

Uses ACK/NAK and retransmission for reliability.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. Flow Control Methods
A

Prevents sender from overwhelming receiver.

Stop-and-Wait Protocol

Sliding Window Protocol (used in TCP/IP)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. Protocols
A

(a) Simplex Link Layer Protocols
One-way communication (sender → receiver).
No flow/error control – very basic.

(b) Sliding Window Protocol
Allows multiple frames in transit.
Maintains window of acceptable frames

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. Medium Access Control (MAC) Sublayer
A

Controls access to shared media (e.g., Ethernet, Wi-Fi).
(a) Channel Allocation
+ Static
+ Dynamic
(b) Multiple Access Protocols
+ ALOHA
+ CSMA

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

ALOHA

A

Simple random access protocol.

Two types: Pure ALOHA (low efficiency), Slotted ALOHA (better).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

CSMA (Carrier Sense Multiple Access):

A

Listens before transmitting.

CSMA/CD (Collision Detection) – used in Ethernet.

CSMA/CA (Collision Avoidance) – used in Wi-Fi.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly