2. Memory Flashcards

1
Q

What is Read only memory? (ROM)

A

ROM is memory whose contents are not lost if power is lost. This is also called non-voltatile memory.

There are variations on this basic idea.

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

What is Programmable ROM?

A

Programmable ROM is ROM that is programmed after manufacture. Once programmed, the basic ROM and PROM cannot be changed.

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

What is Erasable Programmable ROM (EPROM) ?

A

Erasable Programmable ROM is rom where the physical links that are altered to store programs/data can be reset by exposing them to Ultraviolet (UV) radion for a few minutes.

Once done, the EPROM can be reprogrammed.

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

What is Electrically Erasable and Programmable ROM (EEPROM) ?

A

Electrically Erasable and Programmable ROM is ROM that doesn’t need UV to overwrite what is already stored; it can be done electrically.

The main advantage of this is that the EEPROM does not have to be taken out of the computer to reprogram it.

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

What is Random Access Memory (RAM) ?

A

RAM is a type of memory used to temporarily store instructions and data that is currently being used. It is voltile so if power is lost, so is the contents of memory.

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

What are the 3 basic types of RAM?

A

Dynamic RAM (DRAM)
Static RAM (SRAM)
Non-volatile RAM (NVRAM)

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

What is Dynamic RAM (DRAM) ?

A

Dynamic RAM is a type of RAM where the charged stated of a capacitor determines whether a 0 or 1 is stored. (0 = discharged, 1 = charged).

The capacitors will lost charge with time so they consatntly need to be refreshed to keep their contents.

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

What is Static RAM (SRAM) ?

A

Static RAM is a type of RAM where each bit is represented by a flip-flop. The cell’s output is maintained until it is either altered to a new value or the power is lost.

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

What are the disadvantages of Static RAM (SRAM) when compared to Dynamic RAM (DRAM) ?

A

More complex.
More expensive.

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

What is Non-volatile RAM (NVRAM) ?

A

Non-voltatile RAM (NVRAM) is a type of RAM that is non-voltatile. A variety of different technologies are used to implement NVRAM.

NVRAM can be found in many applications such as digital cameras and MP3 players.

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

Give some examples of RAM.

A

EDO RAM (Extended Data Output RAM): Used in both main memory and video cards.

SDRAM (Synchronous DRAM): the processor and the memory are in step with each other. This elimated some of the operations needed to communicate between the two devices.

DDR (Double Data Rate) SDRAM: Similar to SDRAM but theoretically could transmit data on the rise and fall of the clock. In practice, this is unlikely to occur.

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

What is Cache?

A

Cache is a fasyer type of memory that is found in main memory. In other words, it takes less time to access something in cache than in main memory.

It ‘sits’ between the external memory (main memory) and the processor.

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

What is a register?

A

In it’s simplist form, a register is a memory location within the processor.

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

What is Virtual Memory?

A

Virtual memory is a portion of the hard disk / secondary storage that is used like RAM when the main memory / RAM is full.

Virtual memory is useful when the programs and data in use are bigger than main memory’s capacity.

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

Give a rule of thumb when it comes to memory hierarchies.

A

The faster the memory, the highter the cost, making it very expensive to make all memory out of the fastest memory devices.

Slower technologies are less expensive, making it more practical to make larger memories out of these devices.

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

What is the order of the memory hierarchy (fastest to slowest) ?

A

Registers, Cache, RAM, Virtual Memory.

17
Q

What is Level 1 cache?

A

Level 1 cache is built into the actual processor core. It is a piece of RAM, typically 8, 16, 20, 32, 64 or 128Kbytes, which operates at the same clock frequency as the rest of the CPU. (You could say the L1 cache is part of the processor)

18
Q

What does Level 1 cache store?

A

Level 1 cache stores instructions going to the processor. It is often split into L1 cache for instructions and L1 cache for data.

19
Q

What is a cache called that is common for both data and instructions?

A

Unified cache.

20
Q

What is Level 2 Cache?

A

Level 2 cache is used to buffer data between L1 cache and main memory. It is a unified cache.

It is normally much bigger (such as 256, 512 or 1024 Kbytes)

21
Q

What is the purpose of Level 2 Cache?

A

The purpose of the Level 2 Cache is to constantly read in slightly larger quantities of data from RAM, so that these are available to the Level 1 Cache.

22
Q

What is the principle of locality?

A

It is the idea that the data / instructions used more often should be closer to the CPU.

23
Q

What is a cache hit?

A

A cache hit is where data / instructions are required and it is found in cache.

24
Q

What is a cache miss?

A

A cache miss is where data / instructions are required and is NOT found in cache.

25
Q

What is special about the Harvard Architecture?

A

Instructions and data occupy different address spaces.

Instruction and data have seperate hardware pathways (buses) to the CPU.