Flashcards - Computer Systems Week 8 - Memory Overview

1
Q

What are the two main components that run a program in a computer?

A

Program code and data

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

What does the Fetch/Execute cycle involve?

A

Fetching from memory, processing by the CPU, and storing results back in memory

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

What is the main function of registers in a computer system?

A

To assist the CPU in the fetch and execute cycle

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

What is used in memory to represent data at the most basic level?

A

Bits (0s and 1s)

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

What is latency in the context of computer memory?

A

The time it takes to retrieve data from memory

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

Name the two types of RAM discussed in the material.

A

Dynamic RAM (DRAM) and Static RAM (SRAM)

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

What type of memory is typically faster: Cache or RAM?

A

Cache is faster than RAM

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

What is the maximum number of locations that can be accessed with a 10-line address bus?

A

1,024 (1K) locations

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

What is a cache hit?

A

When the requested data can be found in the cache

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

What happens during a cache miss?

A

The least recently used blocks are overwritten or written back to memory

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

Which level of cache is the fastest?

A

Level 1 cache

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

What is the difference between DRAM and SRAM concerning refreshing?

A

DRAM requires refreshing, whereas SRAM does not

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

What is the primary purpose of RAM in a computer system?

A

To store programs, data, and addresses during operation

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

Identify a key characteristic of RAM.

A

RAM is volatile storage, meaning it relies on power

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

Which type of memory is used in a computer’s cache?

A

Static Random Access Memory (SRAM)

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

What does the term ‘memory hierarchy’ refer to?

A

The classification and organization of different memory types based on speed and cost

17
Q

What is the trade-off for using fast RAM compared to slower memory types?

A

Fast RAM is more expensive than slower memory

18
Q

What is a Dual Inline Memory Module (DIMM)?

A

A type of RAM used in PCs

19
Q

What is the advantage of a cache in terms of data access speed?

A

It stores data closer to the CPU, leading to faster access times

20
Q

How do modern systems maintain performance in terms of cache usage?

A

They have a high cache hit rate, meaning many requests are served from cache

21
Q

What is the price and performance balance important in computer systems?

A

To ensure that the system provides adequate performance without excessive costs

22
Q

What role does a cache play in executing programs efficiently?

A

It stores frequently accessed data to reduce access time and latency

23
Q

What is the typical speed comparison between cache memory and secondary memory?

A

Cache is much faster than secondary memory

24
Q

What kind of power consumption difference exists between DRAM and SRAM?

A

DRAM consumes more power than SRAM