Quiz :1 Data Link Layer
Section 1: Multiple Choice Questions
1. Which of the following protocols operates at the Data Link Layer?
A) TCP
B) IP
C) Ethernet
D) HTTP
2. The main function of the Data Link Layer is:
A) Encryption
B) Packet Routing
C) Node-to-node data transfer
D) Application management
3. The basic unit of data at the Data Link Layer is called:
A) Packet
B) Frame
C) Segment
D) Byte
4. Which of the following is a function of the Data Link Layer?
A) Logical addressing
B) Error control
C) Session management
D) Routing
5. The addressing used in the Data Link Layer is:
A) IP address
B) URL
C) MAC address
D) Port number
6. Which of the following sublayers exist in the Data Link Layer?
A) MAC and LLC
B) TCP and UDP
C) DNS and ARP
D) HTTP and FTP
7. Which device operates primarily at the Data Link Layer?
A) Router
B) Switch
C) Hub
D) Firewall
8. Which of the following is NOT a responsibility of the Data Link Layer?
A) Framing
B) Error detection
C) Routing
D) Flow control
9. Which of these is a Data Link Layer protocol?
A) ARP
B) SMTP
C) Ethernet
D) IP
10. The Data Link Layer provides services to which OSI layer?
A) Network Layer
B) Transport Layer
C) Session Layer
D) Application Layer
11. Which of the following ensures reliable transmission over unreliable media?
A) CRC
B) DNS
C) FTP
D) TCP
12. LLC stands for:
A) Local Link Control
B) Logical Link Control
C) Layered Line Control
D) Link Level Code
13. What is the purpose of framing in the Data Link Layer?
A) Increase speed
B) Add security
C) Identify start and end of data
D) Compress data
14. Error control in the Data Link Layer is usually achieved by:
A) Resending lost frames
B) Ignoring errors
C) Using DNS
D) Using compression
15. A MAC address is:
A) 32-bit
B) 48-bit
C) 64-bit
D) 128-bit
16. The Data Link Layer lies between:
A) Application and Transport layers
B) Network and Physical layers
C) Session and Network layers
D) Transport and Network layers
17. What does MAC stand for in Data Link Layer context?
A) Media Access Control
B) Memory Allocation Code
C) Machine Access Control
D) Multi Access Connection
18. The protocol used in Ethernet is:
A) CSMA/CD
B) SMTP
C) UDP
D) TCP
19. What is a frame in the Data Link Layer?
A) A packet from the application layer
B) A set of bits transmitted over the network
C) A packet with headers and trailers for transmission
D) A type of switch
20. The Data Link Layer lies between:
A) Application and Transport layers
B) Network and Physical layers
C) Session and Network layers
D) Transport and Network layers
Section 2: True or False Questions
1. The Data Link Layer operates only between end devices. (True/False)
2. The Data Link Layer uses MAC addresses. (True/False)
3. Protocols like PPP and Ethernet operate at the Data Link Layer. (True/False)
4. Flow control is a function of the Data Link Layer. (True/False)
5. The Data Link Layer does not handle error detection. (True/False)
6. Switches operate at the Data Link Layer. (True/False)
7. The Data Link Layer is responsible for IP addressing. (True/False)
8. The frame is the PDU (Protocol Data Unit) of the Data Link Layer. (True/False)
9. The Data Link Layer handles the physical connection between devices. (True/False)
10. The LLC sublayer provides multiplexing and flow control. (True/False)
11. The Data Link Layer is responsible for end-to-end communication.( true/false)
12. The Data Link Layer is Layer 3 in the OSI model.(true/false)
13. CSMA/CD is used in wireless LANs.(true/false)
14. The trailer includes CRC for error checking.(true/false)
15. The MAC address is used to identify devices at the Data Link Layer.(true/false)
Section 3: Essay Questions
1. What are the main responsibilities of the Data Link Layer in the OSI model?
2. Explain the difference between MAC address and IP address.
3. Define a data frame and list its main components.
4. How does error detection and correction work in the Data Link Layer?
5. Briefly describe how the Ethernet protocol works.
6. Compare CSMA/CD and CSMA/CA.
[Link] Responsibilities are: framing, physical addressing, and error/flow control.
[Link] vs. IP: MAC is a permanent hardware ID (Layer 2); IP is a logical network address (Layer 3).
[Link]: A Layer 2 data unit. Parts: Header (MACs), Payload (IP Packet), and Trailer (CRC).
[Link] Control: Uses CRC to detect corruption; drops bad frames and requests retransmission.
[Link]: A wired LAN protocol using MAC addresses and frames to move data locally.
[Link] vs. CA: CD (Wired) detects collisions after they happen; CA (Wireless) tries to avoid them before they happen.