Data Link Layer questions

Q43

GATE CS 2026 CS-2Data Link LayerMCQ2 marks−2/3 if wrong
Consider the transmission of data bits 110001011 over a link that uses Cyclic Redundancy Check (CRC) code for error detection. If the generator bit pattern is given to be 1001, which one of the following options shows the remainder bit pattern appended to the data bits before transmission?
Show answer without attempting

Answer: D

Q65

GATE CS 2026 CS-2Data Link LayerNAT2 marks
It is necessary to design a link-layer protocol between two hosts that are directly connected over a lossless link of length 3000 kilometers. Assume that the link bandwidth is 10810^8 bits per second and that the propagation delay in the link is 5 nanoseconds per meter. Every transmitted data byte is assigned a unique sequence number.

Let NN be the minimum number of bits needed for the sequence number field in the protocol header such that

i. the sequence numbers do not wrap around before 60 seconds, and
ii. the maximum utilization of the link is achieved.

The value of NN is ______. (answer in integer)
Show answer without attempting

Answer: 30

Q55

GATE CS 2024 CS-2Data Link LayerNAT2 marks
Consider an Ethernet segment with a transmission speed of 10810^8 bits/sec and a maximum segment length of 500 meters. If the speed of propagation of the signal in the medium is 2×1082 \times 10^8 meters/sec, then the minimum frame size (in bits) required for collision detection is _________
Show answer without attempting

Answer: 500

Q8

GATE CS 2021 CS-1Data Link LayerMCQ1 mark−1/3 if wrong
Consider the following two statements.
S1S_1: Destination MAC address of an ARP reply is a broadcast address.
S2S_2: Destination MAC address of an ARP request is a broadcast address.
Which one of the following choices is correct?
Show answer without attempting

Answer: C

Q29

GATE CS 2021 CS-1Data Link LayerMCQ2 marks−2/3 if wrong
Assume that a 12-bit Hamming codeword consisting of 8-bit data and 4 check bits is d8d7d6d5c8d4d3d2c4d1c2c1d_8 d_7 d_6 d_5 c_8 d_4 d_3 d_2 c_4 d_1 c_2 c_1, where the data bits and the check bits are given in the following tables:

Data bits:
d8d_8d7d_7d6d_6d5d_5d4d_4d3d_3d2d_2d1d_1
110xx0101
Check bits:
c8c_8c4c_4c2c_2c1c_1
yy010
Which one of the following choices gives the correct values of xx and yy?
Show answer without attempting

Answer: A

Q34

GATE CS 2021 CS-2Data Link LayerMCQ2 marks−2/3 if wrong
Consider the cyclic redundancy check (CRC) based error detecting scheme having the generator polynomial X3+X+1X^3 + X + 1. Suppose the message m4m3m2m1m0=11000m_4 m_3 m_2 m_1 m_0 = 11000 is to be transmitted. Check bits c2c1c0c_2 c_1 c_0 are appended at the end of the message by the transmitter using the above CRC scheme. The transmitted bit string is denoted by m4m3m2m1m0c2c1c0m_4 m_3 m_2 m_1 m_0 c_2 c_1 c_0. The value of the checkbit sequence c2c1c0c_2 c_1 c_0 is
Show answer without attempting

Answer: C

Q54

GATE CS 2021 CS-2Data Link LayerNAT2 marks
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 Mbps1\text{ Mbps} (=106= 10^6 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 ____________.
Show answer without attempting

Answer: 130 to 140

Q49

GATE CS 2019 CSData Link LayerNAT2 marks
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 uplink ports. The minimum number of switches needed is __________.
Show answer without attempting

Answer: 3

Q55

GATE CS 2018 CSData Link LayerNAT2 marks
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 dd meters from each other. P starts transmitting a packet at time t=0t=0 after successfully completing its carrier-sense phase. Node Q has a packet to transmit at time t=0t=0 and begins to carrier-sense the medium.

The maximum distance dd (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 _____.
Show answer without attempting

Answer: 50

Q32

GATE CS 2017 CS-1Data Link LayerMCQ2 marks−2/3 if wrong
A computer network uses polynomials over GF(2)GF(2) for error checking with 88 bits as information bits and uses x3+x+1x^3 + x + 1 as the generator polynomial to generate the check bits. In this network, the message 0101101101011011 is transmitted as
Show answer without attempting

Answer: C

Q34

GATE CS 2017 CS-2Data Link LayerMCQ2 marks−2/3 if wrong
Consider a binary code that consists of only four valid codewords as given below:

00000,01011,10101,1111000000, 01011, 10101, 11110

Let the minimum Hamming distance of the code be pp and the maximum number of erroneous bits that can be corrected by the code be qq. Then the values of pp and qq are
Show answer without attempting

Answer: A

Q24

GATE CS 2016 CS-2Data Link LayerMCQ1 mark−1/3 if wrong
In an Ethernet local area network, which one of the following statements is TRUE?
Show answer without attempting

Answer: D

Q53

GATE CS 2016 CS-2Data Link LayerNAT2 marks
A network has a data transmission bandwidth of 20×10620 \times 10^6 bits per second. It uses CSMA/CD in the MAC layer. The maximum signal propagation time from one node to another node is 40 microseconds. The minimum size of a frame in the network is _________ bytes.
Show answer without attempting

Answer: 200.0

Q54

GATE CS 2016 CS-2Data Link LayerMCQ2 marks−2/3 if wrong
For the IEEE 802.11 MAC protocol for wireless communication, which of the following statements is/are TRUE?

I. At least three non-overlapping channels are available for transmissions.
II. The RTS-CTS mechanism is used for collision detection.
III. Unicast frames are ACKed.
Show answer without attempting

Answer: B

Q35

GATE CS 2015 CS-3Data Link LayerMCQ1 mark−1/3 if wrong
Consider a CSMA/CD network that transmits data at a rate of 100 Mbps (10810^8 bits per second) over a 1 km (kilometer) cable with no repeaters. If the minimum frame size required for this network is 1250 bytes, what is the signal speed (km/sec) in the cable?
Show answer without attempting

Answer: D

Q39

GATE CS 2015 CS-1Data Link LayerNAT2 marks
Consider a LAN with four nodes S1,S2,S3S_1, S_2, S_3 and S4S_4. Time is divided into fixed-size slots, and a node can begin its transmission only at the beginning of a slot. A collision is said to have occurred if more than one node transmit in the same slot. The probabilities of generation of a frame in a time slot by S1,S2,S3S_1, S_2, S_3 and S4S_4 are 0.1, 0.2, 0.3 and 0.4, respectively. The probability of sending a frame in the first slot without any collision by any of these four stations is ________.
Show answer without attempting

Answer: 0.40 to 0.46

Q24

GATE CS 2014 CS-3Data Link LayerMCQ1 mark−1/3 if wrong
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
Show answer without attempting

Answer: B

Q26

GATE CS 2014 CS-1Data Link LayerNAT2 marks
Consider a token ring network with a length of 2 km having 10 stations including a monitoring station. The propagation speed of the signal is 2×1082 \times 10^8 m/s and the token transmission time is ignored. If each station is allowed to hold the token for 2 μsec, the minimum time for which the monitoring station should wait (in μsec) before assuming that the token is lost is _______.
Show answer without attempting

Answer: 28 to 30

Q36

GATE CS 2013 CSData Link LayerMCQ2 marks−2/3 if wrong
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.
Show answer without attempting

Answer: B

0/190 correct0 marks

Related topics in Computer Networks