Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
Question 1 of 60 · Elementary Datalink Protocols · Easy
Which elementary data link protocol assumes that the receiver can process incoming data at an infinite rate?
Not quite. Try another option.
Answer: Unrestricted Simplex Protocol
The Unrestricted Simplex Protocol (also known as the Utopian protocol) assumes ideal conditions, including a receiver that can process data infinitely fast and a channel that does not lose frames.
Question 2 of 60 · Elementary Datalink Protocols · Easy
In the Stop-and-Wait protocol, what must the sender do after transmitting a data frame?
Not quite. Try another option.
Answer: Wait for an acknowledgment (ACK) from the receiver
In the Stop-and-Wait protocol, the sender transmits one frame and then stops to wait for an acknowledgment before sending the next one.
Question 3 of 60 · Error Detection and Correction · Easy
What is the primary difference between error detection and error correction?
Not quite. Try another option.
Answer: Error detection only identifies that an error occurred, while correction also figures out where it is and fixes it
Error detection simply alerts the system that data was corrupted in transit, whereas error correction identifies the specific corrupted bits and restores their original values.
Question 4 of 60 · Error Detection and Correction · Easy
Which of the following describes a 'burst error' in data communication?
Not quite. Try another option.
Answer: Two or more bits in a data unit have changed
A burst error means that two or more bits in the data unit have changed from 1 to 0 or from 0 to 1, usually caused by sustained interference.
Question 5 of 60 · Error Detection and Correction- Hamming code, CRC, Parity, Checksum · Easy
What does CRC stand for in computer networks?
Not quite. Try another option.
Answer: Cyclic Redundancy Check
CRC stands for Cyclic Redundancy Check, which is a powerful and widely used error-detecting code based on polynomial division.
Question 6 of 60 · Error Detection and Correction- Hamming code, CRC, Parity, Checksum · Easy
If a system uses 'even parity', what happens if the data bits have an odd number of 1s?
Not quite. Try another option.
Answer: The parity bit is set to 1
In even parity, the total number of 1s (data bits plus parity bit) must be even. If the data bits have an odd number of 1s, the parity bit is set to 1 to make the total even.
Question 7 of 60 · Error Detection and Correction- Hamming code, CRC, Parity, Checksum · Easy
The Hamming code is primarily known for its ability to perform which function?
Not quite. Try another option.
Answer: Single-bit error correction
Hamming codes are a family of linear error-correcting codes that can detect up to two-bit errors or correct single-bit errors.
Question 8 of 60 · Error Detection and Correction- Hamming code, CRC, Parity, Checksum · Easy
Which error detection method involves dividing the data into segments, adding them together using 1's complement arithmetic, and sending the complement of the sum?
Not quite. Try another option.
Answer: Checksum
Checksum is an error detection technique where a sum of data segments is calculated (often using 1's complement arithmetic) and sent along with the data.
Question 9 of 60 · MAC SUBLAYER · Easy
What does MAC stand for in the context of the Data Link Layer?
Not quite. Try another option.
Answer: Media Access Control
MAC stands for Media Access Control. It is a sublayer of the Data Link Layer responsible for controlling how devices in a network gain access to data and permission to transmit it.
Question 10 of 60 · MAC SUBLAYER · Easy
The Data Link Layer is generally divided into two sublayers. One is the MAC sublayer; what is the other?
Not quite. Try another option.
Answer: Logical Link Control (LLC) Sublayer
The IEEE 802 standard divides the Data Link Layer into the Logical Link Control (LLC) sublayer and the Media Access Control (MAC) sublayer.
Question 11 of 60 · Multiple Access Protocols- ALOHA, CSMA and CSMA/CD · Easy
What is the basic rule for a station transmitting data in Pure ALOHA?
Not quite. Try another option.
Answer: Transmit data whenever a frame is ready
In Pure ALOHA, there is no channel sensing. A station simply transmits its data whenever it has a frame ready to send.
Question 12 of 60 · Multiple Access Protocols- ALOHA, CSMA and CSMA/CD · Easy
How does Slotted ALOHA improve upon Pure ALOHA?
Not quite. Try another option.
Answer: By dividing time into discrete intervals (slots) and only allowing transmission at the beginning of a slot
Slotted ALOHA improves efficiency by dividing time into slots. Stations are only allowed to begin transmitting at the start of a slot, which reduces the vulnerable time for collisions.
Question 13 of 60 · Multiple Access Protocols- ALOHA, CSMA and CSMA/CD · Easy
What does the 'CD' in CSMA/CD stand for?
Not quite. Try another option.
Answer: Collision Detection
CD stands for Collision Detection. In CSMA/CD, if a node detects a collision while transmitting, it stops and sends a jam signal.
Question 14 of 60 · Multiple Access Protocols- ALOHA, CSMA and CSMA/CD · Easy
What does a station do first in the CSMA protocol?
Not quite. Try another option.
Answer: Senses the carrier (listens to the channel) to see if it is idle
CSMA (Carrier Sense Multiple Access) requires a station to 'listen before it talks'—meaning it senses the channel to check for ongoing transmissions before sending its own data.
Question 15 of 60 · Random Access · Easy
Which of the following is a key characteristic of random access protocols?
Not quite. Try another option.
Answer: No station is superior to another, and any station can transmit if it follows the protocol rules
In random access (or contention) protocols, all stations are peers. No station controls another, and they compete for the shared medium.
Question 16 of 60 · Random Access · Easy
What is the consequence of two stations transmitting at the same time in a random access network?
Not quite. Try another option.
Answer: A collision occurs, corrupting the frames
When two or more stations transmit simultaneously on a shared medium in a random access protocol, their signals interfere with each other, resulting in a collision and corrupted data.
Question 17 of 60 · Controlled access · Easy
Which of the following is an example of a controlled access protocol?
Not quite. Try another option.
Answer: Token Passing
Token passing is a controlled access method where a special frame called a 'token' circulates around the network, and a station can only transmit if it holds the token.
Question 18 of 60 · Controlled access · Easy
In the polling access method, what is the role of the primary station?
Not quite. Try another option.
Answer: It controls the link and dictates which secondary device can transmit
In polling, one device acts as a primary station and controls the data link. It polls the secondary stations to grant them permission to transmit.
Question 19 of 60 · Ethernet protocol · Easy
What is the IEEE standard number for traditional Ethernet?
Not quite. Try another option.
Answer: IEEE 802.3
The IEEE 802.3 standard defines the rules for traditional Ethernet networks.
Question 20 of 60 · Ethernet protocol · Easy
How long is a standard Ethernet MAC address?
Not quite. Try another option.
Answer: 48 bits
A standard Ethernet MAC address is 48 bits (or 6 bytes) long, typically represented as 12 hexadecimal digits.
Question 21 of 60 · Error Detection and Correction- Hamming code · Medium
If a data word has bits, what is the minimum number of redundant bits required for a Hamming code to correct single-bit errors?
Not quite. Try another option.
Answer: 4
The Hamming code requirement is . Substituting , we need . If , (False). If , (True). Therefore, 4 redundant bits are needed.
Question 22 of 60 · Error Detection and Correction · Medium
To guarantee the correction of up to errors in a data frame, the minimum Hamming distance of the block code must be at least:
Not quite. Try another option.
Answer:
To detect errors, a minimum Hamming distance of is required. To correct errors, the distance must be large enough that the erroneous codeword is still closer to the original valid codeword than any other, which requires a minimum distance of .
Question 23 of 60 · CRC · Medium
If a Cyclic Redundancy Check (CRC) uses a generator polynomial , how many bits will the CRC remainder appended to the data be?
Not quite. Try another option.
Answer: 3 bits
The degree of the generator polynomial is 3. The length of the CRC remainder is always equal to the degree of the generator polynomial, which means 3 bits will be appended to the data message.
Question 24 of 60 · CRC · Medium
In CRC, if the received message polynomial is perfectly divisible by the generator polynomial using modulo-2 arithmetic, what can be concluded?
Not quite. Try another option.
Answer: No errors are detected, though undetected errors are theoretically possible.
A remainder of zero indicates that no errors were detected by the CRC. However, it does not guarantee absolute perfection, as the error polynomial could theoretically be a multiple of the generator polynomial.
Question 25 of 60 · Parity, Checksum · Medium
Which of the following statements is true regarding a Two-Dimensional Parity Check?
Not quite. Try another option.
Answer: It can detect all 1-bit, 2-bit, and 3-bit errors, and correct single-bit errors.
Two-dimensional parity organizes data in a matrix with row and column parities. It can correct any single-bit error (by finding the intersection of the failed row and column) and can detect all 1, 2, and 3-bit errors.
Question 26 of 60 · Parity, Checksum · Medium
A sender calculates the checksum for data words and using 4-bit one's complement arithmetic. What is the value of the checksum transmitted?
Not quite. Try another option.
Answer:
The correct option follows directly from the given concept and definitions.
Question 27 of 60 · Elementary Datalink Protocols · Medium
In a Stop-and-Wait protocol, if the propagation delay is and the transmission time is , the maximum link utilization (efficiency) is given by which formula? (Assume )
Not quite. Try another option.
Answer:
In Stop-and-Wait, the total time to send one frame and receive an ACK is . The useful time is . Therefore, efficiency . Dividing numerator and denominator by , we get .
Question 28 of 60 · Elementary Datalink Protocols · Medium
In a Go-Back-N ARQ protocol using bits for sequence numbers, what is the maximum permissible sender window size?
Not quite. Try another option.
Answer:
In Go-Back-N, the maximum sender window size is . If the window size were , the sender could not distinguish between an acknowledgment for a new frame and a duplicate acknowledgment for an old frame.
Question 29 of 60 · Elementary Datalink Protocols · Medium
For a Selective Repeat ARQ protocol using 4 bits for sequence numbering, what is the optimal window size for both the sender and receiver?
Not quite. Try another option.
Answer: 8
In Selective Repeat ARQ, the window size for both sender and receiver must be at most to prevent overlapping sequence numbers between old and new windows. For , the max window size is .
Question 30 of 60 · MAC SUBLAYER · Medium
Which of the following best describes the primary responsibility of the Medium Access Control (MAC) sublayer?
Not quite. Try another option.
Answer: Providing mechanisms to control access to the shared transmission medium.
The MAC sublayer is responsible for coordinating access to a shared medium, resolving collisions, and managing physical addressing in broadcast networks.
Question 31 of 60 · Multiple Access Protocols- ALOHA, CSMA and CSMA/CD · Medium
What is the maximum throughput (efficiency) of Pure ALOHA and Slotted ALOHA, respectively?
Not quite. Try another option.
Answer: 18.4% and 36.8%
The maximum efficiency of Pure ALOHA occurs at yielding . For Slotted ALOHA, the vulnerable time is halved, peaking at yielding .
Question 32 of 60 · Multiple Access Protocols- ALOHA, CSMA and CSMA/CD · Medium
In Pure ALOHA, if the frame transmission time is , what is the vulnerable time during which a collision can occur?
Not quite. Try another option.
Answer:
In Pure ALOHA, a frame can collide with another frame that starts transmitting up to time before it or up to time after it starts. Thus, the vulnerable time window is .
Question 33 of 60 · Multiple Access Protocols- ALOHA, CSMA and CSMA/CD · Medium
In a CSMA/CD network, a station must transmit a frame of at least a minimum length () to ensure it can detect a collision before it finishes transmitting. If the network bandwidth is bps and the one-way propagation delay is , what is the formula for ?
Not quite. Try another option.
Answer:
To detect a collision, the transmission time must be at least twice the propagation delay (). Since , we get . Therefore, .
Question 34 of 60 · Multiple Access Protocols- ALOHA, CSMA and CSMA/CD · Medium
Why is CSMA/CD generally not utilized in wireless networks (like Wi-Fi)?
Not quite. Try another option.
Answer: It cannot solve the hidden terminal problem, and collision detection is difficult due to signal attenuation.
In wireless networks, stations cannot easily listen and transmit at the same time (detect collisions) due to rapid signal attenuation. Additionally, CSMA/CD fails to address the hidden terminal problem, making CSMA/CA the preferred choice.
Question 35 of 60 · Random Access · Medium
In the standard Ethernet Binary Exponential Backoff algorithm, after collisions (where ), a station chooses a random delay time multiplied by the slot time. The random number is chosen from the range:
Not quite. Try another option.
Answer: to
The Binary Exponential Backoff algorithm dictates that after collisions, a station waits for a random number of slot times chosen uniformly from the interval .
Question 36 of 60 · Controlled access · Medium
Which of the following controlled access methods requires one specific node to act as a primary node that authorizes secondary nodes to transmit data?
Not quite. Try another option.
Answer: Polling
In the Polling method, one device acts as a primary controller and the others are secondary. The primary node polls the secondary nodes to determine if they have data to send, effectively controlling access to the medium.
Question 37 of 60 · Controlled access · Medium
In a Token Passing network, what happens if the station holding the token currently has no data to send?
Not quite. Try another option.
Answer: It immediately passes the token to its logical successor in the ring.
In Token Passing, the token circulates sequentially. If a station has the token but no data to transmit, it simply passes the token to the next station in the logical ring without delay.
Question 38 of 60 · Ethernet protocol · Medium
An Ethernet MAC address is a unique identifier assigned to a network interface controller. What is the length of an Ethernet MAC address?
Not quite. Try another option.
Answer: 48 bits
Standard Ethernet MAC addresses are 48 bits (6 bytes) long, typically represented as six groups of two hexadecimal digits.
Question 39 of 60 · Ethernet protocol · Medium
In an IEEE 802.3 Ethernet frame, what is the purpose of the 7-byte Preamble followed by the 1-byte Start Frame Delimiter (SFD)?
Not quite. Try another option.
Answer: To synchronize the clocks of the receiving stations and mark the start of the frame.
The Preamble consists of alternating 1s and 0s that allow the receiver's clock to synchronize with the incoming data. The SFD (10101011) signals the exact beginning of the actual frame.
Question 40 of 60 · Ethernet protocol · Medium
What is the minimum and maximum size of an Ethernet frame payload (data field) in standard IEEE 802.3?
Not quite. Try another option.
Answer: 46 bytes and 1500 bytes
In a standard IEEE 802.3 frame, the data payload must be a minimum of 46 bytes (to ensure the frame meets the 64-byte minimum length requirement) and a maximum of 1500 bytes.
Question 41 of 60 · Elementary Datalink Protocols · Hard
In a sliding window protocol, if the sequence numbers are represented using bits, what is the maximum permissible sender window size for Go-Back-N and Selective Repeat protocols, respectively, to ensure correct operation under worst-case delay?
Not quite. Try another option.
Answer: and
For Go-Back-N, the sender window size can be at most to distinguish between a new packet and a retransmission. For Selective Repeat, the window size must be at most to prevent the new window from overlapping with the old window.
Question 42 of 60 · Error Detection and Correction · Hard
If a code has a minimum Hamming distance of , what is the maximum number of errors it can detect () and the maximum number of errors it can correct ()?
Not quite. Try another option.
Answer: ,
A code with minimum Hamming distance can detect up to errors. To correct errors, the distance must be at least , yielding .
Question 43 of 60 · Error Detection and Correction- Hamming code · Hard
To transmit data bits along with redundant bits using a Hamming code such that all single-bit errors are correctable, which of the following inequalities must strictly hold?
Not quite. Try another option.
Answer:
The redundant bits can form states. One state indicates no error, and the remaining states must cover single-bit errors in all data bits and parity bits. Hence, .
Question 44 of 60 · Error Detection and Correction- CRC · Hard
Given the generator polynomial and the message polynomial , what is the transmitted codeword polynomial in systematic form?
Not quite. Try another option.
Answer:
Multiply by to get . Dividing this by over GF(2) yields a remainder of . Adding the remainder gives the codeword .
Question 45 of 60 · Error Detection and Correction- Parity · Hard
Consider a Two-Dimensional Parity Check scheme applied to an matrix of data bits. Which of the following error patterns is GUARANTEED to go undetected?
Not quite. Try another option.
Answer: 4 errors forming the corners of a rectangle in the matrix
In 2D parity, 4 errors located at flip exactly two bits in rows and two bits in columns . The parity of these rows and columns remains unchanged, so the error goes undetected.
Question 46 of 60 · Error Detection and Correction- Checksum · Hard
If the 16-bit Internet checksum is used, and a bit sequence of 16 zeros is altered to 16 ones during transmission while another 16-bit block changes from 16 ones to 16 zeros, what is the effect on the receiver's checksum validation?
Not quite. Try another option.
Answer: The error is never detected.
The Internet checksum uses 1's complement arithmetic. Swapping a word of all 0s with a word of all 1s (and vice versa) does not change the 1's complement sum of the data. Thus, the error will go undetected.
Question 47 of 60 · MAC SUBLAYER · Hard
Which of the following best describes the fundamental trade-off addressed by the Medium Access Control (MAC) sublayer in a broadcast network?
Not quite. Try another option.
Answer: Minimizing collision probability vs. Maximizing channel utilization
The MAC sublayer coordinates access to a shared medium. Protocols must balance the need to keep stations from transmitting simultaneously (causing collisions) with the goal of keeping the channel busy transmitting useful data (high utilization).
Question 48 of 60 · Multiple Access Protocols- ALOHA · Hard
In Pure ALOHA, if the frame transmission time is , what is the vulnerable time, and at what offered load (in frames per ) is the maximum throughput achieved?
Not quite. Try another option.
Answer: Vulnerable time = ; Max throughput at
In Pure ALOHA, a collision occurs if another frame is generated anywhere within before or after the start of transmission, making the vulnerable time . Throughput is , which is maximized when the derivative with respect to is zero, yielding .
Question 49 of 60 · Multiple Access Protocols- CSMA and CSMA/CD · Hard
In a CSMA/CD network operating at 1 Gbps with a maximum cable length of 200 meters and signal propagation speed of m/s, what is the minimum frame size required to ensure collision detection?
Not quite. Try another option.
Answer: 2000 bits
Round-trip propagation time . To detect collisions, transmission time . Thus, , meaning minimum frame length bits.
Question 50 of 60 · Random Access · Hard
In the Binary Exponential Backoff algorithm used after collisions in Ethernet, the sender chooses a random wait time from the interval . If , what is the probability that two colliding stations choose the same backoff time?
Not quite. Try another option.
Answer:
After collisions, the interval is , which has 32 slots. The probability that both stations pick the exact same slot is .
Question 51 of 60 · Controlled access · Hard
In a token ring network with stations, assuming the token propagation time around the ring is and frame transmission time is , what is the maximum channel utilization if the protocol uses Single-Token operation (release after reception)?
Not quite. Try another option.
Answer:
In Single-Token operation, a station transmits one frame of length , waits for it to travel around the ring (), and then releases the token. The cycle time per frame is , making utilization .
Question 52 of 60 · Ethernet protocol · Hard
Which of the following fields in the classic IEEE 802.3 Ethernet frame is responsible for clock synchronization, and what is its specific bit pattern?
Not quite. Try another option.
Answer: Preamble: 7 bytes of 10101010
The Preamble consists of 7 bytes of alternating 1s and 0s (10101010), allowing the receiver's clock to synchronize with the sender's. It is followed by the 1-byte Start Frame Delimiter (SFD) which is 10101011.
Question 53 of 60 · Error Detection and Correction- CRC · Hard
A CRC generator polynomial is defined as , where is a primitive polynomial of degree . Which set of errors is this guaranteed to detect?
Not quite. Try another option.
Answer: All odd-numbered bit errors and all burst errors of length
The factor ensures all odd numbers of bit errors are detected. The polynomial has degree , so it guarantees detection of all burst errors of length up to .
Question 54 of 60 · Elementary Datalink Protocols · Hard
In the Stop-and-Wait ARQ protocol, what is the link utilization given a frame transmission time , propagation delay , and assuming acknowledgment transmission time is negligible?
Not quite. Try another option.
Answer: , where
The total time for one frame cycle is (transmission + round-trip propagation). Utilization is the useful time divided by total time: . Dividing by yields where .
Question 55 of 60 · Multiple Access Protocols- CSMA and CSMA/CD · Hard
Why is CSMA/CD fundamentally unsuitable for wireless LANs (like 802.11), necessitating the use of CSMA/CA instead?
Not quite. Try another option.
Answer: Wireless stations cannot transmit and receive simultaneously on the same frequency to detect collisions.
In wireless networks, the signal power degrades heavily over distance. A transmitting station's own signal overwhelms any incoming signal from a collision, making reliable collision detection hardware impractical. Furthermore, the hidden terminal problem makes CSMA/CD ineffective.
Question 56 of 60 · Ethernet protocol · Hard
If an Ethernet frame is padded to reach the minimum frame size of 64 bytes, how does the receiving network layer know the actual length of the payload?
Not quite. Try another option.
Answer: The IEEE 802.3 Length field indicates the true payload size.
In the IEEE 802.3 standard, the 2-byte Length/Type field is used as a Length field (when ) to specify the exact number of bytes in the data field. This allows the receiver to discard the padding.
Question 57 of 60 · Error Detection and Correction- Hamming code · Hard
When constructing a Hamming code, parity bits are placed at bit positions that are powers of 2. For an 8-bit data sequence, at which positions (starting from 1) will the parity bits be placed, and what is the total codeword length?
Not quite. Try another option.
Answer: Positions: 1, 2, 4, 8; Total length: 12 bits
The parity bits are placed at positions (1, 2, 4, 8). Since 4 parity bits are needed for 8 data bits (), the total codeword length is bits.
Question 58 of 60 · Random Access · Hard
In a slotted ALOHA system with active nodes where each transmits with probability in a slot, the efficiency is maximized at . As , what does the maximum efficiency asymptotically approach?
Not quite. Try another option.
Answer:
The probability of a successful transmission in slotted ALOHA is . Setting yields . As , this limit approaches .
Question 59 of 60 · Controlled access · Hard
In a Reservation protocol where time is divided into a reservation frame containing minislots followed by data frames, if the system is heavily loaded such that every minislot results in a reservation, what is the maximum efficiency? (Let minislot length be and data frame length be )
Not quite. Try another option.
Answer:
In one cycle, there are minislots taking time , which successfully reserve data frames taking time . The total useful time is out of a total cycle time of . Thus, efficiency is .
Question 60 of 60 · Elementary Datalink Protocols · Hard
In a communication channel with a high error rate, why does the Selective Repeat protocol generally outperform Go-Back-N, despite having higher memory requirements?
Not quite. Try another option.
Answer: Selective Repeat avoids retransmitting frames that were successfully received after a lost frame.
Go-Back-N discards all out-of-order frames received after a lost frame, requiring retransmission of the entire window. Selective Repeat buffers out-of-order frames and only retransmits the specific lost frame, significantly saving bandwidth on high-error links.
That's unit 5
Answer a few questions and your score shows up here.
Nearly through. Did unit 5 of CSE306 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 5 of CSE306 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill;
the rest comes out of a student's own pocket: the domain, the storage, and keeping
the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.