Data Link Layer Quiz
Electrical & Communication Engineering | Undergraduate Level
15 Questions
Total
4 Topics
Covered
30 Minutes
Estimated Time
Undergraduate
Difficulty
1
Which of the following is NOT a primary function of the Data Link Layer?
Functions of DLL
Framing and physical addressing
Flow control and error control
Routing and logical addressing
Media access control
2
In the Data Link Layer, what is the purpose of framing?
Functions of DLL
To encrypt data for secure transmission
To divide the stream of bits into manageable data units
To compress data to save bandwidth
To route packets through different networks
3
A burst error of length 4 means:
Types of Errors
Exactly 4 bits are corrupted in the entire data stream
4 consecutive bits are corrupted
Any 4 bits (not necessarily consecutive) are corrupted
The error occurs in the 4th bit position only
4
Which type of error is more likely to occur in wireless communication compared to wired communication?
Types of Errors
Single-bit errors only
Burst errors due to interference and fading
Synchronization errors only
No errors occur in wireless communication
5
What is the fundamental difference between error detection and error correction?
Error Detection & Correction
Error detection requires more redundancy than error correction
Error detection only identifies errors; error correction identifies and fixes errors
Error detection is used in wired networks, error correction in wireless
There is no difference; both terms mean the same
6
In a Hamming code system, if m = 4 (data bits), how many parity bits (r) are required to correct single-bit errors?
Error Detection & Correction
2
3
4
5
7
In block coding, if we have a code with 4 data bits and 3 parity bits, what is the code rate?
Block Coding
4/7
3/7
7/4
4/3
8
Which of the following is a characteristic of linear block codes?
Block Coding
The XOR of any two valid codewords is not a valid codeword
The XOR of any two valid codewords produces another valid codeword
All codewords must have odd number of 1s
The minimum Hamming distance is always 1
9
Which sublayer of the Data Link Layer is responsible for framing and error control?
Functions of DLL
MAC (Media Access Control) sublayer
LLC (Logical Link Control) sublayer
Physical sublayer
Network Interface sublayer
10
If the received codeword is 1011001 and the transmitted codeword was 1010001, what is the Hamming distance between them?
Types of Errors
1
2
3
4
11
To detect d errors, the minimum Hamming distance of the code must be at least:
Error Detection & Correction
d
d + 1
2d + 1
d/2
12
In a systematic block code, where are the parity bits typically placed?
Block Coding
Interleaved with data bits
At the beginning or end of the data bits
Randomly distributed throughout
In a separate packet
13
Which flow control protocol uses a sliding window mechanism where both sender and receiver maintain window sizes?
Functions of DLL
Stop-and-Wait ARQ
Go-Back-N ARQ
Both Go-Back-N and Selective Repeat ARQ
Simplex protocol
14
For a code to correct t errors and detect d errors (where d > t), the minimum Hamming distance must satisfy:
Error Detection & Correction
d
min
≥ t + d + 1
d
min
≥ 2t + d + 1
d
min
≥ t + d
d
min
≥ 2(t + d)
15
If a block code has a minimum Hamming distance of 5, how many errors can it correct and detect simultaneously?
Block Coding
Correct 1, detect 3
Correct 2, detect 2
Correct 2, detect 3 (simultaneously)
Correct 1, detect 4 (simultaneously)
Submit Quiz & View Results
Quiz Results
0/15
Show Detailed Answers & Explanations
Restart Quiz
Detailed Answers & Explanations
Take Quiz Again