Fundamentals of Data Communication and Networking | best pdf

Fundamentals of Data communication and networking are foundational pillars of the modern digital world, enabling the seamless exchange of information between devices and systems. Understanding their principles is crucial for anyone involved in technology, from software developers to network administrators and beyond.

WHAT IS DATA COMMUNICATION?

Fundamentals of Data Communication and Networking

Data Communication is the process of transmitting digital or analog data between two or more devices (such as computers, mobile phones, sensors, etc.) through a transmission medium using communication protocols. (Fundamentals of Data Communication and Networking)

Key Points:

  1. It involves sending and receiving data.
  2. Requires sender, receiver, medium, and protocols.
  3. Ensures reliable and accurate delivery of data.
  4. Can be wired (cables, fiber optics) or wireless (Wi-Fi, radio waves).

Example:

  • Sending a text message from one mobile phone to another.
  • Streaming a video from the internet to your laptop.

Components of Data Communication

  1. Message — The actual data (text, audio, video, images, files, etc.) to be transmitted from sender to receiver.
  2. Sender (Source) —The device or entity that originates the message. (e.g., computer, mobile phone, sensor)
  3. Receiver (Destination) —The device or entity that receives the transmitted message. (e.g., another computer, printer)
  4. Transmission Medium– The physical path through which data is transmitted. (e.g., copper wires, fiber optics, wireless signals)
  5. Protocol —A set of rules that governs data communication. It ensures reliable and correct data transfer. (e.g., TCP/IP, HTTP) (Fundamentals of Data Communication and Networking)

Data Representation

Data needs to be represented in a format that can be transmitted and understood by machines.

Data TypeRepresentation
TextRepresented as a sequence of bits using ASCII or Unicode.
NumbersRepresented in binary form (0s and 1s).
ImagesRepresented as a collection of pixels, each pixel is represented by bits (bitmap, JPEG, PNG).
AudioRepresented by digitizing sound waves using sampling techniques (MP3, WAV).
VideoA series of images (frames) with audio, encoded in formats like MP4, AVI, etc.

Data Flow Modes

Data flow defines the direction of data transmission between two devices. It can be of three types:

1. Simplex Mode

  • Definition: Data flows in only one direction.
  • Characteristics:
    • One device is always sender, the other is always receiver.
    • No bidirectional communication. (Fundamentals of Data Communication and Networking)
  • Example:
    • Keyboard to Computer.
    • Television broadcast (TV receives signals but doesn’t send back).
Simplex Diagram
Sender ➔ Receiver

2. Half-Duplex Mode

  • Definition: Data flows in both directions, but only one direction at a time.
  • Characteristics:
    • Sender and Receiver can both send and receive.
    • Cannot transmit simultaneously.
  • Example:
    • Walkie-Talkie.
    • CB (Citizen Band) Radio Communication. (Fundamentals of Data Communication and Networking)
Half Duplex Diagram
Sender ⇄ Receiver (but one at a time)

3. Full-Duplex Mode

  • Definition: Data flows in both directions simultaneously.
  • Characteristics:
    • Sender and Receiver can transmit and receive data at the same time.
    • Faster and efficient communication. (Fundamentals of Data Communication and Networking)
  • Example:
    • Telephone conversation.
    • Video conferencing.
Full Duplex Diagram
Sender ⇄ Receiver (simultaneously)

Summary Table

ModeDirectionCommunication TypeExample
SimplexOne wayUnidirectionalKeyboard to CPU
Half DuplexBoth ways, one at a timeBidirectional (but not simultaneous)Walkie-Talkie
Full DuplexBoth ways, simultaneouslyBidirectional (simultaneous)Telephone

Important Points to Remember:

  • Simplex is like a one-way street.
  • Half Duplex is like a one-lane bridge (cars can go both ways but one side at a time).
  • Full Duplex is like a two-lane road (cars can go both directions at the same time). (Fundamentals of Data Communication and Networking)

What is Network?

A network is a collection of two or more connected devices (like computers, mobiles, printers) that can communicate with each other and share resources such as files, internet, printers, etc. (Fundamentals of Data Communication and Networking)

1.1Performance

  • Definition: How well a network performs under given conditions.
  • Factors Affecting Performance:
    • Number of Users: More users can cause congestion.
    • Transmission Medium: Wired (fiber optics, copper) vs. Wireless.
    • Hardware and Software: Router speed, server capacity, etc.
    • Network Traffic: Amount of data being transferred.
    • Throughput: Actual data rate achieved.
    • Latency (Delay): Time taken for data to travel from sender to receiver.

1.2 Reliability

  • Definition: The ability of a network to maintain its service without failure.
  • Aspects of Reliability:
    • Failure Rate: How often the network fails.
    • Recovery Time: Time taken to restore service after a failure.
    • Robustness: Ability to function under abnormal conditions (like hardware failure).

1.3 Security

  • Definition: Protecting data from unauthorized access and ensuring privacy.
  • Security Measures:
    • Confidentiality: Prevent unauthorized access to data.
    • Integrity: Ensure data is not altered during transmission.
    • Authentication: Verify identities of sender and receiver.
    • Firewalls, Encryption, VPNs, Anti-virus software are common security tools.

2. Physical Structure of Network

The physical structure defines how devices (nodes) are connected in a network. (Fundamentals of Data Communication and Networking)

2.1 Type of Connection

  • Point-to-Point:
    • Direct connection between two devices.
    • Example: A computer connected to a printer via USB.
  • Multipoint (Multidrop):
    • More than two devices share a single link.
    • Devices share the medium either simultaneously or in turn.
    • Example: Traditional bus networks, shared Wi-Fi.

2.2 Physical Topology

Network Topology refers to the physical or logical layout of the network.

a) Mesh Topology

  • Every device is connected to every other device.
  • Advantages:
    • High reliability (redundant paths).
    • Fault tolerance.
    • Dedicated links, no traffic congestion.
  • Disadvantages:
    • Expensive (large number of cables & ports).
    • Difficult to manage.

| No. of Links = n(n-1)/2 (n = number of devices) |


b) Star Topology

  • All devices are connected to a central hub/switch.
  • Advantages:
    • Easy to install and manage.
    • Failure of one link doesn’t affect the rest.
  • Disadvantages:
    • Failure of the central hub will bring down the whole network. (Fundamentals of Data Communication and Networking)

c) Bus Topology

  • All devices share a single backbone cable (bus).
  • Advantages:
    • Easy to set up.
    • Requires less cabling.
  • Disadvantages:
    • Difficult to troubleshoot.
    • A fault in the main cable affects the entire network.
    • Limited cable length & traffic. (Fundamentals of Data Communication and Networking)

d) Ring Topology

  • Each device connects to two other devices forming a ring.
  • Advantages:
    • Simple installation.
    • Data travels in one direction reducing collision.
  • Disadvantages:
    • Failure of one device can affect the whole ring.
    • Adding/removing devices can disrupt the network.

Summary Table

TopologyAdvantagesDisadvantages
MeshHigh reliability, Fault toleranceExpensive, Difficult to manage
StarEasy to manage, RobustCentral device failure affects network
BusSimple, CheapDifficult to troubleshoot, Backbone failure
RingNo collisions, Equal accessFailure of one node affects network

Important Notes:

Ring = Used in some WANs (older tech).

Mesh = Most Reliable but Costly.

Star = Most Common in LAN.

Bus = Cheap but Obsolete.

NETWORK TYPES

1.1 LAN (Local Area Network)
  • Definition: A network that connects computers within a small geographical area (office, building, campus).
  • Features:
    • High data transfer speed.
    • Low cost.
    • Privately owned.
  • Examples: College computer labs, home networks. (Fundamentals of Data Communication and Networking)

1.2 MAN (Metropolitan Area Network)
  • Definition: A network that covers a city or metropolitan area.
  • Features:
    • Larger than LAN but smaller than WAN.
    • Connects multiple LANs within a city.
  • Examples: City-wide Wi-Fi, Cable TV networks.

1.3 WAN (Wide Area Network)
  • Definition: A network that covers a large geographical area (countries, continents).
  • Features:
    • Slower data transmission than LAN/MAN.
    • Expensive to setup.
    • Uses public or private transmission systems (satellites, leased lines).
  • Examples: The Internet, Bank networks across cities. (Fundamentals of Data Communication and Networking)

2. SWITCHING TECHNIQUES

Switching is the process of forwarding data packets through intermediate devices.

2.1 Circuit-Switched Network
  • Definition: A dedicated communication path is established between sender and receiver before data transfer.
  • Features:
    • Connection-oriented.
    • Fixed path during session.
    • Suitable for voice calls.
  • Example: Traditional telephone networks. (Fundamentals of Data Communication and Networking)
AdvantagesDisadvantages
Reliable & consistent connectionWastes resources if idle
Fixed bandwidthHigh setup time

2.2 Packet-Switched Network
  • Definition: Data is divided into packets, each packet may take a different route to the destination.
  • Features:
    • Connectionless.
    • Efficient use of bandwidth.
    • Suitable for data transmission. (Fundamentals of Data Communication and Networking)
  • Example: Internet, Email.
AdvantagesDisadvantages
Efficient bandwidth usageVariable delays (jitter)
No need for dedicated pathPacket loss possible

3. OSI MODEL (Open Systems Interconnection Model)

A conceptual framework that standardizes the functions of a telecommunication or computing system into 7 layers. (Fundamentals of Data Communication and Networking)

LayerFunction
1. PhysicalTransmission of raw bits (cables, switches)
2. Data LinkError detection & correction, framing (MAC address)
3. NetworkRouting, logical addressing (IP Address)
4. TransportReliable delivery, flow control, segmentation (TCP, UDP)
5. SessionEstablish, manage & terminate sessions
6. PresentationData translation, encryption, compression
7. ApplicationInterface for user applications (HTTP, FTP, SMTP)

4. TCP/IP Protocol Suite

The Transmission Control Protocol/Internet Protocol (TCP/IP) model is the foundation of the Internet.

Layer (TCP/IP)Equivalent OSI LayersFunctions
1. Network AccessOSI Layer 1 + 2Physical transmission of data
2. InternetOSI Layer 3Logical addressing, Routing (IP, ICMP)
3. TransportOSI Layer 4Reliable delivery (TCP), Fast delivery (UDP)
4. ApplicationOSI Layer 5, 6, 7User services like HTTP, FTP, DNS

Key Differences:

OSI ModelTCP/IP Model
7 layers4 layers
Theoretical ModelPractical Model (used in real life)
Protocol independentProtocol specific (TCP, IP)

आत्म-परिचय Class 12 by हरिवंश राय बच्चन | NCERT | UP Board | Chapter – 1

Similar Posts