Lecture 3 Memory Flashcards

(18 cards)

0
Q

What are the two types of storage memory

A

Primary and secondary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

What factors govern type of memory used

A

Speed of access
Cost
Capacity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is primary memory

A

Stores small amount of data that will be immediately used by the central processing unit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is secondary memory

A

Mass storage

Stores much larger amount of data for extended periods of time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are three types of information does primary storage contain

A

Data to be processed

Instructions for the CPU as how to process the data

Operating system programs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Where does primary storage reside

A

In chips mounted on the computers main circuit board

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the four types of primary storage

A

Registers
Random access memory
Cache memory
ROM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are registers

A

Part of the CPU with the least capacity storing limited amount of instructions and data immediately before and after processing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is ram

A

Part of the primary storage holds a software program and small amount of data when they are brought from secondary storage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What cache memory

A

A type of primary storage where the computer can temporarily store blocks of data used more often

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is ROM

A

Primary storage where critical instructions are safeguarded the storage is nonvolatile so retains the instructions when the power to the computer is turned off

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

A what are two types of RAM

A

Dram -cheaper less power and less heat

SRAM- fastest, more expensive used in registers and cache memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the difference between level one and level two cache

A

Level one is built onto the CPU itself

Level two resides on a separate trip and make use of SRAM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What happens when a CPU needs to fetch an instruction

A

At first checks the cache

Cache is initialised with instructions for a program to be executed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How is cache memory performance measured

A

Using hit ratio

Hit ratio = total hits/total CPU references to memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How does cache memory fetch data

A

Cache fetches data from next to current addresses

CPU checks to see if next instruction is already in cache

If yes, it’s fetched from the cache

If no it’s fetched from main memory

16
Q

What Does rom hold?

A

Bootstrap loader or bios

17
Q

What is the difference between sequential access and direct access

A

Direct access any item can be retrieved in non sequential manner

Sequential access all data must be run through to find it