SlideShare a Scribd company logo
Chap3 primary memory
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.
Chap3 primary memory
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

PPTX
Computer Memory
PPT
Primary Storage
PPTX
Memory in computer
PPTX
Computer memory presentation
PPTX
Computer memory in general
PPTX
Memory / Storage Devices
PPTX
Memory presentation
Computer Memory
Primary Storage
Memory in computer
Computer memory presentation
Computer memory in general
Memory / Storage Devices
Memory presentation

What's hot (20)

PPTX
Computer Memory
PPTX
Storage
PPTX
Computer memory
PPTX
Computer memory
PPTX
Computer memory
PDF
Computer Memory
PPTX
computer memory ,., .
PPTX
Storege or memory devises
PPTX
Working memory in computer
PPTX
Computer memory
PPT
Computer MEMORY
PPTX
Memory and storage devices
PPTX
Category of Computer Memory in detail
DOCX
COMPUTER MEMORY
PPTX
Basic information about Computer memory
PPTX
Memory and storage devices
PPT
Presentation on memory
PPTX
Computer memory
PDF
Memory devices
PPT
Memory devices
Computer Memory
Storage
Computer memory
Computer memory
Computer memory
Computer Memory
computer memory ,., .
Storege or memory devises
Working memory in computer
Computer memory
Computer MEMORY
Memory and storage devices
Category of Computer Memory in detail
COMPUTER MEMORY
Basic information about Computer memory
Memory and storage devices
Presentation on memory
Computer memory
Memory devices
Memory devices
Ad

Similar to Chap3 primary memory (20)

DOCX
Memory managment
PDF
Detail explanation of memory organization
DOCX
Computer memory
PPTX
Main Memory RAM and ROM
PPTX
Computer memory and types of memory.pptx
PDF
Memory Organization of a Computer System
PPTX
Computer Memory types and explanation with example
PPTX
Memory Hierarchy
PPT
Memory hierarchy
PPTX
Computer architecture bca 2nd semes.pptx
PDF
Memory
PPTX
COMPUTER MEMORY
PPTX
20200909-XI-CSC-Computer chapter-1-1 of 6-Ppt.pptx
PPTX
computer memory.pptxehehehehheheheheheheheh
PPSX
RAM And ROM
PPTX
input outputlecturenotice_for_UAUT3.pptx
PPTX
Segment 3.pptx
PDF
2. the memory systems (module2)
PPTX
COMPUTER MEMORY. .pptx
PPTX
325870843-computer-memory-ppt.pptxdndndnjd
Memory managment
Detail explanation of memory organization
Computer memory
Main Memory RAM and ROM
Computer memory and types of memory.pptx
Memory Organization of a Computer System
Computer Memory types and explanation with example
Memory Hierarchy
Memory hierarchy
Computer architecture bca 2nd semes.pptx
Memory
COMPUTER MEMORY
20200909-XI-CSC-Computer chapter-1-1 of 6-Ppt.pptx
computer memory.pptxehehehehheheheheheheheh
RAM And ROM
input outputlecturenotice_for_UAUT3.pptx
Segment 3.pptx
2. the memory systems (module2)
COMPUTER MEMORY. .pptx
325870843-computer-memory-ppt.pptxdndndnjd
Ad

More from raksharao (20)

PPTX
Unit 1-logic
PPTX
Unit 1 rules of inference
PPTX
Unit 1 quantifiers
PPTX
Unit 1 introduction to proofs
PPTX
Unit 7 verification & validation
PPTX
Unit 6 input modeling problems
PPTX
Unit 6 input modeling
PPTX
Unit 5 general principles, simulation software
PPTX
Unit 5 general principles, simulation software problems
PPTX
Unit 4 queuing models
PPTX
Unit 4 queuing models problems
PPTX
Unit 3 random number generation, random-variate generation
PPTX
Unit 1 introduction contd
PPTX
Unit 1 introduction
PDF
Module1 part2
PDF
Module1 Mobile Computing Architecture
PPTX
java-Unit4 chap2- awt controls and layout managers of applet
PPTX
java Unit4 chapter1 applets
PPTX
Chap3 multi threaded programming
PPTX
Java-Unit 3- Chap2 exception handling
Unit 1-logic
Unit 1 rules of inference
Unit 1 quantifiers
Unit 1 introduction to proofs
Unit 7 verification & validation
Unit 6 input modeling problems
Unit 6 input modeling
Unit 5 general principles, simulation software
Unit 5 general principles, simulation software problems
Unit 4 queuing models
Unit 4 queuing models problems
Unit 3 random number generation, random-variate generation
Unit 1 introduction contd
Unit 1 introduction
Module1 part2
Module1 Mobile Computing Architecture
java-Unit4 chap2- awt controls and layout managers of applet
java Unit4 chapter1 applets
Chap3 multi threaded programming
Java-Unit 3- Chap2 exception handling

Recently uploaded (20)

PDF
Categorization of Factors Affecting Classification Algorithms Selection
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
DOCX
573137875-Attendance-Management-System-original
PDF
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PPTX
Construction Project Organization Group 2.pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
Current and future trends in Computer Vision.pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Well-logging-methods_new................
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
Categorization of Factors Affecting Classification Algorithms Selection
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
573137875-Attendance-Management-System-original
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
Construction Project Organization Group 2.pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
III.4.1.2_The_Space_Environment.p pdffdf
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
CYBER-CRIMES AND SECURITY A guide to understanding
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Foundation to blockchain - A guide to Blockchain Tech
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Current and future trends in Computer Vision.pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Internet of Things (IOT) - A guide to understanding
Well-logging-methods_new................
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems

Chap3 primary memory

  • 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.
  • 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