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. A whole frame disappears
C. All bits change
D. Several frames are repeated

2 What is a burst error?

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

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

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

4 What is the main purpose of a checksum?

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

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

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

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

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

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

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

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

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

9 What is the purpose of flow control?

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

10 What is the purpose of error control?

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

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

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

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 frame is retransmitted
C. The receiver changes its address
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. Discards the entire connection
B. Retransmits that frame and later ones
C. Retransmits only the final frame
D. Sends no further acknowledgments

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

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

15 What is a key feature of Selective Repeat ARQ?

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

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

Selective repeat ARQ Easy
A. No, because frames have no numbers
B. Yes, it can store them
C. Yes, but only damaged frames
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 compress every packet
B. To remove frame boundaries
C. To replace a transport protocol
D. To share a common channel

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

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

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

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

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

Channelization Easy
A. ARQ
B. FDMA
C. CDMA
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 single-bit error
B. A 2-bit burst error
C. A 4-bit burst error
D. A 5-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. 3 parity bits
B. 5 parity bits
C. 4 parity bits
D. 6 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. 1101010
B. 1101000
C. 1101001
D. 1101110

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, FLAG, FLAG, ESC, B]
B. [A, ESC, ESC, FLAG, ESC, B]
C. [A, ESC, FLAG, ESC, ESC, B]
D. [A, FLAG, ESC, ESC, FLAG, 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. 011110110
B. 001111110
C. 011111100
D. 011111010

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. Unnumbered frame
B. Supervisory frame
C. Management frame
D. Information 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. 80.0%
B. 42.9%
C. 66.7%
D. 57.1%

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. 25.0%
C. 50.0%
D. 11.1%

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. Discard it without sending an acknowledgment
B. Deliver it again and send ACK 1
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. 7 frames
B. 8 frames
C. 4 frames
D. 3 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 4, 5, 6, and 7
B. Frame 4 only
C. Frames 4 and 5
D. Frames 5, 6, and 7

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

Selective repeat ARQ Medium
A. 4 frames
B. 7 frames
C. 3 frames
D. 8 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. Deliver frames 5 and 6 immediately and ignore frame 4
B. Retransmit frames 4 and 5 but retain frame 6
C. Discard frames 5 and 6 and retransmit all three
D. Buffer frames 5 and 6 and retransmit only frame 4

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. Code channelization
B. Frequency 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.632
B. Approximately 0.500
C. Approximately 0.368
D. Approximately 0.184

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. 750 bits
C. 250 bits
D. 500 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. Every transmission necessarily causes collision
B. Stations cannot receive acknowledgment frames
C. Failure of the primary halts access
D. Each station requires a separate frequency

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. Switch permanently to random access
B. Generate a replacement token
C. Retransmit every previous data frame
D. Assign a frequency to each station

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. 285 kHz
B. 300 kHz
C. 270 kHz
D. 320 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 a burst error of length four
B. It contains two isolated single-bit errors
C. It contains one isolated single-bit error
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 at least two nonzero terms
B. Every burst polynomial of length is divisible by
C. contains no factor
D. has degree exactly

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. Correction of one error and detection of two
B. Correction of two errors and detection of three
C. Detection of all errors affecting an even number of bits
D. Detection of one error and correction of two

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 7E 7D 5D 7E
B. 7D 7D 7D 5E 7D 7D
C. 7D 5D 7D 5E 7D 5D
D. 7D 7D 7D 7E 7D 7D

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. Immediate ACK reduces delay but increases control-frame overhead
B. Immediate ACK prevents framing errors but requires token passing
C. Delayed ACK guarantees reliability but disables cumulative ACKs
D. Delayed ACK removes retransmissions but lowers channel capacity

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. Three frames
B. Thirteen frames
C. Eight frames
D. Five 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 receiver sends a negative ACK with a new checksum
D. The sender increases the frame size after timeout

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 2, indicating frame 2 is expected
C. ACK 6, indicating the entire window arrived
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. Buffer 7 and ACK 4, 5, and 7 separately
D. Discard 7 and cumulatively ACK 5

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. Pure ALOHA reaches , while slotted ALOHA reaches
B. Both reach because slots do not alter collisions
C. Pure ALOHA reaches , while slotted ALOHA reaches
D. Both reach because retransmissions are randomized

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

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

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. The receiver must disable error detection
B. The channel must increase its carrier frequency
C. The network must regenerate or recover the missing token
D. Every station must switch to pure ALOHA

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. Ten control bits are spent to avoid data collisions
B. No control overhead exists after the first cycle
C. The four reserving stations must transmit simultaneously
D. Four data slots are wasted by the reservation phase

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. 4 Mbps
B. 0.5 Mbps
C. 8 Mbps
D. 1 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. Orthogonal codes with zero cross-correlation
C. Equal code lengths but nonzero cross-correlation
D. Different carrier frequencies with equal amplitudes