SlideShare a Scribd company logo
contents
 Introduction
 Memory hierarchy
 Random Access Memory
introduction
 Computers are used to perform various tasks in
science, engineering , business, education,
entertainment and many other fields.
 They work at high speed and can handle huge amount
of data with great accuracy, can perform operation in
sequence without any human interventions.
 Computer requires memory to process data, hold
intermediate results and to store the output.
 Computer memory refers to the electronic holding
place for instructions and data where the processor can
reach quickly.
 Two categories : primary and secondary memory.
 Primary memory is used to process data and
instructions
 Secondary memory is used to store output
 The major limitations with the primary memory is it is
volatile in nature i.e. when power is turned off the data
is lost forever.
 To store data permanently a computer requires some
non-volatile storage medium like a hard disk, this kind
of memory is called secondary storage
Memory representation
 All quantities are measured in units.
 Length is measured in meters, time in seconds, weight
in kgs.
 Digital computers work in two states,
 ON(1)
 OFF(0)
 O represents a false value, +5 volts represents a true
state i.e. 1.
 Each of these values is called binary digit or bit.
 Group of eight bits is called a byte.
 Bit: smallest unit of data on a machine and a single bit
can only hold one of the value 0 or 1.
 Byte: A unit of eight bits is known as byte
 Kilobyte: in decimal system, kilo stands for 1000 but in
binary system kilo refers to 1024. Kilobytes is 1024
bytes.
 Megabytes: 1024 kilobytes
 Gigabytes: 1024 MB
 Terabytes : 1024GB
Memory hierarchy
 The memory in a computer system is of three
fundamental types.
 Internal processor memory:
 Is placed within the CPU or it is attached to a special fast
bus.
 Includes cache memory and special registers
 Used to compensate the speed gap between the primary
memory and the processor.
 Primary memory
 RAM , ROM come under this categories
 Also known as main memory.
 BIOS
 Secondary memory
 Also called as auxiliary memory.
 Provides a backup storage for instructions and data
 Eg: magnetic disk and tapes
 Least expensive and have large physical storage.
 Data stored in these, are permanently stored forever.
 They can be removed if the user wants to or it is
destroyed.
 They can be used as overflow memory, when the
primary memory is full
 The data and instructions have to be shifted from
secondary to main memory, later it is shifted to the
processor.
Memory hierarchy
 When data comes from permanent storage , they first
go into RAM.
 CPU has to access the hard disk constantly to retrieve
every piece of required data , it would operate slowly.
 When the data is kept in primary storage, it can
accessed quickly.
Memory hierachy
Random access memory
 It allows computer to store data for immediate
manipulation, and keep track of what is currently
being processed.
 Its place where the computer keep operating system,
application and data in current use, so that the
processor can access it quickly.
 Data in RAM in it, only till computer is ON.
 When the computer goes down, the data is lost which
present in RAM.
 When the computer is started again , the operating
system and files are loaded into RAM.
Interaction of memory and storage
with processor
 Whenever the user enters a command from keyboard ,
the CPU interprets the command and instructs the
hard disk to “load” the command or program into the
main memory
 Once the data is loaded into the main memory, the
CPU is able to access it faster than secondary storage.
Types of RAM
 Two types of RAM
 Static RAM (SRAM)
 Dynamic RAM (DRAM)
 SRAM
 The word static indicates that memory retains the
content as long as power is supplied
 When power goes down, the data stored in it is lost
forever.
 Does not need to be refreshed periodically
 Very fast but much more expensive than DRAM
 Used as cache memory due to its high speed.
 DRAM
 Named so because it is unstable in nature
 The data continue to move in and out of the memory as
long as power is available
 It has to be continuously refreshed in order to maintain
the data in it.
 Done by placing the data in refresh circuit that rewrites
the data several hundred times per second.
 Used in most of the system, as its inexpensive and small
in size.
Difference between SRAM and
DRAM
BASED On SRAM DRAM
Life of data Data is present as long as
power is there, power is
turned off, data is lost
It is continuously
refreshed for every 15
microseconds, even when
there is continuous power
supply
Circuitry Dense Simple, no. of cells
present in DRAM is less
than SRAM
Profit More beneficial, its fast
and has low latency, no
need of refreshing
Slower and have longer
latency then SRAM
Cost Expensive, requires more
power to operate,
produces lots of heat
Cheaper, simple, small
and space efficient
Access time 25 nanoseconds 60 nanoseconds

More Related Content

What's hot

Computer Memory
Computer MemoryComputer Memory
Computer Memory
PrabinGe
 
Storage
StorageStorage
Storage
norhaslinamj
 
Computer memory
Computer memoryComputer memory
Computer memory
Xấu Điên
 
Computer memory
Computer memoryComputer memory
Computer memory
Joy Sarker
 
Computer memory
Computer memoryComputer memory
Computer memory
Mark Anthony Ibañez
 
Computer Memory
Computer MemoryComputer Memory
Computer Memory
Faraz Ahmed
 
computer memory ,., .
computer memory ,., .computer memory ,., .
computer memory ,., .
santokh00700
 
Storege or memory devises
Storege or memory devisesStorege or memory devises
Storege or memory devises
devaki123
 
Working memory in computer
Working memory in computerWorking memory in computer
Working memory in computer
sai shiva hari prasad
 
Computer memory
Computer memoryComputer memory
Computer memory
Jayapal Jp
 
Computer MEMORY
Computer MEMORYComputer MEMORY
Computer MEMORY
Swarnima Tiwari
 
Memory and storage devices
Memory and storage devicesMemory and storage devices
Memory and storage devices
ThamizhselviKrishnam
 
Category of Computer Memory in detail
Category of Computer Memory in detailCategory of Computer Memory in detail
Category of Computer Memory in detail
Nouman Baloch
 
COMPUTER MEMORY
COMPUTER MEMORYCOMPUTER MEMORY
COMPUTER MEMORY
Rajat More
 
Basic information about Computer memory
Basic information about Computer memoryBasic information about Computer memory
Basic information about Computer memory
Ramesh Pant
 
Memory and storage devices
Memory and storage devicesMemory and storage devices
Memory and storage devices
ChuuHye
 
Presentation on memory
Presentation on memoryPresentation on memory
Presentation on memory
Jamil Ahmed AKASH
 
Computer memory
Computer memoryComputer memory
Computer memory
Ashok Rolaniya
 
Memory devices
Memory devicesMemory devices
Memory devices
arpit sharma
 
Memory devices
Memory devicesMemory devices
Memory devices
Dr.Suresh Isave
 

What's hot (20)

Computer Memory
Computer MemoryComputer Memory
Computer Memory
 
Storage
StorageStorage
Storage
 
Computer memory
Computer memoryComputer memory
Computer memory
 
Computer memory
Computer memoryComputer memory
Computer memory
 
Computer memory
Computer memoryComputer memory
Computer memory
 
Computer Memory
Computer MemoryComputer Memory
Computer Memory
 
computer memory ,., .
computer memory ,., .computer memory ,., .
computer memory ,., .
 
Storege or memory devises
Storege or memory devisesStorege or memory devises
Storege or memory devises
 
Working memory in computer
Working memory in computerWorking memory in computer
Working memory in computer
 
Computer memory
Computer memoryComputer memory
Computer memory
 
Computer MEMORY
Computer MEMORYComputer MEMORY
Computer MEMORY
 
Memory and storage devices
Memory and storage devicesMemory and storage devices
Memory and storage devices
 
Category of Computer Memory in detail
Category of Computer Memory in detailCategory of Computer Memory in detail
Category of Computer Memory in detail
 
COMPUTER MEMORY
COMPUTER MEMORYCOMPUTER MEMORY
COMPUTER MEMORY
 
Basic information about Computer memory
Basic information about Computer memoryBasic information about Computer memory
Basic information about Computer memory
 
Memory and storage devices
Memory and storage devicesMemory and storage devices
Memory and storage devices
 
Presentation on memory
Presentation on memoryPresentation on memory
Presentation on memory
 
Computer memory
Computer memoryComputer memory
Computer memory
 
Memory devices
Memory devicesMemory devices
Memory devices
 
Memory devices
Memory devicesMemory devices
Memory devices
 

Similar to Chap3 primary memory

Memory managment
Memory managmentMemory managment
Memory managment
Shahbaz Khan
 
Computer memory
Computer memoryComputer memory
Computer memory
SophiyaPrabin
 
Main Memory RAM and ROM
Main Memory RAM and ROMMain Memory RAM and ROM
Main Memory RAM and ROM
Archana Gopinath
 
Computer memory and types of memory.pptx
Computer memory and types of memory.pptxComputer memory and types of memory.pptx
Computer memory and types of memory.pptx
dbmscse61
 
Memory Organization of a Computer System
Memory Organization of a Computer SystemMemory Organization of a Computer System
Memory Organization of a Computer System
Taminul Islam
 
Memory Hierarchy
Memory HierarchyMemory Hierarchy
Memory Hierarchy
chauhankapil
 
Memory hierarchy
Memory hierarchyMemory hierarchy
Memory hierarchy
Mahesh Kumar Attri
 
Memory
MemoryMemory
Memory
Vijay Kumar
 
COMPUTER MEMORY
COMPUTER MEMORYCOMPUTER MEMORY
COMPUTER MEMORY
Elisha Kharel
 
RAM And ROM
RAM And ROMRAM And ROM
RAM And ROM
Gihan Chanaka
 
Segment 3.pptx
Segment 3.pptxSegment 3.pptx
Segment 3.pptx
C183055MdFurquan
 
2. the memory systems (module2)
2. the memory systems (module2)2. the memory systems (module2)
2. the memory systems (module2)
Ajit Saraf
 
Computer Memory and it types RAM ROM AND CACHE MEMORIES
Computer Memory and it types RAM ROM AND CACHE MEMORIESComputer Memory and it types RAM ROM AND CACHE MEMORIES
Computer Memory and it types RAM ROM AND CACHE MEMORIES
AbuBakar710430
 
Memory system of a compture
Memory system of a comptureMemory system of a compture
Memory system of a compture
Kawsar Hamid Sumon
 
Memory Presentation
Memory PresentationMemory Presentation
Memory Presentation
Imran Chowdhury
 
Memory Organisation in embedded systems
Memory Organisation in embedded systemsMemory Organisation in embedded systems
Memory Organisation in embedded systems
UthraSowrirajan1
 
06 - Memory.ppt
06 - Memory.ppt06 - Memory.ppt
06 - Memory.ppt
AliyuAhmed9
 
Computer Introduction-Lecture02
Computer Introduction-Lecture02Computer Introduction-Lecture02
Computer Introduction-Lecture02
Dr. Mazin Mohamed alkathiri
 
computer
computer computer
computer
Chandankumar2050
 
primary memory
primary memoryprimary memory
primary memory
Ramya Kotyan
 

Similar to Chap3 primary memory (20)

Memory managment
Memory managmentMemory managment
Memory managment
 
Computer memory
Computer memoryComputer memory
Computer memory
 
Main Memory RAM and ROM
Main Memory RAM and ROMMain Memory RAM and ROM
Main Memory RAM and ROM
 
Computer memory and types of memory.pptx
Computer memory and types of memory.pptxComputer memory and types of memory.pptx
Computer memory and types of memory.pptx
 
Memory Organization of a Computer System
Memory Organization of a Computer SystemMemory Organization of a Computer System
Memory Organization of a Computer System
 
Memory Hierarchy
Memory HierarchyMemory Hierarchy
Memory Hierarchy
 
Memory hierarchy
Memory hierarchyMemory hierarchy
Memory hierarchy
 
Memory
MemoryMemory
Memory
 
COMPUTER MEMORY
COMPUTER MEMORYCOMPUTER MEMORY
COMPUTER MEMORY
 
RAM And ROM
RAM And ROMRAM And ROM
RAM And ROM
 
Segment 3.pptx
Segment 3.pptxSegment 3.pptx
Segment 3.pptx
 
2. the memory systems (module2)
2. the memory systems (module2)2. the memory systems (module2)
2. the memory systems (module2)
 
Computer Memory and it types RAM ROM AND CACHE MEMORIES
Computer Memory and it types RAM ROM AND CACHE MEMORIESComputer Memory and it types RAM ROM AND CACHE MEMORIES
Computer Memory and it types RAM ROM AND CACHE MEMORIES
 
Memory system of a compture
Memory system of a comptureMemory system of a compture
Memory system of a compture
 
Memory Presentation
Memory PresentationMemory Presentation
Memory Presentation
 
Memory Organisation in embedded systems
Memory Organisation in embedded systemsMemory Organisation in embedded systems
Memory Organisation in embedded systems
 
06 - Memory.ppt
06 - Memory.ppt06 - Memory.ppt
06 - Memory.ppt
 
Computer Introduction-Lecture02
Computer Introduction-Lecture02Computer Introduction-Lecture02
Computer Introduction-Lecture02
 
computer
computer computer
computer
 
primary memory
primary memoryprimary memory
primary memory
 

More from raksharao

Unit 1-logic
Unit 1-logicUnit 1-logic
Unit 1-logic
raksharao
 
Unit 1 rules of inference
Unit 1  rules of inferenceUnit 1  rules of inference
Unit 1 rules of inference
raksharao
 
Unit 1 quantifiers
Unit 1  quantifiersUnit 1  quantifiers
Unit 1 quantifiers
raksharao
 
Unit 1 introduction to proofs
Unit 1  introduction to proofsUnit 1  introduction to proofs
Unit 1 introduction to proofs
raksharao
 
Unit 7 verification & validation
Unit 7 verification & validationUnit 7 verification & validation
Unit 7 verification & validation
raksharao
 
Unit 6 input modeling problems
Unit 6 input modeling problemsUnit 6 input modeling problems
Unit 6 input modeling problems
raksharao
 
Unit 6 input modeling
Unit 6 input modeling Unit 6 input modeling
Unit 6 input modeling
raksharao
 
Unit 5 general principles, simulation software
Unit 5 general principles, simulation softwareUnit 5 general principles, simulation software
Unit 5 general principles, simulation software
raksharao
 
Unit 5 general principles, simulation software problems
Unit 5  general principles, simulation software problemsUnit 5  general principles, simulation software problems
Unit 5 general principles, simulation software problems
raksharao
 
Unit 4 queuing models
Unit 4 queuing modelsUnit 4 queuing models
Unit 4 queuing models
raksharao
 
Unit 4 queuing models problems
Unit 4 queuing models problemsUnit 4 queuing models problems
Unit 4 queuing models problems
raksharao
 
Unit 3 random number generation, random-variate generation
Unit 3 random number generation, random-variate generationUnit 3 random number generation, random-variate generation
Unit 3 random number generation, random-variate generation
raksharao
 
Unit 1 introduction contd
Unit 1 introduction contdUnit 1 introduction contd
Unit 1 introduction contd
raksharao
 
Unit 1 introduction
Unit 1 introductionUnit 1 introduction
Unit 1 introduction
raksharao
 
Module1 part2
Module1 part2Module1 part2
Module1 part2
raksharao
 
Module1 Mobile Computing Architecture
Module1 Mobile Computing ArchitectureModule1 Mobile Computing Architecture
Module1 Mobile Computing Architecture
raksharao
 
java-Unit4 chap2- awt controls and layout managers of applet
java-Unit4 chap2- awt controls and layout managers of appletjava-Unit4 chap2- awt controls and layout managers of applet
java-Unit4 chap2- awt controls and layout managers of applet
raksharao
 
java Unit4 chapter1 applets
java Unit4 chapter1 appletsjava Unit4 chapter1 applets
java Unit4 chapter1 applets
raksharao
 
Chap3 multi threaded programming
Chap3 multi threaded programmingChap3 multi threaded programming
Chap3 multi threaded programming
raksharao
 
Java-Unit 3- Chap2 exception handling
Java-Unit 3- Chap2 exception handlingJava-Unit 3- Chap2 exception handling
Java-Unit 3- Chap2 exception handling
raksharao
 

More from raksharao (20)

Unit 1-logic
Unit 1-logicUnit 1-logic
Unit 1-logic
 
Unit 1 rules of inference
Unit 1  rules of inferenceUnit 1  rules of inference
Unit 1 rules of inference
 
Unit 1 quantifiers
Unit 1  quantifiersUnit 1  quantifiers
Unit 1 quantifiers
 
Unit 1 introduction to proofs
Unit 1  introduction to proofsUnit 1  introduction to proofs
Unit 1 introduction to proofs
 
Unit 7 verification & validation
Unit 7 verification & validationUnit 7 verification & validation
Unit 7 verification & validation
 
Unit 6 input modeling problems
Unit 6 input modeling problemsUnit 6 input modeling problems
Unit 6 input modeling problems
 
Unit 6 input modeling
Unit 6 input modeling Unit 6 input modeling
Unit 6 input modeling
 
Unit 5 general principles, simulation software
Unit 5 general principles, simulation softwareUnit 5 general principles, simulation software
Unit 5 general principles, simulation software
 
Unit 5 general principles, simulation software problems
Unit 5  general principles, simulation software problemsUnit 5  general principles, simulation software problems
Unit 5 general principles, simulation software problems
 
Unit 4 queuing models
Unit 4 queuing modelsUnit 4 queuing models
Unit 4 queuing models
 
Unit 4 queuing models problems
Unit 4 queuing models problemsUnit 4 queuing models problems
Unit 4 queuing models problems
 
Unit 3 random number generation, random-variate generation
Unit 3 random number generation, random-variate generationUnit 3 random number generation, random-variate generation
Unit 3 random number generation, random-variate generation
 
Unit 1 introduction contd
Unit 1 introduction contdUnit 1 introduction contd
Unit 1 introduction contd
 
Unit 1 introduction
Unit 1 introductionUnit 1 introduction
Unit 1 introduction
 
Module1 part2
Module1 part2Module1 part2
Module1 part2
 
Module1 Mobile Computing Architecture
Module1 Mobile Computing ArchitectureModule1 Mobile Computing Architecture
Module1 Mobile Computing Architecture
 
java-Unit4 chap2- awt controls and layout managers of applet
java-Unit4 chap2- awt controls and layout managers of appletjava-Unit4 chap2- awt controls and layout managers of applet
java-Unit4 chap2- awt controls and layout managers of applet
 
java Unit4 chapter1 applets
java Unit4 chapter1 appletsjava Unit4 chapter1 applets
java Unit4 chapter1 applets
 
Chap3 multi threaded programming
Chap3 multi threaded programmingChap3 multi threaded programming
Chap3 multi threaded programming
 
Java-Unit 3- Chap2 exception handling
Java-Unit 3- Chap2 exception handlingJava-Unit 3- Chap2 exception handling
Java-Unit 3- Chap2 exception handling
 

Recently uploaded

Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
PauloRodrigues104553
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
Ratnakar Mikkili
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
Divyam548318
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
ihlasbinance2003
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
University of Maribor
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
RadiNasr
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 

Recently uploaded (20)

Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 

Chap3 primary memory

  • 1.
  • 2. contents  Introduction  Memory hierarchy  Random Access Memory
  • 3. introduction  Computers are used to perform various tasks in science, engineering , business, education, entertainment and many other fields.  They work at high speed and can handle huge amount of data with great accuracy, can perform operation in sequence without any human interventions.  Computer requires memory to process data, hold intermediate results and to store the output.  Computer memory refers to the electronic holding place for instructions and data where the processor can reach quickly.  Two categories : primary and secondary memory.
  • 4.  Primary memory is used to process data and instructions  Secondary memory is used to store output  The major limitations with the primary memory is it is volatile in nature i.e. when power is turned off the data is lost forever.  To store data permanently a computer requires some non-volatile storage medium like a hard disk, this kind of memory is called secondary storage
  • 5. Memory representation  All quantities are measured in units.  Length is measured in meters, time in seconds, weight in kgs.  Digital computers work in two states,  ON(1)  OFF(0)  O represents a false value, +5 volts represents a true state i.e. 1.  Each of these values is called binary digit or bit.  Group of eight bits is called a byte.
  • 6.  Bit: smallest unit of data on a machine and a single bit can only hold one of the value 0 or 1.  Byte: A unit of eight bits is known as byte  Kilobyte: in decimal system, kilo stands for 1000 but in binary system kilo refers to 1024. Kilobytes is 1024 bytes.  Megabytes: 1024 kilobytes  Gigabytes: 1024 MB  Terabytes : 1024GB
  • 7. Memory hierarchy  The memory in a computer system is of three fundamental types.  Internal processor memory:  Is placed within the CPU or it is attached to a special fast bus.  Includes cache memory and special registers  Used to compensate the speed gap between the primary memory and the processor.  Primary memory  RAM , ROM come under this categories  Also known as main memory.  BIOS
  • 8.  Secondary memory  Also called as auxiliary memory.  Provides a backup storage for instructions and data  Eg: magnetic disk and tapes  Least expensive and have large physical storage.  Data stored in these, are permanently stored forever.  They can be removed if the user wants to or it is destroyed.  They can be used as overflow memory, when the primary memory is full  The data and instructions have to be shifted from secondary to main memory, later it is shifted to the processor.
  • 9. Memory hierarchy  When data comes from permanent storage , they first go into RAM.  CPU has to access the hard disk constantly to retrieve every piece of required data , it would operate slowly.  When the data is kept in primary storage, it can accessed quickly.
  • 11. Random access memory  It allows computer to store data for immediate manipulation, and keep track of what is currently being processed.  Its place where the computer keep operating system, application and data in current use, so that the processor can access it quickly.  Data in RAM in it, only till computer is ON.  When the computer goes down, the data is lost which present in RAM.  When the computer is started again , the operating system and files are loaded into RAM.
  • 12. Interaction of memory and storage with processor  Whenever the user enters a command from keyboard , the CPU interprets the command and instructs the hard disk to “load” the command or program into the main memory  Once the data is loaded into the main memory, the CPU is able to access it faster than secondary storage.
  • 13.
  • 14. Types of RAM  Two types of RAM  Static RAM (SRAM)  Dynamic RAM (DRAM)  SRAM  The word static indicates that memory retains the content as long as power is supplied  When power goes down, the data stored in it is lost forever.  Does not need to be refreshed periodically  Very fast but much more expensive than DRAM  Used as cache memory due to its high speed.
  • 15.  DRAM  Named so because it is unstable in nature  The data continue to move in and out of the memory as long as power is available  It has to be continuously refreshed in order to maintain the data in it.  Done by placing the data in refresh circuit that rewrites the data several hundred times per second.  Used in most of the system, as its inexpensive and small in size.
  • 16. Difference between SRAM and DRAM BASED On SRAM DRAM Life of data Data is present as long as power is there, power is turned off, data is lost It is continuously refreshed for every 15 microseconds, even when there is continuous power supply Circuitry Dense Simple, no. of cells present in DRAM is less than SRAM Profit More beneficial, its fast and has low latency, no need of refreshing Slower and have longer latency then SRAM Cost Expensive, requires more power to operate, produces lots of heat Cheaper, simple, small and space efficient Access time 25 nanoseconds 60 nanoseconds