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 11–15 of 69
Consider a network using the pure ALOHA medium access control protocol, where each frame is of length 1,000 bits. The channel transmission rate is 1 Mbps (= bits per second). The aggregate number of transmissions across all the nodes (including new frame transmissions and retransmitted frames due to collisions) is modelled as a Poisson process with a rate of 1,000 frames per second. Throughput is defined as the average number of frames successfully transmitted per second. The throughput of the network (rounded to the nearest integer) is ______________
Answer: 130 to 140
Frame time T = 1000 / = 1 ms. Load G = 1000 frames per second 1 ms = 1.
The success probability in pure ALOHA is .
Throughput = 1000 0.135 135 frames per second.
Answer: 135
The success probability in pure ALOHA is .
Throughput = 1000 0.135 135 frames per second.
Answer: 135
Suppose that in an IP-over-Ethernet network, a machine X wishes to find the MAC address of another machine Y in its subnet. Which one of the following techniques can be used for this?
Answer: (C)
ARP request: X does not know the MAC address of Y. So X sends the request to the broadcast MAC address (FF:FF:FF:FF:FF:FF) in its subnet. The request carries the IP address of Y. Only Y sends a reply, and the reply holds its MAC address.
The gateway has no role here, as Y is in the same subnet. Also, ARP does not use a broadcast IP address.
Answer: X sends an ARP request packet with broadcast MAC address in its local subnet
The gateway has no role here, as Y is in the same subnet. Also, ARP does not use a broadcast IP address.
Answer: X sends an ARP request packet with broadcast MAC address in its local subnet
Consider that 15 machines need to be connected in a LAN using 8-port Ethernet switches. Assume that these switches do not have any separate up link ports. The minimum number of switches needed is ___________.
Answer: 3
Links between switches take up ports. Each link uses one port on each of its two ends.
- 2 switches: 16 ports 2 ports for the link = 14 ports. Since 14 15, this does not work (False).
- 3 switches in a chain: 24 ports 4 ports for 2 links = 20 ports. Since 20 15, this works (True).
Answer: 3
- 2 switches: 16 ports 2 ports for the link = 14 ports. Since 14 15, this does not work (False).
- 3 switches in a chain: 24 ports 4 ports for 2 links = 20 ports. Since 20 15, this works (True).
Answer: 3
Consider a simple communication system where multiple nodes are connected by a shared broadcast medium (like Ethernet or wireless). The nodes in the system use the following carrier-sense based medium access protocol. A node that receives a packet to transmit will carrier-sense the medium for 5 units of time. If the node does not detect any other transmission in this duration, it starts transmitting its packet in the next time unit. If the node detects another transmission, it waits until this other transmission finishes, and then begins to carrier-sense for 5 time units again. Once they start to transmit, nodes do not perform any collision detection and continue transmission even if a collision occurs. All transmissions last for 20 units of time. Assume that the transmission signal travels at the speed of 10 meters per unit time in the medium.
Assume that the system has two nodes P and Q, located at a distance d meters from each other. P starts transmitting a packet at time t=0 after successfully completing its carrier-sense phase. Node Q has a packet to transmit at time t=0 and begins to carrier-sense the medium.
The maximum distance d (in meters, rounded to the closest integer) that allows Q to successfully avoid a collision between its proposed transmission and P's ongoing transmission is _____.
Assume that the system has two nodes P and Q, located at a distance d meters from each other. P starts transmitting a packet at time t=0 after successfully completing its carrier-sense phase. Node Q has a packet to transmit at time t=0 and begins to carrier-sense the medium.
The maximum distance d (in meters, rounded to the closest integer) that allows Q to successfully avoid a collision between its proposed transmission and P's ongoing transmission is _____.
Answer: 50
Q carrier-senses from t = 0 to t = 5. It would begin sending at t = 6. To avoid a collision, Q must detect P's signal while it is still sensing. So the signal must reach Q by t = 5:
m
Answer: 50
m
Answer: 50
A computer network uses polynomials over GF(2) for error checking with 8 bits as information bits and uses as the generator polynomial to generate the check bits. In this network, the message 01011011 is transmitted as
Answer: (C)
The generator is 1011. It has degree 3, so add 3 zeros to the message: 01011011 becomes 01011011000. The leading 0 does not change the division, so divide 1011011000 by 1011, using XOR (mod-2, no borrow).
Start with the first four bits and XOR with 1011 whenever the leading bit is 1. Then bring down one bit at a time:
1011 XOR 1011 = 000
bring down 0: 0000 (leading 0, no XOR) gives 000
bring down 1: 0001 gives 001
bring down 1: 0011 gives 011
bring down 0: 0110 gives 110
bring down 0: 1100 XOR 1011 = 111
bring down 0: 1110 XOR 1011 = 101
The remainder is 101. Transmitted message = message followed by the remainder = 01011011 101.
Answer: (C)
Start with the first four bits and XOR with 1011 whenever the leading bit is 1. Then bring down one bit at a time:
1011 XOR 1011 = 000
bring down 0: 0000 (leading 0, no XOR) gives 000
bring down 1: 0001 gives 001
bring down 1: 0011 gives 011
bring down 0: 0110 gives 110
bring down 0: 1100 XOR 1011 = 111
bring down 0: 1110 XOR 1011 = 101
The remainder is 101. Transmitted message = message followed by the remainder = 01011011 101.
Answer: (C)
Keep practising