edited by
6,356 views
1 votes
1 votes
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 is used:
(a) Byte count.
(b) Flag bytes with byte stuffing.
(c) Starting and ending flag bytes with bit stuffing.
edited by

2 Answers

1 votes
1 votes
My answer for a ) :  00000101 01000111  11100011  01111110 11100000  becoz there are Five characters including byte count byte
1 votes
1 votes

A) byte count  => 00000101 | A | B | ESC | FLAG |

B)Byte stuffing

FLAG | A B ESC FLAG | FLAG  =>  FLAG | A B ESC(byte stuffed) ESC ESC(byte stuffed) FLAG | FLAG

C) FLAG | A | 1101000011 | 111000000 | 011111010 | FLAG

Related questions

0 votes
0 votes
1 answer
1
1 votes
1 votes
1 answer
2
amiteshKeshari asked Oct 23, 2023
620 views
In a Class C network,if subnet mask is 255.255.255.244 then how many number of host in each subnet?
0 votes
0 votes
0 answers
3
54Y4N asked Oct 9, 2023
214 views
A 1 kilometer long CSMA/CD (not 802.3) has a propagation speed of 200m/ìsec. Repeaters are not allowed in this system Data frames are 256 bits long, including 32 bits of...