Processor and Computer Hardware
The Processor
A.k.a.(You can refer to it as the CPU. The CPU (central processing unit), is a general purpose processor, but the details below apply to all processors in general, such as the GPU (graphics processing unit).)
The processor is responsible for processing and executing program instructions.instructions as per the fetch-decode-execute (FDE) cycle.
Control Unit
The control unit is responsible for directing the flow of data between different components of the processor. It doesis thisresponsible for all three parts of the fetch-decode-execute cycle.
Buses
A bus is a set of parallel wires connecting two or more components of a computer. There are three main buses, collectively known as the system bus:
Arithmetic Logic Unit
The arithmetic logic unit (ALU) is responsible for performing arithmetic, such as adding and subtracting, as well as multiplication and division by executing bit shifts, and logical operations on data with operators like AND, OR, NOT, and XOR. Operations are performed on, and results are stored in, the accumulator.
Registers
Registers are super-fast, low-capacity primary memory devices located inside the processor. Each register has a dedicated purpose.
Cache Memory
Cache is a small amount of very fast memory located inside the processor. It stores frequently accessed instructions and data, so the processor does not have to fetch it from the RAM so often, which is located much further from the processor than cache. Reduces data transmission times thus result in greater processor performance. However, instructions and data in the cache could become outdated, harming data integrity. Furthermore, cache tends to be low in capacity - if it's too large, more time is spent searching the cache for the desired data, reducing processor performance.
Cores
A core is an independent processing unit within a processor that contains all of the above components. Multiple cores are connected in parallel in a circuit and can communicate with each other. Since they are otherwise independent of each other, they can execute instructions simultaneously. However, the more cores there are, the more power is drawn, causing heat to be generated.
Clock speed
The clock speed dictates the number of components.FDE cycles that occur per second, affecting the speed of instruction execution. This number is so vast, it is measured in MHz (million hertz) or GHz (billion hertz). The larger this number, the more cycles, but the more power drawn to do so, resulting in more heat being generated.