Nothing Special   »   [go: up one dir, main page]

Assignment 2 Deadline: 17 JULY 2019

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

ASSIGNMENT 2

TH
DEADLINE: 17 JULY 2019
1. 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.

2. The following data fragment occurs in the middle of a data stream for which the byte stuffing
algorithm described in the text is used: A B ESC C ESC FLAG FLAG D. What is the output after
stuffing?
3. A bit string, 0111101111101111110, needs to be transmitted at the data link layer. What is the
string actually transmitted after bit stuffing?

You might also like