A computer is an electronic device that manipulates information and is often used to run programs , compute arithmetic operations. Computers only can read 1s and 0s via transistors rather than human readable text and use them to create amazing things. Computers use a mix of both hardware and software to make many of the amazing things we do today possible. We will discuss each part of the computer and it’s role in making computers work magically.
CPU – Central processing unit
The CPU is known as the brain of the computer 🧠, when ever we write cool programs like Python or C , they are translated to machine code that looks like this ‘10111000 00000101 00000000 00000000 00000000' because the CPU can only read 1s and 0s. Moreover the ALU ( Arithmetic Logic Unit) a small component built using logic sits within the CPU and handles the mathematical operations such as addition, subtraction, multiplication, and division, as well as logical operations, such as comparing values greater than, less than, or equal to allowing us to compute numbers at rapid speed. In conclusion the CPU is the powerhouse of the computer allowing it to execute instructions and compute mathematical and logical operations.
