Docsity

Data communication Exercises (Assignment), Assignments of Data Communication Systems and Computer Networks

Toggle sidebar
bg1
Electronics II โ€“ Assignment (4)
Lara Mamdouh Abdel-latif | 202124003
1
Review Questions:
1. List three techniques of digital-to-digital conversion.
The three different techniques described in this chapter are:
- Line Coding: Mapping of binary information sequence (digital data) into the (digital
signal) that enters the channel.
- Block coding: refers to the technique of adding extra bits to a digital word in order to
improve the reliability of transmission.
- Scrambling: is a digital encoding technique that is used in modern data communication
schemes and can principally provide aid in retrieving information from received data
enhancing synchronization between the transmitter and the receiver.
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Data communication Exercises (Assignment) and more Assignments Data Communication Systems and Computer Networks in PDF only on Docsity!

Review Questions:

1. List three techniques of digital-to-digital conversion.

The three different techniques described in this chapter are:

  • Line Coding: Mapping of binary information sequence (digital data) into the (digital signal) that enters the channel.
  • Block coding: refers to the technique of adding extra bits to a digital word in order to improve the reliability of transmission.
  • Scrambling: is a digital encoding technique that is used in modern data communication schemes and can principally provide aid in retrieving information from received data enhancing synchronization between the transmitter and the receiver.

2. Distinguish between a signal element and a data element.

  • Data element: It is the smallest entity that can represent a piece of information (a bit), Data elements are what we need to send; they are being carried.
  • Signal element: It is the shortest unit of a digital signal; signal elements are what we can send, and they are the carriers.

3. Distinguish between data rate and signal rate.

  • Data rate: It defines the number of data elements (bits) sent in 1s. The unit is bits per second (bps).
  • Signal rate: It is the number of signal elements sent in 1s. The unit is the baud.

4. Define baseline wandering and its effect on digital transmission.

  • Definition: a low frequency artifact in the ECG that arises from breathing, electrically charged electrodes, or subject movement and can hinder the detection of these ST changes because of the varying electrical isoline.
  • Its effect: In decoding a digital signal, the incoming signal power is evaluated against the baseline (a running average of the received signal power). A long string of 0s or 1s can cause baseline wandering (a drift in the baseline) and make it difficult for the receiver to decode correctly.

5. Define a DC component and its effect on digital transmission.

When the voltage level in a digital signal is constant for a while, the spectrum creates very low frequencies, called DC components, which present problems for a system that cannot pass low frequencies.

6. Define the characteristics of a self-synchronizing signal.

A self-synchronizing digital signal includes timing information in the data being transmitted. This can be achieved if there are transitions in the signal that alert the receiver to the beginning, middle, or end of the pulse.

9. Define scrambling and give its purpose

Scrambling, as discussed in this chapter, is a technique that substitutes long zero level pulses with a combination of other levels without increasing the number of bits.

10. Compare and contrast PCM and DM.

  • Pulse Code Modulation (PCM): It is that the technique used for reworking analog signal into digital signal. PCM has good or sensible signal to noise ration. For transmission, Pulse Code Modulation wants high transmitter bandwidth. PCM technique is split into three elements, initial is that the transmission at the provision end, second regeneration at the transmission path and conjointly the receiving end.
  • Delta Modulation (DM): It is an analog to digital and digital to analog signal conversion technique. Delta modulation is employed to realize high signal to noise ratio. It uses one bit PCM code to realize digital transmission of analog signal. With delta modulation, instead of transmit a coded illustration of a sample solely one bit is transmitted, that merely indicates whether or not the sample is larger or smaller than the previous sample.

11. What are the differences between parallel and serial transmission?

  • Serial Transmission: The data-bit flows from one computer to another computer in bi- direction. In this transmission, one bit flows at one clock pulse. In Serial Transmission, 8 bits are transferred at a time having a start and stop bit.
  • Parallel Transmission: Many bits are flow together simultaneously from one computer to another computer. Parallel Transmission is faster than serial transmission to transmit the bits. Parallel transmission is used for short distance.

12. List three different techniques in serial transmission and explain the differences.

The three different techniques in serial transmission are:-

1. Asynchronous: we send 1 start bit (0) at the beginning and 1 or more stop bits (1s) at the end of each byte. There may be a gap between each byte. 2. Synchronous: we send bits one after another without start or stop bits or gaps. It is the responsibility of the receiver to group the bits. 3. Isochronous: In real-time audio and video, in which uneven delays between frames are not acceptable, synchronous transmission fails. The isochronous transmission guarantees that data arrive at a fixed rate.

15. The input stream to a 4B/5B block encoder is 0100 0000 0000 0000 0000 0001.

Answer the following questions:

a. What is the output stream?

b. What is the length of the longest consecutive sequence of Os in the input?

c. What is the length of the longest consecutive sequence of Os in the output?

a) The output stream is 01010 11110 11110 11110 11110 01001 b) The maximum length of consecutive 0s in the input stream is 21 c) The maximum length of consecutive 0s in the output stream is 2

16. What is the result of scrambling the sequence 11100000000000 using one of the

following scrambling techniques? Assume that the last non-zero signal level has been

positive. a. B8ZS b. HDB3 (The number of nonzero pules is odd after the last

substitution)

17. 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?

a) In a low-pass signal, the minimum frequency 0. Therefore, we have fmax = 0 + 200 = 200 KHz. โ†’ fs = 2 ร— 200,000 = 400,000 samples/s b) In a bandpass signal, the maximum frequency is equal to the minimum frequency plus the bandwidth. Therefore, we have fmax = 100 + 200 = 300 KHz. โ†’ fs = 2 ร— 300,000 = 600, samples /s

18. 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.

a) In a lowpass signal, the minimum frequency is 0. Therefore, we can say fmax = 0 + 200 = 200 KHz โ†’ fs = 2 ร— 200,000 = 400,000 samples/s, The number of bits per sample and the bit rate are nb = log21024 = 10 bits/sample N = 400 KHz ร— 10 = 4 Mbps. b) The value of nb = 10. We can easily calculate the value of SNRdB. SNRdB = 6.02 ร— nb + 1.76 = 61.96. c) The value of nb = 10. The minimum bandwidth can be calculated as BPCM = nb ร— Banalog = 10 ร— 200 KHz = 2 MHz.

19. What is the maximum data rate of a channel with a bandwidth of 200 KHz if we use

four levels of digital signaling.

The maximum data rate can be calculated as Nmax = 2 ร— B ร— nb = 2 ร— 200 KHz ร— log24 = 800 kbps.

20. 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?

We can first calculate the sampling rate (fs) and the number of bits per sample (nb) fmax = 0 + 4 = 4 KHz โ†’ fs = 2 ร— 4 = 8000 sample/s. We then calculate the number of bits per sample. nb = 30000 / 8000 = 3.75. We need to use the next integer nb = 4. The value of SNRdB is SNRdB = 6.02 ร— nb + 1.72 = 25.8.