SlideShare a Scribd company logo
M. Raihan
Email: rianku11@gmail.com
Storing Data
Part-1
Memory
11-Sep-17
Memory may be defined as the devices which is used to
store data and information.
Memory components of a computer system are divided
into three groups-
Main Memory or Primary Memory
Secondary Memory or Auxiliary Memory or Back-up
Memory
Internal Processor Memory
Main Memory or Primary memory
11-Sep-17
Locations in main memory can be directly
accessed by the CPU instruction set.
Used for program and data storage during
computer operation.
Example: RAM
Secondary Memory
11-Sep-17
Much larger in size but much slower than
memory.
Used for storing system program and large
data files which are continually not required
by CPU
Example: Hard Disk
Internal Processor Memory
11-Sep-17
Usually comprise of small set of high
speed registers used as working registers
for temporary storage of instructions and
data
Example: Program counter (PC),
Accumulator (Acc)
Why Need Memory
11-Sep-17
To store program and data during execution
To store program for repetitive use
To store data for future or periodical use.
To store results for execution.
Main Memory
11-Sep-17
The smallest unit of information that can be stored by a digital
computer is called Bit (binary digit).
A collection of four bits is called Nibble.
A combination of eight bits is called a Byte.
Unit of bits that a computer can process at a time is called Word.
The fixed number of bits that a word can store is called the word
length which varies from computer to computer.
32 bit computer: Set of bits processed by microprocessor as a
unit is 32.
Continue
11-Sep-17
A 1KB computer storage has exactly 1024 (210) storage locations
typically presented as 0000 to 1023.
A computer with 64K storage has 64536 storage locations in memory.
1 MB is roughly 1 Million (Exactly, 220) bytes of storage.
Roughly 1GB has 1 Billion bytes of storage.
Roughly 1TB has 1 Trillion bytes of storage.
Two kinds of main memory are commonly used in modern computers.
Semiconductor Memory
Magnetic Memory
Memory Access
11-Sep-17
Memory Access
Instructions or data are read from or written into the memory one
word at a time.
Reading from the memory or writing data into memory is usually
called Memory Access.
Access Time
The performance of a memory device is primarily determined by
the rate at which information i.e. one word from the memory is
read/written known as Access Time.
Types of Memory
11-Sep-17
Volatile memory
If stored information is destroyed when power goes off.
Example: Most semiconductor memory (RAM)
Non-volatile memory
Stored information is preserved when power goes off or
power failure.
Most Magnetic Memory (disk)
Types of Memory
11-Sep-17
Serial access memory
Storage locations can be accessed in only in certain pre-defined
sequence.
Example: Magnetic tap
Random access memory (RAM)
If memory locations can be accessed in any order and access
time is independent of the location being accessed.
Categorized as –
Static RAM (SRAM)
Dynamic RAM (DRAM)
Static RAM (SRAM)
11-Sep-17
Made up of flip flop
Stores bit as voltage High -> 1,
Low -> 0
Need no refreshing
Require greater power supply
Four times larger in area than
DRAM
Contain less data
Costlier
Dynamic RAM (DRAM)
11-Sep-17
Made up of capacitor
Stores Bit as charge; presence of charge -> 1, else -> 0
High density and low power consumptions
Required refreshing logic to charge the capacitor
periodically
Smaller area
Less costly
Read Only Memory (ROM)
11-Sep-17
There are some random access memories in which data are
permanently recorded during fabrication itself.
The memory only allows information stored into it to be read and
would not permit any writing or modification by users.
All microcomputers have at least one ROM unit that contains a
small program called BOOTSTRAP LOADER.
This program is automatically copied into primary storage when
a computer is powered up and being to execute.
This program is responsible for reading in a copy of the operating
system from a secondary storage device.
Programmable ROM (PROM)
11-Sep-17
Special types of ROMs
PROM enables the user to enter the contents
using special equipment called PROM
programmer.
But once programmed, it cannot be altered
further
Erasable Programmable ROM (EPROM)
11-Sep-17
Contents of EPROM can be altered as many
times as user likes.
Ultraviolet ray is used for erasing
Erasing process is slow
Full erase of the ROM
Electrically Erasable PROM (EEPROM)
11-Sep-17
Contents of EPROM can be altered as many
times as user likes.
Electrical pulse is used for erasing
Erasing process is fast
Full or partly erase of the ROM
Secondary Storage Devices
11-Sep-17
Secondary memory
11-Sep-17
Characteristics:
Non-volatile storage
Mass storage
Cost efficiency
Lack of direct processing capability
Common secondary memory:
Magnetic Tape
Magnetic disk
Floppy disk
Optical disk
Primary vs. Secondary memory
11-Sep-17
Secondary storage
11-Sep-17
There are two basic type of storage:
Sequential Access Storage
To read one particular record in the file all records preceding it must be read
E.g. magnetic tape
Direct Access Storage
Media where an individual record can be located and read immediately
without reading any other record.
Directly retrieved by selecting and using any of the locations on storage
media.
Each storage position must-
Have unique address
Can be individually accessed in approximately the same length of time
Thank You
11-Sep-17

More Related Content

PPT
Computer Memory
PPTX
ROM (Read Only Memory)
PPT
Types of memory 10 to11
PPTX
Power point presentation on memory of computer
PPT
ROM(Read Only Memory )
PPTX
Memory bits and bytes
PPTX
RAM/ROM and its TYPES
PDF
Difference between RAM and ROM
Computer Memory
ROM (Read Only Memory)
Types of memory 10 to11
Power point presentation on memory of computer
ROM(Read Only Memory )
Memory bits and bytes
RAM/ROM and its TYPES
Difference between RAM and ROM

What's hot (20)

PPT
EPROM, PROM & ROM
PPT
Bca 2nd sem-u-1.7 digital logic circuits, digital component memory unit
PDF
Rom (read only memory)
PPT
Memory Unit For engineering
DOCX
COMPUTER MEMORY
PPT
B.sc cs-ii-u-1.7 digital logic circuits, digital component memory unit
PPTX
Types of Memory, ram, rom and storage
PPT
M E M O R Y
PPT
1250438
PPT
digital logic circuits, digital component memory unit
PPTX
Computer memory
PDF
Primary Memory: RAM, ROM and their Types
PPTX
Computer memory & Memory Storage Devices.
PPTX
what is ROM? Rom(read only memory)
PDF
Computer Memory Types - Primary Memory - Secondary Memory
PPTX
Computer memory
PPTX
computer memory and its types
PDF
Memory types
PPTX
Read Only Memory
PPT
Function of memory.4to5
EPROM, PROM & ROM
Bca 2nd sem-u-1.7 digital logic circuits, digital component memory unit
Rom (read only memory)
Memory Unit For engineering
COMPUTER MEMORY
B.sc cs-ii-u-1.7 digital logic circuits, digital component memory unit
Types of Memory, ram, rom and storage
M E M O R Y
1250438
digital logic circuits, digital component memory unit
Computer memory
Primary Memory: RAM, ROM and their Types
Computer memory & Memory Storage Devices.
what is ROM? Rom(read only memory)
Computer Memory Types - Primary Memory - Secondary Memory
Computer memory
computer memory and its types
Memory types
Read Only Memory
Function of memory.4to5
Ad

Similar to Lecture 11 (20)

PPTX
Computer storage & type of storage.
PDF
Computer Memory
PPTX
PC Hardware administration and Maintenance.pptx
PPTX
Week 6- PC HARDWARE AND MAINTENANCE-THEORY.pptx
PPTX
Computer memory presentation
PPT
Memory and storage
PPT
Storage hardware
PPTX
Memory & storage devices
PPTX
LECTURE 6 Of Computer Pharm D 3rd Year .
PPTX
Satish gupta
PPTX
memory
PPT
Presentation on memory
PPTX
computer memory.pptxehehehehheheheheheheheh
PPTX
Main memory of computer .ppt
PPTX
TYPES OF MEMORY
PPTX
COMPUTER MEMORY.pptx
PPTX
memory and storage devices
PPTX
CBSE Informatics Practices Chapter-11 Basic Computer Organization
PPTX
memory organization of a computer
PPTX
What is memory
Computer storage & type of storage.
Computer Memory
PC Hardware administration and Maintenance.pptx
Week 6- PC HARDWARE AND MAINTENANCE-THEORY.pptx
Computer memory presentation
Memory and storage
Storage hardware
Memory & storage devices
LECTURE 6 Of Computer Pharm D 3rd Year .
Satish gupta
memory
Presentation on memory
computer memory.pptxehehehehheheheheheheheh
Main memory of computer .ppt
TYPES OF MEMORY
COMPUTER MEMORY.pptx
memory and storage devices
CBSE Informatics Practices Chapter-11 Basic Computer Organization
memory organization of a computer
What is memory
Ad

More from M. Raihan (20)

PDF
Lecture 7
PDF
Lecture 6
PDF
Lecture 5
PDF
Lecture 4
PDF
Lecture 3
PDF
Lecture 2
PDF
Lecture 1
PDF
Amplifiers and biopotential amplifiers new
PDF
Comparison of fnir with other neuroimaging modalities relation between eeg sy...
PDF
Lecture 10
PDF
Lecture 9
PDF
Lecture 8
PDF
Lecture 7
PDF
Lecture 6
PDF
Lecture 5
PDF
Lecture 4
PDF
Lecture 18
PDF
Lecture 17
PDF
Lecture 16
PDF
Lecture 3
Lecture 7
Lecture 6
Lecture 5
Lecture 4
Lecture 3
Lecture 2
Lecture 1
Amplifiers and biopotential amplifiers new
Comparison of fnir with other neuroimaging modalities relation between eeg sy...
Lecture 10
Lecture 9
Lecture 8
Lecture 7
Lecture 6
Lecture 5
Lecture 4
Lecture 18
Lecture 17
Lecture 16
Lecture 3

Recently uploaded (20)

PDF
advance database management system book.pdf
PDF
Hazard Identification & Risk Assessment .pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
1_English_Language_Set_2.pdf probationary
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PPTX
UNIT III MENTAL HEALTH NURSING ASSESSMENT
PPTX
Cell Types and Its function , kingdom of life
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
Classroom Observation Tools for Teachers
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
Digestion and Absorption of Carbohydrates, Proteina and Fats
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Introduction to Building Materials
PPTX
Lesson notes of climatology university.
PPTX
Unit 4 Skeletal System.ppt.pptxopresentatiom
advance database management system book.pdf
Hazard Identification & Risk Assessment .pdf
Final Presentation General Medicine 03-08-2024.pptx
1_English_Language_Set_2.pdf probationary
A systematic review of self-coping strategies used by university students to ...
Paper A Mock Exam 9_ Attempt review.pdf.
UNIT III MENTAL HEALTH NURSING ASSESSMENT
Cell Types and Its function , kingdom of life
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
What if we spent less time fighting change, and more time building what’s rig...
Chinmaya Tiranga quiz Grand Finale.pdf
Classroom Observation Tools for Teachers
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Digestion and Absorption of Carbohydrates, Proteina and Fats
Practical Manual AGRO-233 Principles and Practices of Natural Farming
Supply Chain Operations Speaking Notes -ICLT Program
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Introduction to Building Materials
Lesson notes of climatology university.
Unit 4 Skeletal System.ppt.pptxopresentatiom

Lecture 11

  • 3. Memory 11-Sep-17 Memory may be defined as the devices which is used to store data and information. Memory components of a computer system are divided into three groups- Main Memory or Primary Memory Secondary Memory or Auxiliary Memory or Back-up Memory Internal Processor Memory
  • 4. Main Memory or Primary memory 11-Sep-17 Locations in main memory can be directly accessed by the CPU instruction set. Used for program and data storage during computer operation. Example: RAM
  • 5. Secondary Memory 11-Sep-17 Much larger in size but much slower than memory. Used for storing system program and large data files which are continually not required by CPU Example: Hard Disk
  • 6. Internal Processor Memory 11-Sep-17 Usually comprise of small set of high speed registers used as working registers for temporary storage of instructions and data Example: Program counter (PC), Accumulator (Acc)
  • 7. Why Need Memory 11-Sep-17 To store program and data during execution To store program for repetitive use To store data for future or periodical use. To store results for execution.
  • 8. Main Memory 11-Sep-17 The smallest unit of information that can be stored by a digital computer is called Bit (binary digit). A collection of four bits is called Nibble. A combination of eight bits is called a Byte. Unit of bits that a computer can process at a time is called Word. The fixed number of bits that a word can store is called the word length which varies from computer to computer. 32 bit computer: Set of bits processed by microprocessor as a unit is 32.
  • 9. Continue 11-Sep-17 A 1KB computer storage has exactly 1024 (210) storage locations typically presented as 0000 to 1023. A computer with 64K storage has 64536 storage locations in memory. 1 MB is roughly 1 Million (Exactly, 220) bytes of storage. Roughly 1GB has 1 Billion bytes of storage. Roughly 1TB has 1 Trillion bytes of storage. Two kinds of main memory are commonly used in modern computers. Semiconductor Memory Magnetic Memory
  • 10. Memory Access 11-Sep-17 Memory Access Instructions or data are read from or written into the memory one word at a time. Reading from the memory or writing data into memory is usually called Memory Access. Access Time The performance of a memory device is primarily determined by the rate at which information i.e. one word from the memory is read/written known as Access Time.
  • 11. Types of Memory 11-Sep-17 Volatile memory If stored information is destroyed when power goes off. Example: Most semiconductor memory (RAM) Non-volatile memory Stored information is preserved when power goes off or power failure. Most Magnetic Memory (disk)
  • 12. Types of Memory 11-Sep-17 Serial access memory Storage locations can be accessed in only in certain pre-defined sequence. Example: Magnetic tap Random access memory (RAM) If memory locations can be accessed in any order and access time is independent of the location being accessed. Categorized as – Static RAM (SRAM) Dynamic RAM (DRAM)
  • 13. Static RAM (SRAM) 11-Sep-17 Made up of flip flop Stores bit as voltage High -> 1, Low -> 0 Need no refreshing Require greater power supply Four times larger in area than DRAM Contain less data Costlier
  • 14. Dynamic RAM (DRAM) 11-Sep-17 Made up of capacitor Stores Bit as charge; presence of charge -> 1, else -> 0 High density and low power consumptions Required refreshing logic to charge the capacitor periodically Smaller area Less costly
  • 15. Read Only Memory (ROM) 11-Sep-17 There are some random access memories in which data are permanently recorded during fabrication itself. The memory only allows information stored into it to be read and would not permit any writing or modification by users. All microcomputers have at least one ROM unit that contains a small program called BOOTSTRAP LOADER. This program is automatically copied into primary storage when a computer is powered up and being to execute. This program is responsible for reading in a copy of the operating system from a secondary storage device.
  • 16. Programmable ROM (PROM) 11-Sep-17 Special types of ROMs PROM enables the user to enter the contents using special equipment called PROM programmer. But once programmed, it cannot be altered further
  • 17. Erasable Programmable ROM (EPROM) 11-Sep-17 Contents of EPROM can be altered as many times as user likes. Ultraviolet ray is used for erasing Erasing process is slow Full erase of the ROM
  • 18. Electrically Erasable PROM (EEPROM) 11-Sep-17 Contents of EPROM can be altered as many times as user likes. Electrical pulse is used for erasing Erasing process is fast Full or partly erase of the ROM
  • 20. Secondary memory 11-Sep-17 Characteristics: Non-volatile storage Mass storage Cost efficiency Lack of direct processing capability Common secondary memory: Magnetic Tape Magnetic disk Floppy disk Optical disk
  • 21. Primary vs. Secondary memory 11-Sep-17
  • 22. Secondary storage 11-Sep-17 There are two basic type of storage: Sequential Access Storage To read one particular record in the file all records preceding it must be read E.g. magnetic tape Direct Access Storage Media where an individual record can be located and read immediately without reading any other record. Directly retrieved by selecting and using any of the locations on storage media. Each storage position must- Have unique address Can be individually accessed in approximately the same length of time