COMPUTER NETWORKS
Complete Study Notes
B.Tech Computer Science and Engineering (CSE)
Covers All 5 Units | Exam-Oriented | Concept + Important Points
Prepared for B.Tech CSE students following standard JNTUH syllabus. Suitable for all
universities with Computer Networks curriculum.
, CONTENTS
Unit 1 – Introduction, OSI Model & Physical Layer
Unit 2 – Data Link Layer, Framing & MAC Protocols
Unit 3 – Network Layer, Routing Algorithms & Congestion Control
Unit 4 – Internetworking & Transport Layer (TCP & UDP)
Unit 5 – Application Layer Protocols & Network Security
2
,UNIT 1
Introduction to Computer Networks & Physical Layer
Computer networking refers to interconnected computing devices that can exchange data and
share resources with each other.
Introduction: Uses of Computer Networks
1.1 Uses of Computer Networks
Computer networks are integral to modern life, facilitating communication, resource sharing, and
access to information across various environments. The primary uses of networks include
business applications, home applications, mobile users, and addressing social issues.
1.1.1 Business Applications
Resource Sharing: Networks allow businesses to share hardware resources (e.g., printers,
backup systems) and software/data resources (e.g., customer records, product information).
Information Sharing: Sharing information is even more critical than physical resources.
Businesses depend on networks to access and manage customer records, inventory, financial
data, etc.
Example: Banks and manufacturing plants rely on networks to function. Downtime can severely
disrupt operations.
Geographically Distributed Networks: Large businesses may have employees and computers
spread across multiple locations.
Virtual Private Networks (VPNs) allow companies to connect remote offices and create a single,
secure network.
Key Point: VPNs are used to securely connect geographically distributed offices into a single
network.
1.1.2 Home Applications
Evolution of Home Networks: Initially, computers at home were used for word processing and
gaming. Over time, Internet access became the primary driver for purchasing home computers.
1
,Entertainment and Connectivity: Modern homes are equipped with networked consumer
electronics (e.g., set-top boxes, game consoles) that provide Internet access and entertainment
options such as music, photos, and videos.
Internet for Home Users: Home users can access information, communicate via email, and
engage in e-commerce. The Internet has become a hub for accessing knowledge and services.
Key Point: Metcalfe’s Law suggests that the value of a network is proportional to the square of
its users, explaining the Internet’s widespread popularity.
1.1.3 Mobile Users
Rise of Mobile Devices: Laptops and handheld devices have surpassed desktop computers in
sales, driven by the need for portability and on-the-go connectivity.
Mobile Internet Access: Mobile users use their devices to send/receive emails, browse the web,
and access multimedia. Wireless networks, such as cellular networks and Wi-Fi hotspots, allow
users to stay connected while moving.
Wireless Networks: Wireless technology (e.g., 802.11 Wi-Fi standards) provides Internet access
in cafes, airports, hotels, and public spaces.
Key Point: Mobile devices are crucial for staying connected while traveling, and wireless
hotspots enable Internet access on the go.
1.1.4 Social Issues
Freedom and Challenges: Networks provide a platform for individuals to distribute content and
express their views widely. However, this freedom comes with challenges such as managing
political, social, and ethical issues.
Impact of Social Media: Social networks and content-sharing platforms allow users to discuss
and share opinions on various topics. However, controversial topics can lead to disputes and
the spread of misinformation.
Key Point: While networks foster communication and content sharing, they also introduce
complex social and ethical challenges.
Conclusion: Importance of Computer Networks
Computer networks are essential for businesses, homes, and mobile users, enabling
communication, information sharing, and remote access. However, they also pose significant
social and ethical challenges that must be addressed.
2
,Notes on "NETWORK HARDWARE"
Definition of Network Hardware
Network hardware refers to the physical devices required for communication and interaction
between devices on a computer network. This includes components like routers, switches,
access points, and other equipment that enable data transmission and connectivity across
various network types.
1.2.1 Personal Area Networks (PAN)
Definition: A PAN is a small network used for connecting personal devices within a short range,
typically within the reach of a person.
Examples: Commonly used to connect devices like computers, smartphones, tablets, and
peripherals (e.g., keyboards, mice, printers) using wireless technologies like Bluetooth.
Range: Typically covers a range of about 10 meters (30 feet).
1.2.2 Local Area Networks (LAN)
3
, Definition: A LAN is a privately owned network that operates within a limited geographical area,
such as a single building or a group of buildings.
Usage: Widely used in homes, offices, and schools to connect personal computers and
consumer electronics, allowing them to share resources and exchange information.
Wireless LANs (Wi-Fi):
Standard: IEEE 802.11, commonly known as Wi-Fi.
Speed: Ranges from 1 to several hundred megabits per second (Mbps).
Range: Operates within a few hundred meters (approximately 100-200 meters).
1.2.3 Metropolitan Area Networks (MAN)
Definition: A MAN covers a larger geographical area than a LAN, typically spanning an entire
city or a large metropolitan area.
Examples: Cable television networks and municipal Wi-Fi networks are common examples of
MANs.
Modern Usage: MANs have evolved to provide Internet access in addition to traditional
broadcasting services.
4