Data Link Layer · Computer Networks
69 questions · asked in 19 of 27 years (2000–2026)
MCQ 53 · NAT 161-mark 38 · 2-mark 31
2000Questions per year2026
Questions 6–10 of 69
Suppose two hosts are connected by a point-to-point link and they are configured to use Stop-and-Wait protocol for reliable data transfer. Identify in which one of the following scenarios, the utilization of the link is the lowest.
Answer: (B)
In Stop-and-Wait, the link utilization , where .
Utilization is at its lowest when has the biggest value:
- A longer link gives a larger
- A higher transmission rate gives a smaller
Answer: Longer link length and higher transmission rate
Utilization is at its lowest when has the biggest value:
- A longer link gives a larger
- A higher transmission rate gives a smaller
Answer: Longer link length and higher transmission rate
Consider the following two statements.
S1: Destination MAC address of an ARP reply is a broadcast address.
S2: Destination MAC address of an ARP request is a broadcast address.
Which one of the following choices is correct?
S1: Destination MAC address of an ARP reply is a broadcast address.
S2: Destination MAC address of an ARP request is a broadcast address.
Which one of the following choices is correct?
Answer: (C)
- ARP request: the sender knows the IP address but not the MAC address, so it sends the request to the broadcast MAC address (FF:FF:FF:FF:FF:FF). S2 is true.
- ARP reply: the replying host already knows the requester's MAC address (from the request), so it sends the reply directly to that address as a unicast. S1 is false.
Answer: (C)
- ARP reply: the replying host already knows the requester's MAC address (from the request), so it sends the reply directly to that address as a unicast. S1 is false.
Answer: (C)
Assume that a 12-bit Hamming codeword consisting of 8-bit data and 4 check bits is , where the data bits and the check bits are given in the following tables:
Which one of the following choices gives the correct values of x and y?
Which one of the following choices gives the correct values of x and y?
Answer: (A)
Positions: 1 c1, 2 c2, 3 d1, 4 c4, 5 d2, 6 d3, 7 d4, 8 c8, 9 d5, 10 d6, 11 d7, 12 d8 (even parity).
- c1 covers d1, d2, d4, d5, d7 = 1 + 0 + 0 + x + 1 = x. Given c1 = 0 x = 0.
- c8 covers d5, d6, d7, d8 = 0 + 0 + 1 + 1 = 0 y = 0.
(c2 and c4 also match: 1 and 0.)
Answer: x is 0 and y is 0
- c1 covers d1, d2, d4, d5, d7 = 1 + 0 + 0 + x + 1 = x. Given c1 = 0 x = 0.
- c8 covers d5, d6, d7, d8 = 0 + 0 + 1 + 1 = 0 y = 0.
(c2 and c4 also match: 1 and 0.)
Answer: x is 0 and y is 0
Consider the sliding window flow-control protocol operating between a sender and a receiver over a full-duplex error-free link. Assume the following:
The time taken for processing the data frame by the receiver is negligible.
The time taken for processing the acknowledgement frame by the sender is negligible.
The sender has infinite number of frames available for transmission.
The size of the data frame is 2,000 bits and the size of the acknowledgement frame is 10 bits.
The link data rate in each direction is 1 Mbps ( bits per second).
One way propagation delay of the link is 100 milliseconds.
The minimum value of the sender's window size in terms of the number of frames, (rounded to the nearest integer) needed to achieve a link utilization of 50% is _____________
The time taken for processing the data frame by the receiver is negligible.
The time taken for processing the acknowledgement frame by the sender is negligible.
The sender has infinite number of frames available for transmission.
The size of the data frame is 2,000 bits and the size of the acknowledgement frame is 10 bits.
The link data rate in each direction is 1 Mbps ( bits per second).
One way propagation delay of the link is 100 milliseconds.
The minimum value of the sender's window size in terms of the number of frames, (rounded to the nearest integer) needed to achieve a link utilization of 50% is _____________
Answer: 50 to 52
Step by step:
- Time to send one data frame = 2000 / = 2 ms
- Time to send one ACK = 10 / = 0.01 ms
- Total cycle time = 2 + 100 + 0.01 + 100 = 202.01 ms
Link utilization: so the window is about 51 frames.
Answer: 51
- Time to send one data frame = 2000 / = 2 ms
- Time to send one ACK = 10 / = 0.01 ms
- Total cycle time = 2 + 100 + 0.01 + 100 = 202.01 ms
Link utilization: so the window is about 51 frames.
Answer: 51
Consider the cyclic redundancy check (CRC) based error detecting scheme having the generator polynomial . Suppose the message is to be transmitted. Check bits are appended at the end of the message by the transmitter using the above CRC scheme. The transmitted bit string is denoted by . The value of the checkbit sequence is
Answer: (C)
The generator is = 1011. Add 3 zeros at the end of the message to get 11000000. Then divide using XOR:
- 1100 1011 = 0111 bring down 0 1110
- 1110 1011 = 0101 bring down 0 1010
- 1010 1011 = 0001 bring down 0 0010 bring down 0 0100
The remainder is 100.
Answer: 100
- 1100 1011 = 0111 bring down 0 1110
- 1110 1011 = 0101 bring down 0 1010
- 1010 1011 = 0001 bring down 0 0010 bring down 0 0100
The remainder is 100.
Answer: 100
Keep practising