UNIT-1
Introduction to Networking and Data Communication
Introduction to Networking and Data Communication
Networking refers to the process of connecting two or more computers or devices so they can share resources,
exchange data, and communicate with each other.
A computer network allows:
•Sharing of data (files, documents)
•Sharing of hardware (printers, scanners)
•Sharing of software (applications)
•Communication (email, messaging, video conferencing)
•Centralized data management
Examples of networks:
•School computer lab
•Office network
•Home Wi-Fi network
•The Internet
Data Communication is the exchange of data between two devices through a transmission medium.
For communication to occur, both sender and receiver must understand the same rules (protocols).
Key elements of data communication:
[Link] – the information to be sent
[Link] – device sending the message
[Link] – device receiving the message
[Link] – the physical path (wire, fiber, radio waves)
[Link] – rules governing communication
Need of Data Communication
Data communication is essential because modern computers, devices, and organizations must exchange data
quickly, accurately, and efficiently. The main reasons why data communication is needed are:
[Link] Sharing
•Data communication allows multiple devices to share resources such as printers, scanners, storage, and
applications.
•This reduces cost and improves efficiency.
Example: Many computers in an office sharing one printer.
[Link] Sharing and Exchange
•It enables fast and reliable sharing of data between devices and users.
•Helps employees/users access common files and databases in real-time.
Example: Accessing shared documents on Google Drive or office servers.
[Link]
•Allows users to communicate using emails, chats, video calls, social media, etc.
•Essential for collaboration and teamwork.
Example: Online meetings through Zoom or Teams.
[Link] Access
•Users can access systems, servers, and applications from anywhere.
•Supports remote work, telemedicine, online banking, e-commerce.
Example: Working from home or checking bank balance online.
[Link] and Efficient Data Transfer
•Allows quick transmission of large amounts of data across the world.
•Saves time and increases productivity.
Example: Uploading and downloading files within seconds.
[Link] and Control
•Data communication supports automatic monitoring and control systems.
•Used in smart homes, industrial automation, IoT devices.
Example: Sensors sending data to a central server.
[Link] Reduction
• Eliminates the need for physical movement of people or documents.
• Reduces hardware cost through shared devices.
Example: Sending digital documents instead of postal mail.
[Link] Data Management
•Helps maintain a centralized database for all users.
•Improves data consistency, security, and backup.
Example: Banks storing and accessing customer data on central servers.
[Link] and Online Services
•Data communication forms the basis of the Internet.
•Supports web browsing, cloud computing, online transactions, social networks.
Example: Using Facebook, YouTube, Gmail, online classes.
Data and Signal
Data
•Data refers to raw facts, figures, or information that is to be communicated.
•It can be in the form of text, numbers, images, audio, or video.
Examples:
•Text in a document
•Audio of a phone call
•Video on YouTube
Signal
•A signal is a physical representation of data used for transmission over a communication medium.
•Signals carry data from sender to receiver.
Relationship:
Data is the information.
Signal is the form in which data is transmitted.
Properties of a Signal
Signals have following main characteristics:
[Link] (A)
•The height or strength of the signal.
•Determines the power or loudness.
•Measured in volts (V).
Example: Louder sound = higher amplitude.
[Link] (f)
•Number of cycles of a signal in one second.
•Measured in Hertz (Hz).
Formula:
f=1/Time period
Example: 50 Hz means the signal completes 50 cycles per second.
[Link] (ϕ)
•Describes the position of the waveform relative to time.
•Measured in degrees or radians.
Example:
A 90° phase shift means the signal has moved one-quarter of a cycle.
[Link] (λ)
•Distance the signal travels during one cycle.
•Related to frequency by:
λ=c/f
Where c = speed of light.
[Link]
•The range of frequencies a signal occupies.
•More bandwidth = higher data rate.
Analog and Digital Signal
A. Analog Signal
•Continuous signal that varies smoothly over time.
•Has infinite values between minimum and maximum.
•Represented as a sine wave.
Examples:
•Human voice
•Radio signals
•Temperature readings
Characteristics:
•Smooth, continuous waveform
•More affected by noise
•Suitable for audio/video
[Link] Signal
•Non-continuous (discrete) signal.
•Has only two levels:
• 1 (High)
• 0 (Low)
•Represented as square waves.
Examples:
•Data in computers
•Digital circuits
•Binary transmission over the internet
Characteristics:
•Discrete steps
•Less affected by noise
•More secure, reliable
•Easy to store and process
Difference Between Analog and Digital Signals
Analog Signal Digital Signal
Continuous Discrete
Infinite values Only 0 and 1
Represented by sine waves Represented by square waves
More affected by noise Less affected by noise
Harder to process Easier to process
Used in audio, radio Used in computers, internet
Introduction to Computer Network
A computer network is a system in which two or more computers or electronic devices are connected together
to share resources, exchange data, and communicate with each other.
The connection can be made using:
•Cables (wired)
•Wireless systems (Wi-Fi, radio waves)
•Optical fiber
A computer network allows devices to communicate by following communication rules called protocols.
Examples of Networks
•Home Wi-Fi network
•Office computer network
•School/college LAN
•The Internet
Need of Computer Networking
Computer networking is needed because modern organizations and users require fast, efficient, and reliable
communication and resource sharing.
[Link] Sharing
•Allows multiple computers to share printers, scanners, storage devices, and applications.
•Reduces hardware and software cost.
[Link] and Information Sharing
•Users can share files, documents, databases, and information easily.
[Link]
•Supports email, instant messaging, video conferencing, VoIP calls.
•Helps people and organizations collaborate.
[Link] Access
•Users can access systems and data from anywhere.
•Useful for remote work, online banking, cloud services.
5. Centralized Management
•Data, software updates, and security can be managed from one central server.
[Link] Performance
•Networking allows load sharing and parallel processing.
[Link] and Recovery
•Centralized systems provide better backup, data recovery, and security.
[Link] Efficiency
•Sharing resources and services reduces operating cost.
Advantages of Computer Networking
•Enables file and data sharing among users.
•Supports hardware sharing (printers, scanners, storage).
•Provides faster and easier communication (email, chat, video calls).
•Allows internet sharing across multiple devices.
•Improves data backup and recovery through centralized servers.
•Reduces overall cost by sharing resources.
•Supports remote access to files and applications.
•Enables collaboration within teams and organizations.
Types of Computer Networks
Computer networks can be classified based on the geographical area they cover. The four major types are:
PAN – Personal Area Network
A PAN is a small network used for personal devices within a very short range (a few meters).
Coverage area is up to 1 to 10 meters.
Examples:
•Bluetooth connection between mobile and earphones
•Hotspot between mobile and laptop
•Smartwatch connected to smartphone
Features:
•Very small range
•Personal use
•Low power consumption
LAN – Local Area Network
A LAN is a network that connects computers and devices within a small geographical area such as a home,
school, office, or building. Coverage area is up to a few hundred meters to a few kilometers.
Features:
• High data transfer speed
• Private ownership
• Easy to install and maintain
Examples:
• School computer lab
• Office network
• Home Wi-Fi
MAN – Metropolitan Area Network
MAN is a network that covers a city or a large campus by connecting multiple LANs.
Coverage area is up to 5 to 50 kilometers
Examples:
•Cable TV networks in a city
•Internet service providers (ISPs)
•City-wide Wi-Fi networks
Features:
•Larger than LAN but smaller than WAN
•Moderate speed
•Often maintained by telecom companies
MAN – Metropolitan Area Network
MAN is a network that covers a city or a large campus by connecting multiple LANs.
Coverage area is up to 5 to 50 kilometers
Examples:
•Cable TV networks in a city
•Internet service providers (ISPs)
Features:
•Larger than LAN but smaller than WAN
•Moderate speed
•Often maintained by telecom companies
WAN – Wide Area Network
WAN covers a very large geographical area such as countries or continents. It connects multiple MANs and LANs.
Coverage area is more than 100 kilometers to worldwide
Examples:
•The Internet (largest WAN)
•Bank ATM networks
•International business networks
Features:
•Long-distance communication
•Lower data speed compared to LAN
•Uses satellites, optical fiber, microwave links
•Public or commercial ownership
Types of Network Models
In the world of network architecture, two fundamental models are widely utilized to structure data exchange and
resource sharing. For the purpose of this discussion, two types of networks are available; the Client-Server
Network and the Peer-to-Peer Network.
Client–Server Network Model
A Client–Server model is a network architecture where multiple client devices request services, and a central
server provides those services.
How it Works
•Clients send requests.
•Server processes and responds.
•Server manages resources, data, security, and applications.
Features
•Centralized control
•High security
•Scalable (easy to add more clients)
Advantages
•Centralized backup and security Disadvantages
•Better performance and reliability •Server failure = network down (single point of failure)
•Easier network administration •Requires expensive hardware (servers)
•Faster resource sharing •Needs trained administrators
Examples
•School/college computer labs, Banking system, Web servers & email servers
Peer-to-Peer (P2P) Network Model
A Peer-to-Peer model is a decentralized network where each computer (peer) can act as both client and server.
How it Works
•All devices share resources directly with each other.
•No central server.
•Each peer contributes storage, processing, or services.
Features
•No central control
•Low cost
•Simple to set up
•All peers have equal rights
Advantages Disadvantages
•Very easy to install and manage •Low security
•No need for dedicated server •Difficult to manage when many peers
•Low cost (ideal for home networks) •Slower performance
•Resource sharing is flexible •No central backup or control
Examples
•Home Wi-Fi network
•File sharing systems (BitTorrent)
•Small office networks
Network Topologies
Network topology refers to the physical or logical arrangement of devices (nodes) and how they are
connected.
There are five main types:
1. Bus Topology
All devices are connected to a single central cable called a backbone or bus.
Features:
•Simple and inexpensive
•Uses a single communication line
•Cable length is limited
Advantages:
•Easy to install
•Requires less cable
•Good for small networks
Disadvantages:
•If the main cable fails, the whole network goes down
•Slow performance when traffic increases
•Difficult to troubleshoot
Example:
•Early Ethernet networks
2. Ring Topology
All devices are connected in a circular loop, and data travels in one direction (or both, in dual-ring).
Features:
•Each device has exactly two neighbors
•Data travels through each node until it reaches its destination
Advantages:
•Equal access for all devices
•Good performance under heavy load
Disadvantages:
•One node failure can break the entire ring
•Difficult to add or remove devices
Example: Token Ring networks
Mesh Topology
Every device is connected to every other device (full mesh) or partially connected (partial mesh).
Features:
•Multiple communication paths
•High reliability
Advantages:
•No single point of failure
•High performance and security
•Data can take the shortest path
Disadvantages:
•Expensive due to many cables
•Complex installation and maintenance
Example:
•WAN or Internet backbone
•Military communication networks
Star Topology
All devices are connected to a central device (hub, switch, or router).
Features:
•Central point of communication
•Devices communicate through the central hub
Advantages:
•Easy to install and manage
•Failure of one device does NOT affect the network
•Easy to add or remove nodes
Disadvantages:
•If the central hub fails, the entire network stops
•Requires more cable
Example:
•Modern Ethernet networks
Hybrid Topology
Combination of two or more topologies (e.g., star-bus, star-ring).
Features:
•Flexible and scalable
•Used in large organizations
Advantages:
•Can be designed according to requirements
•More robust than single topologies
Disadvantages:
•Expensive
•Complex to design and manage
Example:
•Large corporate networks
•University networks