Describe the relationship that exist between a computer processor and its memory
Answers
The computer processor (CPU) is the one which is actually doing the operations and calculations, while the memory stores this input and output data.
Consider an example of adding two numbers, 2 and 3.
- The instruction is written and stored in the memory, which is to add 2 and 3.
- The CPU reads that part of memory
- The CPU now understands that it is told to add 2 and 3
- The CPU performs the operation of adding 2 and 3
- The CPU writes and stores the output in a place in memory, which is "5".
I hope now you have understood what is the relation between CPU and memory! :D
Explanation:
Whatever is it to be processed by a computer , whether that is data or instruction , is first loaded into internal memory before the processor can process it .
A processor can take data or instruction from internal memory only . Also , even after processing the process data is first stored into internal memory and then it is directed to the output unit .
Therefore , the relationship of computers processor and its internal memory can be summarised as :
" Whatever needs to be processed ( weather data or instructions ) as to go via internal memory " hands internal memory is crucial for carrying out operations on a computer .