Subject: IT334 Data Communication and Computer Network
Class: B.Tech. (CSE - C), Semester: V, Session: MO 2024
Course Objectives
This course enables the students to:
1. To familiarize the student in introducing and exploring various
Network topologies and networking protocols
2. To understand the use of client/server architecture in
application
3. To enable the student on how to approach for networking
problems using networking simulation tools
4. To design reliable servers using both TCP and UDP sockets
5. Familiar with network tools and network programming
Course Outcomes
After the completion of this course, students will be able to:
CO1 Express programming & simulation for networking problems
CO2 Understand various aspects of networking devices
CO3 Design and implement simulation of a simple LAN and a
WAN that meet a specific set of criteria
CO4 Identify the elements of a communication network
CO5 Simulate various OSI layer protocols using C/C++/Java
List of Assignment & Schedule
Assnt. Title(s) Week
No. No.
1 (a) Networking Commands in Windows and Linux: ARP, ipconfig, hostname, 1
nbtstat, netstat, nslookup, ping, pathping, route, tracert, $traceroute,
$tracepath, $dig.
(b) Design a network scenario comprising of 2 subnets with
3 wired nodes (Subnet1 – 2 nodes), 2 L2 switches and 1 Router using
NetSim simulator and understand working of ARP, and IP forwarding
within a LAN and across a router and demonstrate your observations.
2 (a) Write a C/C++ program to implement the data link layer framing 2
methods such as character stuffing and bit stuffing.
(b) Simulate and understand the working of character stuffing and bit
stuffing methods for HDLC frames using NetSim simulator and
demonstrate your observations.
3 (a) Write a C/C++ program to implement Hamming Code generation and 3
three checksum methods: normal checksum, 1’s complement checksum,
2’s complement checksum for error detection.
(b) Simulate and understand the working of Hamming Code method for
single bit error detection and correction using NetSim simulator and
demonstrate your observations.
4 (a) Write a C/C++ program to implement four Cyclic Redundancy Check 4
(CRC) polynomial methods (CRC 12, CRC 16, CRC CCITT and CRC 32)
for error detection.
Generator polynomial (Pattern P(X)):
(a) Simulate and understand the working of CRC error detection code
polynomial methods (CRC 12, CRC 16, CRC CCITT and CRC 32)
using NetSim simulator and demonstrate your observations.
5 Design a Network Scenario with two subnets using NetSim simulator.
Subnet1 consists of 6 wired nodes connected via a switch and the other
subnet consists of 5 wired nodes. Both
the subnets one connected using a Router. Study the flow of traffic in the
Network from a wired node4 in subnet1 to the wired node3 in subnet2.
Simulate and analyze this Network and demonstrate your observations.
6 Open the sample configuration file “Generation_rate_service_rate” in
NetSim to understand traffic generation rate and service rate. Study this
Network scenario by changing different Network parameters and
demonstrate your observations.
Generation Rate (mbps) = (Packet size (bytes)*8)/Inter arrival time (μs)
7 (a)Write a C/C++ program to display Hostname, IPV4 address of your system,
and determine its class (A, B, C, D, or E), Network ID, and Host ID.
(b) Write a C/C++ program to translate dotted decimal IPV4 address of your
system to 32-bit address.
8 (A) Implement Dijkstra’s algorithm to compute the shortest path through a
graph. Analyze this internetwork using NetSim by changing different
network parameters.
(B) Implement Distance Vector routing algorithm. Analyze this internetwork
using NetSim by changing different network parameters.
9 Write a socket program for ECHO command.
10 Write a program to demonstrate client-server application for chat using
TCP/IP.
11 Write a program to perform file transfer in a client-server architecture using
TCP/IP.
12 Write a program to implement client-server application using UDP.
13 Write a socket program to download a webpage using Java.