1.1 Sys Architeture Flashcards

1
Q

What are the two main internal components of a computer ?

A

CPU and RAM

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

Name the ALUs functions

A
  • arithmetic calculations
  • making logical decisions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does the control unit do ?

A
  • sends signals to control how data moves around the CPU
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does the cache do ?

A
  • provides fast access to frequently used instructions and data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What do the registers do ?

A
  • very specific individual things
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are registers ?

A

Tiny , super fast pieces of onboard memory inside the CPU

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

Name the 4 registers

A
  • accumulator
  • memory address register
  • program counter
  • memory data register
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Who designed computers with stored programs ?

A

John von Neumann

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

What are the other three components in von Neumann architecture that aren’t the registers ?

A

Cache , control until and arithmetic logic unit

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

What’s the key cycle that a computer does ?

A

Fetch decode execute

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

What is the Von Neumann architecture?

A

The Von Neumann architecture consists of a Control Unit (CU), Arithmetic and Logic Unit (ALU), and Memory Unit (typically RAM).

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

What is the stored-program concept?

A

It is based on the concept that both instruction data and program data are stored in the same memory in binary form.

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

How can you identify data in memory?

A

There is no way to know if the pure binary held in memory is representing instructions or data simply by looking at it.

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

What is the function of the Program Counter (PC)?

A

The Program Counter (PC) holds the address of the next instruction in memory.

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

What does the Memory Address Register (MAR) do?

A

The Memory Address Register (MAR) holds the address of where data is to be fetched or stored.

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

What is the role of the Memory Data Register (MDR)?

A

The Memory Data Register (MDR) holds the data fetched from, or to be written to memory.

17
Q

What does the Accumulator do?

A

The Accumulator holds the results of calculations.

18
Q

What is Clock Speed measured in?

A

Clock Speed is measured in Hz, which equals cycles per second.

19
Q

What regulates the CPU?

A

The CPU is regulated with clock signals.

20
Q

What is a clock cycle?

A

A clock cycle is the time between two clock signals.

21
Q

What can be executed per clock cycle?

A

A set number of instructions can be executed per clock cycle.

22
Q

What happens when clock cycles are faster?

A

The faster these cycles are, the more instructions can be executed per second.

23
Q

What is the purpose of cache?

A

Cache exists to speed up the operation of the fetch stage.

24
Q

How does cache size affect performance?

A

The larger the cache, the more instructions can be accessed faster.

25
What is the trade-off in cache performance?
There is a trade-off between 'cache latency' (speed) and 'hit rate' (size).
26
What are the levels of cache?
There are multiple levels of cache: L1, L2, and L3.
27
What is L1 cache?
L1 cache is embedded in the CPU chip, and is the smallest and fastest.
28
What are L2 and L3 caches?
L2 and L3 caches may be physically situated between the CPU and RAM, and are larger but slower.
29
What is the purpose of L2 and L3 caches?
L2 and L3 caches exist to 'back up' L1 cache, where hits are the least likely.
30
What is the function of multiple cores in a CPU?
Multiple cores allow multiple instructions to be executed simultaneously.
31
What type of cache does each core have?
Each core will have at least their own L1 cache, and possibly L2 as well.
32
What type of cache do all cores share?
All cores share a common L3 cache.
33
What is the relationship between the number of cores and performance?
The number of cores can enhance performance by enabling the execution of multiple instructions at the same time.