SlideShare a Scribd company logo
1 of 3
Download to read offline
COMPUTER - MEMORY
A memory is just like a humanbrain. It is used to store data and instruction. Computer memory is the storage
space incomputer where data is to be processed and instructions required for processing are stored.
The memory is divided into large number of smallparts. Eachpart is called cell. Eachlocationor cellhas a unique
address whichvaries fromzero to memory size minus one.
For example if computer has 64k words, thenthis memory unit has 64 * 1024=65536 memory location. The
address of these locations varies from0 to 65535.
Memory is primarily of three types
Cache Memory
Primary Memory/MainMemory
Secondary Memory
Cache Memory
Cache memory is a very highspeed semiconductor memory whichcanspeed up CPU. It acts as a buffer
betweenthe CPU and mainmemory.
It is used to hold those parts of data and programwhichare most frequently used by CPU. The parts of data and
programs are transferred fromdisk to cache memory by operating system, fromwhere CPU canaccess them.
Advantage
Cache memory is faster thanmainmemory.
It consumes less access time as compared to mainmemory.
It stores the programthat canbe executed withina short period of time.
It stores data for temporary use.
Disadvantage:
Cache memory has limited capacity.
It is very expensive.
Primary Memory (Main Memory)
Primary memory holds only those data and instructions onwhichcomputer is currently working. It has limited
capacity and data get lost whenpower is switched off.
It is generally made up of semiconductor device. These memories are not as fast as registers. The data and
instructionrequired to be processed earlier reside inmainmemory. It is divided into two subcategories RAM
and ROM.
Characteristic of MainMemory
These are semiconductor memories.
It knownas mainmemory.
Usually volatile memory.
Data is lost incase power is switchoff.
It is working memory of the computer.
Faster thansecondary memories.
A computer cannot runwithout primary memory.
Secondary Memory
This type of memory is also knownas externalmemory or non-volatile. It is slower thanmainmemory. These are
used for storing Data/Informationpermanently.
CPU directly does not access these memories instead they are accessed via input-output routines. Contents of
secondary memories are first transferred to mainmemory, and thenCPU canaccess it.For example: disk, CD-
ROM,DVD etc.
Characteristic of Secondary Memory
These are magnetic and opticalmemories.
It is knownas backup memory.
It is non-volatile memory.
Data is permanently stored evenif power is switched off.
It is used for storage of the data inthe computer.
Computer may runwithout secondary memory.
Slower thanprimary memories.

More Related Content

Viewers also liked (6)

Rubber Matting
Rubber MattingRubber Matting
Rubber Matting
 
ZomiSys
ZomiSysZomiSys
ZomiSys
 
Presentation 2
Presentation 2Presentation 2
Presentation 2
 
El secreto
El secretoEl secreto
El secreto
 
Pembangkit listrik tenaga nuklir
Pembangkit listrik tenaga nuklirPembangkit listrik tenaga nuklir
Pembangkit listrik tenaga nuklir
 
Attract and address audience
Attract and address audienceAttract and address audience
Attract and address audience
 

Recently uploaded

Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 

5. primary and secondary memory

  • 1. COMPUTER - MEMORY A memory is just like a humanbrain. It is used to store data and instruction. Computer memory is the storage space incomputer where data is to be processed and instructions required for processing are stored. The memory is divided into large number of smallparts. Eachpart is called cell. Eachlocationor cellhas a unique address whichvaries fromzero to memory size minus one. For example if computer has 64k words, thenthis memory unit has 64 * 1024=65536 memory location. The address of these locations varies from0 to 65535. Memory is primarily of three types Cache Memory Primary Memory/MainMemory Secondary Memory Cache Memory Cache memory is a very highspeed semiconductor memory whichcanspeed up CPU. It acts as a buffer betweenthe CPU and mainmemory. It is used to hold those parts of data and programwhichare most frequently used by CPU. The parts of data and programs are transferred fromdisk to cache memory by operating system, fromwhere CPU canaccess them. Advantage Cache memory is faster thanmainmemory. It consumes less access time as compared to mainmemory. It stores the programthat canbe executed withina short period of time. It stores data for temporary use. Disadvantage: Cache memory has limited capacity. It is very expensive.
  • 2. Primary Memory (Main Memory) Primary memory holds only those data and instructions onwhichcomputer is currently working. It has limited capacity and data get lost whenpower is switched off. It is generally made up of semiconductor device. These memories are not as fast as registers. The data and instructionrequired to be processed earlier reside inmainmemory. It is divided into two subcategories RAM and ROM. Characteristic of MainMemory These are semiconductor memories. It knownas mainmemory. Usually volatile memory. Data is lost incase power is switchoff. It is working memory of the computer. Faster thansecondary memories. A computer cannot runwithout primary memory.
  • 3. Secondary Memory This type of memory is also knownas externalmemory or non-volatile. It is slower thanmainmemory. These are used for storing Data/Informationpermanently. CPU directly does not access these memories instead they are accessed via input-output routines. Contents of secondary memories are first transferred to mainmemory, and thenCPU canaccess it.For example: disk, CD- ROM,DVD etc. Characteristic of Secondary Memory These are magnetic and opticalmemories. It is knownas backup memory. It is non-volatile memory. Data is permanently stored evenif power is switched off. It is used for storage of the data inthe computer. Computer may runwithout secondary memory. Slower thanprimary memories.