3,931 views
3 3 votes

In a data link protocol, the following character encoding is used:
A → 01000111 B → 11100011 FLAG → 01111110 ESC → 11100000
Assuming that byte stuffing is employed for the four character frame A B ESC FLAG, transmitter sends it as:

A. 01111110 01000111 11100011 11100000 11100000 01111110

B. 01111110 01000111 11100011 11100000 11100000 01111110 01111110

C. 01111110 01000111 11100011 11100000 11100000 11100000 01111110 01111110

D. None of these

1 Answer

3 3 votes

Answer would be C.

First octet represents Start and Last Octet represent Stop.

And both ESC and FLAG will follow a Escape character so as to not get misinterpreted during communication.

01111110[START] 01000111[A] 11100011[B] 11100000[ESC] 11100000[ESC] 11100000[ESC] 01111110[FLAG] 01111110[STOP]

Position:
Show:

Related questions

3 3 votes
2 2 answers
3.5k
3.5k views
Hirak asked May 8, 2019
3,473 views
End delimeter is → 0111data to be sent 0111111111.What is the data we should send to the reciever?
8 8 votes
2 answers 2 answers
5.0k
5.0k views
junaid ahmad asked Sep 20, 2017
5,038 views
In bit stuffing protocol for frame synchronization, if stuff bit pattern is $01110$ then how many zero bits stuffed by transmitter white transmitting given frame (except ...
3 3 votes
1 1 answer
2.6k
2.6k views
Xylene asked Aug 24, 2017
2,597 views
Data :- 011111Flag:- 0111
5 5 votes
1 1 answer
13.4k
13.4k views
Manu Thakur asked Aug 3, 2017
13,395 views
Flag: 01111110Data: 1000111111100111110100011111111111000011111bit stuff the given data?