Unit 5 - Practice Quiz

CSE306 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 Which elementary data link protocol assumes that the receiver can process incoming data at an infinite rate?

Elementary Datalink Protocols Easy
A. Sliding Window Protocol
B. Stop-and-Wait Protocol
C. Unrestricted Simplex Protocol
D. Simplex Stop-and-Wait Protocol

2 In the Stop-and-Wait protocol, what must the sender do after transmitting a data frame?

Elementary Datalink Protocols Easy
A. Wait for an acknowledgment (ACK) from the receiver
B. Terminate the connection
C. Immediately send the next frame
D. Wait for a predetermined time and send the next frame automatically

3 What is the primary difference between error detection and error correction?

Error Detection and Correction Easy
A. Error detection fixes the error, while correction only identifies it
B. Error detection only identifies that an error occurred, while correction also figures out where it is and fixes it
C. Both are exactly the same concept
D. Error correction requires less redundancy than error detection

4 Which of the following describes a 'burst error' in data communication?

Error Detection and Correction Easy
A. Two or more bits in a data unit have changed
B. Only a single bit is changed from 0 to 1 or 1 to 0
C. Frames arrive out of order
D. The entire frame is lost in transit

5 What does CRC stand for in computer networks?

Error Detection and Correction- Hamming code, CRC, Parity, Checksum Easy
A. Computer Routing Code
B. Channel Redundancy Check
C. Cyclic Repeater Control
D. Cyclic Redundancy Check

6 If a system uses 'even parity', what happens if the data bits have an odd number of 1s?

Error Detection and Correction- Hamming code, CRC, Parity, Checksum Easy
A. The parity bit is set to 1
B. An error is automatically corrected
C. The data is discarded
D. The parity bit is set to 0

7 The Hamming code is primarily known for its ability to perform which function?

Error Detection and Correction- Hamming code, CRC, Parity, Checksum Easy
A. Compressing data
B. Single-bit error correction
C. Routing packets efficiently
D. Encrypting passwords

8 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?

Error Detection and Correction- Hamming code, CRC, Parity, Checksum Easy
A. Hamming Code
B. CRC
C. Checksum
D. Parity Check

9 What does MAC stand for in the context of the Data Link Layer?

MAC SUBLAYER Easy
A. Media Access Control
B. Machine Authentication Code
C. Multiple Access Carrier
D. Memory Access Code

10 The Data Link Layer is generally divided into two sublayers. One is the MAC sublayer; what is the other?

MAC SUBLAYER Easy
A. Logical Link Control (LLC) Sublayer
B. Network Control Sublayer
C. Physical Access Sublayer
D. Transport Control Sublayer

11 What is the basic rule for a station transmitting data in Pure ALOHA?

Multiple Access Protocols- ALOHA, CSMA and CSMA/CD Easy
A. Listen to the channel before transmitting
B. Transmit data whenever a frame is ready
C. Ask a primary station for permission
D. Wait for a token to be received

12 How does Slotted ALOHA improve upon Pure ALOHA?

Multiple Access Protocols- ALOHA, CSMA and CSMA/CD Easy
A. By forcing stations to listen before talking
B. By using a token ring topology
C. By eliminating collisions entirely
D. By dividing time into discrete intervals (slots) and only allowing transmission at the beginning of a slot

13 What does the 'CD' in CSMA/CD stand for?

Multiple Access Protocols- ALOHA, CSMA and CSMA/CD Easy
A. Collision Detection
B. Control Data
C. Carrier Detection
D. Channel Division

14 What does a station do first in the CSMA protocol?

Multiple Access Protocols- ALOHA, CSMA and CSMA/CD Easy
A. Sends a request-to-send (RTS) frame
B. Senses the carrier (listens to the channel) to see if it is idle
C. Waits for a token
D. Transmits immediately

15 Which of the following is a key characteristic of random access protocols?

Random Access Easy
A. Stations transmit data based on a strict time schedule
B. One station acts as a master and controls the others
C. No station is superior to another, and any station can transmit if it follows the protocol rules
D. A token is passed sequentially between nodes

16 What is the consequence of two stations transmitting at the same time in a random access network?

Random Access Easy
A. The router automatically separates the signals
B. The data speed doubles
C. A collision occurs, corrupting the frames
D. The network permanently shuts down

17 Which of the following is an example of a controlled access protocol?

Controlled access Easy
A. Pure ALOHA
B. Token Passing
C. Slotted ALOHA
D. CSMA/CD

18 In the polling access method, what is the role of the primary station?

Controlled access Easy
A. It strictly acts as a backup for the network
B. It controls the link and dictates which secondary device can transmit
C. It generates random tokens
D. It deliberately creates collisions to test network strength

19 What is the IEEE standard number for traditional Ethernet?

Ethernet protocol Easy
A. IEEE 802.5
B. IEEE 802.3
C. IEEE 802.11
D. IEEE 802.15

20 How long is a standard Ethernet MAC address?

Ethernet protocol Easy
A. 48 bits
B. 64 bits
C. 32 bits
D. 128 bits

21 If a data word has bits, what is the minimum number of redundant bits required for a Hamming code to correct single-bit errors?

Error Detection and Correction- Hamming code Medium
A. 6
B. 3
C. 4
D. 5

22 To guarantee the correction of up to errors in a data frame, the minimum Hamming distance of the block code must be at least:

Error Detection and Correction Medium
A.
B.
C.
D.

23 If a Cyclic Redundancy Check (CRC) uses a generator polynomial , how many bits will the CRC remainder appended to the data be?

CRC Medium
A. 4 bits
B. 3 bits
C. 5 bits
D. 2 bits

24 In CRC, if the received message polynomial is perfectly divisible by the generator polynomial using modulo-2 arithmetic, what can be concluded?

CRC Medium
A. The message definitely has no errors.
B. The message has an odd number of errors.
C. The message has burst errors equal to the degree of .
D. No errors are detected, though undetected errors are theoretically possible.

25 Which of the following statements is true regarding a Two-Dimensional Parity Check?

Parity, Checksum Medium
A. It adds redundant bits equal to the size of the data block.
B. It can detect any burst error of any length.
C. It only detects odd numbers of errors.
D. It can detect all 1-bit, 2-bit, and 3-bit errors, and correct single-bit errors.

26 A sender calculates the checksum for data words $1010$ and $0101$ using 4-bit one's complement arithmetic. What is the value of the checksum transmitted?

Parity, Checksum Medium
A. $0000$
B. $0101$
C. $1010$
D. $1111$

27 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 )

Elementary Datalink Protocols Medium
A.
B.
C.
D.

28 In a Go-Back-N ARQ protocol using bits for sequence numbers, what is the maximum permissible sender window size?

Elementary Datalink Protocols Medium
A.
B.
C.
D.

29 For a Selective Repeat ARQ protocol using 4 bits for sequence numbering, what is the optimal window size for both the sender and receiver?

Elementary Datalink Protocols Medium
A. 15
B. 16
C. 7
D. 8

30 Which of the following best describes the primary responsibility of the Medium Access Control (MAC) sublayer?

MAC SUBLAYER Medium
A. Providing mechanisms to control access to the shared transmission medium.
B. Encrypting data frames before they are placed on the physical medium.
C. Resolving logical IP addresses to physical addresses.
D. Routing packets across different networks.

31 What is the maximum throughput (efficiency) of Pure ALOHA and Slotted ALOHA, respectively?

Multiple Access Protocols- ALOHA, CSMA and CSMA/CD Medium
A. 36.8% and 18.4%
B. 18.4% and 50.0%
C. 50.0% and 81.6%
D. 18.4% and 36.8%

32 In Pure ALOHA, if the frame transmission time is , what is the vulnerable time during which a collision can occur?

Multiple Access Protocols- ALOHA, CSMA and CSMA/CD Medium
A.
B.
C.
D.

33 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 ?

Multiple Access Protocols- ALOHA, CSMA and CSMA/CD Medium
A.
B.
C.
D.

34 Why is CSMA/CD generally not utilized in wireless networks (like Wi-Fi)?

Multiple Access Protocols- ALOHA, CSMA and CSMA/CD Medium
A. Wireless networks do not experience collisions.
B. It cannot solve the hidden terminal problem, and collision detection is difficult due to signal attenuation.
C. CSMA/CD requires a token to operate, which cannot be passed wirelessly.
D. CSMA/CD forces half-duplex operation, making wireless networks too slow.

35 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:

Random Access Medium
A. $0$ to
B. $0$ to
C. $1$ to
D. $0$ to

36 Which of the following controlled access methods requires one specific node to act as a primary node that authorizes secondary nodes to transmit data?

Controlled access Medium
A. Reservation
B. Token Passing
C. CSMA/CA
D. Polling

37 In a Token Passing network, what happens if the station holding the token currently has no data to send?

Controlled access Medium
A. It holds the token until a timeout occurs.
B. It destroys the token and generates a new one.
C. It immediately passes the token to its logical successor in the ring.
D. It sends a dummy frame to keep the channel active.

38 An Ethernet MAC address is a unique identifier assigned to a network interface controller. What is the length of an Ethernet MAC address?

Ethernet protocol Medium
A. 32 bits
B. 48 bits
C. 128 bits
D. 64 bits

39 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)?

Ethernet protocol Medium
A. To identify the MAC address of the destination.
B. To provide error correction bits for the frame payload.
C. To indicate the type of network layer protocol encapsulated.
D. To synchronize the clocks of the receiving stations and mark the start of the frame.

40 What is the minimum and maximum size of an Ethernet frame payload (data field) in standard IEEE 802.3?

Ethernet protocol Medium
A. 46 bytes and 1500 bytes
B. 32 bytes and 1500 bytes
C. 64 bytes and 1518 bytes
D. 48 bytes and 1024 bytes

41 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?

Elementary Datalink Protocols Hard
A. and
B. and
C. and
D. and

42 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 ()?

Error Detection and Correction Hard
A. ,
B. ,
C. ,
D. ,

43 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?

Error Detection and Correction- Hamming code Hard
A.
B.
C.
D.

44 Given the generator polynomial and the message polynomial , what is the transmitted codeword polynomial in systematic form?

Error Detection and Correction- CRC Hard
A.
B.
C.
D.

45 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?

Error Detection and Correction- Parity Hard
A. 4 errors forming the corners of a rectangle in the matrix
B. Any 3 errors in the same row
C. 3 errors forming an L-shape
D. Any 2 errors in the same column

46 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?

Error Detection and Correction- Checksum Hard
A. The error is never detected.
B. The checksum computation loops infinitely.
C. The error is detected with probability 0.5.
D. The error is always detected.

47 Which of the following best describes the fundamental trade-off addressed by the Medium Access Control (MAC) sublayer in a broadcast network?

MAC SUBLAYER Hard
A. Minimizing propagation delay vs. Maximizing bandwidth
B. Minimizing collision probability vs. Maximizing channel utilization
C. Minimizing bit error rate vs. Maximizing frame size
D. Maximizing routing efficiency vs. Minimizing overhead

48 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?

Multiple Access Protocols- ALOHA Hard
A. Vulnerable time = ; Max throughput at
B. Vulnerable time = ; Max throughput at
C. Vulnerable time = ; Max throughput at
D. Vulnerable time = ; Max throughput at

49 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?

Multiple Access Protocols- CSMA and CSMA/CD Hard
A. 2500 bits
B. 250 bits
C. 200 bits
D. 2000 bits

50 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?

Random Access Hard
A.
B.
C.
D.

51 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)?

Controlled access Hard
A.
B.
C.
D.

52 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?

Ethernet protocol Hard
A. SFD: 1 byte of 11111111
B. Preamble: 7 bytes of 10101010
C. Preamble: 8 bytes of 10101010
D. SFD: 1 byte of 10101011

53 A CRC generator polynomial is defined as , where is a primitive polynomial of degree . Which set of errors is this guaranteed to detect?

Error Detection and Correction- CRC Hard
A. Only single-bit errors and double-bit errors
B. All odd-numbered bit errors and all burst errors of length
C. All burst errors of length
D. All odd-numbered bit errors and all burst errors of length

54 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?

Elementary Datalink Protocols Hard
A.
B. , where
C. , where
D.

55 Why is CSMA/CD fundamentally unsuitable for wireless LANs (like 802.11), necessitating the use of CSMA/CA instead?

Multiple Access Protocols- CSMA and CSMA/CD Hard
A. Wireless networks do not have a MAC sublayer.
B. Wireless signals propagate too slowly compared to wired networks.
C. Wireless stations cannot transmit and receive simultaneously on the same frequency to detect collisions.
D. CSMA/CA offers higher theoretical throughput by ignoring collisions.

56 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?

Ethernet protocol Hard
A. The IEEE 802.3 Length field indicates the true payload size.
B. The receiver relies on the CRC to calculate payload size.
C. The padding is a sequence of alternating 1s and 0s that the receiver strips.
D. A special end-of-frame delimiter (EOF) is placed before the padding.

57 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?

Error Detection and Correction- Hamming code Hard
A. Positions: 0, 1, 3, 7; Total length: 12 bits
B. Positions: 1, 3, 5, 7; Total length: 12 bits
C. Positions: 1, 2, 4, 8; Total length: 13 bits
D. Positions: 1, 2, 4, 8; Total length: 12 bits

58 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?

Random Access Hard
A.
B.
C.
D.

59 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 )

Controlled access Hard
A.
B.
C.
D.

60 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?

Elementary Datalink Protocols Hard
A. Selective Repeat does not require timers for frame retransmission.
B. Selective Repeat uses smaller window sizes, reducing collision probability.
C. Selective Repeat utilizes implicit acknowledgments via cumulative ACKs.
D. Selective Repeat avoids retransmitting frames that were successfully received after a lost frame.