Data-Link-Layer
Question 1 |
A bit-stuffing based framing protocol uses an 8-bit delimiter pattern of 01111110. If the output bit-string after stuffing is 01111100101, then the input bit-string is
0111110100 | |
0111110101 | |
0111111101 | |
0111111111 |
Question 1 Explanation:
Given 8-bit delimiter pattern of 01111110.
Output Bit string after stuffing is 01111100101.
Output Bit string after stuffing is 01111100101.
Question 2 |
Determine the maximum length of the cable (in km) for transmitting data at a rate of 500 Mbps in an Ethernet LAN with frames of size 10,000 bits. Assume the signal speed in the cable to be 2,00,000 km/s.
1 | |
2 | |
2.5 | |
5 |
Question 2 Explanation:
500×106 bits ------ 1 sec
∴104 bits -----5×108/104 = 104/5×108sec = 1/5×104sec
1 sec------2×105 km
1/5×104-----2×105/5×104 = 4 km
Maximum length of cable = 4/2 = 2 km
∴104 bits -----5×108/104 = 104/5×108sec = 1/5×104sec
1 sec------2×105 km
1/5×104-----2×105/5×104 = 4 km
Maximum length of cable = 4/2 = 2 km
Question 3 |
A channel has a bit rate of 4 kbps and one-way propagation delay of 20 ms. The channel uses stop and wait protocol. The transmission time of the acknowledgement frame is negligible. To get a channel efficiency of at least 50%, the minimum frame size should be
80 bytes | |
80 bits | |
160 bytes | |
160 bits |
Question 3 Explanation:
There are 3 questions to complete.
