Data CommunicationUnit 113 min read
Data Communication Basics: Networks, Standards & Impairments
Unit 1 of Data Communication covers the foundational concepts of data communication and networking, including definitions, key terms, transmission impairments, network standards, and the role of protocols in enabling communication between devices.
TAKEAWAYS:
- Data communication involves transmitting digital/analog data between devices using signals, protocols, and media, while networking connects multiple devices for resource sharing and communication.
- Transmission impairments (attenuation, distortion, noise) degrade signals, requiring error control and modulation techniques to maintain data integrity.
- Standards (e.g., IEEE, ITU) ensure interoperability, while bit rate vs. baud rate distinguish data speed from signal changes per second.
- Network topologies (bus, star, mesh) and switching techniques (circuit, packet, message) define how data travels and is processed.
- Flow control (e.g., ARQ) manages data transmission rates to prevent overload, while virtual circuits (connection-oriented) vs. datagrams (connectionless) differ in reliability and speed.
1. Introduction to Data Communication
Data communication is the exchange of data between two devices using a communication medium (wired/wireless). It involves:
- Sender: Encodes data into signals.
- Transmission medium: Carries signals (copper wire, fiber, air).
- Receiver: Decodes signals back into data.
Key Terms
| Term | Definition |
|---|---|
| Data | Raw facts (text, numbers, images) or processed information (e.g., a PDF file). |
| Signal | Electrical/optical representation of data (e.g., voltage changes in a wire). |
| Protocol | Rules governing data exchange (e.g., TCP/IP for internet communication). |
| Bandwidth | Maximum data rate (bits/second) a medium can carry. |
| Throughput | Actual data rate delivered (affected by impairments, errors, and congestion). |
2. Transmission Impairments
Impairments degrade signal quality, causing errors. They are classified as:
A. Attenuation
- Definition: Loss of signal strength over distance (e.g., a phone call fading as you move away from a tower).
- Cause: Resistance in wires, absorption in fiber.
- Solution: Use repeaters/amplifiers or stronger signals.
B. Distortion
- Definition: Signal shape changes, causing overlapping bits (e.g., a square wave becoming rounded).
- Cause: Dispersion in fiber, frequency-dependent losses.
- Solution: Equalizers or bandwidth limiting.
C. Noise
- Definition: Unwanted signals that interfere with data (e.g., static in a radio).
- Types:
- Thermal noise: Random electron movement (affects all devices).
- Industrial noise: From electrical equipment (e.g., motors).
- Crosstalk: Interference between adjacent wires (e.g., phone lines).
- Solution: Shielding, error correction (e.g., CRC), or noise filters.
Why are they called "transmission impairments"? They hinder reliable data transfer, requiring techniques like error detection (parity bits, checksums) and modulation (changing signal properties to reduce noise effects).
3. Standards in Data Communication
Standards ensure compatibility between devices from different manufacturers. They are developed by organizations like:
| Organization | Role |
|---|---|
| IEEE | Defines LAN/WAN standards (e.g., IEEE 802.3 for Ethernet, 802.11 for Wi-Fi). |
| ITU-T | Telecommunication standards (e.g., V.92 for modems, H.323 for video conferencing). |
| ISO | OSI model (7-layer protocol reference). |
| ETSI | European telecom standards (e.g., GSM for mobile networks). |
| IETF | Internet protocols (e.g., TCP/IP, HTTP, DNS). |
Types of Standards
- De jure: Legally binding (e.g., ISO standards).
- De facto: Widely adopted by market (e.g., USB, Bluetooth).
- Facto: Industry-specific (e.g., HDMI for audio/video).
Example:
- Wi-Fi (IEEE 802.11): Ensures your laptop connects to a router regardless of the manufacturer.
- HDMI (de facto): Allows seamless video/audio transfer between devices.
4. Bit Rate vs. Baud Rate
| Term | Definition | Example |
|---|---|---|
| Bit rate | Number of bits transmitted per second (bps). | A 1 Mbps connection sends 1,000,000 bits/second. |
| Baud rate | Number of signal changes per second (symbols/second). | 1 baud = 1 symbol/second (e.g., 1 start bit + 8 data bits + 1 stop bit = 10 baud for 1 bit). |
Why aren’t they always equal?
- Multi-level signaling: One signal can represent multiple bits (e.g., 4-level signaling = 2 bits/baud).
- Example: A modem uses 16-QAM (16 quadrature amplitude modulation), where 1 baud = 4 bits (since ).
Worked Example: Bit Rate ≠ Baud Rate
- Scenario: A modem uses 8-PSK (8-phase shift keying) with a baud rate of 1200 baud.
- Calculation:
- 8-PSK encodes bits per symbol.
- Bit rate = baud rate × bits/symbol = bps.
- Calculation:
5. Network Topologies
Topologies define how devices are physically or logically connected. Common types:
Real-World Example: Kathmandu Traffic Routes
- Star: Traffic signals controlled by a central system (like a switch).
- Mesh: Emergency vehicle routes that can reroute if one path is blocked.
6. Switching Techniques
Switching determines how data travels through a network. Three main types:
| Technique | Description | Example |
|---|---|---|
| Circuit Switching | Dedicated path for the entire communication session. | Phone calls (PSTN): A circuit is reserved until the call ends. |
| Packet Switching | Data split into packets, routed independently, and reassembled. | Internet (TCP/IP): Packets may take different paths to reach the destination. |
| Message Switching | Entire message stored and forwarded (like email). | Early ARPANET: Messages were stored and forwarded to their destination. |
Comparison:
|---------------------|-------------------|-----------------|-----------|-------|-----------------------| | Circuit Switching | Dedicated | Low | High | Phone calls | | Packet Switching | Shared | High | Low | Internet (TCP/IP) | | Message Switching | Store-and-forward | Medium | High | Email (SMTP) |
Real-World Example: eSewa Payments
- Packet Switching: When you transfer money, your request is split into packets, routed through multiple servers (eSewa, bank, Ncell), and reassembled to complete the transaction.
7. Flow Control in ARQ Model
Flow control ensures the sender doesn’t overwhelm the receiver. The Automatic Repeat reQuest (ARQ) model uses:
Stop-and-Wait ARQ:
- Sender sends 1 frame, waits for ACK (acknowledgment).
- If no ACK, retransmits.
- Problem: Low efficiency (idle time waiting for ACKs).
Sliding Window ARQ:
- Sender transmits multiple frames before waiting for ACKs.
- Window size: Number of unacknowledged frames allowed.
- Types:
- Go-Back-N: Retransmits all frames from the lost frame onward.
- Selective Repeat: Retransmits only lost frames.
Example: Kathmandu Traffic Light Coordination
- Stop-and-Wait: Like a single traffic light controlling one intersection at a time.
- Sliding Window: Like a smart traffic system where multiple intersections are managed simultaneously (window size = number of intersections controlled at once).
8. Virtual Circuit vs. Datagram Networks
| Feature | Virtual Circuit (VC) | Datagram Network |
|---|---|---|
| Connection | Connection established before data transfer. | No connection; each packet is independent. |
| Reliability | Guaranteed delivery (e.g., TCP). | No guarantee (e.g., UDP). |
| Overhead | High (setup and teardown). | Low (no setup). |
| Speed | Slower (due to setup). | Faster (no setup). |
| Example | Phone call (PSTN), HTTP (TCP). | DNS queries, VoIP (UDP). |
Real-World Example: WhatsApp vs. YouTube
- WhatsApp (VC-like): Uses TCP for reliable message delivery (ACKs ensure no messages are lost).
- YouTube (Datagram-like): Uses UDP for live streaming (some packet loss is acceptable for smooth playback).
9. Layered Protocol Models
The OSI 7-layer model and TCP/IP 4-layer model organize networking functions into layers for modularity.
Real-World Example: Loading a Website (HTTP)
- Application (HTTP): Your browser requests
google.com. - Transport (TCP): Establishes a connection and ensures data arrives intact.
- Network (IP): Routes packets to Google’s servers.
- Data Link (Ethernet): Frames data for your local network.
- Physical: Sends bits as electrical signals over cables/fiber.
In the Real World
eSewa (Flow Control & Packet Switching)
- When you pay a bill, eSewa’s servers use sliding window ARQ to manage multiple transactions simultaneously without overwhelming the bank’s system.
- Packet switching ensures your payment request is split into packets, routed efficiently, and reassembled at the bank’s end.
Khalti (Virtual Circuits & Standards)
- Khalti uses TCP (virtual circuit) for secure transactions, ensuring your money transfer is reliable (ACKs confirm delivery).
- It follows IEEE 802.11 (Wi-Fi) and ITU-T standards for seamless connectivity across devices.
Daraz (Network Topologies & Switching)
- Daraz’s order processing uses a hybrid topology (star for internal servers + mesh for backup routes).
- Packet switching ensures orders are delivered quickly even if some packets take longer paths.
NTC (Circuit Switching & Standards)
- Traditional phone calls use circuit switching (dedicated path for the call duration).
- NTC follows ITU-T standards (e.g., V.92 for modems) to ensure compatibility with global telecom systems.
Exam Tip
- Definitions Matter: Always define terms precisely (e.g., "Attenuation is the loss of signal strength over distance").
- Compare & Contrast: For questions like "VC vs. Datagram," use a table to highlight differences clearly.
- Real-World Links: Relate concepts to Nepali examples (e.g., eSewa for flow control, Kathmandu traffic for topologies).
- Diagrams: Draw layered models (OSI/TCP/IP), topologies, or ARQ sliding windows—examiners love visual answers!
- Bit Rate vs. Baud Rate: Remember the formula: Bit rate = Baud rate × log₂(levels).
- Standards: Know IEEE (Wi-Fi, Ethernet), ITU-T (telecom), and ISO (OSI)—these are high-scoring topics.
Final Note: This unit is the foundation of data communication. Master the definitions, impairments, standards, and real-world applications, and you’ll ace the exam! Practice drawing diagrams and linking concepts to Nepali tech examples like eSewa, Khalti, and NTC.
Based on the PU BE Computer (PU) syllabus for Data Communication, unit 1.
Discussion
Loading…