Data Communications



Data Communications & Networks

Data communication is the process of transferring data from one device to another using a communication medium (wire or wireless).

Example: Sending a WhatsApp message from your mobile phone to another phone.

Components of Data Communication

There are five basic components of data communication:

ComponentMeaningExample
SenderDevice that sends dataComputer, Mobile
ReceiverDevice that receives dataAnother computer
MessageData to be sentText, Image, Video
Transmission MediumPath for dataCable, Wi-Fi
ProtocolSet of rules for communicationTCP/IP, HTTP

Without protocol, communication is impossible.

Characteristics of Data Communication

For effective data communication, the system must have the following characteristics:

1. Delivery: Data must reach the correct destination
2. Accuracy: Data must be error-free
3. Timeliness: Data must be delivered on time

4. Jitter

  • Variation in packet arrival time should be minimal
  • Important for audio and video calls

Real-Life Example: Smooth video calling needs low jitter and timely delivery.

Data Representation

Data can be represented in different forms:

TypeDescriptionExample
TextCharacters using ASCII/UnicodeEmails
NumbersBinary formatOTP numbers
ImagesPixelsPhotos
AudioSound signalsVoice calls
VideoSequence of imagesYouTube videos

Data Flow

Data flow refers to the direction of data transmission between devices.

Types of Data Flow

TypeDescriptionExample
SimplexOne-way communicationKeyboard → Computer
Half DuplexBoth directions, but one at a timeWalkie-talkie
Full DuplexBoth directions at the same timeMobile phone call

Computer Networks

A computer network is a group of interconnected devices that share resources and information.

Example: Computers connected in a college lab.

Types of Networks

1. LAN (Local Area Network)

FeatureDescription
AreaSmall (office, building)
SpeedHigh
CostLow
OwnershipPrivate

Example: Network in a computer lab or office.

2. MAN (Metropolitan Area Network)

FeatureDescription
AreaCity-wide
SpeedMedium
OwnershipPrivate or Public

Example: Cable TV network in a city.

3. WAN (Wide Area Network)

FeatureDescription
AreaLarge (country/world)
SpeedComparatively low
CostHigh

Example: The Internet.

Comparison Table (Exam-Friendly)

FeatureLANMANWAN
Area CoveredSmallCityLarge
SpeedHighMediumLow
CostLowMediumHigh
ExampleOffice networkCity cable networkInternet

Network Topologies

Network topology refers to the physical or logical arrangement of computers in a network.

1. Bus Topology

  • Single main cable (backbone)
  • All devices connected to it

Advantages:

  • Low cost
  • Easy to install

Disadvantages:

  • Failure of main cable affects entire network

Example: Old school computer labs.

2. Star Topology

  • All devices connected to a central hub or switch

Advantages:

  • Easy fault detection
  • High performance

Disadvantages:

  • Hub failure stops network

Example: Modern office networks.

3. Ring Topology

  • Devices connected in a circular manner

Advantages:

  • No data collision

Disadvantages:

  • Failure of one node affects whole network

Example: Token Ring networks.

4. Mesh Topology

  • Every device connected to every other device

Advantages:

  • High reliability

Disadvantages:

  • Expensive and complex

Example: Military or banking networks.

Topology Comparison Table

TopologyCostReliabilityExample
BusLowLowOld LANs
StarMediumHighOffice LAN
RingMediumMediumToken Ring
MeshHighVery HighBanking systems

Important Exam Questions

  • Define data communication and its components
  • Explain characteristics of data communication
  • What is data flow? Explain its types
  • Compare LAN, MAN, and WAN
  • Explain different network topologies with advantages and disadvantages

Protocols, Network Devices & Transmission Media

Protocols and Standards

A protocol is a set of rules that decides how data is sent, received, and understood between network devices.

Real-life example: Just like traffic rules help vehicles move safely, protocols help data move correctly in a network.

ISO-OSI Model (7-Layer Model)

The OSI (Open Systems Interconnection) model is a 7-layer conceptual model developed by ISO to understand network communication.

OSI Layers (Bottom to Top)

Layer No.Layer NameFunction (Simple Language)Example
7ApplicationInterface for user applicationsEmail, Browser
6PresentationData formatting, encryptionJPG, MP3
5SessionSession managementLogin session
4TransportReliable data transferTCP, UDP
3NetworkRouting and logical addressingIP
2Data LinkError detection, MAC addressEthernet
1PhysicalActual data transmissionCables

Mnemonic (Exam Friendly): All People Seem To Need Data Processing

Advantages of OSI Model

  • Easy to understand
  • Standard reference model
  • Helps in troubleshooting

TCP/IP Model

The TCP/IP model is a practical model used on the Internet.

TCP/IP Layers

TCP/IP LayerOSI EquivalentFunction
ApplicationApplication + Presentation + SessionUser services
TransportTransportReliable delivery
InternetNetworkRouting
Network AccessData Link + PhysicalPhysical transmission

Difference Between OSI and TCP/IP

BasisOSI ModelTCP/IP Model
Layers74
NatureConceptualPractical
Developed byISODARPA
UsageTeaching & learningReal Internet use

Network Connecting Devices

1. Hub

  • Works at Physical Layer
  • Broadcasts data to all devices
  • No intelligence

Example: Old LAN setups.

2. Bridge

  • Works at Data Link Layer
  • Divides network into segments
  • Reduces traffic

Example: Connecting two LAN segments.

3. Switch

  • Works at Data Link Layer
  • Sends data only to intended device
  • Faster than hub

Example: Modern office networks.

4. Router

  • Works at Network Layer
  • Connects different networks
  • Uses IP address

Example: Home Wi-Fi router.

5. Gateway

  • Works at all layers
  • Connects different types of networks
  • Protocol converter

Example: Email gateway between different mail systems.

Comparison Table (Exam Ready)

DeviceLayerFunction
HubPhysicalBroadcast
BridgeData LinkSegment network
SwitchData LinkIntelligent forwarding
RouterNetworkRoute packets
GatewayAllProtocol conversion

Transmission Media

Transmission media is the path through which data travels.

Guided Media (Wired Media)

TypeDescriptionExample
Twisted PairTwo wires twisted togetherTelephone cables
Coaxial CableSingle copper coreCable TV
Optical FiberLight-based transmissionInternet backbone

Advantages:

  • High security
  • Less interference

Unguided Media (Wireless Media)

TypeDescriptionExample
Radio WavesLong-distance communicationFM radio
MicrowavesLine-of-sight communicationMobile communication
InfraredShort-rangeTV remote
SatelliteLarge area coverageGPS, DTH

Classification and Arrangement of LANs

1. Wired LAN

  • Uses cables
  • High speed and secure

Example: Computer labs.

2. Wireless LAN (WLAN)

  • Uses radio waves
  • Flexible and easy to install

Example: Wi-Fi in homes, colleges.

Wired vs Wireless LAN

FeatureWired LANWireless LAN
SpeedHighMedium
SecurityHighLower
MobilityNoYes
CostMediumLow

Important Exam Questions

  1. Explain OSI model with functions of each layer
  2. Compare OSI and TCP/IP models
  3. Explain Hub, Switch, Router and Gateway
  4. Discuss guided and unguided transmission media
  5. Compare wired and wireless LANs