CBSETest.comby Bimal Publications

Need help with Data Communication?

Practice Tests
Class 12 · Computer Science NCERT Class 12 Computer Science · Ch. 117 min read · 15 questions

Data Communication

Computer Science

Data Communication

Data communication is the process of transferring data (in the form of text, numbers, images, audio, or video) between two or more devices through a transmission medium. Effective data communication is the foundation of every computer network.

Components of a Data Communication System

Every data communication system has five essential components:

  1. 1.Message: The actual data or information to be transmitted (text, image, video, etc.).
  2. 2.Sender: The device that initiates and sends the message (computer, phone, scanner).
  3. 3.Receiver: The device that receives the transmitted message.
  4. 4.Transmission Medium: The physical path through which the message travels (cables, air).
  5. 5.Protocol: A set of rules that govern how data is transmitted and received between devices.

Data Representation

Data in communication is represented as binary signals (0s and 1s). These are transmitted as signals that vary over time.

Analogue Signal: A continuous wave that varies smoothly over time. Represents data as variations in amplitude, frequency, or phase. Example: traditional telephone voice signals.

Digital Signal: A discrete signal that takes only two states — high (1) or low (0). Computers use digital signals internally.

Transmission Modes

Transmission mode (also called communication mode) describes the direction in which data can flow between devices.

Simplex: Data flows in only one direction. The sender can only send; the receiver can only receive. Example: television broadcast — the signal goes from the station to your TV only.

Half-Duplex: Data flows in both directions but only one direction at a time. Devices must take turns. Example: walkie-talkie — one person speaks while the other listens, then they swap.

Full-Duplex (Duplex): Data flows in both directions simultaneously. Example: telephone call — both people can speak and listen at the same time. Most modern networks use full-duplex.

Bandwidth and Data Rate

Bandwidth refers to the range of frequencies a communication channel can carry, measured in Hertz (Hz). Higher bandwidth means more data can be transmitted per second.

Data Rate (Bit Rate): The number of bits transmitted per second — measured in bps, Kbps, Mbps, or Gbps.

Baud Rate: The number of signal changes (symbols) per second. If each symbol carries multiple bits, bit rate > baud rate. Bit Rate = Baud Rate x Bits per Symbol.

Nyquist Theorem (Noiseless Channel): Maximum bit rate = 2 x Bandwidth x log2(L), where L = number of discrete signal levels.

Shannon's Theorem (Noisy Channel): Maximum bit rate = Bandwidth x log2(1 + S/N), where S/N is the Signal-to-Noise Ratio.

Switching Techniques

When data travels from sender to receiver across a network, it may pass through intermediate nodes. How these nodes handle data defines the switching technique.

Circuit Switching: A dedicated communication path is established between sender and receiver for the entire duration of communication. The path is reserved exclusively — no one else can use it. Example: traditional telephone networks (PSTN). Wasteful if the path is idle, but guaranteed quality.

Packet Switching: Data is broken into small units called packets, each with a header containing source/destination addresses. Packets travel independently through the network and may take different routes, then are reassembled at the destination. Example: the internet. Efficient because network resources are shared.

Message Switching (Store-and-Forward): The entire message is sent to an intermediate node, stored there, then forwarded to the next node. No dedicated path is needed, but it introduces delays for large messages. Less common today.

Switching Comparison

| Feature | Circuit Switching | Packet Switching |
|---------|-------------------|-----------------|
| Path | Dedicated, fixed | No fixed path |
| Efficiency | Low (idle time wasted) | High |
| Delay | Constant | Variable |
| Example | Phone calls | Internet |

Network Protocols and Standards

A protocol is a formal set of rules for communication. Protocols ensure that devices from different manufacturers can communicate.

HTTP (HyperText Transfer Protocol): Used by web browsers to request and receive web pages. HTTPS is its secure version.

FTP (File Transfer Protocol): Used to transfer files between a client and server over a network.

SMTP (Simple Mail Transfer Protocol): Governs sending of email messages.

POP3 / IMAP: Used for receiving email. POP3 downloads messages; IMAP keeps messages on the server.

DNS (Domain Name System): Translates human-readable domain names (www.example.com) into IP addresses. Acts like a phone book for the internet.

DHCP (Dynamic Host Configuration Protocol): Automatically assigns IP addresses to devices when they join a network.

URL and Web Addressing

A URL (Uniform Resource Locator) is the complete address of a resource on the internet.

Structure: protocol://domainname/path/resource

Example: https://www.ncert.nic.in/textbook/textbook.htm

  • Protocol: https
  • Domain: www.ncert.nic.in
  • Path: /textbook/textbook.htm

Error Detection

During transmission, noise can corrupt data. Error detection methods include:

Parity Bit: An extra bit added to a data block to make the total number of 1s either even (even parity) or odd (odd parity). Simple; detects single-bit errors only.

Checksum: The sender computes a sum of all data segments; the receiver recomputes and compares. Used in TCP/IP.

CRC (Cyclic Redundancy Check): A powerful mathematical algorithm for error detection. Used in Ethernet and storage media.

Common mistakes

  • Confusing bandwidth (frequency range in Hz) with data rate (bits per second) — they are related but different units.
  • Stating that simplex is used in phone calls — phones use full-duplex.
  • Confusing circuit switching (dedicated path) with packet switching (shared, best-effort path).
  • Thinking DNS is where websites are stored — DNS only maps names to IP addresses.

Summary

Data communication involves a sender, receiver, message, medium, and protocol. Data can be analogue or digital, and transmission modes range from one-way simplex to simultaneous full-duplex. The internet relies on packet switching and standard protocols (HTTP, FTP, SMTP, DNS) to move data efficiently across the globe. Error detection ensures data integrity during transmission.

Practice Problems

15 questions with instant feedback.

Question 1 of 15Score 0

Which component of a data communication system defines the rules governing how data is sent and received?