what do you mean by computer memory ? give a brief description of its types
Answers
CPU is made up of 3 parts
- Memory unit
- Control Unit
- ALU
Memory unit stores the input data so that it can be used by other units of computer as and when required. Large space of memory is divided into large number of small locations , each location is called a cell.
Memory is basically of 2 types :
- Primary
- Secondary
Primary :
- Ram: It is volatile memory, expensive, less storage capacity, working memory, semiconductor memory. It is of 2 types SRAM (static RAM) and DRAM(Dynamic RAM). It is fastest only after Cache memory.
- ROM : It is non volatile memory, less expensive, permanently stored form of memory , generally used to store BIOS of computer.
Secondary Memory :
This is extra storage space which is optional for running a computer. It consists of HDD, CD, Pen Drive, Floppy disks (extinct species :P), etc It is very cheap. It is slow as compared to primary memory. The data can be edited and it is non volatile.
Another type of memory is cache memory. It consists of high speed semiconducting devices that increases the speed of computer. It is a buffer between CPU and primary memory. Only frequently used data is stored in cache memory. It is fastest only after registers, but very expensive. Hence only small amount of cache memory is used.
NOTE : SRAM is often used as CACHE MEMORY, while DRAM is used as RAM in computers.