Data Communication
How Computers Exchange Information
Before computers can form networks and before the Internet can exist, the most important question is: how does data travel from one device to another. That process is called data communication.
Data communication is the exchange of digital information between two devices using a transmission medium such as wire, fiber, or wireless radio signals.
If you want to understand general communication theory first, read What is Communication. This article focuses specifically on how computers exchange digital data.
What is Data Communication
Data communication is the process where two devices send and receive data using signals. In data communication, both devices agree on the rules of communication called protocols.
Components of Data Communication
For communication to work successfully, there are five essential components.
Sender: The device that initiates the message. Example: your laptop.
Receiver: The device that receives the message. Example: your router or a server.
Message: The data being transferred. Example: a web request or image.
Medium: The physical path the data uses. Example: Ethernet cable, fiber, Wi Fi radio waves.
Protocol: The agreed rules that define how the communication happens. Without protocols, both ends would talk different languages. Example: TCP, HTTP.
Data Representation: Bits and Bytes
All digital information, no matter how large or complex, eventually becomes bits.
A bit is the smallest unit of data. It can be 0 or 1. A byte is 8 bits.
Data communication is simply moving bits over a medium.
Digital Encoding: Turning Bits into Signals
Computers store bits, but wires and airwaves carry signals.
Encoding converts bits into electrical, optical, or radio signals so they can travel.
Encoding ensures the receiver understands what 0 and 1 look like on that medium.
Data Transmission Methods: Serial vs Parallel
How are bits physically moved in a medium.
Parallel transmission: Multiple bits sent at the same time. Used inside computer motherboards.
Serial transmission: Bits travel one after another, in sequence. Used in Ethernet, USB, Wi Fi, fiber.
Even though parallel seems faster, serial is more reliable and has less noise. That is why modern networking is serial.
How Data Flows: Direction of Data Transfer
There are three basic modes:
| Mode | Direction | Example |
|---|---|---|
| Simplex | One way only. | Display monitor. |
| Half Duplex | Both ways, but not at the same time. | Walkie talkies. |
| Full Duplex | Both ways simultaneously. | Internet communication, phone calls. |
The internet works on full duplex. Data can be sent and received at the same time.
Quality of Data Transmission
Data quality is measured by four important concepts.
| Concept | Meaning | Example |
|---|---|---|
| Bandwidth | Maximum amount of data per second. | 100 Mbps internet plan. |
| Latency | Time delay for data to reach destination. | Lag in video calls. |
| Throughput | Actual speed you get. | You may get 70 Mbps on a 100 Mbps plan. |
| Jitter | Variation in delay. | Voice breaking on calls. |
Bandwidth is size of the pipe. Latency is how fast water flows.
Errors and Error Detection
Noise, interference, and weak signals can corrupt bits. So techniques exist to detect errors.
Parity bit: Adds a bit that indicates if the number of 1s is odd or even.
Checksum: Adds up the data and sends that value along with the packet.
CRC (Cyclic Redundancy Check): More advanced math used in Ethernet frames.
If the receiver detects a mismatch, it requests the sender to retransmit.
Flow Control: Preventing Data Overload
What if a fast device sends data to a slower device. The slower one may get overwhelmed. Flow control solves that.
Stop and Wait: Sender sends one chunk of data and waits for acknowledgment.
Sliding Window: Sender can send multiple chunks before receiving acknowledgment. Used in TCP. Sliding window increases performance and reduces waiting time.
Putting It All Together
When you open a website:
Your laptop converts bits (the web request) into Wi Fi radio waves using encoding and modulation.
Router receives the signal and converts it back into bits.
Router sends bits to your ISP through fiber or cable.
The web server receives the request, processes it, and sends back the webpage data.
Each step: bits → encode into signals → travel through medium → decode back to bits.
That is data communication.
Conclusion
Data communication is the foundation of networking. It explains how digital bits turn into signals, how they travel, how errors are detected, and how communication stays reliable.
Understanding data communication prepares you to learn about computer networks, where multiple devices communicate simultaneously using protocols and addressing.