COMPUTER STRUCTURE Flashcards

1
Q

Relationship between data, address bus and the maximum amount of amount of memory

A

1) width of data bus determines the number of bits hat can be stored in each address
2) width of address bus determines the number of locations available

3) max memory is
2address * databus = answer in bits

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

2 types of rom

A

PROM - programmable ROM

EPROM - erasable programmable ROM

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

RAM VS ROM

A

Can edit RAM can’t edit ROM

Lose data in RAM, don’t lose data is ROM

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

Ways to improve system performance

A

1) Increase clock speed (processes more instructions per second)
2) increase width of data bus (more data processed per cycle)
3) increase size of cache (less slower F/E from RAM and more fast cache which is closer to CPU)
4) increase number of registers (less slower F/E from RAM as registers are in the cpu)

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

What is cache

A
  • Fast temporary storage between CPU and RAM

* Cache stores frequently used instructions

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

How does cache improve system performance

A

Less slower F/E from RAM cycle. fast cache which is closer to the CPU

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

Give a situation where cache would not improve system performance

A

When are instructions are not in cache and main memory must be accessed

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

Differences between main memory and cache

A
  • main memory is directly addressable by programmes, cache is not
  • first level cache is typically on board processors, where as main memory is on completely separate chips
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Advantage and disadvantage of dynamic ram

A

ADV:
Cheaper, use less power

DISAD:
Slower and need to be continuously refreshed

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

Give an advantage and disadvantage of static ram

A

ADV: faster access memory

DISAD:
more expensive and more complex

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