CPU
Central Processing Unit (CPU) is used to describe the electrical circuitry in a computer responsible for executing instruction sets derived from programs that have been converted into machine code.
CPU’s sit at the heart of the system of a computer and are connected to the motherboard. They also have caches which act as memory units capable of temporary storage and quick retrieval of files by the computer.
The performance or speed of a processor depends on, among many other factors, the clock rate (usually measured in hertz) and the instructions per clock (IPC), which together are the factors that make up the instructions per second (IPS) which measures CPU performance. CPU’s can have multiple cores which allow them to perform operations in parallel to one another which greatly increases the speed and efficiency of the computer.
Major Components
Two major components of the CPU are:
Control Unit (CU): The control unit is a component of the CPU that directs the operation of the processor. It controls the response to the instructions that have been sent to the processor via machine code by directing the flow of data between the CPU and the other devices.
Arithmetic Logic Unit (ALU): The arithmetic logic unit is a digital circuit within the processor that performs integer arithmetic and bitwise logic operations.
Contribute to Docs
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.
Learn more on Codecademy
- Skill path
Code Foundations
Start your programming journey with an introduction to the world of code and basic concepts.Includes 5 CoursesWith CertificateBeginner Friendly4 hours - Career path
Computer Science
Looking for an introduction to the theory behind programming? Master Python while learning data structures, algorithms, and more!Includes 6 CoursesWith Professional CertificationBeginner Friendly75 hours - Career path
Front-End Engineer
Front-end engineers work closely with designers to make websites beautiful, functional, and fast.Includes 34 CoursesWith Professional CertificationBeginner Friendly115 hours