Components of a computer system
CPU: It is the electronic circuitry of a computer that carries out the actual processing and is usually referred to as the brain of the computer. It is also commonly called 'processor' also.
The CPU is given instructions and data through programs. The CPU then fetches the program and data from the memory and performs arithmetic and logical operations as per the given instructions and stores the result back to memory.
ALU: ALU performs all the arithmetic and logic operations that need to be done as per the instruction in a program.
CU: CU controls sequential instruction execution, interprets instructions, and guides data flow through the computer’s memory, ALU, and input or output devices.
Input device: The devices through which control signals are sent to a computer are termed input devices. These devices convert the input data into a digital form that is acceptable by the computer system. Some examples of input devices include the keyboard, mouse, touch screen, scanner, etc.
Output Devices: The device that receives data from a computer system for display, physical production, etc., is called an output device. It converts digital information into a human-understandable form. For example, monitor, projector, headphones, speaker, printer, etc.