DCCN Numerical:: 1. The Period of A Signal Is 100 Ms. What Is Its Frequency in Kilohertz?
DCCN Numerical:: 1. The Period of A Signal Is 100 Ms. What Is Its Frequency in Kilohertz?
Formula:
2. A sine wave is offset 1/6 cycle with respect to time 0. What is its phase in degrees and
radians?
Theory:
i.e.
Solution:
We know the propagation speed of light is 3*10^8 m/s.
So,
4. If a periodic signal is decomposed into five sine waves with frequencies of 100, 300, 500, 700,
and 900 Hz, what is its bandwidth? Draw the spectrum, assuming all components have a
maximum amplitude of 10 V.
5. A periodic signal has a bandwidth of 20 Hz. The highest frequency is 60 Hz. What is the lowest
frequency? Draw the spectrum if the signal contains all frequencies of the same amplitude.
6. A non-periodic composite signal has a bandwidth of 200 KHz with a middle frequency of 140
KHz and peak amplitude of 20 V. The two extreme frequencies have an amplitude of 0. Draw
the frequency domain of the signal.
8. A digital signal has nine levels. How many bits are needed per level?
Solution:
Number of bits per level =log29=3.17 bits.
However, the number of bits sent per level needs to be integer. So, each signal level is
represented by 4 bits.
9. Suppose a signal travels through a transmission medium and its power is reduced to half.
Calculate the loss of power.
Formula:
10. A signal travels through an amplifier and its power is increased 10 times. Calculate the gain of
power.
Solution:
The amplification can be calculated as:
11. The loss in a cable is usually defined in decibels per kilometer (dB/km). If the signal at the
beginning of a cable with -0.3 dB/km has a power of 2 mW, what is the power of the signal at 5
km?
12. The power of a signal is 10 mW and the power of the noise is 1 µW; what are the values of SNR
and SNRdB?
Formula:
13. Consider a noiseless channel with a bandwidth of 3000 Hz transmitting a signal with two signal
levels. What will be the maximum bit rate?
Formula: Nyquist Bit Rate
14. We need to send 265 kbps over a noiseless channel with a bandwidth of 20 KHz. How many
signal levels do we need?
15. If the SNRdB is 36 and the channel bandwidth is 2 MHz, calculate the channel capacity.
Formula: Noisy Channel-Shannon Capacity
16. We have a channel with a 1 MHz bandwidth. The SNR for this channel is 63. What are the
appropriate bit rate and signal level?
17. What is the propagation time if the distance between the two points is 12,000 km? Assume the
propagation speed to be 2.4*10^8 m/s in cable.
18. What is the transmission time for a 2.5 KB message if the bandwidth of the network is 1 Gbps?
Formula:
Solution:
19. A signal is carrying data in which one data element is encoded as one signal element (r=1). If
the bit rate is 100 kbps, what is the average value of the baud rate if c is between 0 and 1?
20. If you need to transmit a bit stream 10011001 11100010 00100100 10000100 between a pair of
nodes, how would you ensure the transmission as error free using checksum?
Solution:
21. If the message sequence is 1010000 and the generator polynomial is G(x)=x 3+1, calculate the
transmitted frame. Also, check if the data is accepted at the receiver side.
Solution:
The divisor will be:
Now, since the divisor is 4 bits, append 3 bits (set of zeros) to the message sequence at the end
i.e., if the divisor is n bits, append n-1 bits to the message.
Neglect the leading zeros and start the XOR operation in the further iterations from the position
where the binary bit is 1.
Continue until the all the bits in the message sequence are processed.
In the above example, after processing all the bits in the message sequence, the remainder
becomes 0011. Since we need only 3 bits as appended in the message sequence at the beginning,
we take the remainder as 011 only.
This remainder is referred to as CRC bits. CRC bits are appended (or added) to the message
sequence.
Since the remainder becomes zero in the above example, the message sequence is accepted at
the receiver.
Solution:
/24 -> 28 hosts = 256 hosts
Complete address range = 192.168.1.0 to 192.168.1.255
So, the first address is 192.168.1.0
The last address is 192.168.1.255
Note: If usable address asked, then first usable address is 192.168.1.1 and last usable address is
192.168.1.254
So, this can be written as: 192.168.1.0/24 where aggregated IP address is 192.168.1.0 and the
aggregated subnet mask after aggregation is /24 (255.255.255.0).
Solution:
First, separate the entries by next hop. You have to summarize them separately:
129.10.0.0 255.255.0.0 R2
129.10.64.0 255.255.192.0 R3
129.10.63.0 255.255.255.0 R4
129.10.63.0 255.255.255.0 R4
129.10.65.0 255.255.255.0 R4
129.10.66.0 255.255.255.0 R4
Then for each next hop, convert all the network addresses to binary. Here is just the first one:
10000001.00001010.01110000.00000000 = 129.10.112.0
10000001.00001010.01010000.00000000 = 129.10.80.0
Now find all the identical digits, starting from the left. In this case, the digits are all the same
up to the 18th position. So, your new mask is /18. Now, using either address and the /18 mask,
find the network address by ANDing the address and the mask:
25. The administrator has four different departments with different number of hosts. Sales
department has 100 computers, Purchase department has 50 computers, Accounts has 25
computers and Management has 5 computers. How should the administrator perform the
subnetting? Provided Network: 192.168.1.0/24
Solution:
Sales 100
Purchase 50
Accounts 25
Management 5
The complete range of the address in the above provided network is:
192.168.1.0 to 192.168.1.255
Divide the given network consisting 256 hosts into 2 networks with 128 hosts each:
192.168.1.0-192.168.1.127 (192.168.1.0/25)
192.168.1.128-192.168.1.255 (192.168.1.128/25)
The largest network requirement is of 100 hosts for Sales department. For this, we need to
assign subnetwork with 128 hosts.
Dividing this subnetwork, two subnetworks with 64 hosts each are formed.
Our second network requirement is of 50 hosts for Purchase department. We need to assign
subnetwork consisting of 64 hosts.
Dividing this subnetwork, two subnetworks with 32 hosts each are formed.
Dividing this subnetwork, two subnetworks with 16 hosts each are formed.
Our fourth network requirement is of 5 hosts for Management department. We need to assign
subnetwork consisting of 8 hosts, which is sufficient.
So, again dividing the subnetwork 192.168.1.240/28, two subnetworks with 8 hosts each are
formed.
Our fourth network requirement is of 5 hosts for Management department. We need to assign
subnetwork consisting of 8 hosts.
26. If you are given a network 210.25.23.0 with the subnet mask 255.255.255.0, assign the
networks to four different departments with 50 hosts each.
Ans: The complete range of the address in the above provided network is:
210.25.23.0 to 210.25.23.255
Each subnetwork requires 50 usable hosts. So, we need to assign n/w with 64 hosts each to the
four departments.
Since we are using FLSM, the divided networks will be of same size. The given network consists
of 256 hosts which needs to be divided into four subnetworks with 64 hosts each.
First of all, divide the given network range into four equal parts.
Now, as per the requirement, there are four networks required and we can assign the above
networks to each of the four departments.
27. Suppose you are network administrator with provided network 172.16.0.0/24. You need to
manage the entire n/w by dividing into subnetworks so that each of the Development, Sales,
Reception, HR and Production. How would you do so?
Ans: Provided network: 172.16.0.0/24. Here, /24 indicates 256 hosts are contained in the given
network.
There are five departments to address the networks with. So, we divide the given network into 8
networks. 256/8 = 32
Each of the 8 subnetworks will contain 32 hosts each. The divided networks will be:
Now, we can assign 5 of the above 8 subnetworks to the departments of our requirement.
28. If you are assigned an IP address 92.16.1.0/24 and plans to deploy CIDR. Here are some
requirements which you have to fulfill for Subnet A= 120 hosts, Subnet B=60 hosts, Subnet C=30
hosts, Subnet D= 10 hosts, Subnet E= 5. You are also required to calculate subnet mask, range,
netid, broadcast id for each subnet.
Subnet A: 120
Subnet B: 60
Subnet C: 30
Subnet D: 10
Subnet E: 5
The complete range of the address in the above provided network is:
92.16.1.0 to 92.16.1.255
The largest network requirement is of 120 hosts for Subnet A. For this, we need to assign
subnetwork with 128 hosts.
Divide the given network consisting 256 hosts into 2 networks with 128 hosts each:
92.16.1.0-92.16.1.127 (92.16.1.0/25)
92.16.1.128-92.16.1.255 (92.16.1.128/25)
Our second network requirement is of 60 hosts for Subnet B. We need to assign subnetwork
consisting of 64 hosts.
Dividing this subnetwork, two subnetworks with 64 hosts each are formed.
Our fourth network requirement is of 10 hosts for Subnet D. We need to assign subnetwork
consisting of 16 hosts.
Dividing this subnetwork, two subnetworks with 16 hosts each are formed.
Our fifth network requirement is of 5 hosts for Subnet E. We need to assign subnetwork
consisting of 8 hosts.
So, again dividing the subnetwork 92.16.1.240/28, two subnetworks with 8 hosts each are
formed.
We can Assign either of the subnetwork to Subnet E. Let us assign 92.16.1.240/29 to Subnet E.
Requirement:
Divide 192.168.1.0/24,
Assign 192.168.1.0/25 to B.
Remaining: 192.168.1.128/25
Divide 192.168.1.128/25,
Assign 192.168.1.128/26 to C.
Remaining: 192.168.1.192/26
Divide 192.168.1.192/26,
Assign 192.168.1.192/27 to D
Unused: 192.168.1.224/27