Unit 1 DCN Notes
Unit 1 DCN Notes
Data communication is the process of transmitting data (such as text, images, videos,
etc.) between two or more devices. These devices could be computers, smartphones,
tablets, or any other devices that need to send or receive information over a network.
In simpler terms, data communication is like sending a message from one person to
another. But instead of people, it’s devices communicating with each other.
To understand how data communication works, let's break it down into 3 basic parts:
1. Sender:
○ The sender is the device that sends the data. It could be your phone,
computer, or any device that has information to share.
2. Receiver:
○ The receiver is the device that receives the data. It could be another
computer, a server, or even a printer. The receiver gets the data and
processes it.
3. Transmission Medium:
○ The transmission medium is the path through which data travels. This
could be a physical cable (like Ethernet or fiber optic cables) or wireless
signals (like Wi-Fi or Bluetooth).
1. Simplex Communication:
○ Data flows in one direction only.
○ Example: A keyboard sending data to a computer. The keyboard doesn’t
expect to receive anything back.
2. Half-Duplex Communication:
○ Data can flow in both directions, but not at the same time.
○ Example: Walkie-talkies, where one person speaks and the other listens,
then they switch.
3. Full-Duplex Communication:
1. Accuracy: The data sent must be accurate, without any errors. If there’s an error
in transmission, the receiver might not understand the message correctly.
2. Speed: This refers to how fast data can be transmitted from the sender to the
receiver. Higher speed means faster communication.
4. Cost: The cost of setting up and maintaining the communication system (like
internet costs, or hardware costs like routers and cables).
● Definition: Data flows in only one direction. There’s no way for the receiver to
send anything back to the sender.
● Example:
○ A keyboard sending data to your computer. When you press a key, the
computer receives it, but the keyboard doesn’t get any response.
○ Radio broadcasting. The radio station sends signals to your radio, but
your radio can’t send data back to the station.
● How it works: The sender transmits the data, and the receiver just receives it.
No two-way exchange happens.
● Definition: Data can flow in both directions, but only one direction at a time.
The sender and receiver take turns to communicate.
● Example:
○ Walkie-talkies: One person speaks, and the other listens. After the first
person finishes, they let the other person speak.
○ Two-way radios: Similar to walkie-talkies, only one side can talk at any
given time.
● How it works: The sender and receiver switch roles, so while communication is
two-way, only one party can talk at a time.
● Definition: Data flows in both directions simultaneously. Both the sender and
the receiver can send and receive data at the same time.
● Example:
○ Telephone calls: Both people can talk and listen at the same time.
○ Video calls: During a video call (e.g., Zoom), both people can talk, see
each other, and share data (audio and video) simultaneously.
● How it works: Both devices communicate in both directions at once, allowing for
real-time, continuous interaction.
Network Fundamentals
What is a Network?
A network is like a group of friends who all know each other and can talk to each other. In this
case, the "friends" are devices like computers, smartphones, printers, or even your TV. These
devices are connected so they can share information, like files, data, or even internet access.
Types of Networks:
1. Local Area Network (LAN):
○A LAN is a small network that connects devices within a small area like a
home, office, or school.
○ Example: The Wi-Fi network in your home is a LAN, where all your devices
(laptop, phone, tablet) are connected to each other.
2. Wide Area Network (WAN):
○A WAN covers a larger area—it can be a city, country, or even the entire
world.
○ Example: The internet is the biggest WAN, connecting computers, phones, and
other devices around the world.
3. Personal Area Network (PAN):
○ A PAN is a very small network that connects devices close to one person, usually
within a few meters.
○ Example: Connecting your smartphone to your Bluetooth headphones or your
smartwatch using Bluetooth.
3. Network Devices:
● Router: Think of a router as a traffic manager. It decides where the data should go
within the network. It connects different networks, such as your home network to the
internet.
● Switch: A switch is like a hub within a local network that connects multiple devices,
allowing them to talk to each other. It only sends data to the right device (unlike a hub
that sends data to all devices).
● Modem: The modem connects your home network to the internet. It translates the data
from the internet so your devices can understand it.
● Access Point (AP): This device allows wireless devices (like smartphones or laptops)
to connect to a wired network.
7. Bandwidth:
Bandwidth is the capacity of a network to transmit data. The higher the bandwidth, the faster
the data can be transmitted.
● Imagine a highway. A wide road with many lanes means more cars (data) can travel at
once. A narrow road means fewer cars (less data) can travel at once.
8. Security in Networks:
Security is important to keep your data safe when it travels over a network. Some methods to
protect networks are:
● Firewalls: A security system that monitors and controls incoming and outgoing network
traffic.
● Encryption: This is the process of scrambling data so that even if someone intercepts
it, they can’t read it without a key.
9. Internet:
The Internet is simply a global network of connected computers. It connects millions (even
billions) of devices around the world and lets us access websites, send emails, watch videos,
and more.
Classification of Networks
Networks can be classified based on geographical area, size, and the purpose they
serve. Here’s an easy-to-understand breakdown of the different types of networks:
● Key Features:
● Key Features:
● Definition: A MAN covers a larger area than a LAN but is smaller than a WAN,
typically a city or large campus.
● Key Features:
2. Based on Ownership and Purpose (How the network is used and who
owns it)
a) Personal Area Network (PAN)
● Key Features:
● Key Features:
● Key Features:
● Definition: A wired network uses physical cables (like Ethernet cables, fiber
optics) to connect devices.
● Key Features:
○ Stable and Secure: Less prone to interference and offers a more stable
connection.
○ High-speed: Wired networks usually offer faster speeds compared to
wireless networks.
● Example: The network in an office where all the computers are connected
using Ethernet cables.
● Key Features:
○ Mobile and Flexible: No need for cables; devices can connect wirelessly.
○ Slower than Wired: Wireless networks can be slower and may face
interference.
● Example: The Wi-Fi network in your home or Bluetooth connections between
devices.
1. By Area:
1. What is a Network?
A network is like a group of friends who all know each other and can talk to each
other. In this case, the "friends" are devices like computers, smartphones, printers, or
even your TV. These devices are connected so they can share information, like files,
data, or even internet access.
2. Types of Networks:
○ A LAN is a small network that connects devices within a small area like
a home, office, or school.
○ Example: The Wi-Fi network in your home is a LAN, where all your
devices (laptop, phone, tablet) are connected to each other.
2. Wide Area Network (WAN):
○ A PAN is a very small network that connects devices close to one person,
usually within a few meters.
○ Example: Connecting your smartphone to your Bluetooth headphones or
your smartwatch using Bluetooth.
3. Network Devices:
● Router: Think of a router as a traffic manager. It decides where the data should
go within the network. It connects different networks, such as your home network
to the internet.
● Switch: A switch is like a hub within a local network that connects multiple
devices, allowing them to talk to each other. It only sends data to the right device
(unlike a hub that sends data to all devices).
● Modem: The modem connects your home network to the internet. It translates
the data from the internet so your devices can understand it.
● Access Point (AP): This device allows wireless devices (like smartphones or
laptops) to connect to a wired network.
An IP address is a unique address for each device on a network, kind of like your
home address. It tells other devices where to send data.
6. Data Transmission:
Data travels through networks in small packets. These packets contain bits of
information that travel over wires or through the air (in the case of Wi-Fi). Think of it like
sending a message in pieces, and then putting it all together at the other end.
7. Bandwidth:
Bandwidth is the capacity of a network to transmit data. The higher the bandwidth, the
faster the data can be transmitted.
● Imagine a highway. A wide road with many lanes means more cars (data) can
travel at once. A narrow road means fewer cars (less data) can travel at once.
8. Security in Networks:
Security is important to keep your data safe when it travels over a network. Some
methods to protect networks are:
● Firewalls: A security system that monitors and controls incoming and outgoing
network traffic.
● Encryption: This is the process of scrambling data so that even if someone
intercepts it, they can’t read it without a key.
9. Internet:
A computer network is a system that connects computers and other devices (like
printers, servers, smartphones) to each other so that they can share data, resources,
and communicate.
For example:
● Devices: These are the computers, laptops, phones, printers, or any other
equipment that connects to the network. They are sometimes called nodes.
● Transmission Medium: This is the path through which data travels. It could be:
1. LAN (Local Area Network): A small network that connects devices within a
small area like a home or office.
2. WAN (Wide Area Network): A network that covers a larger area, such as a city,
country, or global scale (e.g., the internet).
3. PAN (Personal Area Network): A very small network used to connect
personal devices like smartphones, laptops, and tablets over short distances
(usually Bluetooth).
When you send data (like an email or a file), the information is broken into small pieces
called packets. These packets are sent over the network and reassembled by the
receiver.
Network Applications
Network applications are simply the programs and services that use computer
networks to perform tasks like browsing the internet, sending emails, or sharing files.
These applications depend on networks to work, so they rely on devices and protocols
to communicate.
● What It Is: Browsing the internet is one of the most common network
applications.
● How It Works: When you type a website address (URL) into your browser, the
browser sends a request to the web server for the page. The server responds by
sending the web page to your browser, which then displays it.
● What It Is: Email allows users to send and receive electronic messages.
● How It Works: When you send an email, it goes through the email server (e.g.,
Gmail server) and is delivered to the receiver's inbox. The receiver can then read
the message and reply.
● Protocols Used: SMTP (for sending emails), IMAP or POP3 (for receiving
emails).
● What It Is: File transfer allows you to move files from one device to another over
a network.
● How It Works: You can upload a file from your computer to a cloud storage
service like Google Drive or send it to another computer using FTP.
● Protocols Used: FTP (File Transfer Protocol), HTTP (for web-based services
like Google Drive).
4. Online Gaming (e.g., Fortnite, Minecraft)
● What It Is: Online games allow players to connect with each other over the
internet and play in real time.
● How It Works: Game data (player movements, actions) is sent between devices
in real-time over the network.
● Protocols Used: UDP (User Datagram Protocol), which is faster and used in
real-time applications like games.
● What It Is: Video conferencing allows people to communicate with each other via
video and audio in real-time, even if they are far apart.
● How It Works: Your camera captures video, and your microphone captures
sound. This data is sent over the network to the other person’s device.
● What It Is: Remote desktop applications allow you to access and control a
computer remotely.
● How It Works: You connect to a remote server over the internet, and it displays
the other computer’s screen. You can then control that computer as if you were
sitting right in front of it.
Summary:
● Example: A traditional landline phone uses analog signals to carry your voice.
When you speak, the sound waves are converted into analog signals and sent
over the phone line.
1. Better Quality: Digital signals are more accurate and less affected by noise
(unwanted signals). This means clearer, crisper sound, better video quality, and
fewer interruptions in data transfer.
2. Easy to Store: Digital data can be easily stored, copied, and manipulated
without losing quality. Think about how you can save songs, pictures, and videos
on your phone—these are all digital files.
4. Error Correction: Digital signals can be checked for errors and corrected. If
some data gets lost or corrupted, it’s easier to detect and fix it in digital form.
Once digital data is transmitted (over the internet, or a phone line, etc.), it needs to be
converted back into analog form for the receiver to understand. For example, when you
hear someone’s voice on the phone, the digital signal you receive is converted back into
an analog sound wave that your ears can hear.
● Digital Transmission: Sends data as discrete bits (1s and 0s). Provides better
quality, faster speeds, and error correction. This is used in modern
technologies like the internet, digital phones, and streaming.
● The conversion from analog to digital is done by sampling, quantizing, and
encoding, making data more efficient and reliable.