Networking

Computer Science (Computer) — Learn about Networking in Computer Science (Computer). Comprehensive study materials and practice questions.

Study Notes

Introduction to Computer Networking

A computer network is a collection of interconnected computers, servers, mainframes, network devices, peripherals, or other devices that allow for the sharing of data, resources, and communication. Networks facilitate seamless collaboration, resource optimization (like sharing a single printer among fifty computers), and rapid information exchange across global distances.

1. Types of Networks

Networks are broadly classified based on their geographical span, ownership, and accessibility. Note that some common syllabus terms may contain OCR/typographical variations (e.g., 'Milne' for Intranet and 'Extinct' for Extranet).

  • PAN (Personal Area Network): The smallest network scale, centered around an individual, typically within a range of 10 meters. Common examples include connecting a smartphone to a smartwatch or wireless headphones via Bluetooth.
  • LAN (Local Area Network): Confined to a small, localized area such as a single room, home, office building, or school. LANs offer high-speed data transfer rates and are highly secure because they are privately owned and managed.
  • MAN (Metropolitan Area Network): Covers a larger geographical area than a LAN, typically spanning an entire city or a large university campus. It is often used to connect multiple LANs within the same town or city.
  • WAN (Wide Area Network): Spans large physical distances, connecting countries or continents. WANs use public, leased, or satellite communication links. The global Internet is the ultimate example of a WAN.
  • Intranet (sometimes referred to as Milne in legacy syllabus contexts): A highly secure, private network accessible only to an organization's internal members (employees). It is used for sharing company news, tools, and resources securely.
  • Extranet (sometimes referred to as Extinct in legacy syllabus contexts): An extension of an intranet that allows controlled, limited access to authorized external users such as suppliers, vendors, or trusted customers.
  • Internet: A globally interconnected system of public computer networks that use the standard Internet Protocol Suite (TCP/IP) to communicate, linking billions of devices worldwide.

2. Network Topologies

Network topology refers to the physical or logical arrangement of computers, cables, and other components on a network. The choice of topology impacts network performance, installation costs, and fault tolerance.

A. Star Topology

In a Star topology, all nodes (computers/peripherals) are directly connected to a central connection point, such as a hub or a switch. This is the most common modern topology.

  • Advantages: Easy to install and manage; if one cable fails, only the connected node is isolated; simple troubleshooting.
  • Disadvantages: If the central device (hub/switch) fails, the entire network goes down (single point of failure); requires more cabling than other topologies.

B. Bus Topology (sometimes misprinted as 'Boo')

In a Bus topology, all devices are connected to a single continuous central cable called the 'backbone'. Terminators are placed at each end of the backbone to absorb signals and prevent signal bounce.

  • Advantages: Inexpensive to implement; requires minimal cabling; simple to set up for small networks.
  • Disadvantages: If the backbone cable breaks, the entire network fails; difficult to isolate faults; performance degrades as more devices are added due to data packet collisions.

C. Ring Topology

In a Ring topology, devices are connected in a circular loop. Data travels in one direction (unidirectional) or sometimes two (bidirectional) around the ring, passing through each device which acts as a repeater to boost the signal.

  • Advantages: No data collisions because of 'Token Passing' mechanisms; performs better than bus topology under heavy loads.
  • Disadvantages: A break in the cable or a failure of a single node can disrupt the entire network; adding or removing devices requires bringing down the entire network.

3. Network Devices

Network devices are hardware components used to connect computers, transmit data, and route traffic across a network.

  • Hub: A basic, non-intelligent device that operates at the Physical layer. It receives data on one port and broadcasts it to all other ports, regardless of the destination. This wastes bandwidth and increases data collisions.
  • Switch: An intelligent device that operates at the Data Link layer. It inspects incoming frames for destination MAC addresses and forwards data directly to the specific target port, reducing collisions and optimizing bandwidth.
  • Router: A device operating at the Network layer that forwards data packets between different networks using IP addresses. It determines the most efficient path for data to travel.
  • Modem (Modulator-Demodulator): Converts digital signals from a computer into analog signals for transmission over analog telephone lines or cable systems, and vice-versa at the receiving end.
  • Gateway: A node on a network that serves as an entrance to another network using completely different protocols. It translates communication protocols between incompatible networks.
  • Repeater: A physical layer device used to regenerate and amplify weak signals over long distances, preventing signal attenuation (loss of strength).
  • Access Point / Wireless Access Point (WAP): A device that allows wireless-capable devices (like laptops and phones) to connect to a wired network using Wi-Fi. It interfaces wireless signals with the physical wired infrastructure.
  • Network Interface Card (NIC - sometimes misprinted as MC): A hardware component (expansion card or integrated on the motherboard) that enables a computer to connect physically to a network. It contains a unique, hardcoded physical address known as the MAC address.

Master Networking Now!

Test your understanding with actual past questions and get instant, AI-powered explanations for every answer.

Start Free CBT Practice