Answer is D.
Explanation:
For differentiating that we have send the data not the delimiter in betwen we use a 0, process being called stuffing.
Our data that needed to be send = 01110110
Delimiter pattern = 0111
so in our data 0 1 1 “a Zero is stuffed” 1 0 1 1 0
therefore data will be modified as 011010110
but when this data will be send to receiver it will generate problems.
Here’s how:
Receiver will read data from left to right as
0 1 1 (Oh the sender stuffed this 0) [cause receiver also knows about the delimiter pattern]
so it will remove the stuffed zero.
next,
0 1 1 1 0 1 1 (Oh this zero must be also added by the sender to remove the delimiter pattern, it must be removed.)
and therefore it will be left with 0111011
But was this the original data? no!
Therefore an extra 0 will be added to the data to preserve the data.
now, the data that will be send should be 0110101100
and now the receiver will read the data as
0 1 1 (this zero is stuffed therefore should be removed) 1 0 1 1 (this zero is stuffed therefore should be removed) 0
and hence the data will be 0 1 1 1 0 1 1 0