Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
552 views

Assignment 2

This document contains 25 questions related to data communication and networking concepts such as data signals, switching techniques, IP addressing, subnetting, TCP, sliding window flow control, and DNS. The questions cover topics like bandwidth calculation, digital circuit switching, classful and classless IP addressing, subnet mask calculation, TCP congestion control, sliding window protocols, and DNS name resolution. Students are asked to identify network parameters, draw diagrams, and calculate values for problems related to these networking concepts.

Uploaded by

Aninda Kanjilal
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
552 views

Assignment 2

This document contains 25 questions related to data communication and networking concepts such as data signals, switching techniques, IP addressing, subnetting, TCP, sliding window flow control, and DNS. The questions cover topics like bandwidth calculation, digital circuit switching, classful and classless IP addressing, subnet mask calculation, TCP congestion control, sliding window protocols, and DNS name resolution. Students are asked to identify network parameters, draw diagrams, and calculate values for problems related to these networking concepts.

Uploaded by

Aninda Kanjilal
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

MCA, Fall Semester, 2019-20


Assignment Question-2
Course Name: Data Communication and Networking Duration: 1.30
Course Code: ITA5003 Max. Marks : 50
Slot : C1+TC1, C2+TC2
Faculty : S.Meenatchi
Problems on Data Signals
1. What is the bandwidth of a signal that can be decomposed into five sine waves with
frequencies at 0, 200, 500, 1000, and 2000 Hz? All peak amplitudes are the same. Draw
the bandwidth.

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.

Problems on Switching Techniques


4. A path in a digital circuit-switched network has a data rate of 1 Mbps. The exchange
of 1000 bits is required for the setup and teardown phases. The distance between two
parties is 5000 km. Answer the following questions if the propagation speed is 2 × 108
m:
a. What is the total delay if 1000 bits of data are exchanged during the data-
transfer phase?
b. What is the total delay if 1,000,000 bits of data are exchanged during the data-
transfer phase?

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?

9. What is the network ID of the IP Address 230.100.123.70?

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?

11. What is the default mask for 192.0.46.10?


12. Given the CIDR representation 20.10.30.35 / 27. Find the range of IP Addresses in
the CIDR block.
13. In classful addressing, the IP address space is divided into 5 classes. Indicate the
classes of each of the following address expressed in binary. Indicate how the class
was identified.
(i). 00000001 00001011 00001011 11101111
(ii). 11000001 10000011 00011011 11111111
(iii). 10100111 11011011 10001011 01101111
(iv). 11110011 10011011 11111011 00001111

14. Consider a block of IP Addresses ranging from 100.1.2.32 to 100.1.2.47.


a). Is it a CIDR block?
b). If yes, give the CIDR representation.

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

18. If the subnet mask 255.255.255.128 belongs to class C, find-


a). Number of subnets
b). Number of hosts in each subnet

19. Consider the following diagram and the IP addresses shown.

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

20. Considering IPv4 classless addressing, an organization is granted a block of addresses


with the beginning address 14.24.74.0/24. The organization needs to have 3 subblocks
of addresses to use in its three subnets as shown below:
a. One subblock of 120 addresses.
b. One subblock of 60 addresses.
c. One subblock of 10 addresses.
Indicate the network IP address and the subnet mask for each of the subblocks.

21. Consider the following subnet masks-


(i). 255.0.0.0
(ii). 255.128.0.0
(iii). 255.192.0.0
(iv). 255.240.0.0
(v). 255.255.0.0
(vi). 255.255.254.0
(vii). 255.255.255.0
(viii). 255.255.255.224
(ix). 225.255.255.240

For each subnet mask, find-


a). Number of hosts per subnet
b). Number of subnets if subnet mask belongs to class A
c). Number of subnets if subnet mask belongs to class B
d). Number of subnets if subnet mask belongs to class C
e). Number of subnets if total 10 bits are used for the global network ID

22. An organization is granted a block of addresses with the beginning address


14.24.74.0/24 from the ISP. The organization needs to have 11 subnets as per the
requirement given below.
a. Two subnets, each with 64 addresses.
b. Two subnets, each with 32 addresses.
c. Three subnets, each with 16 addresses.
d. Four subnets, each with 4 addresses.
Design the subnets and estimate it along with the slash notation. Compute the number
of addresses that may be available after these allocations.

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 sliding window


24. For the given sequence, using sliding window flow control draw the sliding windows
of size 7 between the sender A and receiver B,
a. Frames 0, 1 and 2 are sent; frames 0 through 2 are acknowledged.
b. Frame 3 is sent; frame 3 is acknowledged.
c. Frames 4 and 5 are sent; frames 4 and 5 are acknowledged.
d. Frames 6, 7, 0 and 1 are sent; frames 6 through 1 are acknowledged.
e. Frames 2, 3, 4 and 5 are sent; frames 2 through 5 are acknowledged.

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?

You might also like