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
 A 0111110100 B 0111110101 C 0111111101 D 0111111111
Computer Networks       Data link layer       Gate 2014 Set -03
Question 1 Explanation:
Given 8-bit delimiter pattern of 01111110.
Output Bit string after stuffing is 01111100101.
 Question 2

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

 A 80 bytes B 80 bits C 160 bytes D 160 bits
Computer Networks       Data link layer       Gate 2005-IT
Question 2 Explanation:
 Question 3

In a TDM medium access control bus LAN, each station is assigned one time slot per cycle for transmission. Assume that the length of each time slot is the time to transmit 100 bits plus the end-to-end propagation delay. Assume a propagation speed of 2 × 108 m/sec. The length of the LAN is 1 km with a bandwidth of 10 Mbps. The maximum number of stations that can be allowed in the LAN so that the throughput of each station can be 2/3 Mbps is

 A 3 B 5 C 10 D 20
Computer Networks       Data link layer       Gate 2005-IT
Question 3 Explanation:
 Question 4
Consider the following message M = 1010001101. The cyclic redundancy check (CRC) for this message using the divisor polynomial x5 + x4 + x2 + 1 is :
 A 01110 B 01011 C 10101 D 10110
Computer Networks        Data link layer       Gate 2005-IT
Question 4 Explanation:
Degree of generator polynomial is 5. Hence, 5 zeroes is appended before division.
M = 1010001101

append 5 zeroes = M = 101000110100000

∴ CRC = 01110
 Question 5

Suppose that two parties A and B wish to setup a common secret key (D-H key) between themselves using the Diffie-Hellman key exchange technique. They agree on 7 as the modulus and 3 as the primitive root. Party A chooses 2 and party B chooses 5 as their respective secrets. Their D-H key is

 A 3 B 4 C 5 D 6
Computer Networks       Data link layer       Gate 2005-IT
Question 5 Explanation:
For Diffe-Hellaman the secret key is (pab)modn,
where p is the primitive root and n is the modulus and 'a' and 'b' are the secret values selected by parity A & B.