Sp2019 CS509 Exercise Sheet 2
Sp2019 CS509 Exercise Sheet 2
Spring 2019
Exercise Sheet
Most of the problems are from the textbook “Data Communications and Networking,” Behrouz
Forouzan, 5th ed.
1. In a digital transmission, the sender clock is 0.2 percent faster than the receiver clock. How
many extra bits per second does the sender send if the data rate is 1 Mbps?
2. Draw the graphs of the NRZ-L scheme, Manchester, and differential Manchester using each
of the following data streams, assuming that the last signal level has been positive.
3. Find the 8-bit data stream for each case depicted in Figure 1 below.
Figure 1.
4. What is the Nyquist sampling rate for each of the following signals?
a. A low-pass signal with bandwidth of 200 KHz?
b. A band-pass signal with bandwidth of 200 KHz if the lowest frequency is 100 KHz?
5. We have sampled a low-pass signal with a bandwidth of 200 KHz using 1024 levels of
quantization.
a. Calculate the bit rate of the digitized signal.
b. Calculate the SNRdB for this signal.
c. Calculate the PCM bandwidth of this signal.
6. What is the maximum data rate of a channel with a bandwidth of 200 KHz if we use four
levels of digital signaling?
7. An analog signal has a bandwidth of 20 KHz. If we sample this signal and send it through a
30 Kbps channel, what is the SNRdB?
8. Calculate the baud rate for the given bit rate and type of modulation.
a. 2000 bps, FSK
b. 4000 bps, ASK
c. 6000 bps, QPSK
9. Calculate the bit rate for the given baud rate and type of modulation.
a. 1000 baud, FSK
b. 1000 baud, ASK
c. 1000 baud, BPSK
10. What is the required bandwidth for the following cases if we need to send 4000 bps? Let d =
1.
a. ASK
b. FSK with 2Δf = 4 KHz
11. The telephone line has 4 KHz bandwidth. What is the maximum number of bits we can send
using each of the following techniques? Let d = 0.
a. ASK
b. QPSK
12. A corporation has a medium with a 1-MHz bandwidth (lowpass). The corporation needs to
create 10 separate independent channels each capable of sending at least 10 Mbps. The
company has decided to use QAM technology. What is the minimum number of bits per baud
for each channel? Let d = 0.
Chapter 6 - Multiplexing
13. Assume that a voice channel occupies a bandwidth of 4 kHz. We need to multiplex voice
channels with guard bands of 500 Hz using FDM. Calculate the required bandwidth.
14. We need to transmit 100 digitized voice channels using a pass-band channel of 20 KHz.
What should be the ratio of bits/Hz if we use no guard band?
15. We need to use synchronous TDM and combine 20 digital sources, each of 100 Kbps. Each
output slot carries 1 bit from each digital source, but one extra bit is added to each frame for
synchronization. Answer the following questions:
16. Ten sources, six with a bit rate of 200 kbps and four with a bit rate of 400 kbps, are to be
combined using multilevel TDM with no synchronizing bits. Answer the following questions
about the final stage of the multiplexing:
17. Figure 2 shows a multiplexer in a synchronous TDM system. Each output slot is only 10 bits
long (3 bits taken from each input plus 1 framing bit). What is the output stream? The bits
arrive at the multiplexer as shown by the arrows.
Figure 2.
18. A path in a digital circuit-switched network has a data rate of 1 Mbps. The exchange of 1000
bits is required for the setup and teardown phases. The distance between two parties is 5000
km. What is the total delay if 1000 bits of data are exchanged during the data transfer phase?
Assume the propagation speed is 2 × 108 m.
19. Five equal-size datagrams belonging to the same message leave for the destination one after
another. However, they travel through different paths as shown in Table 1.
Table 1.
We assume that the delay for each switch (including waiting and processing) is 3, 10, 20, 7,
and 20 ms respectively. If the propagation speed is 2 × 108 m, find the order the datagrams
arrive at the destination and the delay for each. Ignore any other delays in transmission.
Figure 3.
Find the output port for packets with the following destination addresses:
a. Packet 1: 7176 b. Packet 2: 1233
c. Packet 3: 8766 d. Packet 4: 9144
Figure 4.
Find the output port and the output VCI for packets with the following input
port and input VCI addresses:
a. Packet 1: 3, 78 b. Packet 2: 2, 92
c. Packet 3: 4, 56 d. Packet 4: 2, 71
22. Assume we have an internet (a private small internet) in which all hosts are connected in a
mesh topology. Do we need routers in this internet? Explain.