Welcome to Communication!

Hi there! Welcome to one of the most important chapters in your AQA AS Level Computer Science course. Have you ever wondered how an email travels across the world in seconds, or how your mouse tells your computer where to click? It all comes down to Communication.

In this chapter, we are going to look at the "rules of the road" for data. Don't worry if some of the terms sound a bit technical at first—we'll break them down using simple analogies that make sense in the real world. Let’s dive in!

1. How Data Travels: Serial vs. Parallel

When we send data, we are essentially sending bits (1s and 0s) from one place to another. There are two main ways to do this.

Serial Data Transmission

In serial transmission, bits are sent one after another, one at a time, over a single wire.

Analogy: Think of a single-lane road. Cars (bits) must follow each other in a straight line. Only one car can pass a specific point at a time.

Parallel Data Transmission

In parallel transmission, multiple bits are sent simultaneously over multiple wires.

Analogy: Think of a multi-lane motorway. Multiple cars (bits) can travel side-by-side at the same time, arriving at the destination together.

Which one is better?

You might think parallel is better because it seems faster, but in modern computing, Serial is often preferred for long distances. Here is why:

1. Crosstalk: In parallel, because wires are so close together, electrical signals can "leak" into neighboring wires, corrupting the data. Serial doesn't have this problem.
2. Data Skew: In parallel, bits might arrive at slightly different times because the wires aren't exactly the same length or quality. This "skew" makes it hard to reassemble the data. Serial bits always arrive in order.
3. Cost: Serial requires fewer wires, making it cheaper and thinner!

Quick Review: Serial vs. Parallel

Serial: One bit at a time, one wire, reliable over long distances.
Parallel: Multiple bits at once, multiple wires, used for very short distances (like inside a computer chip).


2. Keeping Time: Synchronous vs. Asynchronous

How does the receiver know when a bit starts and when it ends? They need a way to stay in sync.

Synchronous Transmission

In synchronous transmission, the sender and receiver use a shared clock signal. Data is sent at a steady rate dictated by the clock.

Analogy: A marching band. Everyone steps at the exact same time because they are all listening to the same drumbeat.

Asynchronous Transmission

In asynchronous transmission, there is no shared clock. Instead, the sender adds extra bits to "announce" the data.

Start Bit: Tells the receiver "Wake up! Data is coming."
Stop Bit: Tells the receiver "That's the end of this byte."

Analogy: Sending letters in the post. You don't know exactly when the postman will arrive, but you know a new message has started when you see an envelope in your letterbox.

Key Takeaway

Synchronous is faster for large amounts of data but requires complex timing. Asynchronous is great for simple, irregular data (like typing on a keyboard) because it doesn't need a constant clock signal.


3. Measuring the Speed: Communication Basics

When we talk about "fast internet," we are usually talking about these five key terms. They might seem similar, but they represent different things!

1. Bit Rate

The number of bits transferred per second. This is what we usually mean by "connection speed" (e.g., 100 Mbps).

2. Baud Rate

The number of signal changes (symbols) per second.
Important Note: One signal change can actually carry more than one bit. Imagine a bus (one signal change) that can carry 4 passengers (4 bits). If one bus passes every second, the Baud rate is 1, but the Bit rate is 4!

The formula for this is: \( \text{Bit rate} = \text{Baud rate} \times \text{number of bits per signal} \)

3. Bandwidth

This is the maximum capacity of a communication channel. It is measured in Hertz (Hz).
Memory Aid: Think of a water pipe. Bandwidth is the width of the pipe. The wider the pipe, the more data (water) can flow through it at once. Bit rate is directly proportionate to bandwidth.

4. Latency

The time delay between a request being made and the data starting to arrive. High latency is what gamers call "lag."

5. Protocol

A set of rules that allow two devices to communicate. If two computers use different protocols, they won't understand each other.
Analogy: If I speak English and you speak French, we can't communicate unless we agree on a "protocol" (a common language).

Common Mistake to Avoid

Don't confuse Bit rate and Baud rate. Just remember: Baud is about the "waves" or "signals" changing, and Bit is about the actual 1s and 0s moving.


Quick Summary Box

Serial: Single wire, no skew, great for long distance.
Parallel: Many wires, suffers from crosstalk and skew.
Asynchronous: Uses Start and Stop bits (no shared clock).
Baud Rate: Signal changes per second.
Bit Rate: Bits per second (can be higher than Baud rate).
Latency: The "lag" or delay in a connection.

Don't worry if this seems like a lot to memorize! Focus on the analogies first—once you understand the "why," the "how" becomes much easier to remember.