Vous êtes sur la page 1sur 25

DEPARTMENT OF TECHNICAL EDUCATION

ANDHRA PRADESH
Name : U.Rajya Lakshmi
Designation : Lecturer
Branch : Computer Engg.,
Institute : Govt.Polytechnic for Women,
PALAMANER.
Year/Semester : III Semester
Subject : Computer Architecture
Subject Code : CM-303
Topic : Memory Organization(2/15)
Duration : 50 Min
Sub Topic : Types of Memories
Teaching aids : PPT,drawings
CM303.37 1
Do you know
• What is the function of memory?

• What are operations that can be performed on


memory?

• What is word length of memory?

CM303.37 2
Recap of previous lesson
In the previous class, we have learnt about

• Memory is a collection of cells

• Each cell can store either 1 or 0

• Cells are grouped in to words

• Word can be moved in or out as a single unit

• Each word has an identification number called address

CM303.37 3
Objectives

On completion of this period you would be able to


learn
• The different types of memories

CM303.37 4
Types of Memories

• Computer system contain variety of memory


components
• Divided in to four main groups
• CPU Registers (or) internal processor memory
• Main memory
• Secondary memory
• Cache memory

CM303.37 5
Types of Memories
Contd..

Internal Processor memory

• Consists of very high speed small set of registers


• Working memory of CPU
• Stores instructions and data temporarily
• Included in CPU

CM303.37 6
Types of Memories
Internal Processor memory
CPU
Register set

Control unit

ALU
Fig.1
CM303.37 7
Types of Memories

Main Memory Contd..

• Storage of instructions and data


• Communicates directly with CPU
• Slower than Internal processor memory
• Capacity is more
• Also known as Primary memory
• Semi conductor IC chips are used to build main memory
• Cost is high

CM303.37 8
Types of Memories

Main Memory

Main
CPU
memory

Fig.2
CM303.37 9
Types of Memories
Contd..
Secondary Memory

• Provides back up of programs and data


• Permanent storage of programs, data and other information
• Communicates indirectly with CPU
• Slower than main memory
• Much larger in capacity
• Also known as Auxiliary memory
• Magnetic memory is used as secondary memory
• Cheaper than main memory

CM303.37 10
Types of Memories
Contd..

Secondary Memory

Main Secondary
CPU
memory memory

Fig.3
CM303.37 11
Types of Memories
Contd..
Cache Memory

• Faster than main memory


• Capacity is less than that of main memory
• Used to compensate the speed difference between CPU and
main memory
• Communicates directly with CPU
• Present in between the CPU and main memory
• Holds frequently used program parts and data
CM303.37 12
Types of Memories
Contd..

Cache Memory

Cache Main
CPU
memory memory

Fig.4
CM303.37 13
Summary

In this class you have studied that


• Different types of memories
CPU registers
main memory
Secondary memory and
Cache memory
• CPU registers
used to store information temporarily during execution

CM303.37 14
Summary Contd..

Main memory
temporary storage and directly communicates with CPU

Secondary Memory
provides backup and indirectly communicates with CPU

Cache memory
holds frequently used programs and data
used to compensate speed difference between CPU and
main memory
CM303.37 15
QUIZ

CM303.37 16
QUIZ
1. A set of CPU registers are also known as

a) Primary memory
b) Cache memory
c) Internal processor memory
d) Secondary memory

CM303.37 17
QUIZ
Contd..
1. A set of CPU registers are also known as
• Primary memory
• Cache memory
• Internal processor memory
• Secondary memory

CM303.37 18
QUIZ
Contd..
2. Cache memory is present in between

a) Primary memory and Secondary memory


b) CPU and main memory
c) Internal processor memory and CPU
d) Secondary memory and CPU

CM303.37 19
QUIZ
Contd..

2. Cache memory is present in between


• Primary memory and Secondary memory
• CPU and main memory
• Internal processor memory and CPU
• Secondary memory and CPU

CM303.37 20
QUIZ
Contd..
3. The memory that provides backup is
a) Primary memory
b) Cache memory
c) Internal processor memory
d) Secondary memory

CM303.37 21
QUIZ
Contd..

3. The memory that provides backup is


• Primary memory
• Cache memory
• Internal processor memory
• Secondary memory

CM303.37 22
QUIZ
Contd..
4. The cache memory is used

a) To store more data


b) To store lengthy instructions
c) To compensate speed difference between
CPU and main memory
d) None of the above

CM303.37 23
QUIZ
Contd..
4. The cache memory is used

• To store more data


• To store lengthy instructions
• To compensate speed difference between
CPU and main memory
• None of the above

CM303.37 24
Short Answer Questions

1. What are the different types of memory


components and explain briefly.

CM303.37 25

Vous aimerez peut-être aussi