Assignment 2
Assignment 2
2. 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.
3. Show in the figure below a sine wave that has the frequency of 1000 Hz.
5. Design a three-stage space-division switch with N = 100. Use 10 crossbars at the first
and third stages and 4 crossbars at the middle stage.
a. Draw the configuration diagram.
b. Calculate the total number of crosspoints.
c. Find the possible number of simultaneous connections.
d. Find the possible number of simultaneous connections if we use a single
crossbar (100 × 100).
e. Find the blocking factor, the ratio of the number of connections in part c and in
part d.
Problems on IP Addresses
6. For the following IP Addresses-
a). 1.2.3.4
b). 10.15.20.60
c). 130.1.2.3
d). 150.0.150.150
e). 200.1.10.100
f). 220.15.1.10
g). 250.0.1.2
h). 300.1.2.3
Identify the Class, Network IP Address, Direct broadcast address and Limited
broadcast address of each IP Address.
7. A host with IP Address 200.100.1.1 wants to send a packet to all the hosts in the
same network.
What will be-
a). Source IP Address
b). Destination IP Address
8. How many bits are allocated for Network ID and Host ID in 23.192.157.234 address?
10. Suppose that instead of using 16 bits for network part of a class B Address, 20 bits
have been used. How many class B networks would have been possible?
Problems on Subnetting
15. Consider-
a). We have a big single network having IP Address 200.1.2.0.
b). We want to do subnetting and divide this network into 4 subnets.
16. Consider-
a). We have a big single network having IP Address 200.1.2.0.
b). We want to do subnetting and divide this network into 3 subnets.
17. Suppose a network with IP Address 192.16.0.0. is divided into 2 subnets, find
number of hosts per subnet.
Also for the first subnet, find-
a). Subnet Address
b). First Host ID
c). Last Host ID
d). Broadcast Address
Identify which devices will receive the packet if the destination IP address and the type
of IP address each is (unicast, broadcast or multicast).
a. 192.168.100.2
b. 225.5.77.126
c. 192.168.100.255
Problems on TCP
23. Consider a TCP connection that, at time 0, is in the congestion avoidance phase with
a window size equal to 6 MSS, and then sends packets {1, 2, 3, .., 6}. (The connection
has sent packet before that were properly acknowledged. The packet transmission time
of a single packet is Ptransmission=1 sec, while RTT = 8 sec and timeout = 24 sec.)
The sender does not implement fast retransmit and fast recovery, and after every
timeout it restarts in slow start.
a. Now, assume packets 1 and 2 are lost. Draw a timing diagram that shows the
transmission of the first 8 packets by completing the figure below. Indicate the
significant events, such as start of slow start (SS), or of congestion avoidance
(CA), and the relevant congestion window sizes. Also, calculate how long,
overall, it takes to transmit those 8 packets.
b. Repeat the previous problem assuming that the host now uses fast retransmit
and fast recovery.
Problem on DNS
25.
User 1 and User 2 are connected to the internet. User 1 is located in India and User 2
is located in Kenya. The Web Server is located in US and the DNS Server in Singapore.
a. User 2 pings www.tcpipguru.com. Is the DNS Server required for the ping need
to be successful?
b. How can a HTTP data be sent or received from user 1 to the Web Server.
c. User 1 and User 2 simultaneously types www.tcpipguru.com on the browser of
the respective computers. How does the server differentiate between the
connections?
d. Will the communication be disrupted between the Web Server and the users if
the DNS Server goes down during the data transfer between the web server and
the user?
User 1 opens two instances of the website www.tcpipguru.com on his computer.
How does the Web Server differentiate between the communications?