Welcome to the World of Communication!
In this chapter, we are going to explore how computers "talk" to each other. Whether you are sending a WhatsApp message, streaming a movie, or browsing the web, you are using complex communication systems. By the end of these notes, you’ll understand the hardware, the rules, and the structures that make the digital world possible. Don’t worry if this seems tricky at first—we will break it down piece by piece!
1. LANs and WANs: The Scope of Networks
Networks are categorized by how much space they cover. Think of it like the difference between a walkie-talkie in your house and a global satellite phone.
LAN (Local Area Network)
A LAN covers a small geographical area, like a single home, an office, or a school. Example: Your school’s computer lab where all computers are connected to one printer.
Characteristics:
- Owned by the organization using it.
- High data transfer speeds.
- Low risk of data errors.
WAN (Wide Area Network)
A WAN covers a large geographical area, like a city, a country, or even the whole world. The Internet is the most famous example of a WAN. Example: A bank with branches in London, New York, and Tokyo.
Characteristics:
- Often uses third-party infrastructure (like phone lines or satellites).
- Slower data transfer speeds than a LAN.
- Higher risk of errors due to the distance data travels.
Quick Review:
LAN = Small area (Home/School).
WAN = Large area (Global/Internet).
2. Client-Server vs. Peer-to-Peer Models
This describes "who is in charge" of the network.
Client-Server Model
In this model, there is a clear "boss" (the Server) and "customers" (the Clients).
- Server: A powerful computer that provides resources and services.
- Client: Your computer or phone that requests things from the server.
Benefits: Centralized security and backups.
Drawbacks: If the server crashes, nobody can do anything!
Peer-to-Peer (P2P) Model
Every computer is equal. There is no central server. Each computer can share its own files with others.
Analogy: A group of friends at a picnic. Everyone brings their own snacks and shares them. No one is the "shopkeeper."
Benefits: Easy to set up; no expensive server needed.
Drawbacks: Hard to keep files organized and secure because they are spread everywhere.
Thin-Client vs. Thick-Client
This refers to how much work your "client" computer does:
- Thin-Client: Your computer does very little processing. It relies on the server for almost everything. (Cheap hardware, but needs a constant connection).
- Thick-Client: Your computer does most of the processing itself. (More expensive, but can work offline).
3. Network Topologies
Topology is just a fancy word for the physical layout or "shape" of the network.
1. Bus Topology: All computers connect to a single main cable (the "bus").
2. Star Topology: Every computer connects to a central Switch or Hub. Most common in modern offices.
3. Mesh Topology: Every computer is connected to every other computer. Very reliable but expensive.
4. Hybrid Topology: A mix of two or more of the above.
Did you know? In a Star Topology, if one cable breaks, only that computer goes offline. But in a Bus Topology, if the main cable breaks, the whole network fails!
4. Cloud Computing
Cloud computing is using someone else's servers over the internet to store data or run programs.
Public Cloud: Services offered over the public internet (like Google Drive or Dropbox).
Private Cloud: A secure cloud environment used only by one organization (like a private government database).
Benefits: You can access your files from anywhere; you don't need huge hard drives.
Drawbacks: You need internet access, and you have to trust the provider with your security.
5. Transmission Media (Cables and Wireless)
How do the bits actually travel? They use Wired or Wireless connections.
Wired Connections:
- Copper Cable (Twisted Pair): Cheap and common, but slows down over long distances.
- Fibre-optic Cable: Uses light to send data. Very fast and works over long distances, but very expensive.
Wireless Connections:
- Radio Waves (WiFi): Good for short distances in homes.
- Microwaves: Used for point-to-point communication between towers.
- Satellites: Used for global coverage, though there is often a "delay" (latency).
6. Network Hardware
To build a network, you need "tools." Here are the essentials for a LAN:
- Switch: Connects devices on a LAN and sends data only to the specific device that needs it.
- Server: Provides services (like file storage or email) to the network.
- NIC (Network Interface Card): The hardware inside your computer that allows it to plug into a network.
- WAP (Wireless Access Point): Allows devices to connect via WiFi.
- Bridge: Connects two different LANs together.
- Repeater: Boosts the signal so it can travel further.
- Router: This is the "traffic cop" of the internet. It connects your LAN to the WAN (the Internet) and decides the best path for your data.
7. Ethernet and Collisions (CSMA/CD)
Ethernet is the most common standard for wired LANs. But what happens if two computers talk at the exact same time? A Collision occurs!
Computers use CSMA/CD (Carrier Sense Multiple Access with Collision Detection):
1. The computer "listens" to the cable. If it's quiet, it sends data.
2. If a collision is detected, it stops immediately.
3. It waits a random amount of time before trying again.
Memory Aid: Think of it like a polite conversation. You wait for a gap to speak. If you accidentally talk over someone, you both stop, wait a second, and then one of you tries again.
8. Bit Streaming
Streaming is when you play a file while it is still downloading.
- Real-time: Live events (like a live sports match). You can't pause or rewind the "live" part easily.
- On-demand: Pre-recorded files (like Netflix). You can play them whenever you want.
Key Point: Bit streaming requires a high Broadband Speed. If the Bit Rate (data per second) of the video is higher than your internet speed, you get the "buffering" wheel of doom!
9. IP Addresses and the DNS
Every device on a network needs an "address" so data can find it.
IPv4 vs IPv6
IPv4 looks like: \(192.168.1.1\). We ran out of these because there are so many devices!
IPv6 was created to provide trillions of more addresses. It uses hexadecimal (e.g., \(2001:0db8:85a3...\)).
Public vs Private IP
- Private IP: Used inside your house (your router gives this to your laptop).
- Public IP: Used by the whole world to find your house on the internet.
Static vs Dynamic IP
- Static: The address never changes (good for web servers).
- Dynamic: The address changes every time you connect (more secure and easier for ISPs to manage).
URL and DNS (Domain Name Service)
Computers love numbers (\(142.250.190.46\)), but humans love names (google.com).
1. You type a URL (Uniform Resource Locator) like www.example.com.
2. Your computer asks a DNS Server: "What is the IP address for this name?"
3. The DNS looks it up and sends back the IP address.
4. Your browser then goes to that IP address.
Final Key Takeaway:
The Internet is the hardware infrastructure (the cables and routers). The World Wide Web (WWW) is the collection of websites and HTML pages that sit on top of the internet. They are not the same thing!
Keep going! You've just covered the backbone of how the modern world connects. Review these terms and you'll be well on your way to mastering AS Level Communication!