0% found this document useful (0 votes)
7 views5 pages

M.faisal

Uploaded by

221980068
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views5 pages

M.faisal

Uploaded by

221980068
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

GIFT UNIVERSITY GUJRANWALA

Assignment # 02

Name: Muhammad Faisal


ID: 2219800
Instructor: Rahima Tanveer
Dept: Bs Data Science
Semester: 4
Course: CS-353 (Data Communication & Computer
Network)

Q1 Given the frequencies listed below, Predict the corresponding periods.


a.) 24 Hz b.) 8 MHz c.) 140 KH z

Formula: F = 1/T and there I find Time period so Formula T = 1/f

a.)24 Hz

T = 1/f
T = 1/24HZ ≈ 0.0417 s

b.) 8MHz

T = 1/8 *10^6 Hz
= 1 / 8,000,000 Hz ≈ 0.000000125 s
= 125 ns

c.) 140 KH z
T=1/140 * 10^3 Hz ≈7.14×10^-6 s
=7.14 µs

Q2 Given the following periods, Predict the corresponding frequencies


a.) 5s b.) 12s c.) 220 ns

Formula: F = 1/T
a.) 5s

f = 1/5s
= 0.2 Hz

b.) 12s

F = 1/12s ≈ 0.0833 Hz

c.) 220 ns

f = 1/220*10^-9 s ≈ 4.545 * 10^6 Hz


= 4.545 MHz

Q3 Estimate the bandwidth of a signal that can be decomposed into five sine
waves with frequencies at 0, 20, 50, 100, and 200 Hz? All peak amplitudes
are the same. Draw the bandwidth.

Formula: Bandwidth = Highest frequency – lowest frequency

Bandwidth = 200 Hz – 0 Hz
= 20 Hz

Amplitude = 10 V for each frequency assume


Range = 0,20,50,100, and 200 Hz

Draw the bandwidth.


Amplitude:

10v

0 20 50 100 200

Q4 A periodic composite signal contains frequencies from 10 to 30 KH z, each


with an amplitude of 10 V. Infer the frequency spectrum.

Frequency Spectrum Description

 Range: 10 kHz to 30 kHz


 Amplitude: 10 V for each frequency within the range
 Bandwidth: 20 kHz

Bandwidth = 30 KH z – 10 KH z

= 20 KH z

Frequency spectrum:
Amplitude (v):

10v

Frequency (Hz)
10 KH z continuous 30KHz

Q5 Infer the bit rate for each of the following signals?


a. A signal in which 1 bit lasts 0.001 s
b. A signal in which 1 bit lasts 2 ms

Formula : Bit Rate = 1 / Bit Duration

a.) Bit rate = 1 bit / 0.001 s


= 1000 bps
b.) Bit rate = 1 bit / 2 * 10^-3 s
= 0.002 s
= 1 / 0.002
= 500 bps

Q6 A device is sending out data at the rate of 1000 bps.


a. How long does it take to send out 10 bits?
b. How long does it take to send out a single character (8 bits)?
c. How long does it take to send a file of 100,000 characters?

Formula: Time = Number of bits / Data rate (bits per second)

a.) Time to send out 10 bits

Time = 10 bits / 1000 bps


= 0.01 s

b.) Time to send out a single character (8 bits)

Time = 8 bits / 1000 bps


= 0.008 s

c.) Time to send a file of 100,000 characters

1 character = 8 bits total number of bits in 100,000 character


Total bits = 100,000 char * 8 bits
= 800,000 bits

Time = 800,000 bits / 1000 bps


= 800 sec

Q7 A signal travels from point A to point B. At point A, the signal power is 100
W. At point B, the power is 90 W. What is the attenuation in decibels?

Attenuation A in decibels (dB) is given by:


Formula: A = 10 log10 (Pout/Pin)

Given:

Pin = 100W
Pout = 90W

A = 10 log10 (90/100)
A = 10 log10 (0.9)
A ≈ 10 * (-0.045757)
A ≈ -0.45757 dB

You might also like