

A computer has a few important parts: t
The processor, The memory , and the I/O components . These parts work together to run programs.
The Processor :- Processor control everything and does all the important calculations and tasks. When there's only one processor, we call it the central processing unit (CPU). It's make sure everything runs smoothly.
The main memory :- The main memory is like the computer's short-term memory. It stores data and programs that the computer is currently using. But this memory is temporary. When you shut down the computer, everything in main memory gets erased. On the other hand, disk memory, which is like long-term memory, keeps things saved even when the computer is off. Main memory is also called real memory or primary memory.
The I/O modules :- I/O modules are like the computer's communication equipment. They help move data between the computer and disks. Disks, which are secondary memory devices. I/O modules make sure the computer can exchange information with all these different devices.
The system bus :- The system bus is like the connector, that's provides communication between the processor, main memory, and I/O modules. Where data and information travel back and forth between these different parts of the computer. So, and working together smoothly.