in Computer Networks retagged by
1,952 views
3 votes
3 votes
End delimeter is → 0111

data to be sent 0111111111.

What is the data we should send to the reciever?
in Computer Networks retagged by
by
2.0k views

4 Comments

Yes @srestha mam. In the Forouzan's exercise there is a question whose answer will vary depending on which procedure we follow. But I didn't find any official solution (from the publisher or author). following is the question:

0
0

@sakharam

Okay..there is lots ambiguity surrounding this.. Anything like this has not been asked in GATE till now, guess they have also found it ambiguous.. :)

0
0
Yes, I hope such questions never comes and I tried to search an implementation of this but couldn't find it.
0
0

2 Answers

4 votes
4 votes
End delimeter is → 0111

data to be sent 0111111111.

ans-

receiver side data -01101101101101

after 11 puts 0.
0 votes
0 votes
End delimiter is 0111

Data sent is 0111111111

Here we have to place 0s in such a way that the receiver is able to distinguish up to what part data is present. 0111 is the end delimiter. Our data is containing end delimiter we have to find a way such that the receiver is able to know that 0111 is not end delimiter but data and that's why we will put 0s after each 011. While putting 0s if new 0111 sub strings formed then for such cases also we will be putting 0s after 011

so, I think answer will be 01101101101101

Related questions

3 votes
3 votes
1 answer
3