Welcome to the World of Networks!

Hi there! Welcome to your study guide for Unit 1: Networks. Think of a network as a conversation between digital devices. Whether you are sending a WhatsApp message, streaming a movie, or playing an online game, you are using a network. In this chapter, we will explore how these "conversations" happen, the rules they follow, and how we keep them safe. Don't worry if some of the technical terms look scary at first—we will break them down into bite-sized pieces together!

Section 1: Network Models – How Devices Connect

Before devices can talk, they need a "social structure." This is what we call a network model.

1. Client-Server

Imagine a restaurant. You are the client (ordering food), and the kitchen is the server (providing the service). In IT, your laptop is usually the client, and a powerful computer far away (the server) provides your emails or web pages. The server is the "boss" that manages security and files.

2. Peer-to-Peer (P2P)

This is like a group of friends sharing notes. Every computer is equal. There is no "boss" server. This is great for small homes or sharing files directly between two phones, but it can get messy if too many people join.

3. Ad Hoc Networks

This is a temporary network. Imagine you and a friend are in a park with no Wi-Fi, and you connect your two laptops directly to play a game. That’s Ad Hoc—it’s built "on the fly" for a specific purpose.

4. Tethering

You’ve probably done this! This is when you use your smartphone’s mobile data to give your laptop an internet connection. Your phone acts as a Personal Hotspot.

Quick Review:
Client-Server: Centralized and powerful.
Peer-to-Peer: Equal and simple.
Ad Hoc: Temporary and direct.
Tethering: Sharing phone data.

Key Takeaway: The model you choose depends on who is in charge and how permanent the connection needs to be.


Section 2: Network Protocols – The Rules of Conversation

If two people speak different languages, they can’t communicate. Protocols are the "languages" or rules that devices follow so they can understand each other.

Common Wireless Protocols

Wi-Fi: High-speed connection for homes and offices. Uses radio waves.
Bluetooth: Short-range connection. Perfect for headphones or smartwatches.
ZigBee: A special low-power language used mostly for Smart Home devices (like light bulbs that talk to a hub).
Cellular (3G/4G): Uses cell towers to provide internet over long distances while you are moving.
Infrared: Uses light pulses. Think of your TV remote! It only works if you have a "line of sight" (nothing blocking the way).

The "Big Rules"

TCP/IP: This is the "Post Office" of the internet. IP (Internet Protocol) handles the address on the envelope, and TCP (Transmission Control Protocol) makes sure the letter gets there in one piece and in the right order.
VoIP (Voice Over Internet Protocol): This allows you to make voice calls over the internet (like Skype or Discord).
SIP (Session Initiation Protocol): This is the "handshake" that starts and ends a VoIP call.
OSI Model: Think of this as a 7-layer cake. Each layer has a different job (like the physical cables at the bottom and the app you use at the top) to make communication happen.

Memory Aid: To remember the 7 OSI layers (Physical, Data Link, Network, Transport, Session, Presentation, Application), use the phrase: Please Do Not Throw Sausage Pizza Away!

Key Takeaway: Protocols are rules. TCP/IP is the most important one because it runs the entire internet.


Section 3: Network Design – Wired and Wireless Media

How does the data actually travel? It moves through transmission media.

Wireless (No Cables)

1. Microwave: High-frequency radio waves sent between towers. Great for long distances where you can't lay cables.
2. Radio: Standard waves used for Wi-Fi and mobile phones.
3. Light: Used in Infrared or Li-Fi (internet through light bulbs).
4. Satellite: Beaming data into space and back down. Good for remote areas (like the middle of the ocean) but can be slow because the data has to travel so far.

Wired (Cables)

1. Copper (Twisted Pair): The standard "Ethernet" cable. It’s cheap but can be affected by electrical interference.
2. Fibre (Fibre Optic): Uses pulses of light inside glass threads. It is incredibly fast and doesn't care about electrical interference, but it is expensive.
3. Powerline: Uses the existing electrical wiring in your house to carry internet data from one room to another.

Did you know? Fibre optic cables are so thin they are about the size of a human hair, yet one single strand can carry thousands of movies at once!

Key Takeaway: Use Fibre for speed and Wireless for convenience.


Section 4: Network Metrics – Measuring Performance

How "good" is your network? We use these metrics to find out:

Bandwidth: The "width" of the pipe. How much data *can* be sent at once?
Throughput: How much data is *actually* getting through? (Usually less than the bandwidth due to traffic).
Latency: The "lag." How long does it take for a packet to travel from A to B?
Jitter: When the lag keeps changing. This makes video calls look "choppy."
Packet Loss: When bits of data get lost and never arrive.
Scalability: Can the network handle 100 more people without breaking?

Math Alert! To calculate how long it takes to send a file, we use:
\( \text{Time} = \frac{\text{File Size}}{\text{Transmission Speed}} \)
Common Mistake: Make sure your units match! If the file is in Megabytes (MB) and speed is in Megabits (Mbps), you must multiply the file size by 8 first (since 1 byte = 8 bits).

Key Takeaway: High bandwidth and low latency make for a happy gamer!


Section 5: Network Hardware – The Building Blocks

To build a network, you need "stuff." Here are the main parts:

Switch: The "Smart Connector." It connects devices in a building and only sends data to the specific device that needs it.
Router: The "Traffic Cop." It connects two different networks (like your home network to the Internet).
Hub: The "Dumb Connector." It sends data to *everyone* on the network, which is slow and insecure. (We don't use these much anymore!).
Modem: Converts the signal from your ISP (like from a phone line or cable) into a signal your computer understands.
NIC (Network Interface Card): The actual chip inside your laptop that lets it plug into a network.
WAP (Wireless Access Point): This provides the Wi-Fi signal for devices to connect to.

Key Takeaway: A Switch connects devices *inside* a network; a Router connects you *to* the internet.


Section 6: Addressing – Finding Your Way

Every device on a network needs a name so data can find it.

IP Addressing (The Home Address)

IPv4: Uses 4 numbers (e.g., 192.168.1.1). We are running out of these!
IPv6: A much longer address (using letters and numbers) so every grain of sand on earth could have its own IP address.
Static IP: An address that never changes (good for servers).
Dynamic IP: An address that changes every time you log on (handled by DHCP).

MAC Addressing (The Fingerprint)

A MAC Address is a unique ID burned into the hardware of your device when it's made. It never changes, no matter what network you join.

Quick Review:
IP Address: Where you are "living" on the network right now.
MAC Address: Who you "are" as a device.


Section 7: Network Security – Keeping Hackers Out

Networks are under constant threat. Here is how we protect them:

Firewall: A digital wall that checks all incoming and outgoing data to see if it’s allowed.
Anti-malware: Software that scans for viruses and "bad" programs.
Encryption: Scrambling data so that even if a hacker steals it, they can't read it.
Authentication: Proving you are who you say you are. This includes Passwords, Biometrics (fingerprints/face ID), and Two-Factor Authentication (2FA) (like a code sent to your phone).
Physical Controls: Don't forget to lock the server room door!

Key Takeaway: Security is about "layers." One password isn't enough; you need firewalls, encryption, and physical locks too.


Don't worry if this seems like a lot! Networks are a big topic. Just remember: it's all about how devices Connect (Models), Talk (Protocols), and stay Safe (Security). You've got this!