Data Communication & Computer Networks — Chapter 1: Introduction | Exam Preparation 2024
DATA COMMUNICATION &
COMPUTER NETWORKS
Chapter 1: Introduction
Long Answer Questions & Model Answers
10–15 Marks Each | 2nd Semester Exam Preparation
Topics Covered in This Document:
1. Introduction to Data Communication — Definition, Characteristics & Components
2. Five Components of Data Communication System
3. Direction of Data Flow — Simplex, Half Duplex, Full Duplex
4. Network Topology — Bus, Star, Ring, Mesh, Tree, Hybrid
5. Categories of Networks — LAN, MAN, WAN (Comparison)
6. Protocols — Definition, Importance & Key Elements (Syntax, Semantics, Timing)
7. Transmission Media — Guided (Wired) vs Unguided (Wireless)
Q1. What is Data Communication? Explain its fundamental characteristics and
importance.
[10–15 Marks]
Answer:
Definition of Data Communication
Data communication is the process of transferring data (information) from one device to another
through a transmission medium (wired or wireless). For data communication to occur, the
communicating devices must be part of a communication system made up of hardware and software.
Data communication is the backbone of modern networks — from a simple USB cable connecting a
mouse to the internet connecting billions of devices worldwide.
Fundamental Characteristics of Data Communication
For data communication to be effective and useful, the system must deliver data with the following four
key characteristics:
• Delivery: The system must deliver data to the correct destination. Data must reach the intended
recipient and no one else.
• Accuracy: The data delivered must be accurate and error-free. Corrupted data is often worse
than no data — incorrect bank transactions, medical records, or commands can have serious
consequences.
2nd Semester | Data Communication & Computer Networks Page 1
Data Communication & Computer Networks — Chapter 1: Introduction | Exam Preparation 2024
• Timeliness: The data must be delivered in a timely manner. For real-time applications like video
calls, audio streaming, and live broadcasts, data delivered too late is useless. This is called
'jitter' when timing is inconsistent.
• Jitter: Jitter refers to the variation in packet arrival time. In voice and video communication,
uneven delivery of packets causes choppy audio or video. A good communication system
minimizes jitter.
Components of a Data Communication System
Every data communication system consists of five fundamental components that work together to
transfer data:
• Message: The information (data) to be communicated — text, numbers, images, audio, or video.
• Sender: The device that sends the data — a computer, smartphone, camera, or any other
device.
• Receiver: The device that receives the data — a printer, computer, TV, or any other device.
• Transmission Medium: The physical path through which data travels — copper wire, fiber optic
cable, radio waves, or satellite links.
• Protocol: A set of rules that govern data communication — defining format, timing, sequencing,
and error checking (e.g., TCP/IP, HTTP, FTP).
Importance of Data Communication
Data communication is the foundation of the modern digital world. It enables the internet, email, video
conferencing, e-commerce, cloud computing, social media, banking systems, healthcare networks, and
remote working. Without data communication, modern society as we know it — globally connected and
information-driven — would not be possible.
Q2. Explain the five components of a Data Communication system in detail with
examples.
[10–15 Marks]
Answer:
Introduction
A data communication system is composed of five essential components that work together to ensure
data is sent from a source and received correctly at a destination. Understanding these components
helps us design, troubleshoot, and improve communication systems. Consider a simple example:
sending an email from one computer to another — all five components are actively involved.
1. Message
The message is the actual data or information to be communicated. It is the content being transferred
from sender to receiver. Messages can take many forms depending on the application: Text (emails,
chat messages), Numbers (financial transactions, sensor data), Images (photographs, medical scans),
Audio (voice calls, music streaming), Video (video calls, YouTube streaming). The message is the
purpose of the entire communication — every other component exists to deliver it accurately and on
time.
2. Sender
The sender is the device that originates and transmits the message. It generates the data and initiates
the communication. Examples of senders include: a computer sending an email, a smartphone making
a video call, a security camera streaming footage, a weather station transmitting temperature data. The
sender must encode the message into a signal suitable for the transmission medium (electrical signal,
light pulse, or radio wave).
2nd Semester | Data Communication & Computer Networks Page 2
Data Communication & Computer Networks — Chapter 1: Introduction | Exam Preparation 2024
3. Receiver
The receiver is the device that accepts the incoming message. It is the destination of the data.
Examples: a computer receiving an email, a printer receiving a document to print, a TV receiving a
broadcast signal, a server receiving a web request. The receiver must decode the signal back into the
original message and process it appropriately.
4. Transmission Medium (Communication Channel)
The transmission medium is the physical path through which the message travels from sender to
receiver. There are two broad categories:
• Guided (Wired) Media: Twisted pair cable (telephone lines, LAN), Coaxial cable (cable TV,
broadband), Fiber optic cable (high-speed internet, long-distance communication).
• Unguided (Wireless) Media: Radio waves (WiFi, AM/FM radio), Microwaves (cellular networks,
satellite), Infrared (TV remotes, short-range devices).
5. Protocol
A protocol is a set of rules and conventions that govern data communication between devices. Without
protocols, two devices from different manufacturers could not communicate — like two people speaking
different languages. Protocols define: message format (how data is structured), timing (when to send
and receive), error detection and correction, data compression, and security (encryption). Examples:
TCP/IP (internet), HTTP (web browsing), FTP (file transfer), SMTP (email), Bluetooth (short-range
wireless).
Q3. Explain the Direction of Data Flow in communication: Simplex, Half Duplex,
and Full Duplex with examples.
[10–15 Marks]
Answer:
Introduction — Direction of Data Flow
In any communication system, data can flow between devices in different directions. The direction of
data flow determines how devices can send and receive data relative to each other. There are three
modes of data flow: Simplex, Half Duplex, and Full Duplex. The choice of mode depends on the
application's requirements for real-time, bidirectional communication.
1. Simplex Mode
In simplex mode, communication is one-directional — data flows only from the sender to the receiver.
The receiver can never send data back to the sender through the same channel. The entire channel
capacity is used in one direction only. Think of it as a one-way road.
• Advantages: Simple design, full channel bandwidth dedicated to one direction, low cost.
• Disadvantages: No feedback possible — the sender cannot know if data was received correctly.
• Real-World Examples: Keyboard to computer (keyboard only sends, never receives), Television
broadcasting (TV station sends, your TV only receives), Radio broadcasting (radio station
transmits, listeners only receive), Traffic signals (signal sends commands, cars only receive).
2. Half Duplex Mode
In half duplex mode, communication is bidirectional — both devices can send and receive data, BUT
NOT at the same time. When one device is transmitting, the other must wait. Only one device transmits
at a time. Think of it as a one-lane road where traffic alternates direction. The entire channel capacity is
used by whichever device is transmitting at that moment.
• Advantages: Bidirectional communication using a single channel — more versatile than simplex.
2nd Semester | Data Communication & Computer Networks Page 3
Data Communication & Computer Networks — Chapter 1: Introduction | Exam Preparation 2024
• Disadvantages: Slower than full duplex — time is wasted waiting for the other side to finish
transmitting.
• Real-World Examples: Walkie-talkies (you say 'over' to signal the other person's turn), CB radio,
Old Ethernet networks (CSMA/CD), Two-way radio communication used by police and aviation.
3. Full Duplex Mode
In full duplex mode, communication is simultaneously bidirectional — both devices can send and
receive data at the same time. The channel is divided (by frequency or separate wires) so both
directions work simultaneously. Think of it as a two-lane road with traffic flowing in both directions
simultaneously.
• Advantages: Most efficient — no waiting, maximum use of channel capacity, fastest
communication.
• Disadvantages: More complex and expensive — requires separate channels or frequency
division for each direction.
• Real-World Examples: Telephone calls (both parties can speak and hear simultaneously),
Mobile phones, Modern Ethernet networks (switches), Video conferencing (Zoom, Teams),
Internet connection (downloading and uploading simultaneously).
Comparison Summary
Simplex: One direction only | No feedback | Example: TV broadcasting. Half Duplex: Both directions but
not simultaneously | One transmits at a time | Example: Walkie-talkie. Full Duplex: Both directions
simultaneously | Fastest and most efficient | Example: Phone call, internet.
Q4. What is a Network Topology? Explain all major types of network topologies
with advantages and disadvantages.
[10–15 Marks]
Answer:
What is Network Topology?
Network topology refers to the physical or logical arrangement of devices (nodes) and the connections
(links) between them in a network. It defines how devices are interconnected and how data flows
through the network. The choice of topology affects network performance, reliability, scalability, and
cost. There are two types: Physical topology (actual layout of cables and devices) and Logical topology
(how data actually flows, regardless of physical layout).
1. Bus Topology
All devices are connected to a single central cable called the backbone or bus. Data travels along the
bus in both directions. Each device has a unique address, and only the intended receiver accepts the
data. A terminator at each end absorbs signals to prevent bouncing.
• Advantages: Simple and inexpensive, easy to install, requires less cable than star or mesh.
• Disadvantages: If the backbone cable fails, the entire network goes down. Performance
degrades with more devices. Difficult to troubleshoot. Not suitable for large networks.
• Example: Early Ethernet networks (10Base2, 10Base5).
2. Star Topology
All devices are connected to a central hub or switch. All data passes through the central hub. Each
device has a dedicated point-to-point link to the hub. This is the most widely used topology in modern
LANs.
2nd Semester | Data Communication & Computer Networks Page 4
Data Communication & Computer Networks — Chapter 1: Introduction | Exam Preparation 2024
• Advantages: Easy to install and manage. If one link fails, only that device is affected. Easy to
add/remove devices. Centralized monitoring and troubleshooting.
• Disadvantages: If the hub/switch fails, the entire network goes down. Requires more cable than
bus. Hub/switch is a single point of failure.
• Example: Office LANs, home WiFi networks (router = central hub).
3. Ring Topology
Each device is connected to exactly two other devices, forming a closed loop (ring). Data travels in one
direction (unidirectional) or both directions (bidirectional) around the ring. A token (special signal)
controls which device can transmit at any time — this is called Token Ring.
• Advantages: No data collisions (token passing prevents them). Equal access for all devices.
Performance is consistent under heavy load.
• Disadvantages: A single device or cable failure can break the entire ring. Adding/removing
devices disrupts the network. Slower than star topology.
• Example: Token Ring networks, SONET/SDH fiber rings in telecommunications.
4. Mesh Topology
Every device has a dedicated point-to-point link to every other device. In a fully connected mesh of n
devices, there are n(n-1)/2 links. In a partial mesh, only some devices have multiple connections.
• Advantages: Highly reliable — if one link fails, data can be rerouted. No traffic congestion.
Privacy and security — dedicated links. Fault tolerant.
• Disadvantages: Very expensive — requires massive amount of cabling and I/O ports. Complex
installation and management. Not practical for large networks.
• Example: Internet backbone, military communication networks, wide-area networks (WANs).
5. Tree (Hierarchical) Topology
Tree topology is a combination of bus and star topologies. Devices are arranged in a hierarchical
structure with a root node at the top, connected to group hubs, which in turn connect to devices. It looks
like branches of a tree.
• Advantages: Scalable — easy to add new branches. Fault isolation — a failure in one branch
doesn't affect others. Suitable for large networks with hierarchical structure.
• Disadvantages: If the root or backbone fails, large portions of the network fail. More cabling
required. Complex to configure.
• Example: Corporate networks, university campus networks, cable TV networks.
6. Hybrid Topology
A hybrid topology is a combination of two or more different topologies. For example, a network may use
a star topology in one department and a ring in another, connected via a bus backbone. Most real-world
large-scale networks use hybrid topologies to balance cost, performance, and reliability.
Q5. Explain the Categories of Networks: LAN, MAN, and WAN. Compare them in
detail.
[10–15 Marks]
Answer:
Introduction — Categories of Networks
Computer networks are classified based on their geographical size, ownership, transmission speed,
and the distance they cover. The three major categories are: LAN (Local Area Network), MAN
2nd Semester | Data Communication & Computer Networks Page 5
Data Communication & Computer Networks — Chapter 1: Introduction | Exam Preparation 2024
(Metropolitan Area Network), and WAN (Wide Area Network). Understanding these categories helps in
designing appropriate network solutions for different organizational needs.
1. LAN — Local Area Network
A Local Area Network (LAN) is a network that connects devices within a limited geographical area such
as a room, building, or campus. LANs are privately owned and managed by a single organization. They
use high-speed connections (typically 100 Mbps to 10 Gbps) and low-cost technologies.
• Coverage Area: Up to a few kilometers — a room, floor, building, or campus.
• Ownership: Private — owned and maintained by a single organization or individual.
• Speed: Very high — 100 Mbps, 1 Gbps, or 10 Gbps (Gigabit Ethernet).
• Cost: Relatively inexpensive to set up and maintain.
• Error Rate: Very low — short distances mean less signal degradation.
• Technologies Used: Ethernet (IEEE 802.3), WiFi (IEEE 802.11), Token Ring.
• Examples: Office network connecting computers and printers, school computer lab, home
network, university campus network.
• Advantages: High speed, low cost, easy to set up, full control by owner, easy resource sharing
(printers, files, internet).
• Disadvantages: Limited geographical coverage, security challenges if not properly configured.
2. MAN — Metropolitan Area Network
A Metropolitan Area Network (MAN) covers a larger geographic area than a LAN but smaller than a
WAN — typically spanning a city or a large campus. MANs are often used by organizations with
multiple buildings in a city, or by service providers offering broadband access across a city.
• Coverage Area: 5 to 50 kilometers — a city, town, or metropolitan region.
• Ownership: Can be private (a company connecting multiple city offices) or public (city-wide
broadband by an ISP).
• Speed: Moderate to high — 10 Mbps to 1 Gbps.
• Technologies Used: DQDB (Distributed Queue Dual Bus), ATM, fiber optic connections, WiMAX
(IEEE 802.16).
• Examples: Cable TV network across a city, a university with campuses across a city, city-wide
WiFi provided by a municipality, bank branches connected across a city.
• Advantages: Larger coverage than LAN, faster than WAN, can serve as ISP backbone for a city.
• Disadvantages: More expensive than LAN, requires more complex management, security is
harder to control.
3. WAN — Wide Area Network
A Wide Area Network (WAN) covers a very large geographical area — a country, continent, or the
entire globe. WANs connect multiple LANs and MANs together. They use public or leased
telecommunication lines. The internet is the world's largest WAN.
• Coverage Area: Hundreds to thousands of kilometers — countries, continents, or the entire
world.
• Ownership: Usually public or operated by large telecommunications companies (ISPs).
• Speed: Lower than LAN/MAN due to distance — typically 1 Mbps to 100 Mbps (though fiber-
based WANs can be faster).
• Error Rate: Higher than LAN/MAN — longer distances mean more signal degradation and
interference.
• Technologies Used: Leased lines, MPLS, Frame Relay, satellite links, fiber optic submarine
cables, X.25.
• Examples: The Internet (global WAN), a multinational company's private WAN connecting
offices in different countries, ATM networks, airline reservation systems.
2nd Semester | Data Communication & Computer Networks Page 6
Data Communication & Computer Networks — Chapter 1: Introduction | Exam Preparation 2024
• Advantages: Global connectivity, large-scale resource sharing, enables global communication
and commerce.
• Disadvantages: Expensive, lower speed than LAN, complex management, security
vulnerabilities across public infrastructure.
Comparison Table: LAN vs MAN vs WAN
Coverage: LAN = Room/Building | MAN = City | WAN = Country/World. Speed: LAN = Highest (up to 10
Gbps) | MAN = Medium | WAN = Lower. Cost: LAN = Low | MAN = Medium | WAN = High. Error Rate:
LAN = Very Low | MAN = Low | WAN = Higher. Ownership: LAN = Private | MAN = Private/Public |
WAN = Public/Telecom companies. Example: LAN = Office network | MAN = City cable TV | WAN =
The Internet.
Q6. What is a Protocol in Data Communication? Why are protocols important?
Explain key elements of a protocol.
[10–15 Marks]
Answer:
What is a Protocol?
A protocol is a set of rules, conventions, and standards that govern how data is transmitted and
received between devices in a network. Just as human communication requires a common language
and agreed-upon social rules, computers communicating across a network must follow protocols to
understand each other. Without protocols, two devices from different manufacturers using different
software could not exchange data — even if physically connected. Protocols define every aspect of
data communication from start to finish.
Why Are Protocols Important?
• Standardization: Protocols ensure that devices from different manufacturers (Apple, Samsung,
Cisco, HP) can communicate seamlessly.
• Error Control: Protocols define how errors are detected and corrected during transmission.
• Flow Control: Protocols prevent a fast sender from overwhelming a slow receiver.
• Security: Protocols like HTTPS and SSL/TLS define encryption and authentication mechanisms.
• Interoperability: Protocols allow diverse systems (different OS, hardware) to exchange data
reliably.
Key Elements of a Protocol
Every protocol is defined by three key elements:
1. Syntax
Syntax refers to the structure or format of the data — how data is organized. It defines the order of
fields in a message, the format of headers, and how bits are grouped. For example, in a data packet,
the first 8 bits might represent the sender's address, the next 8 bits the receiver's address, and the
remaining bits the actual data. Syntax is like grammar — it defines the correct structure of a message.
2. Semantics
Semantics refers to the meaning of each section of the message — what each pattern of bits means. It
defines what action should be taken based on the content. For example, a specific bit pattern might
mean 'this is an error message' or 'this is a request to connect'. Semantics tells devices how to interpret
received data and what to do with it.
3. Timing
2nd Semester | Data Communication & Computer Networks Page 7
Data Communication & Computer Networks — Chapter 1: Introduction | Exam Preparation 2024
Timing refers to two key aspects: (1) When data should be sent — synchronization between sender
and receiver. (2) How fast data should be sent — the speed at which both sides agree to communicate
(baud rate). If a sender transmits at 100 Mbps but the receiver can only process 10 Mbps, data will be
lost. Timing also includes synchronization mechanisms to ensure both sides are ready before
transmission begins.
Common Communication Protocols
• TCP/IP — Transmission Control Protocol/Internet Protocol: Foundation of the internet.
• HTTP/HTTPS — HyperText Transfer Protocol: Used for web browsing.
• FTP — File Transfer Protocol: Transferring files between computers.
• SMTP/POP3/IMAP — Email communication protocols.
• DNS — Domain Name System: Translates domain names to IP addresses.
• Bluetooth — Short-range wireless communication.
Q7. Write a detailed note on Transmission Media used in Data Communication.
Distinguish between Guided and Unguided media.
[10–15 Marks]
Answer:
What is Transmission Media?
Transmission media (also called communication channel or medium) is the physical path through which
data signals travel from sender to receiver. It is one of the five fundamental components of a data
communication system. The choice of transmission medium affects the speed, distance, cost, and
reliability of communication. Transmission media are broadly classified into two categories: Guided
(Wired) and Unguided (Wireless).
A. Guided (Wired) Media
In guided media, signals are physically guided along a solid medium — a cable or wire. The signal is
contained within the physical boundaries of the medium. Guided media offer higher speeds, lower error
rates, and better security than wireless, but require physical installation.
1. Twisted Pair Cable
Two insulated copper wires twisted together to reduce electromagnetic interference (crosstalk). The
twisting cancels out interference from neighboring wires. Two types: UTP (Unshielded Twisted Pair) —
most common, used in telephone lines and LAN (Cat5e, Cat6 cables), and STP (Shielded Twisted Pair)
— has additional shielding, used in environments with high interference. Speed: 100 Mbps to 10 Gbps.
Distance: up to 100 meters per segment. Low cost, easy to install, but susceptible to interference.
2. Coaxial Cable
A central copper conductor surrounded by insulation, a metallic shield, and an outer plastic cover. The
shielding protects against electromagnetic interference much better than twisted pair. Used for cable
TV (CATV), broadband internet, and older Ethernet networks. Speed: up to 10 Gbps. Distance: several
kilometers. More expensive than twisted pair but supports longer distances and higher bandwidth.
3. Fiber Optic Cable
Uses pulses of light (instead of electrical signals) to transmit data through a thin glass or plastic fiber.
Light signals are not affected by electromagnetic interference and travel at enormous speeds. Types:
Single-mode fiber (long distances, one light path) and Multimode fiber (shorter distances, multiple light
paths). Speed: up to 100 Gbps and beyond. Distance: tens of kilometers without repeaters. Used for
internet backbone, undersea cables, and high-speed networks. Most expensive but highest
performance.
2nd Semester | Data Communication & Computer Networks Page 8
Data Communication & Computer Networks — Chapter 1: Introduction | Exam Preparation 2024
B. Unguided (Wireless) Media
In unguided media, signals travel through the air (or vacuum) without a physical conductor. Wireless
transmission is convenient for mobile devices and hard-to-wire locations, but is more susceptible to
interference, interception, and signal degradation.
• Radio Waves (3 KHz – 1 GHz): Omnidirectional — travel in all directions. Penetrate walls. Used
for WiFi (2.4 GHz, 5 GHz), AM/FM radio, Bluetooth. Easy to generate and can cover large
areas.
• Microwaves (1 GHz – 300 GHz): Directional — travel in straight lines. Require line-of-sight
between sender and receiver. Used for cellular networks (4G/5G), satellite communication, and
point-to-point links between buildings.
• Infrared (300 GHz – 400 THz): Very short range — cannot penetrate walls. Used for TV
remotes, short-range device communication. Secure from eavesdropping (cannot pass through
walls).
• Satellite Communication: Signals are sent to a satellite in orbit, which amplifies and retransmits
them back to Earth. Covers vast geographic areas. Used for GPS, satellite TV, internet in
remote areas. Disadvantage: High latency due to long distance.
2nd Semester | Data Communication & Computer Networks Page 9