A computer is an electronic device that accepts raw data as input, processes it according to a set of instructions called a program, and produces meaningful results as output. The word "computer" is derived from the Latin word "computare", which means to calculate. Today, computers have become an inseparable part of our lives, whether it is a smartphone in our pocket, a laptop on our desk, or the servers that power the Internet. They help us study, communicate, play, shop, bank and create, and understanding how a computer system works is the first step towards becoming a confident digital citizen.
A computer system is not just a single machine; it is a combination of hardware and software that works together to perform tasks. The hardware includes all the physical parts we can touch, while the software includes the programs and instructions that tell the hardware what to do. This chapter explains the components of a computer system, the working cycle of a computer, the difference between data and information, the units of memory, and the classification of computers. These fundamental ideas form the foundation for all the advanced topics that follow.
A computer system is made up of four main components: hardware, software, data and users. The hardware is the physical machinery such as the CPU, monitor, keyboard and mouse. The software is the collection of programs that control the hardware, such as the operating system and applications. Data is the raw facts and figures that the computer processes, and users are the people who operate the computer and give it instructions.
The hardware of a computer is generally divided into four parts. The input devices, such as the keyboard and mouse, send data into the computer. The output devices, such as the monitor and printer, display or print the results. The Central Processing Unit (CPU), which is called the brain of the computer, processes the data. The memory and storage devices, such as RAM and the hard disk, hold the data and instructions. All these parts communicate with one another through pathways called buses.
A computer works in a sequence known as the input-process-output cycle. First, data is entered through input devices. Next, the CPU processes the data by performing calculations and comparisons. Finally, the processed result is delivered through output devices. In modern systems, a fourth step, storage, is added, so the full cycle is called the IPOS cycle, where I stands for Input, P for Process, O for Output and S for Storage.
The Central Processing Unit is the heart of this cycle. It contains the Control Unit (CU), which fetches instructions from memory, decodes them and coordinates all operations, and the Arithmetic Logic Unit (ALU), which performs all the arithmetic operations such as addition, subtraction, multiplication and division, as well as logical operations such as comparing two values. The CPU also contains registers, which are small, very fast memory locations used to hold temporary data during processing.
Data is the raw, unorganised collection of facts and figures that has no meaning on its own. For example, the numbers 45 and 30, the word "Monday", and a list of temperatures are all data. When this data is processed, organised and interpreted so that it becomes meaningful and useful, it is called information. For example, "The temperature in Delhi on Monday was 45 degrees Celsius" is information.
The process of converting data into information is at the heart of computing. If the data fed into a computer is wrong, the output will also be wrong, a principle that is famously called "Garbage In, Garbage Out" or GIGO. Therefore, it is essential to give accurate data to a computer so that the information produced is reliable and useful for decision-making.
Memory is measured in special units. The smallest unit of memory is the bit, which can hold a single value of 0 or 1. Eight bits make one byte, which can store one character such as a letter or a digit. Larger units of memory are the kilobyte (KB), megabyte (MB), gigabyte (GB), terabyte (TB) and petabyte (PB). Each higher unit is equal to 1024 units of the lower one, because computers count in powers of two.
To understand these sizes, a simple text page may take about 4 KB, a photo about 2 to 5 MB, a movie about 1 to 2 GB, and a modern hard disk can store 1 TB or more. The primary memory of a computer includes RAM and ROM. RAM, or Random Access Memory, is volatile, which means it loses its contents when the power is switched off. ROM, or Read Only Memory, is non-volatile and permanently stores the instructions needed to start the computer. Secondary memory, such as the hard disk, stores data permanently even when the power is off.
Computers can be classified on the basis of their size, speed and power. Supercomputers are the fastest and most powerful computers in the world. They are used for complex tasks such as weather forecasting, scientific research and space exploration. Mainframe computers are large, powerful systems used by organisations like banks, airlines and government departments to process huge amounts of data quickly. Mini computers are smaller than mainframes and were used by medium-sized organisations for departmental computing.
Microcomputers, also called personal computers, are the most common type of computers used by individuals at home, school and work. They include desktops, which sit on a desk, and portable computers such as laptops, notebooks and tablets. Smartphones are also a type of microcomputer that fits in the palm of our hand. This classification helps us choose the right kind of computer for a particular task, from a supercomputer that predicts the weather to a small laptop that helps a student complete homework.
| Component | Description | Examples |
|---|---|---|
| Hardware | Physical parts of the computer | CPU, monitor, keyboard, mouse |
| Software | Programs and instructions | Operating system, games, MS Word |
| Data | Raw facts and figures | Numbers, words, images |
| Users | People who operate the computer | Students, teachers, accountants |
| Unit | Value | Approximate Use |
|---|---|---|
| Bit | 0 or 1 | Smallest unit of memory |
| Byte | 8 bits | One character |
| Kilobyte (KB) | 1024 bytes | Small text file |
| Megabyte (MB) | 1024 KB | A photo |
| Gigabyte (GB) | 1024 MB | A movie |
| Terabyte (TB) | 1024 GB | Hard disk storage |
A computer system is a combination of hardware and software that works on the input-process-output-storage cycle to turn raw data into meaningful information. It is made up of input devices, output devices, the CPU and memory, and it is measured in units from bits to terabytes. Computers are classified by size and power from supercomputers to personal computers. Understanding these fundamentals gives us the strong base needed to explore software, operating systems and applications in the chapters that follow.