Saturday, 23 November 2019

The following character encoding is used in a data link protocol

Q: The following character encoding is used in a data link protocol:
A:01000111; B:11100011; FLAG:01111110; ESC: 11100000
Show the bit sequence transmitted (in binary) for the four-character frame: A B ESC
FLAG when each of the following framing methods are used:
(a) Character count.
(b) Flag bytes with byte stuffing.
(c) Starting and ending flag bytes, with bit stuffing.
 
Solution:
 

a. 00000100 0100011111100011 11100000 01111110
b. 01111110 0100011111100011 11100000 11100000 11100000 01111110
01111110
c. 01111110 01000111110100011 111000000 011111010 01111110

No comments:

Post a Comment