Unit 3: Data link layer - Practice Quiz

CAP7001 — Data Communication And Networking 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is a single-bit error in data communication?

Types of errors Easy
A. Only one bit changes
B. All bits change
C. A whole frame disappears
D. Several frames are repeated

2 What is a burst error?

Types of errors Easy
A. A missing network device
B. Errors in consecutive bits
C. An error in one address
D. A delay between two frames

3 Which technique adds one extra bit to make the number of 1s even or odd?

Error detection and correction techniques Easy
A. Bit stuffing
B. Channel sharing
C. Cyclic routing
D. Parity check

4 What is the main purpose of a checksum?

Error detection and correction techniques Easy
A. To assign IP addresses
B. To detect errors
C. To increase bandwidth
D. To divide a network

5 What is the main purpose of framing at the data link layer?

Framing Easy
A. To convert signals to light
B. To select a web page
C. To encrypt every message
D. To divide data into frames

6 Which method uses special characters to mark the beginning and end of a frame?

Framing Easy
A. Distance vector routing
B. Token scheduling
C. Frequency division
D. Character-oriented framing

7 Which data link layer protocol is commonly associated with point-to-point communication?

Data link layer protocols Easy
A. PPP
B. FTP
C. HTTP
D. DNS

8 Which protocol is commonly used for communication on a traditional shared Ethernet network?

Data link layer protocols Easy
A. CSMA/CD
B. DHCP
C. RIP
D. SMTP

9 What is the purpose of flow control?

Flow and error control Easy
A. To prevent receiver overload
B. To hide the destination address
C. To increase frame size
D. To remove all delays

10 What is the purpose of error control?

Flow and error control Easy
A. To deliver correct data
B. To create physical cables
C. To reduce device size
D. To assign port numbers

11 In Stop-and-wait ARQ, what does the sender normally do after sending a frame?

Stop-and-wait ARQ Easy
A. Waits for an acknowledgment
B. Changes the destination address
C. Sends every frame twice
D. Stops using the channel

12 What usually happens when a Stop-and-wait ARQ frame is not acknowledged?

Stop-and-wait ARQ Easy
A. The channel is divided
B. The receiver changes its address
C. The frame is retransmitted
D. The frame is permanently ignored

13 In Go-back-N ARQ, what does the sender do after detecting a lost frame?

Go-back-N ARQ Easy
A. Retransmits only the final frame
B. Sends no further acknowledgments
C. Discards the entire connection
D. Retransmits that frame and later ones

14 How many frames can a Go-back-N sender transmit before receiving acknowledgments?

Go-back-N ARQ Easy
A. Several frames
B. No frames
C. Only corrupted frames
D. Exactly one frame

15 What is a key feature of Selective Repeat ARQ?

Selective repeat ARQ Easy
A. All frames are always retransmitted
B. Only damaged frames are retransmitted
C. No acknowledgments are used
D. Only one frame can be sent

16 In Selective Repeat ARQ, can the receiver store correctly received out-of-order frames?

Selective repeat ARQ Easy
A. Yes, it can store them
B. Yes, but only damaged frames
C. No, because frames have no numbers
D. No, it must erase them

17 What is the main purpose of a multiple access control protocol?

Multiple access control protocols Easy
A. To remove frame boundaries
B. To share a common channel
C. To compress every packet
D. To replace a transport protocol

18 Which method allows a device to transmit when it has data, without a fixed transmission schedule?

Random access Easy
A. Controlled access
B. Static routing
C. Random access
D. Circuit switching

19 Which controlled-access method gives permission to transmit by passing a special token?

Controlled access Easy
A. Token passing
B. Parity checking
C. Frequency hopping
D. Pure ALOHA

20 Which channelization technique divides a channel into separate frequency bands?

Channelization Easy
A. FDMA
B. CDMA
C. ARQ
D. TDMA

21 The transmitted bit sequence is 10110010, but the receiver obtains 11110110. If bit positions are counted from the left, how should this error be classified?

Types of errors Medium
A. A 4-bit burst error
B. A 5-bit burst error
C. A single-bit error
D. A 2-bit burst error

22 A Hamming code must protect 11 data bits and correct any single-bit error. What is the minimum number of parity bits required?

Error detection and correction techniques Medium
A. 5 parity bits
B. 4 parity bits
C. 6 parity bits
D. 3 parity bits

23 Using CRC, the dataword 1101 is divided by the generator 1011. What codeword should be transmitted?

Error detection and correction techniques Medium
A. 1101000
B. 1101110
C. 1101001
D. 1101010

24 In a byte-oriented framing protocol, FLAG marks frame boundaries and ESC is the escape byte. How is the payload [A, FLAG, ESC, B] transmitted after byte stuffing?

Framing Medium
A. [A, ESC, ESC, FLAG, ESC, B]
B. [A, FLAG, ESC, ESC, FLAG, B]
C. [A, FLAG, FLAG, ESC, B]
D. [A, ESC, FLAG, ESC, ESC, B]

25 A bit-oriented protocol inserts a 0 after every sequence of five consecutive 1s in the payload. What is the stuffed form of 01111110?

Framing Medium
A. 011111100
B. 011111010
C. 001111110
D. 011110110

26 An HDLC station needs to acknowledge received frames and advertise its readiness without carrying user data. Which type of HDLC frame should it use?

Data link layer protocols Medium
A. Information frame
B. Management frame
C. Supervisory frame
D. Unnumbered frame

27 Frames of 1000 bits are sent over a 1 Mbps link with a one-way propagation delay of 3 ms. Ignoring acknowledgment transmission time, what is the maximum utilization with a sliding window of four frames?

Flow and error control Medium
A. 57.1%
B. 66.7%
C. 42.9%
D. 80.0%

28 A frame takes 2 ms to transmit, and the one-way propagation delay is 8 ms. If acknowledgment transmission time is negligible, what is the approximate utilization of Stop-and-Wait ARQ?

Stop-and-wait ARQ Medium
A. 20.0%
B. 11.1%
C. 50.0%
D. 25.0%

29 In Stop-and-Wait ARQ, a receiver accepts frame 0, but its acknowledgment is lost. When frame 0 arrives again after the sender times out, what should the receiver do?

Stop-and-wait ARQ Medium
A. Deliver it again and send ACK 1
B. Discard it without sending an acknowledgment
C. Accept it as the next new frame
D. Discard it and resend the acknowledgment

30 A Go-Back-N ARQ protocol uses 3-bit sequence numbers. What is the largest permitted sender window size?

Go-back-N ARQ Medium
A. 3 frames
B. 4 frames
C. 8 frames
D. 7 frames

31 In Go-Back-N ARQ, frames 4, 5, 6, and 7 are sent, but frame 4 is lost. Frames 5, 6, and 7 reach the receiver. Which frames are retransmitted after timeout?

Go-back-N ARQ Medium
A. Frames 5, 6, and 7
B. Frames 4, 5, 6, and 7
C. Frame 4 only
D. Frames 4 and 5

32 A Selective Repeat ARQ implementation uses 3-bit sequence numbers. What is the maximum safe sender window size?

Selective repeat ARQ Medium
A. 7 frames
B. 8 frames
C. 3 frames
D. 4 frames

33 In Selective Repeat ARQ, frame 4 is lost while frames 5 and 6 arrive correctly. What action is normally taken?

Selective repeat ARQ Medium
A. Retransmit frames 4 and 5 but retain frame 6
B. Deliver frames 5 and 6 immediately and ignore frame 4
C. Buffer frames 5 and 6 and retransmit only frame 4
D. Discard frames 5 and 6 and retransmit all three

34 Before transmitting data, stations use designated mini-slots to request future transmission slots. Which multiple-access category best describes this method?

Multiple access control protocols Medium
A. Frequency channelization
B. Code channelization
C. Random access
D. Controlled access

35 A large number of stations use Slotted ALOHA under ideal conditions. What is the maximum normalized throughput of the channel?

Random access Medium
A. Approximately 0.500
B. Approximately 0.184
C. Approximately 0.632
D. Approximately 0.368

36 A 10 Mbps CSMA/CD network has a maximum one-way propagation delay of . Ignoring other delays, what minimum frame length is needed to detect a worst-case collision?

Random access Medium
A. 1000 bits
B. 500 bits
C. 750 bits
D. 250 bits

37 In a polling-based network, a primary station sequentially invites secondary stations to transmit. Which issue most directly reduces the reliability of this arrangement?

Controlled access Medium
A. Each station requires a separate frequency
B. Stations cannot receive acknowledgment frames
C. Failure of the primary halts access
D. Every transmission necessarily causes collision

38 A token-passing network detects that the token has been lost because no station has transmitted for a specified interval. What recovery action is required?

Controlled access Medium
A. Assign a frequency to each station
B. Switch permanently to random access
C. Retransmit every previous data frame
D. Generate a replacement token

39 A 1.2 MHz link is divided into four equal FDM channels with three 20 kHz guard bands between adjacent channels. What bandwidth is available to each data channel?

Channelization Medium
A. 320 kHz
B. 285 kHz
C. 300 kHz
D. 270 kHz

40 In a synchronous CDMA system, station A uses the chip code . Which code is orthogonal to A's code?

Channelization Medium
A.
B.
C.
D.

41 A 12-bit dataword is transmitted as 101100111010, but the receiver obtains 101000011010. Which characterization is most accurate?

Types of errors Hard
A. It contains two isolated single-bit errors
B. It contains one isolated single-bit error
C. It contains a burst error of length four
D. It contains a burst error of length five

42 A CRC system uses generator polynomial of degree . Which condition guarantees that every burst error of length at most is detected?

Error detection and correction techniques Hard
A. has degree exactly
B. contains no factor
C. has at least two nonzero terms
D. Every burst polynomial of length is divisible by

43 For a binary Hamming code that corrects one-bit errors and uses an additional overall parity bit, what is the strongest standard guarantee?

Error detection and correction techniques Hard
A. Detection of one error and correction of two
B. Correction of two errors and detection of three
C. Correction of one error and detection of two
D. Detection of all errors affecting an even number of bits

44 A byte-oriented protocol uses the flag byte 7E and escape byte 7D. Under byte stuffing, a payload contains 7D 7E 7D. What byte sequence is transmitted between the flags?

Framing Hard
A. 7D 5D 7D 5E 7D 5D
B. 7D 7D 7D 7E 7D 7D
C. 7D 7D 7D 5E 7D 7D
D. 7D 5D 7E 7D 5D 7E

45 In a reliable full-duplex data-link protocol using piggybacked acknowledgments, a receiver has an acknowledgment pending but no outbound data. What is the principal design trade-off?

Data link layer protocols Hard
A. Delayed ACK guarantees reliability but disables cumulative ACKs
B. Immediate ACK reduces delay but increases control-frame overhead
C. Delayed ACK removes retransmissions but lowers channel capacity
D. Immediate ACK prevents framing errors but requires token passing

46 A receiver advertises a window of 5 frames, while the sender's congestion or protocol window permits 8 frames. Ignoring network-layer congestion control, how many additional unacknowledged frames may the sender legally transmit?

Flow and error control Hard
A. Five frames
B. Three frames
C. Thirteen frames
D. Eight frames

47 A stop-and-wait link has frame transmission time , one-way propagation delay , and ACK transmission time . With no losses and negligible processing time, what is the sender utilization?

Stop-and-wait ARQ Hard
A.
B.
C.
D.

48 In alternating-bit ARQ, a sender retransmits a frame after its ACK is lost. The receiver has already delivered that frame. Which mechanism prevents duplicate delivery?

Stop-and-wait ARQ Hard
A. The receiver discards frames with an unexpected sequence bit
B. A new checksum is computed for every retransmission
C. The sender increases the frame size after timeout
D. The receiver sends a negative ACK with a new checksum

49 With -bit sequence numbers, what is the maximum sender window size for Go-back-N ARQ if the receiver accepts only the next in-order frame?

Go-back-N ARQ Hard
A.
B.
C.
D.

50 A Go-back-N sender transmits frames 0 through 5. Frame 2 is lost, but frames 3 through 5 arrive. If cumulative ACKs identify the next expected frame, what ACK information should the receiver repeatedly provide?

Go-back-N ARQ Hard
A. ACK 5, indicating frames through 5 arrived
B. ACK 6, indicating the entire window arrived
C. ACK 2, indicating frame 2 is expected
D. ACK 3, indicating frame 3 is expected

51 A Selective Repeat protocol uses -bit sequence numbers. To avoid ambiguity between old and new frames after sequence-number wraparound, what is the largest safe sender window?

Selective repeat ARQ Hard
A. frames
B. frames
C. frames
D. frames

52 In Selective Repeat, frames 4, 5, and 7 arrive while frame 6 is lost. Which receiver behavior is correct?

Selective repeat ARQ Hard
A. Discard 5 and request retransmission of 4
B. Deliver 7 immediately and ACK 7 cumulatively
C. Discard 7 and cumulatively ACK 5
D. Buffer 7 and ACK 4, 5, and 7 separately

53 A shared channel has offered load under pure ALOHA and slotted ALOHA. Which comparison is correct at their respective maximum-throughput points?

Multiple access control protocols Hard
A. Both reach because retransmissions are randomized
B. Pure ALOHA reaches , while slotted ALOHA reaches
C. Pure ALOHA reaches , while slotted ALOHA reaches
D. Both reach because slots do not alter collisions

54 In nonpersistent CSMA, a station senses a busy channel. Which action best describes the protocol?

Random access Hard
A. It waits a random time before sensing again
B. It reserves the channel using a bitmap
C. It transmits immediately when the channel becomes idle
D. It transmits after a fixed interframe interval

55 For CSMA/CD, a sender must detect a collision before finishing transmission of the minimum-size frame. If the maximum round-trip propagation delay is , what condition is required?

Random access Hard
A.
B.
C.
D.

56 In a token-passing network, a station fails while holding the token. Which recovery issue must the protocol address?

Controlled access Hard
A. Every station must switch to pure ALOHA
B. The receiver must disable error detection
C. The channel must increase its carrier frequency
D. The network must regenerate or recover the missing token

57 A reservation-based controlled-access protocol uses one reservation bit per station per cycle. If 10 stations participate and 4 reserve transmission, what is the principal efficiency trade-off?

Controlled access Hard
A. The four reserving stations must transmit simultaneously
B. No control overhead exists after the first cycle
C. Four data slots are wasted by the reservation phase
D. Ten control bits are spent to avoid data collisions

58 In FDMA, adjacent users are separated by guard bands. If each user requires bandwidth and each guard band requires width , how much spectrum is required for users arranged contiguously?

Channelization Hard
A.
B.
C.
D.

59 A TDMA system assigns each of 8 users a slot in every frame. If each slot carries 1000 bits and each frame lasts 2 ms, what is the per-user data rate, ignoring guard time?

Channelization Hard
A. 1 Mbps
B. 8 Mbps
C. 0.5 Mbps
D. 4 Mbps

60 In ideal synchronous CDMA, two users employ spreading codes and . Which property allows the receiver to separate their simultaneous transmissions by correlation?

Channelization Hard
A. Random codes with identical chip sequences
B. Equal code lengths but nonzero cross-correlation
C. Orthogonal codes with zero cross-correlation
D. Different carrier frequencies with equal amplitudes