Computer Systems Explained: Hardware, Software, and Brainware (with Diagrams)

What a computer system is and how its three components, hardware, software, and brainware, work together, with diagrams and a step-by-step example.

Computer Systems Explained: Hardware, Software, and Brainware (with Diagrams)

If you buy a new laptop and switch it on before any operating system has been installed, all you get is a black screen telling you that no bootable device was found. The reverse is just as true, because even the best application is useless without a machine to run it on and a person to use it. A computer only does useful work when several very different parts support each other, and the combination of those parts is what we call a computer system.

This article explains what a computer system is, what its components are, and how hardware, software, and brainware cooperate when you do something as ordinary as typing a document. I have also included a diagram of the whole system and a diagram of how the hardware works, which you are welcome to use for studying or in a presentation.

What is a computer system?

A system is a set of components that are connected to each other and work together toward a single goal. A computer counts as a system because it cannot do its job if any one of its components is missing, in the same way that a human body needs its organs, nerves, and brain to work at the same time.

The goal of a computer system is to turn data into useful information. A person enters the data, the machine processes it by following the instructions in a program, and the result is shown back to the person. That process involves three main components: hardware (the physical machine), software (the programs), and brainware (the people who use and manage the computer).

Diagram of a computer system showing brainware, software, and hardware as layers and how they communicate

The diagram shows the three components as layers. Brainware sits at the top because people give the commands and judge the results. Those commands are received by software, which translates them into instructions the machine understands, and the hardware carries out the instructions and sends the results back up through the same path.

An easier way to picture it: a kitchen

Think of a restaurant kitchen. The stove, pans, knives, and fridge are physical equipment you can touch, and they stand for the hardware. The recipe that lists the ingredients and the order of the cooking steps stands for the software, because a recipe contains instructions but cannot produce a meal on its own. The cook who reads the recipe, lights the stove, and decides when the food is ready stands for the brainware.

A fully equipped kitchen without a recipe leaves the cook working without direction, while a recipe without any equipment is just writing on paper. A computer is the same, since all three components have to be present and connected before any piece of work can be finished.

Hardware

Hardware is every part of the computer that has a physical form, from the keyboard you press to the processor hidden inside the case and the monitor that shows your work. Based on what they do, hardware components fall into several groups that together form a single flow of work, as the next diagram shows.

Diagram of how computer hardware works, from input through the processor, memory, and storage to output

Input devices

Input devices take in data from outside and turn it into signals the computer can process. A keyboard turns the keys you press into character codes, a mouse sends its position and clicks, a scanner turns a paper document into a digital image, and a microphone turns sound into audio data. Without input devices, a computer would have no way of knowing what its user wants.

The processor (CPU)

The processor, or CPU (Central Processing Unit), is often called the brain of the computer because it is where program instructions are actually executed. Inside the processor are three parts that work together continuously.

The Control Unit (CU) acts as a traffic controller. It reads instructions from memory, works out what each instruction requires, and then directs the other components, for example by deciding when data should be read from memory or sent to an output device.

The Arithmetic Logic Unit (ALU) is the part that does the actual calculating. Addition, subtraction, multiplication, and comparisons such as “is value A larger than value B” are all handled by the ALU, so whenever a program makes a decision, it is really the ALU that works out the answer.

Registers are very small but extremely fast storage locations built directly into the processor. They hold the instruction currently being executed, the memory addresses of data, and intermediate results. Registers often covered in computer architecture classes include the Program Counter, which records the address of the next instruction, the Instruction Register, which holds the instruction being worked on, and the Flag Register, which records conditions produced by a calculation, such as an attempt to divide by zero.

Main memory: RAM and ROM

Because the processor works so quickly, it needs an equally fast place to fetch data and instructions from. That place is main memory, which comes in two types with different properties.

RAM (Random Access Memory) holds the programs and data currently in use. When you open an application, it is copied from storage into RAM so the processor can reach it quickly. Everything in RAM disappears when the computer is turned off, which is why a document you have not saved is lost if the power suddenly goes out.

ROM (Read Only Memory) holds the basic program the computer needs the moment it is switched on, such as the BIOS or UEFI. Unlike RAM, ROM keeps its contents when the power is off. On modern computers this chip is usually flash memory that can still be updated through a BIOS update, but its role has not changed.

Storage

Since RAM loses its contents when the computer is turned off, the computer also needs somewhere to keep data permanently. That job belongs to storage devices such as SSDs, hard disks, and USB flash drives. Your operating system, applications, photos, and documents live here and are loaded into RAM whenever they are needed. The speed difference between an SSD and a hard disk is the reason a laptop with an SSD feels so much faster when it starts up and opens applications.

Output devices

Output devices present the results of processing in a form people can understand. A monitor shows images and text, a printer puts documents on paper, speakers produce sound, and a projector shows the screen at a much larger size. The graphics card (GPU) is often included in this group, because its job is to prepare the images that appear on the monitor.

The system bus

All of these components need to send data to one another, and the communication paths between them are called the system bus. The data bus carries the data or instructions being moved, the address bus carries information about which memory location or device is the destination, and the control bus carries command signals such as “read” or “write”. You can picture it as the road network on the motherboard that links every component together.

For a longer list of devices in each group, including the ones that work as both input and output, see the article on examples of computer hardware: input, processing, output and storage.

Software

Software is a collection of instructions that tells the hardware what to do. It has no physical form, yet without it the hardware is only a set of electronic circuits with no idea what to do next. Software is usually divided into three layers, from the one closest to the machine to the one closest to the user.

Firmware and the BIOS

Firmware is a small program that the manufacturer builds directly into a piece of hardware. The best-known example is the BIOS or UEFI on the motherboard, which is the first thing to run when the computer is switched on. It checks that the processor, memory, and other devices are working, then finds the operating system on the storage drive and starts it. Other devices, such as printers, routers, and SSDs, have firmware of their own.

The operating system

The operating system is the software that manages all of the computer’s resources, from sharing the processor’s time and allocating RAM to accessing files and communicating with input and output devices. It also provides the interface people actually use, such as the desktop and the Start menu in Windows. Common operating systems today include Windows, macOS, and Linux on computers, and Android and iOS on phones.

Application programs

Application programs are software written to help people with specific tasks, and they always run on top of an operating system. Microsoft Word is used to write documents, Excel to calculate with tables, a browser such as Chrome to visit websites, and a point-of-sale app to record sales in a shop. When an application needs to save a file or show something on the screen, it does not command the hardware directly. It asks the operating system to do it.

Brainware

Brainware means the people involved in using and managing computers. It is the component people most often forget, even though a computer produces nothing unless someone designs its programs, operates it, and looks after it. Brainware can be divided into several groups according to their role.

System analysts study what an organization needs and then design a computer system to match. When a clinic wants to move from paper records to an application, for example, the system analyst decides which data has to be recorded and how the workflow should run.

Programmers write the code based on that design. Some programmers build system software such as operating systems and drivers, which requires a deep understanding of how hardware works, while others build applications for end users, such as point-of-sale systems or mobile apps.

Operators and end users are the people who use applications to get their daily work done, such as an administrative assistant writing letters or a cashier recording sales. They do not need a deep understanding of the hardware, but they do need to operate the input and output devices and understand the applications they use.

Technicians maintain and repair the hardware, install new components, and keep the computer network running. In many offices this role is shared with an administrator who manages user accounts and system security.

A fuller explanation of each role, including newer ones such as data analysts and cybersecurity specialists, is in the article what brainware is, with its types, roles and examples.

Example: what happens when you type in Microsoft Word

To make the relationship between the three components easier to picture, let’s follow a single letter you type in Microsoft Word from start to finish.

It all begins with you, the brainware, deciding to type the letter “A” and pressing that key on the keyboard. The keyboard, as an input device, sends a signal to the computer, and the operating system receives it and passes it on to Microsoft Word because Word is the active window. Word then asks the processor to add the letter to the document held temporarily in RAM, and the processor carries out that instruction using its CU, ALU, and registers. Next, Word asks the operating system to refresh the display, the graphics card prepares the image, and the letter “A” appears on the monitor. When you press Save, the document that existed only in RAM is written to the SSD or hard disk, so it stays safe after the computer is turned off.

The whole sequence takes a fraction of a second, and every component of the computer system plays a part in it.

Summary: hardware, software, and brainware compared

ComponentFormMain roleExamples
HardwarePhysical, can be touchedExecutes instructions and processes dataProcessor, RAM, SSD, keyboard, monitor
SoftwareNo physical formGives instructions to the hardwareBIOS, Windows, Android, Microsoft Word
BrainwarePeopleDesigns, operates, and maintains the computerSystem analysts, programmers, operators, technicians

Frequently asked questions

What are the components of a computer system?

A computer system has three main components: hardware, which is the physical equipment, software, which is the set of instructions or programs, and brainware, which is the people who use and manage the computer. All three have to be present and connected for the computer to turn data into information.

What happens if one of the components is missing?

The computer cannot do its job. Hardware without software does not know what to do, software without hardware has no machine to run on, and neither is useful without people who give commands and make use of the results.

Does brainware only mean computer users?

No. Brainware includes everyone involved with the computer, from the system analysts who design systems and the programmers who write software to the operators who use it and the technicians who maintain the equipment.

What is the difference between RAM and storage?

RAM holds the programs and data in use right now and loses its contents when the computer is turned off, while storage such as an SSD or hard disk keeps data permanently. RAM is much faster, which is why a program stored on an SSD is loaded into RAM before the processor runs it.

Can I use the diagrams in this article for school assignments?

Yes, you are welcome to use the computer system diagram and the hardware diagram for studying, assignments, or presentations. Please credit kuasaiteknologi.com as the source.

Advertisement
Computer
Building a product that has to stay reliable? I help founders and product teams scope, build and scale web and mobile products, with testing built in from day one.
Book a call

Keep reading

All articles