Skip to main content

What do you meant by cache memory? What are the functions of it in the computer system? How it is different from primary memory?


Answer:
A small of fast memory that sis between RAM and CPU is called cache memory.
The functions of cache memory in the computer system are __
·         CPU requests contents of memory location
·         If present, get from cache(fast)
·         If not present, read required block from main memory to cache.
·         Then deliver from cache to CPU

Different from Primary Memory and Cache Memory:


Primary Memory is the memory that is directly accessible to the CPU. The computer needs this memory for constant processing of data and instructions. It reads instructions and executes them. RAM is a kind of Primary Memory. It is small in size, light but expensive also.
Whereas a Cache Memory is a kind of memory which is used by the Central processing unit of a computer. It reduces the time to access the main memory. It is smaller in size, faster and stores copies of data from frequently visited locations.

Primary memory is connected to the CPU Through a memory bus or a front end bus. RAM is used as primary storage having all such storage such that does not need to start the CPU.

Popular posts from this blog

Draw the basic organization of computer

Answer:                 The basic organization of computer__ Input Unit: ·          It accepts (or reads) instructions and data from outside. ·          It converts these instructions and data in computer acceptable form ·          It supplies the converted instructions and data to the computer system for further processing. Central Processing Unit (CPU): Control Unit: Control unit of a computer system manages and coordinates the operations of all other components of the computer system. Arithmetic Logic Unit(ALU): Arithmetic logic unit of a computer system is the place, where the actual executions of instruction, takes place during processing operation. Storage Unit: Primary Memory: It is volatile ( loses data on power ...

Describe the four basic data types. How could we extend the range of values they represent?

Answer: The basic four data types are: Data Type Integer Type Character Type Floating Point Type Void Type signed int short int long int unsigned unsigned int unsigned short int unsigned long int char signed char unsigned char float double long double