Network Fundamentals
Introduction: Why Networks Matter 📡
students, every time you send a message, stream a video, join a game, or open a webpage, a network is doing a huge amount of work behind the scenes. A network is a set of connected devices that can share data and resources. In IB Computer Science HL, understanding network fundamentals is important because it gives you the foundation for later ideas such as data transmission, network structures, internet systems, security, and reliability.
By the end of this lesson, you should be able to:
- explain key networking terms and ideas clearly,
- describe how devices communicate across a network,
- recognize common network hardware and media,
- connect network fundamentals to real-world examples,
- understand how these basics support secure and reliable communication.
Think of a network like a city transport system 🚗. Devices are the places people want to reach, cables and wireless signals are the roads, and networking devices help traffic move in the right direction. If any part is poorly designed, communication becomes slow, unreliable, or blocked.
What a Network Is and Why It Works
A computer network is a collection of computers and other devices connected so they can exchange data. Networks can be small, like a home Wi-Fi setup, or enormous, like the internet. The main purpose of networking is communication and resource sharing.
Common resources shared over a network include:
- files and documents,
- printers,
- internet connections,
- databases,
- cloud services,
- application services.
One important idea is that networks are not only about computers. Phones, tablets, smart TVs, sensors, and even some appliances can all be networked devices.
Network communication depends on rules called protocols. A protocol is a set of agreed rules that devices follow so they can understand each other. Without protocols, devices would send data in ways that others could not interpret.
For example, when students opens a website, the browser and the web server use agreed communication rules to request and send data. That is why the page loads correctly instead of becoming random symbols.
Network Types, Sizes, and Purposes 🌍
Networks are often classified by size or geographic area.
A local area network, or LAN, covers a small area such as a home, classroom, or office building. LANs are usually privately owned and designed for fast communication within a limited space.
A wide area network, or WAN, covers a much larger area, such as cities, countries, or continents. The internet is the best-known example of a WAN, although it is actually a network of many networks.
A wireless LAN, or WLAN, is a LAN that uses wireless communication, often Wi-Fi, instead of physical cables for some or all connections.
Each type has advantages:
- LANs are usually fast and easier to manage.
- WANs allow communication over long distances.
- WLANs support mobility and convenience.
Real-world example: A school computer lab might use a LAN so students can print, access shared folders, and connect to the internet through one central link. A company with offices in different cities may use a WAN to connect all branches.
Network Components: The Parts That Make Communication Possible
A network needs devices and media to move data from one place to another. The main components include end devices, networking devices, and transmission media.
End devices
End devices are the devices that send or receive data. Examples include laptops, desktops, smartphones, printers, and servers. A server is a computer that provides services to other devices. A client is a device that requests a service.
In a school network, a student laptop is often a client, while the file server or print server provides services.
Networking devices
Networking devices help direct or manage traffic.
- A switch connects devices within a LAN and sends data to the correct device using MAC addresses.
- A router connects different networks and forwards data between them.
- A wireless access point allows wireless devices to connect to a wired network.
- A modem converts signals for communication with an internet service provider, depending on the connection type.
These devices are essential because data often passes through several steps before it reaches its destination.
Transmission media
Transmission media are the channels used to carry signals.
- Copper cables transmit electrical signals.
- Fibre-optic cables transmit light signals.
- Wireless media transmit electromagnetic waves through the air.
Fibre-optic cables are very fast and have high bandwidth, which means they can carry a large amount of data per second. Wireless connections are flexible but can be affected by distance, walls, and interference.
How Data Moves Through a Network 🚦
When students sends an email or loads a webpage, data does not always travel as one huge block. Instead, it is usually broken into smaller pieces called packets. Packet switching is a method where data is divided into packets that travel independently across the network and are reassembled at the destination.
Packet switching is widely used because it is efficient and can handle many users at once. If one route is busy, packets can sometimes take another route.
A packet typically contains:
- part of the message data,
- the source address,
- the destination address,
- sequencing information,
- error-checking information.
This helps the receiving device put the packets back in the correct order and detect missing or damaged data.
Example: When you watch a video online, different packets containing video data may arrive quickly and out of order, but your device rebuilds them so the video plays smoothly.
Addressing, Protocols, and Reliability
For communication to work, devices must be identifiable and follow rules.
An IP address is a numerical label used to identify a device on a network. It helps data travel to the correct destination. In a local network, devices may also use a MAC address, which is a hardware-based address assigned to a network interface.
Protocols define how communication happens. Important examples include:
- TCP, which helps ensure reliable delivery,
- IP, which handles addressing and routing,
- HTTP and HTTPS, which are used for web communication.
Reliability is important because data can be lost, delayed, duplicated, or corrupted. Systems use error detection and correction techniques to improve accuracy. A common technique is the checksum, where data is checked using a calculated value to detect mistakes.
If a file transfer fails, the network or protocol may resend missing packets. This is one reason modern networks can be highly dependable even though the internet is made of many separate systems.
Network Performance: Speed, Bandwidth, and Latency
Students often confuse speed, bandwidth, and latency, but these ideas are not the same.
Bandwidth is the maximum amount of data that can be transmitted per second. It is usually measured in bits per second, such as Mbps or Gbps.
Latency is the time taken for data to travel from source to destination. Low latency means data arrives quickly.
Throughput is the actual rate of successful data transfer. It may be lower than bandwidth because of congestion, errors, or overhead.
A network can have high bandwidth but still feel slow if latency is high. For example, a gaming connection needs low latency so player actions happen quickly. A video download benefits from high bandwidth because large amounts of data must move efficiently.
A useful comparison is a road system 🚗. Bandwidth is like the number of lanes on a road, while latency is like how long it takes to reach the destination. A wide road does not help much if traffic lights, detours, or distance make the journey slow.
Topologies and Network Structures
Network topology is the arrangement of devices and connections in a network. It can be physical, meaning the actual layout of cables and devices, or logical, meaning how data moves.
Common topologies include:
- Star topology: all devices connect to a central switch or hub.
- Bus topology: all devices share one main cable.
- Ring topology: devices are connected in a loop.
- Mesh topology: devices have multiple connections to each other.
The star topology is common in modern LANs because it is easy to manage and a fault in one cable usually affects only one device. However, if the central switch fails, many devices can be affected.
Mesh topology offers strong reliability because data can take multiple paths, but it is expensive and complex to install.
Why Network Fundamentals Matter in the Bigger Topic of Networks
Network fundamentals are the base for the rest of the Networks topic. If students understands devices, media, protocols, addressing, packet switching, and performance, it becomes much easier to study internet systems, security, and reliability later.
For example:
- understanding routers helps explain how the internet connects different networks,
- understanding packets helps explain data transmission,
- understanding protocols helps explain web communication and security,
- understanding latency and bandwidth helps explain user experience and network design.
In IB Computer Science HL, you are expected not just to memorize terms, but to reason about how choices affect performance and reliability. For instance, a hospital network may prefer wired connections for reliability in critical systems, while a classroom may use wireless access for flexibility.
Conclusion
Network fundamentals explain how connected devices communicate, share resources, and move data efficiently. The key ideas include network types, devices, media, addressing, protocols, packet switching, reliability, performance, and topology. These concepts are not isolated facts; they work together to make modern communication possible.
students, if you can explain how a packet travels, why a router matters, and why latency is different from bandwidth, you already understand a major part of the Networks topic. That understanding will help you with the rest of the IB Computer Science HL course and with real-world technology you use every day 🌐
Study Notes
- A network is a group of connected devices that share data and resources.
- Protocols are rules that allow devices to communicate correctly.
- A LAN covers a small area, while a WAN covers a large area.
- A client requests services; a server provides services.
- Switches connect devices within a LAN; routers connect different networks.
- Transmission media can be copper, fibre-optic, or wireless.
- Packet switching breaks data into packets that can travel independently.
- Packets usually contain data, addresses, sequencing, and error-checking information.
- An IP address identifies a device on a network.
- MAC addresses identify network interfaces at the hardware level.
- Bandwidth is the maximum data capacity of a link.
- Latency is the time taken for data to travel.
- Throughput is the actual successful transfer rate.
- Common topologies include star, bus, ring, and mesh.
- Network fundamentals support later study of internet systems, security, and reliability.
