SlideShare a Scribd company logo
1 of 23
Download to read offline
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

What's hot

COMPUTER MEMORY
COMPUTER MEMORYCOMPUTER MEMORY
COMPUTER MEMORY
Rajat More
 
Function of memory.4to5
Function of memory.4to5Function of memory.4to5
Function of memory.4to5
myrajendra
 

What's hot (20)

EPROM, PROM & ROM
EPROM, PROM & ROMEPROM, PROM & ROM
EPROM, PROM & ROM
 
Bca 2nd sem-u-1.7 digital logic circuits, digital component memory unit
Bca 2nd sem-u-1.7 digital logic circuits, digital component memory unitBca 2nd sem-u-1.7 digital logic circuits, digital component memory unit
Bca 2nd sem-u-1.7 digital logic circuits, digital component memory unit
 
Rom (read only memory)
Rom (read only memory)Rom (read only memory)
Rom (read only memory)
 
Memory Unit For engineering
Memory Unit For engineeringMemory Unit For engineering
Memory Unit For engineering
 
COMPUTER MEMORY
COMPUTER MEMORYCOMPUTER MEMORY
COMPUTER MEMORY
 
B.sc cs-ii-u-1.7 digital logic circuits, digital component memory unit
B.sc cs-ii-u-1.7 digital logic circuits, digital component memory unitB.sc cs-ii-u-1.7 digital logic circuits, digital component memory unit
B.sc cs-ii-u-1.7 digital logic circuits, digital component memory unit
 
Types of Memory, ram, rom and storage
Types of Memory, ram, rom and storageTypes of Memory, ram, rom and storage
Types of Memory, ram, rom and storage
 
M E M O R Y
M E M O R YM E M O R Y
M E M O R Y
 
1250438
12504381250438
1250438
 
digital logic circuits, digital component memory unit
 digital logic circuits, digital component memory unit digital logic circuits, digital component memory unit
digital logic circuits, digital component memory unit
 
Computer memory
Computer memoryComputer memory
Computer memory
 
Primary Memory: RAM, ROM and their Types
Primary Memory: RAM, ROM and their TypesPrimary Memory: RAM, ROM and their Types
Primary Memory: RAM, ROM and their Types
 
Computer memory & Memory Storage Devices.
Computer memory & Memory Storage Devices.Computer memory & Memory Storage Devices.
Computer memory & Memory Storage Devices.
 
what is ROM? Rom(read only memory)
what is ROM? Rom(read only memory)what is ROM? Rom(read only memory)
what is ROM? Rom(read only memory)
 
Computer Memory Types - Primary Memory - Secondary Memory
Computer Memory Types - Primary Memory - Secondary MemoryComputer Memory Types - Primary Memory - Secondary Memory
Computer Memory Types - Primary Memory - Secondary Memory
 
Computer memory
Computer memoryComputer memory
Computer memory
 
computer memory and its types
computer memory and its typescomputer memory and its types
computer memory and its types
 
Memory types
Memory typesMemory types
Memory types
 
Read Only Memory
Read Only MemoryRead Only Memory
Read Only Memory
 
Function of memory.4to5
Function of memory.4to5Function of memory.4to5
Function of memory.4to5
 

Similar to Lecture 11

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
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
askme
 
Unit 3 storage fundamentals
Unit 3 storage fundamentalsUnit 3 storage fundamentals
Unit 3 storage fundamentals
Raj vardhan
 

Similar to Lecture 11 (20)

Computer memory presentation
Computer memory presentationComputer memory presentation
Computer memory presentation
 
memory
memorymemory
memory
 
Satish gupta
Satish guptaSatish gupta
Satish gupta
 
Memory System
Memory SystemMemory System
Memory System
 
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
 
Computer storage & type of storage.
Computer storage & type of storage.Computer storage & type of storage.
Computer storage & type of storage.
 
Memory Organization of a Computer System
Memory Organization of a Computer SystemMemory Organization of a Computer System
Memory Organization of a Computer System
 
Computer memory
Computer memoryComputer memory
Computer memory
 
Memory managment
Memory managmentMemory managment
Memory managment
 
memory
memorymemory
memory
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Unit 3 storage fundamentals
Unit 3 storage fundamentalsUnit 3 storage fundamentals
Unit 3 storage fundamentals
 
Memory 02
Memory 02Memory 02
Memory 02
 
Presentation2 (1).pp text book for students
Presentation2 (1).pp text book for studentsPresentation2 (1).pp text book for students
Presentation2 (1).pp text book for students
 
Memory Devices.pptx
Memory Devices.pptxMemory Devices.pptx
Memory Devices.pptx
 
Ram rom
Ram romRam rom
Ram rom
 
Memory & storage devices
Memory & storage devicesMemory & storage devices
Memory & storage devices
 
TYPES OF MEMORY
TYPES OF MEMORYTYPES OF MEMORY
TYPES OF MEMORY
 
Lincoln khan computer presentation
Lincoln khan computer presentationLincoln khan computer presentation
Lincoln khan computer presentation
 
Memory and storage devices
Memory and storage devicesMemory and storage devices
Memory and storage devices
 

More from M. Raihan

Comparison of fnir with other neuroimaging modalities relation between eeg sy...
Comparison of fnir with other neuroimaging modalities relation between eeg sy...Comparison of fnir with other neuroimaging modalities relation between eeg sy...
Comparison of fnir with other neuroimaging modalities relation between eeg sy...
M. Raihan
 

More from M. Raihan (20)

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

Recently uploaded

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Recently uploaded (20)

Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 

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