Computer Networks - Computer Networks Section 3

1. In a data link protocol, the frame delimiter flag is given by 0111. Assuming that bit stuffing is employed, the transmitter sends the data sequence 01110110 as

  • Option : D
  • Explanation : Delimiter flag: 0111
    Data sequence: 01110110
    So, for a flag of 4 bits we will compare data sequence with pattern of 3 bits i.e. 011. Data sequence : 0 1 1 1 0 1 1 0
    The underlined bits are found matched, hence, 0 is stuffed.
    Thus resulting in the data sequence as 0110101100 which is option (d).
Cancel reply
Cancel reply

2. 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

  • Option : B
  • Explanation : The given 8-bit delimiter pattern is 01111110.
    The output bit-string after stuffing is 01111100101.
    The above bold underline bit is stuffed bit.
    So input bit-string must be 0111110101.
Cancel reply
Cancel reply