Unit 2: Computer Networks & Cybersecurity
Chapter 1: Network Evolution, Devices & Topologies
1. What is a Computer Network?
A computer network is a collection of interconnected autonomous computers and devices that can communicate and share resources (data, printers, internet connections) with each other.
A brief evolution: Networking began with ARPANET (late 1960s, a US Department of Defense project) which laid the foundation for the modern Internet - a global "network of networks" that connects millions of smaller networks together.
2. Types of Networks (By Geographical Span)
| Type | Full Form | Range | Example |
|---|---|---|---|
| PAN | Personal Area Network | A few meters, around one person | Bluetooth headset connected to a phone |
| LAN | Local Area Network | A single building or campus | Computer lab in a school |
| MAN | Metropolitan Area Network | A city | Cable TV network across a city |
| WAN | Wide Area Network | Country/continent/globe | The Internet itself |
3. Network Topologies
A topology is the arrangement/layout pattern of computers and cables in a network.
| Topology | Description | Advantage | Disadvantage |
|---|---|---|---|
| Bus | All devices connect to one common central cable (the "backbone") | Easy and cheap to set up for small networks | If the main backbone cable fails, the entire network goes down |
| Star | All devices connect individually to one central device (hub/switch) | Failure of one node's cable doesn't affect others; easy to add new nodes | If the central hub/switch fails, the entire network goes down |
| Tree | A hierarchical combination of multiple star networks, connected via a main bus backbone | Scalable - good for connecting multiple departments/labs | Failure of a backbone segment disconnects the entire branch below it |
4. Network Devices
| Device | Function |
|---|---|
| Modem | Modulator-Demodulator; converts digital signals to analog (for transmission over telephone lines) and back |
| Hub | A simple device that broadcasts incoming data to all connected ports, regardless of destination |
| Switch | Smarter than a hub - forwards data only to the specific port of the intended recipient device, using MAC addresses |
| Repeater | Amplifies/regenerates a weakening signal so it can travel further without loss of quality |
| Router | Connects two or more different networks and directs (routes) data packets between them, choosing the best path |
| Gateway | Connects two dissimilar networks that use different protocols, translating between them |
| RJ45 Connector | The standard 8-pin connector used to terminate Ethernet (twisted-pair) cables |
5. Transmission Media (Brief Overview)
Wired (Guided): - Twisted Pair Cable: Cheap, widely used for LANs (e.g., Ethernet cables). - Coaxial Cable: Better shielding than twisted pair, used for cable TV. - Optical Fiber: Uses light signals; very high speed and immune to electrical interference, but expensive to install.
Wireless (Unguided): - Infrared: Short range, line-of-sight only (e.g., TV remotes). - Radio Waves: Omnidirectional, used by Wi-Fi and Bluetooth. - Microwave: Line-of-sight, used for long-distance point-to-point links. - Satellite: Used for very long-distance/global communication.
6. Board Exam Focus Questions (Case Study Pattern)
Q1. XYZ School has four buildings: Admin, Science, Arts, and Sports, each about 80-100 meters apart. The school wants to connect all four buildings into one network, and also wants a single device to decide the best path for data between any two buildings.
(a) Suggest the most suitable topology to connect the buildings, and justify it. Answer: A Tree topology is most suitable, since it allows each building's internal star network to connect to a common backbone, which scales well for multiple separate buildings/departments while keeping cabling organized.
(b) Which device should be used to connect the different buildings' networks and determine the best path for data transmission? Answer: A Router, since its core function is to connect multiple networks and choose the most efficient path to forward data between them.
(c) Which cable would be most appropriate to connect devices within a single building's LAN? Answer: Twisted pair (Ethernet) cable, as it is cost-effective and sufficient for short-distance, high-speed LAN connections within one building.
Q2. Differentiate between a Hub and a Switch. Answer: A Hub is a broadcast device - it sends every incoming data packet to all connected ports, causing unnecessary network traffic. A Switch is intelligent - it reads the destination MAC address and forwards the data only to the specific port of the intended device, making it faster and more secure.