Final Tutorial PDF
Final Tutorial PDF
Final Tutorial PDF
Ques-1. Consider HDLC protocol with the value of 8 – bit control field as 01100100. Find the
following: [2+2+2+2 Marks]
(i) Type of frame?
(ii) Sequence number of sender?
(iii) Sequence number of receiver?
(iv) Till which frame number receiver has received frames successfully?
Ans-1.
(i) Since first bit of control field is zero thus it is information frame
(ii) Sequence number of sender is 2nd, 3rd and 4th bit of control field which is 110 thus Seq # is 6
(iii) Sequence number of receiver is last three bits i.e. 6th, 7th and 8th bit thus Seq # is 4
(iv) Till frame 3 receiver has successfully received since receiver seq # is 4
Note:- Refer HDLC Frame Format
Ques-2. Five channels (A, B, C, D and E) are multiplexed using synchronous Time Division
Multiplexing. Given that each channel send 100 bytes/sec and byte-interleaving technique is used,
draw one complete frame that travels on the link. Also compute the size of the frame in bits.
Sol- One Frame
BA BB BC BD BE
Time (in
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Sec)
Input Data 0 1 1 1 1 1 1 0 0 0 1 0 0 1 1 1
Frequency f1 f3 f23 f22 f8 f10 f1 f3
PN
0001 0110 0011 0001
Sequence
Ques- 5. A communication system uses CDMA technique and the chip sequence of four stations
A, B, C and D are as follow:
CA: -1 -1 -1 +1 +1 -1 +1 +1
CB: -1 -1 +1 -1 +1 +1 +1 -1
CC: -1 +1 -1 +1 +1 +1 -1 -1
CD: -1 +1 -1 -1 -1 -1 +1 -1
A
B
C
D
Part (b)
Data Rate = sampling rate * number of bits used to encode each sample
= 8000 samples/s × 7 bits/sample = 56000 bps or 56 Kbps
Part (c)
Bit duration = 1/(56 *103) = 17.85 Micro Seconds
Ques-7. Suppose that a synchronous serial data transmission is clocked by two clocks (one at the
sender and one at the receiver) that each have a drift of 1 minute in one year. How long a sequence
of bits can be sent before possible clock drift could cause a problem? Assume that a bit waveform
will be good if it is sampled within 60% of its center and that the sender and receiver are
resynchronized at the beginning of each frame. Note that the transmission rate is not a factor, as
both the bit period and the absolute timing error decrease proportionately at higher transmission
rates.
Sol- In worst case conditions, the two clocks will drift in opposite directions. The
resultant accuracy is 2 minutes in 1 year or:
2/(60 * 24 * 365) = 0.0000038
The allowable error is 0.6
Therefore, number of bits is 0.6/0.0000038 = 15789.47 bits
Ques-8. If the packet size is 1 KB and propagation time is 15 msec, the channel capacity is 109 b/sec,
then find the transmission time and utilization of sender in stop and wait protocol.
Sol- Given-
• Packet size = 1 KB
• Propagation time (Tp) = 15 msec
• Channel capacity = Bandwidth (here) = 109 b/sec
NOTE-
• Generally, channel capacity is the total number of bits which a channel can hold. So, its unit is bits.
• But here, channel capacity is actually given as bandwidth because its unit is b/sec.
a = Tp / Tt
a = 15 msec / 1.024 μsec
a = 15000 μsec / 1.024 μsec
a = 14648.46
Sol-
1. B8ZS(Bipolar with 8-zero substitution) – [1.5 Marks for explanation and 1.5 Marks
for Waveform]
This technique is similar to Bipolar AMI except when eight consecutive zero-level voltages
are encountered they are replaced by the sequence,”000VB0VB”.
Note –
• V(Violation), is a non-zero voltage which means signal have same polarity as the
previous non-zero voltage. Thus it is violation of general AMI technique.
• B(Bipolar), also non-zero voltage level which is in accordance with the AMI rule (i.e.,
opposite polarity from the previous non-zero voltage).
Example: Data = 100000000
Note – Both figures (left and right one) are correct, depending upon last non-zero voltage
signal of previous data sequence (i.e., sequence before current data sequence “100000000”).
2. HDB3 (High-density bipolar3-zero) – [1.5 Marks for explanation and 1.5 Marks for
Waveform]
In this technique four consecutive zero-level voltages are replaced with a sequence “000V” or
“B00V”.
Rules for using these sequences:
• If the number of nonzero pulses after the last substitution is odd, the substitution pattern
will be “000V”, this helps maintaining total number of nonzero pulses even.
• If the number of nonzero pulses after the last substitution is even, the substitution
pattern will be “B00V”. Hence even number of nonzero pulses is maintained again.
Example: Data = 1100001000000000
Explanation – After representing first two 1’s of data we encounter four consecutive
zeros.Since our last substitutions were two 1’s(thus number of non-zero pulses is even).So,
we substitute four zeros with “B00V”.
Note – Zero non-zero pulses are also even.
Ques-9. In Go back 4, if every 6th packet that is being transmitted is lost and if total
number of packets to be sent is 10, then how many transmissions will be required?
Ans- Refer Tutorial-4.
Ques-10. Consider a network connecting two systems located 8000 km apart. The bandwidth of
the network is 500 x 106 bits per second. The propagation speed of the media is 4 x 106 meters
per second. It is needed to design a Go back N sliding window protocol for this network. The
average packet size is 107 bits. The network is to be used to its full capacity.
Ans- Refer tutorial-4.