CS Fundamentals
Learn what computer networks are, why they exist, their components, advantages, and how they enable communication and resource sharing.
Introduction
Right now, as you read this content, your device is connected to a vast network that spans the entire planet. This network connects billions of devices — computers, phones, servers, IoT sensors, and more — enabling them to communicate and share resources instantly. This is a computer network, and understanding how networks work is fundamental to understanding modern computing.
Before networks existed, computers were isolated machines. If you wanted to share a file with a colleague, you copied it to a floppy disk and physically carried it to their computer. If you wanted to print, you needed a printer connected directly to your machine. If multiple people needed access to the same data, they each kept their own copy — with all the synchronization problems that creates. Computer networks solved all these problems by enabling machines to communicate electronically.
What Is a Computer Network?
A computer network is a collection of two or more computing devices connected together to share resources and communicate. The connection can be through physical cables (Ethernet, fiber optic) or wireless signals (WiFi, Bluetooth, cellular). The shared resources include hardware (printers, scanners, storage devices), software (applications running on servers), data (files, databases, media), and internet connectivity.
A network requires several components to function. Devices (also called nodes or hosts) are the computers, phones, servers, printers, and other equipment connected to the network. A communication medium provides the physical or wireless pathway for data — cables, WiFi signals, or fiber optic lines. Network interface cards (NICs) are hardware in each device that handle the physical connection to the network. Switches and routers are networking devices that direct data traffic to the correct destination. Protocols are rules governing how data is formatted, transmitted, and received.
Why Networks Exist — Advantages
Resource sharing is the primary reason networks exist. Instead of buying a printer for every computer in an office, one high-quality printer can be shared among dozens of users through the network. Similarly, expensive software can run on a server and be accessed by multiple users, storage can be centralized and shared, and a single internet connection can serve an entire building.
Communication is the most transformative benefit. Networks enable email, instant messaging, video conferencing, VoIP calls, and real-time collaboration. A team spread across different cities (or countries) can work together as effectively as if they were in the same room.
Centralized data management means important data can be stored in one location (a server) where it can be properly backed up, secured, and made accessible to authorized users from any connected device. This eliminates the problem of each person maintaining their own outdated copies.
Reliability through redundancy means if one computer fails, others can take over its tasks. Data stored on network servers is regularly backed up. Critical systems can be replicated across multiple servers so that failure of one does not bring everything down.
Cost efficiency comes from sharing expensive resources (internet connections, printers, storage systems) among many users and centralizing maintenance. It is far cheaper to manage one server with shared software licenses than to install and maintain software on every individual machine.
How Data Travels Across Networks
When you send data across a network (like loading a web page), the data does not travel as one continuous stream. It is broken into small chunks called packets. Each packet contains the data payload plus header information — the source address (where it came from), destination address (where it is going), sequence number (so packets can be reassembled in correct order at the destination), and error-checking information.
This packet-switching approach has significant advantages. Multiple conversations can share the same network simultaneously (packets from different sources interleave on the same wires). If a packet is lost or corrupted during transmission, only that packet needs to be resent — not the entire message. Packets can take different routes to the destination, improving reliability if some path fails.
When packets arrive at the destination, they may arrive out of order (having taken different routes). The receiving device uses the sequence numbers to reassemble them in the correct order, checks for errors, requests retransmission of any missing or corrupted packets, and delivers the complete, correct message to the application.
Network Models — How Communication Is Organized
Computer communication is organized into layers, with each layer handling a specific aspect of the process. The two main reference models are the OSI Model (7 layers — used for teaching and understanding) and the TCP/IP Model (4 layers — used in practice on the internet).
The layered approach means each layer only needs to interact with the layers directly above and below it. This modularity allows different layers to be updated or replaced independently. For example, you can switch from a wired connection (Ethernet) to wireless (WiFi) at the physical layer without any changes needed at the application layer.
Client-Server vs Peer-to-Peer
Networks can be organized in different ways. In client-server architecture, dedicated servers provide services (file storage, email, web hosting, databases) and client devices request and consume those services. This is the dominant model for internet services — when you browse a website, your browser (client) requests pages from a web server.
In peer-to-peer (P2P) architecture, every device is equal — each can be both a provider and consumer of resources. No dedicated server exists. File-sharing networks like BitTorrent use this model — each user simultaneously downloads from and uploads to other users. P2P is simpler for small networks but does not scale well and is harder to manage.
Key Takeaways
- A computer network connects devices to share resources and enable communication
- Networks require devices, communication media, NICs, switches/routers, and protocols
- Key advantages: resource sharing, communication, centralized management, reliability, and cost efficiency
- Data travels as packets — small chunks with addressing and sequencing information
- Layered models (OSI, TCP/IP) organize network communication into manageable, modular components
- Client-server architecture dominates internet services; peer-to-peer works for small or specialized networks
- Understanding networking fundamentals is essential for any IT career
- Networks have transformed computing from isolated machines to a globally connected ecosystem
Exam Focus
Revise definitions, diagrams, examples, and short-answer points for Introduction to Computer Networks.
Interview Use
Prepare one clear explanation, one practical example, and one common mistake for this Computer Fundamentals topic.
Search Terms
computer-fundamentals, computer fundamentals, computer, fundamentals, networking, basics, network, introduction
Related Computer Fundamentals Topics