Академический Документы
Профессиональный Документы
Культура Документы
sequence of redundant bits, called the CRC remainder is appended to the end of
data unit.
9. Write short notes on CRC generator.
A CRC generator uses a modulo-2 division.
a) In the first step, the 4 bit divisor is subtracted from the first
4 bit of the dividend.
b) Each bit of the divisor is subtracted from the corresponding
bit of the dividend without disturbing the next higher bit.
10. Write short notes on CRC checker.
A CRC checker functions exactly like a generator. After receiving
the data appended with the CRC it does the same modulo-2 division. If the
remainder is all 0s the CRC is dropped and the data accepted. Otherwise, the
received stream of bits is discarded and the dates are resent.
11. Give the essential properties for polynomial.
A polynomial should be selected to have at least the following properties.
a) It should not be
b) It should be divisible by(x+1).
12. Define checksum.
The error detection method used by the higher layer protocol is called checksum.
Checksum is based on the concept of redundancy.
13. Mention the types of error correcting methods. There are 2 error-correcting
methods.
a) Single bit error correction
b) Burst error correction.
14. What is the purpose of hamming code?
A hamming code can be designed to correct burst errors of certain lengths.
So the simple strategy used by the hamming code to correct single bit errors
must
be redesigned to be applicable for multiple bit correction.
15.
Advantages of stop-and-wait ARQ are: a. Simple to implement b. Frame numbering is modulo-2, i.e.
only 1 bit is required.
The main disadvantage of stop-and-wait ARQ is that when the propagation delay is long, it is
extremely inefficient.
12. What is piggy backing?
Piggy backing means combining data to sent and acknowledgement of the
frame received in one single frame.
Piggy backing can save bandwidth because the overhead from a data
frame and an ACK frame can be combined into just one frame
13. Consider the use of 10 K-bit size frames on a 10 Mbps satellite channel with
270 ms delay. What is the link utilization for stop-and-wait ARQ technique
assuming P = 10-3?
Ans: Link utilization = (1-P) / (1+2a) Where a = (Propagation Time) /
(Transmission Time) Propagation time = 270 msec Transmission time = (frame
length) / (data rate) = (10 K-bit) / (10 Mbps) = 1 msec Hence, a = 270/1 = 270
Link utilization = 0.999/(1+2*270) 0.0018 =0.18%
14. What is the channel utilization for the go-back-N protocol with window size
of 7 for the problem 3?
Ans: Channel utilization for go-back-N = N(1 P) / (1 + 2a)(1-P+NP) P =
probability of single frame error 10-3 Channel utilization 0.01285 = 1.285%
14. List the types of stations is HDLC. HDLC differentiates between 3 types of
stations.
a) Primary
b) Secondary
5) Combined
16. What is meant by bit stuffing?
Bit stuffing is the process of adding one extra 0 whenever there are 5
consecutive in the data so that the receiver doesnt mistake the data for a flag.
17. Define LAN.
A Local Area Network (LAN) is a data communication system that allows a
number of independent devices to communicate directly with each other in a
limited geographic area.
18. Assume 6 devices are arranged in a mesh topology. How many cables are needed? How many
ports are needed for each device?
Number of cables=n (n-1)/2=6(6-1)/2=15
Number of ports per device=n-1=6-1=5
Example 1
1. In following figure frames are generated at node A and sent to node C through
node
B. Determine the minimum transmission rate required between nodes B and C so
that the buffers at node B are not flooded, based on the following
Example 2
A 4Mbps token ring has a token holding time value of 10msec. What is the longest
frame that can be sent on this ring?
Solution
Data rate = 4-Mbps
Token holding time = 10msec
Frame length = 4*106*10*10-3= 40000 bits
The longest frame that can be send on this ring is 40000 bits or 5000 bytes
Example3
Assume CSMA/CD protocol. Find the minimum frame length for a 1Mbps bit rate and
maximum network span of 10 kilometers with no repeaters. Assume a medium propagation
delay of 4.5 nanoseconds per meter. Is CSMA/CD a reasonable protocol for a network of this
span and bitrate .
Solution
Minimum frame size for CSMA/CD is 2 * Tpr.
Propogation Delay :
Tpr = (4.5 * 10-9)*(10 * 103) = 4.5 * 10-5 sec.
Thus, (1.0 * 106) * (9.0 * 10-5) = 11.25 bytes.
CSMA/CD would be a very reasonable protocol for a network of this span and speed since
the minimum frame size is not " excessive" (e.g., larger than 64 bytes)