The four basic computer functions that work together in a computer system

This tutorial explains the basic functions, operations, and characteristics of a computer. Learn the four major functions of a computer through diagrams and examples.

Taking data and instructions from a user, processing the data as per instructions, and displaying or storing the processed data, are the four major functions of a computer. These functions are also known as the input function, process function, output function, and storage function, respectively.

The following diagram shows an example of these functions.

To provide these functions, a computer uses its components or devices. Usually, components of a computer are designed to perform only one of these four functions. But, some specialized components or devices are designed to perform two, three or all four functions. For example, a hard disk can perform three functions: input (when files are read), storage (when files are saved), and output (when files are written).

Components or devices of a computer, based on the function in which they are used, can be classified into four major types: the input devices, output devices, storage devices, and processing devices. For example, if a component processes the given instructions, the component is known as the processing device. Or if a device displays the processed data, the device is known as the output device.

Input function and devices

A computer is a data processing machine. It does nothing until a user (or a script or a program) provides the data that needs to be processed and the instructions that tell it how to process the data.

Any standard device or component that a user uses to instruct a computer is known as the standard input device. In other words, a computer uses its standard input devices or components to get instructions from a user.

The most common input devices are the keyboard and mouse. Almost all modern computers have these devices. Other common input devices are scanners, microphones, USB drives, and webcams.

Input data and instruction can also be generated from a non-standard input device such as the hard disk and CD/DVD. For example, a batch file in the Windows system may instruct the CPU to execute a program or a script at a particular time.

Installation disks are another good example of non-standard input devices. Usually, they contain a script or an executable program that automatically starts the installation process as soon as the disk is read.

Process function and devices

Once the data and instructions are received by the input function, the computer starts the processing function. In this function, a computer processes the received data according to the instructions.

To process the input data according to the instructions, the computer uses the CPU. A CPU is the main processing component of a computer. It processes user instructions, executes scripts and programs, and runs commands of the OS that provide a platform for installing and using application software.

Other important processing components are auxiliary processors. Auxiliary processors are also known as onboard processors. Auxiliary processors are used in devices to enhance their functionalities. You can think of an auxiliary processor as the private CPU of a device.

Only components or devices that provide the complex functionality such as Graphics cards, I/O devices, and network interface cards use auxiliary processors. For example, if a user draws an image, the auxiliary processor on the graphics card performs all calculations that require in drawing the image on the display device.

The following image shows a sample of both a CPU and an auxiliary processor.

The following table lists the main differences between a CPU and an auxiliary processor.

CPU Auxiliary processor
A CPU is a compulsory component. Without it, a computer does not work. An auxiliary processor is an optional component.
A CPU is an individual component. It is installed separately in the system. An auxiliary processor is an integrated part of a device. It can’t be installed separately.
A CPU is designed to perform all types of tasks. An auxiliary processor is designed to perform only a specific type of task.

Output function and devices

After processing the input data, the CPU, auxiliary processor, or the process function sends the processed data to the output function or to the default or configured output device. By default, computers use monitors as the default output device.

Aside from monitor, a variety of output devices are also available. Each output device presents the processed data in a different form, for example, a monitor, a printer, and a speaker displays, prints, and plays the processed data, respectively.

A user, based on his requirement, can connect and use two, three or more output devices to the computer. For example, after viewing the processed data, a user can send it to the printer for printing.

Storage function and devices

Storing data and information is the fourth major function of a computer. This function allows us to save the processed data for later use. To store data and information, a computer uses two types of storage components: temporary and permanent.

Temporary storage components are used to store data temporarily. Data stored in a temporary storage component is erased when the system is shutdown. RAM is a compulsory temporary storage component. A computer uses the ram to store the running applications and their data.

Permanent storage components are used to store data permanently. Data stored in a permanent storage component is not erased when the system is shutdown. The hard disk is the most common permanent storage component. Usually, all computers have at least one hard disk to store data. Other common permanent storage components or devices are external drives, USB drives, and CD/DVD.

The following image shows an example of both types of storage components.

Storage devices are also used in the input and output functions, allowing data to be saved (output function) and then accessed again later (input function).

Examples

The following table lists a few sample actions along with the name of devices and functions that are used when they are performed.

Action Device Function
A user running a text-editor program types the letter Z on the keyboard. The keyboard sends a code representing the letter Z to the CPU. Keyboard Input
The CPU processes the code and determines what letter was typed. Then the CPU sends instructions to the monitor to display the letter Z. CPU Process
The monitor displays the letter Z. Monitor Output
The user clicks the Save button. The mouse sends a code representing the click. Mouse Input
The CPU processes the code and determines what action was clicked. CPU Process
The CPU saves the file on the disk. Hard disk Storage

That’s all for this tutorial. In this tutorial, we discussed basic functions, operations, and characteristics of a computer.

  • Home
  • Computer Fundamentals
  • Functions of Computer
  • The functions of computers are numerous as modern computers are capable of completing simple to complex tasks with ease. Computer technology and related devices or components are becoming more advanced over time. In this way, it is very difficult to classify the functions of a computer. However, some basic functions are performed by every computer system irrespective of its size, power, capability, or modernity.



    In this article, we are discussing the basic functions of a computer. When discussing the basic 'functions of a computer', it is meant to represent all the basic steps that a computer takes to operate or accomplish any task. So, before discussing the basic functions of a computer, we must understand that what are the basic steps a computer follows when we work on it.


    How does the computer work?

    Both computer hardware and software work in parallel towards the proper functioning of the computer system. In particular, the working of any computer system mainly includes the following steps:


    Accept data by users through input devices, such as mouse, keyboard, scanner, etc.


    Accepted data is transferred to temporary memory and then sent for processing through a microprocessor (or CPU) as per given instructions.


    Generate meaningful information or output from processed data and display it through output devices like monitors, printers, etc. 


    Store the data permanently if desired by the user.



    Based on the fundamental working of a computer system, a computer mainly has four basic functions, namely:


    Data Input

    Data Processing

    Information Output

    Data and Information Storage


    The above functions of the computer are also known as an input function, process function, output function, and storage function, respectively.


    The four basic computer functions that work together in a computer system



    As we know that computers cannot work on their own. According to this, data is required in the form of input by the users for the computer to perform certain tasks. Thus data input is considered to be the initial or first function of a computer system. The computer does nothing until data is inputted by the user (or a script or a program) to be processed as per given instructions.


    Data can be supplied to the computer system manually, automatically, or both. Manual data is supplied using input devices whenever the computer requires it or whenever users want to accomplish certain tasks. In addition, automated data input can be done using automated scripts, applications, and robotics. It can intelligently feed predefined data into the computer or execute any task or program at a particular time, on start-up, based on user's action, click-activity, etc. 


    Even with the data being automated, the instructions are configured indirectly by the users to some extent. Data can be supplied in computer word processing programs, spreadsheets, online forms, databases, etc. The data is given in raw form only.



    The mouse and keyboard are one of the primary input devices of a computer system, which enables users to input data into the computer. However, there are many more input devices that help users to input data in various forms, such as text, numbers, images, audio, video, etc. For example, webcams can be used to input data in image or video form, a microphone can help input voice data, etc.


    Mouse: A mouse is an input device that acts as a point-and-click device and helps to move the cursor and select specific objects on a computer's screen (also called a monitor). It can be connected to the computer both by wire and wirelessly.


    The four basic computer functions that work together in a computer system


    Keyboard: The keyboard consists of several keys that help to input alphabet letters, numbers, signs, and other information. Like a mouse, it can also be wired and wireless.


    The four basic computer functions that work together in a computer system


    Data processing is the main function of the computer system. CPU (Central Processing Unit) plays a major role in the data processing. Once the raw data is given to the computer, the processing part comes into play, according to which the supplied (or raw) data is manipulated according to instructions to turn it into meaningful information. 



    There is always a constant development in technology to make modern computing devices better than their predecessors. There has also been a big improvement in the processing chip or CPU of the computer. Many modern computers nowadays use the CPU in conjunction with a graphics processing unit (GPU), making it an accelerated processing unit (APU). This combination of CPU and GPU integrates powerful graphics processing capabilities with the CPU's traditional arithmetic and local calculations, making computers faster, smoother, and more powerful.


    The CPU of a computer is called the ‘brain’ of the computer because it controls all the functions. It processes user instructions, executes system scripts and commands to boot the OS (Operating System), runs programs, etc. It is also responsible for performing arithmetic and logical operations in computer systems. It can also store temporary data, instructions, and results with the help of a memory unit. Each instruction is sequentially processed by the CPU and goes through the following units: 


    Control Unit: The Control Unit (CU) of the CPU controls all the activities and operations of the computer. It is also responsible for controlling input/output, memory, and other devices connected to the computer. In short, the control unit determines the sequence of operations and decodes the instructions into commands.


    Arithmetic Logic Unit: The Arithmetic Logic Unit (ALU) of the CPU performs arithmetic and logical operations. The arithmetic unit performs mathematical operations such as addition, subtraction, division, and multiplication. The logical unit performs logical and decision operations such as AND, OR, equal, greater, and less than, etc. In addition, the logic unit is also responsible for performing many other operations such as comparison, selection, matching, data merging, and so on.


    Memory Unit: The memory unit allows the CPU to temporarily store the data, program, intermediate and final results of the processed data. This is a temporary storage area but is vital to the functioning of the computer. All the inputs/outputs are first stored in the memory unit and then transferred to other units of the computer wherever necessary as per the instruction. It uses the primary memory (main memory) or RAM of the computer.


    The four basic computer functions that work together in a computer system


    Note: The Control Unit and the Arithmetic Logic Unit together make up a computer's CPU, which are hereby referred to as the primary components of the CPU.


    After the raw data supplied by the users is processed by the computer's processor, the processed data is sent from the primary memory to the output device by the CPU. This result is used for a meaningful purpose. The processed data or output is referred to as information. Information output or information retrieval is another basic function of a computer.


    Output devices are typically used to present the final result of the processed data. Monitor and printer are the primary output devices of a computer system. By default, the monitor is the default output device for computers these days. However, there are a variety of other output devices and users can connect one or more output devices together. For example, speakers and headphones can be used for the retrieval of sound output.


    The output received from the computer can also be stored in the form of soft copy or hard copy. Soft copy output refers to the information stored in the computer's storage mediums, while hard copy output is the information printed on paper, cloth, etc.



    Monitor: A monitor, also called a visual display unit, is one of the primary output devices of a computer. It is made of glass, circuitry, adjustment buttons, power supply, etc., all enclosed within a casing. It is connected to a computer to digitally view the output contents (such as text, image, video, etc.) on the screen.


    The four basic computer functions that work together in a computer system


    Printer: A printer is another output device that can be connected to a computer system to make a hard copy of the desired document, image, or information on paper. The printer takes electronic data from the computer and creates an exact copy of it in monochrome (in this context, black and white) or colors, depending on the type of printer. There are mainly two types of printers, impact, and non-impact printers.


    The four basic computer functions that work together in a computer system


    Recommended: Types of Printers


    Note: The process of transferring data between the computer system and its internal and external components is termed I/O (Input/Output) process and is done using I/O (Input/Output) devices.


    The fourth basic function of the computer system is data and information storage. A computer can store data temporarily, while information can be stored permanently, both internally and externally. Data is kept in memory until it is processed into a meaningful piece of information that can be permanently saved for future use or additional manipulation.



    After the input (raw data) is given, it is first stored in the primary memory for temporary use. It is then sent for processing and the current or ongoing data is still saved on the primary memory. After the data is processed, the results of the processed data are again placed on the primary memory, which is then sent as a meaningful piece of information to the output units from the primary memory. The information is then stored in permanent storage. 


    Multiple storage devices are used on the computer; however, RAM, ROM, and SSD/HDD play an important role in the functioning of the computer system. RAM is the primary memory and stores data temporarily, while ROM and HDD/SSD stores data permanently. Unlike HDD/SSD, data stored on ROM cannot be modified by users. Besides, users can take advantage of cloud storage to store their processed data permanently, which can be accessed from anywhere on various computing devices.


    RAM: RAM or Random Access Memory is the main memory (or primary memory) of the computer and temporarily stores the current data (or ongoing data). It has fast read/write speeds and can be accessed quickly by the computer's processor (CPU). It is a volatile memory and the data stored in it is lost when the power supply is turned off.


    The four basic computer functions that work together in a computer system


    ROM: ROM or Read-Only Memory is a non-volatile storage medium that permanently stores essential computer data such as firmware. As the name suggests, the data stored in ROM is read-only data and is not accessible to the user for modification. It is primarily read by the computer's processor to write/load boot-up data and system files into the primary memory.


    The four basic computer functions that work together in a computer system


    SSD/HDD: SSD stands for Solid State Drive, while HDD stands for Hard Disk Drive. These are two different permanent storage devices used on a computer. Both can be connected internally and externally. Normally, a computer uses at least one of these storage devices internally to store the operating system. Unlike ROM, data in these storage devices can be erased and written by the users as per their wishes.


    The four basic computer functions that work together in a computer system


    Recommended: Difference between SSD and HDD



    The functions of a computer typically include the following tasks: taking data, processing it, returning results, and storing it. To help computer systems perform these functions, computer devices can be classified as input devices, processing devices, output devices, and storage devices, respectively. Some specialized devices may participate in one or several functions.


    For example, a hard disk drive can participate in the following two functions of a computer: input (when files are read from the HDD), and storage (when files are saved to the HDD). Similarly, the touch screen can take input as well as display output.


    What others reading:
    • The four basic computer functions that work together in a computer system
    • The four basic computer functions that work together in a computer system
    • The four basic computer functions that work together in a computer system
    • The four basic computer functions that work together in a computer system