# CS601 Lecture 5 | CS601 Short Lectures

**Channel:** Information Hub Official 
**Source:** https://www.youtube.com/watch?v=KpgU8Vilrlk
**Transcript page:** https://www.withtranscript.ai/video/KpgU8Vilrlk

## Chapters

- 0:06 — Bit Rate and Bit Length Concepts
- 4:20 — Fourier Analysis and Baseband vs Broadband
- 7:26 — Transmission Impairments: Attenuation, Distortion, Noise
- 14:00 — Signal-to-Noise Ratio and SNR Numericals
- 17:13 — Data Rate Limits and Nyquist Bit Rate

## Transcript

**[0:06]:** Assalamu Alaikum , students ! I hope you all are doing well . Today we are going to do our lecture number five , so let's begin . But before we start , congratulations to you that half of your midterm syllabus will be covered today , God willing , and you don't need to worry about the final term either . Even if I am unable to upload a lecture , I have uploaded two professional videos , one for subjective and one for objective , so you should go through those and your work will be done , okay ? So , let's start today's lecture . Its first topic is bit rate . Okay , bit rate is called the number of bits sent in one second . Right , the number of bits sent within one second is what we call the bit rate . It is measured in bits per second , okay , in bps , meaning like bandwidth .

**[0:47]:** Okay , it can be measured . We have studied bandwidth before , right ? Bandwidth can be measured in bps and also in hertz , so this is a bit like bandwidth too , okay ? Well , an important point is written ahead : most digital signals are non-periodic . Right , most of the digital signals are non-periodic . We saw the sine wave earlier , what was that ? Sorry , it was analog , right , a periodic analog signal . But you have to remember that most digital signals are what ? They are non-periodic . After that , a numerical is given ahead . You are given a rate of 100 pages per second ; you have to do what ? Convert it into bit rate , that is , bps . It is given to you in what ? Pages per second , that is , pps .

**[1:28]:** You have to convert it into bps , so let's do it . First of all , we will assume , because no value is given here as to how many lines or characters are on a page , so what will we do ? We will assume that there are 24 lines in a page , okay ? There are 24 lines and there are 80 characters in one line , and one character consists of eight bits . We have already seen this , okay . You should have at least enough computer knowledge to know that one character consists of eight bits , okay , which means it is one byte . So you need to remember these , okay ; these can also be asked in MCQs . One page equals 24 lines , one line equals 80 characters , and one character equals 8 bits .

**[2:06]:** Now look , we have the bits , so we just have to multiply all of these together . Okay , pages multiplied by 24 , lines multiplied by 80 characters , multiplied by 8 bits . What we will get is this answer , which is in bits per second . If we want , we can squeeze this , meaning convert it into another unit , so we will convert it to 1.536 Mbps because we put 1.5 and there are six digits after it ; since six is 10 to the power of 6 , which we call Mega , that is why we wrote M here . After this , there is another numerical ; we are given a bandwidth of 4 kHz , first we have to convert it into a standard unit , meaning we have to remove the k , so we will write

**[2:48]:** 4000 ; the value of k is 10 to the power of 3 , so we wrote 4000 Hz , okay . The bandwidth is given to us in Hertz , we need to sample the signal at two times the frequency , meaning we just have to double this frequency , that's it . If we double the frequency , we will get our answer ; so what is the frequency given , 4 kHz , okay , so if we double it , we will get our answer , right . 2 multiplied by 4000 equals 8000 samples , but there is one more thing written , that each sample requires eight bits , okay . Eight bits are required for every sample , meaning we also have to multiply these samples by eight , then we will get the required bit rate . So we multiplied 8000 samples by 8 bits and got 64000 bits per second , or we can also write it in kbps .

**[3:35]:** Because if we remove these three zeros , it becomes 10 to the power of 3 , which we then write as kbps , okay ? So you must also practice these numericals well . Next is the definition of bit length ; it is the distance one bit occupies on the transmission medium , meaning how much space a single bit covers on the medium , which we call bit length . We measure this in terms of length , sorry , in meters , okay ? In this unit of length . Right , and its formula is that bit length is equal to propagation speed multiplied by bit duration . So , if you get any numerical based on this formula , you have to solve it this way — multiply the speed by the bit duration , and we will get the bit length .

**[4:20]:** After that , the next topic is Fourier analysis , okay ? In this paragraph , there are many MCQs , okay ? Or short questions can also be formed , so what is Fourier analysis ? It is a process , okay . Converting a digital signal into a composite analog signal , okay . Composite means multiple , okay . So , when we convert a single analog signal into a composite analog signal , we call this method Fourier analysis . Next , it is written that a signal can have an infinite bandwidth , meaning a signal can have a bandwidth that cannot be measured , okay . Infinite signal , time domain , vertical and horizontal lines . Now , the time domain was the one with amplitude on the Y-axis and time on the X-axis , so what it says is that it contains vertical and horizontal lines .

**[5:07]:** Now , these next two lines are very important , okay . What do they say ? A vertical line has a frequency of infinity and a horizontal line has a frequency of zero . This is very important ; you must memorize it well . Next is digital transmission , meaning how we transmit digital data , and there are two ways to do this , okay . One is baseband , and one is broadband , okay . To explain in simple words , baseband means when we transmit a digital signal in its digital form , we call it baseband . And broadband means when we first convert a digital signal into an analog signal and then transmit it , we call that broadband , okay . Now , let's look at their definitions as well . Sending digital data without converting it into an analog signal is called baseband transmission .

**[5:51]:** This is a low-pass channel . A low-pass channel means that this baseband technology works well for short distances , just like it does within LANs . So , it means we need a dedicated link for transmission ; that is , what do we need a dedicated link for ? For transmission , meaning a complete wire is required through which we can send the digital signal . It is commonly used for LANs . So , you should prepare the definition of baseband well ; it may also come as a long question regarding the difference between baseband and broadband . After that , the baseband starts from zero . This is its entire band , and the data will be sent within it . Next is broadband : sending digital data by first converting it into an analog signal and then transmitting it over a medium .

**[6:36]:** So , what is this called ? Broadband . Well , what is this process called ? Converting digital data into analog data is called modulation , and converting analog data into digital data is called demodulation , so you must remember the difference between these two . It is used for larger distances , meaning it is used in WANs — which technology ? Broadband . The signal sent is the same as the signal received ; that is , the signal we receive is just like the one we sent , meaning it has high accuracy compared to what ? Baseband . It uses a band-pass channel , where the bandwidth does not start from zero — unlike the other one that started from zero — it has a dedicated band-pass channel in which data is sent , so you should remember this too .

**[7:26]:** Next , we will learn about transmission impairments . Transmission impairments refer to the errors that occur during transmission ; that is , the data we receive is not the same as the data we sent . So , we call this transmission impairment . You should learn its definition . Well , why does this happen ? You might get an important short question about the possible causes of impairments . Right ? So , impairments are due to attenuation , noise , and distortion . Now , you need to study the definitions of all three of these things well ; it is possible that you might get a full long question on them . It is called attenuation , which means the loss of energy . Right , it has a very important definition . Loss of energy across a medium , meaning that when data travels through a medium , it is lost due to the resistance of the medium , right ?

**[8:07]:** We call this attenuation . Well , we can overcome attenuation , right ? How can we do that ? With the help of amplifiers , right . You know amplifiers , you must have heard their name . Amplifiers are used , right ; what do they do ? Because of them , the data that is being lost is overcome , meaning it is recovered . Signal strength is measured in decibels . We measure the strength of a signal in decibels , right ? We measure signal strength in decibels , and what is the formula for decibels ? The formula for decibels is dB equals 10 log 10 , sorry , 10 log base 10 P2 over P1 . Right , 10 is written as the base , so this formula will be useful later in numericals . After that , the next point written is : signal is amplified when dB is positive .

**[8:51]:** When dB is positive , it means the signal is amplified . That is , if the numerical value comes out as a positive value , like plus three , plus two , plus one , right , then it means the signal has been amplified , meaning the amplification process has occurred on it , that is , the signal strength has increased . But if the answer for dB comes out in the negative , like minus three or minus two , then it means the signal has been attenuated , right ? These two are opposites of each other . A wire carrying current gets warm due to attenuation . After that , an important point is written : why does a wire get warm ? It happens because the data passing through it encounters resistance . You know that due to resistance , the temperature rises , which is why the wire gets warm .

**[9:32]:** After that , there is a next numerical based on the same formula : P2 is equal to 0.5 P1 . Right , you have been given this . Right , find the attenuation or amplification . Okay , or find the signal strength ; you can be asked anything . Find attenuation , find amplification , or signal strength — these three are the same thing . Okay , well , we know amplification means the data is going through correctly . Yes . Meaning its strength has increased , and attenuation means the data strength has decreased , so P2 equals 0.5 . You have to put P1 in the formula : 10 log 10 equals P2 over P1 . Now , what is P2 equal to ? 0.5 of P1 , so you have to write 0.5 of P1 in place of P2 . Now , this P1 and P1 cancel each other out ; now you just have to solve this .

**[10:13]:** So we will get minus three decibels ; let's do this on the calculator . Yes , so you can see I have written it on the calculator above , and the answer is minus three . Okay , it is in minus , so what does this tell us ? That this signal has been attenuated , meaning attenuation has occurred in it , meaning data has been lost . Next , sometimes a decibel is used to measure signal power in milliwatts . Okay , the decibel can also measure power in milliwatts . Okay , so then its notation will be such that a small ' m ' will be written with ' dB ' , so it means decibels in milliwatts . Its formula is : dBm equals 10 log 10 Pm . Okay , an important formula you have to remember is dBm equals 10 log 10 Pm , whereas dB single equals 10 log 10 , P2 over P1 .

**[11:02]:** Now , a numerical is given based on this formula . What have you been asked ? Calculate the power for a signal if dBm equals minus 30. Now , what is dBm ? Decibels in milliwatts , okay . Minus 30 is given to you . What do you have to find ? Find Pm , okay . The formula was this , and this is given , so what will we have to find ? We will have to find Pm , meaning power in milliwatts . So what will we do ? We will put the value like this , put minus 30 , and here 10 log 10 Pm . Now , to extract Pm from here , we isolate Pm ; it is multiplied here , so it will go to the other side and be divided , okay ? You can cancel it out from here , 10 ones are 10 , 10 threes are .

**[11:36]:** Three will be left at the top , okay ? Log 10 will remain here . Now write it like this : 10 log 10 Pm equals minus 3 , okay ? Now we will use the inverse log formula here ; if we need to find the value of Pm , it states that log 10 X equals Y , okay ? If this is given , then the value of X is equal to 10 to the power of Y , okay ? So what is X here ? Pm , log 10 is as it is , Y equals minus 3 , so we will do : Pm equals 10 , meaning what we have is the base of the log written , and we will write Y as its power , i.e. , minus 3 milliwatts , okay ? So this numerical is a bit confusing ; you just have to memorize it , okay ?

**[12:15]:** It is important , so that is why I had you do it . The next topic is distortion . What do we call distortion ? You must learn its definition thoroughly . It means the signal changes its shape or form , that is , the signal has changed its shape and form . Okay , it occurs in composite signals . Where does it occur ? It occurs in composite signals , meaning when more than one signal is traveling through a medium , that is where this distortion occurs . After that , first

**[12:43]:** Distortion , so you just need to learn its definition well . Next is about noise , okay ? We have studied attenuation , the second is distortion , and the third is noise . Noise is important , okay ? You have to learn it well . You were not given the definition of noise , so you just need to learn its forms from here on . First is thermal noise ; it is due to the random motion of electrons in a wire , which creates noise , okay ? What is the cause of thermal noise ? Thermal noise is produced by the repeated collisions of electrons with each other inside the wire or due to their random motion , which causes the wire to heat up . Okay , what comes next in the types of noise ? Induced noise . Induced noise comes from the source , that is , the sender , for example , a motor .

**[13:27]:** Right , if there is a sound coming from inside a motor , then why , what form of noise would that be ? That would be induced noise . After that is crosstalk . Crosstalk is the effect of one wire on another . Meaning , in a medium if there is more than one wire , then one wire has an effect on the other wire , and because of this , crosstalk noise occurs . Next is impulse noise . What does impulse noise say ? It is a sudden sharp burst of energy in the background signal . So , you just need to learn their definitions well , okay ? The definition of noise was not given . So , you can leave that . Just these types of noise , you have to learn their definitions well .

**[14:00]:** After that is SNR . First of all , you should know what SNR stands for . It stands for Signal-to-Noise Ratio . Meaning , when we divide the signal power by the noise , that is , we take the ratio of both , then we get the SNR . Now , why is it used ? To find the bit rate of a signal , okay ? And its formula is : Signal Power divided by Noise Power . The answer is within what it stands for , which is Signal Power . Divided by Noise Power , and we get the SNR . High noise means low SNR . Look , they are reciprocal to each other because noise is in the denominator and SNR is in the numerator . Meaning , if SNR is high , then noise will be low , but if the noise is high , sorry , if the noise is high then the SNR will be low , so they are reciprocal to each

**[14:50]:** other . This is an important point you must remember . After this , we can also measure SNR in decibels , but its formula will be different . SNR dB is equal to 10 log 10 SNR , okay ? SNR dB is equal to 10 log base 10 SNR . Now , what is SNR ? It is this value , okay ? From here we will extract the value and get the SNR value ; by multiplying it with 10 log 10 , we will get the SNR dB value . After that , a point is written : " The value of SNR and SNR dB for a noiseless channel is infinity , " okay ? This noiseless channel . When it happens , the values of both SNR and SNR dB are infinity . Why is that ? We will prove this later . Now look , what was the formula for SNR ?

**[15:32]:** Average signal power over average noise power . Now , when the noise becomes zero , when we divide any number by zero , what is the answer ? It is infinity . So we have proven that SNR comes out to be infinity . Now we prove how SNR dB also comes out to be infinity . Now when we multiply this with infinity , okay ? Then the answer will also be infinity , right ? Multiplying any number by infinity results in infinity , so this also came out to be infinity , okay ? So you must remember this point as well . After this , a numerical is given : signal power is 10 milliwatts and power of noise is 1 microwatt , okay ? Find the values of SNR and SNR dB . You have to find the values of both . First of all , find the SNR .

**[16:12]:** What is the SNR value ? Average signal power divided by average noise power . If you divide both , what will be our answer ? 10,000 . Watts ! First , let's convert them into their units , sorry , standard units , then do it on the calculator . Yes , so I did it on the calculator , in milli we first wrote 10 multiplied by 10 to the power of -3 , and divided by 10 to the power of -6 . When done on the calculator , our answer came out to be 10,000 , okay ? 10,000 . Now , whose value is this ? SNR's . Now that we have the SNR value , we can also find the SNR dB . SNR dB is equal to 10 log 10,000 . Now , what will come in place of SNR ? 10,000 will come .

**[16:50]:** Now let's solve this , I have written it on the calculator . When we equate this , the answer we get is five , meaning what is the value of SNR dB ? Five decibels , okay , five decibels . Now you must remember this , what is the unit of SNR ? Watt , while what is the unit of SNR dB ? Decibel . So these decibels , sorry , you definitely get marks for the unit . Okay , I think there is one mark for the unit , so you should know the units well .

**[17:13]:** Next is data rate limits . First , you should know what is meant by data rate . Data rate is defined as the amount of data sent in one second . Okay , what was bit rate ? The number of bits sent in one second , and data rate is called the amount of data sent in one second . Now , what three things do data rate limits depend on ? Okay , on three factors . So , you have to memorize this important short question exactly like this . What are those three factors ? They are bandwidth , signal levels , and the level of noise . These are the three things upon which what ? Data rate limits depend on these three things . You should have them at your fingertips . After that , if you want to find the data rate , okay , if you want to find the data rate , there are two formulas to find it , okay , there are two formulas or two systems

**[17:55]:** , what are they ? One is the Nyquist rate and the other is the Shannon capacity . In this lecture , we will do the Nyquist rate , so let's start . What does it say ? It is used for a noiseless channel . The Nyquist rate is used for a noiseless channel , whereas you should know that Shannon capacity is used for a noisy channel . What does it say ? It defines the maximum bit rate , okay , the formula . The bit rate is equal to 2 multiplied by bandwidth multiplied by log 2 L , okay ? So this is its formula to find the bit rate or data rate in the Nyquist rate , okay . After that , you should know that the bit rate is directly proportional to L , meaning what are the signal levels ? You must remember this point too .

**[18:32]:** After this , based on this formula , a numerical is coming up ; what does it say ? Noisy channel , noiseless channel , if " noiseless channel " appears in a numerical statement , then you must understand which formula will be used here ? The Nyquist rate formula will be used . But if a noisy channel is being discussed in what ? In the numerical statement , then you have to use the Shannon capacity formula . So it says that there is a 3000 Hz bandwidth and two levels , find the bit rate . Find the bit rate , so what is the formula for bit rate ? Is equal to 2 multiplied by 3000 , what is this ? This is the bandwidth , okay . We wrote the 3000 bandwidth , multiplied by log2 L. What is L ? There are two levels , so you just wrote 2 along with it , okay .

**[19:14]:** So when we multiply , we get the answer 6000 . Let's check this on the calculator once , I have written it on the calculator , okay . The answer we got is 6000 , okay , 6000 bits per second . Now it is a bit rate , so in what will it be measured ? It will be measured in bits per second . So what will be the unit with it ? 6000 bits per second . Next is Shannon capacity , we will do that in the next lecture . So this was today's lecture . If you liked it , then please do like it and also subscribe to the channel , it takes a lot of effort to make these notes and then to make and edit the video . So please support this channel . Allah Hafiz .
