Week 2 Flashcards

1
Q

What is a clock?

A

Anything that can be turned on and off.

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

What is a clock cycle?

A

1/frequency.

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

What is RISC architecture?

A

Reduced instruction set computer. Fewer, and simpler instructions.

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

What is CISC architecture?

A

Complex instruction set computer. More(quantity), and more complex instructions.

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

What is the principle of spatial locality?

A

It is very likely that words, around and near the currently used word, will be used in the near future. Therefore the cache stores BLOCKS of code to account for this.

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

What is the principle of temporal locality?

A

It is very likely that a currently used word will be used again in the near future.

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

5 items in the “wish list” to speed up instruction execution?

A
  1. All instructions should be directly executed by hardware (complex and expensive).
  2. Issue instructions as often/fast as possible (complex, expensive, and physical limitations such as speed of light, electron interference, and heat).
  3. Instruction should be easy to decode (backwards compatibility, same-sized instructions)
  4. Only LOAD and STORE instructions should reference main memory (when performing instructions we don’t want to reach into main memory because it is slow, instead we store information we think we’ll use into the cache and registers).
  5. Provide lots of registers (expensive).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly