Flashcards - Computer Systems Week 6_ Hardware Basics

1
Q

What does the fetch-execute cycle in CPU operations entail?

A

It involves fetching an instruction from memory, decoding it, and then executing it accordingly.

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

What is one key difference between Von Neumann and Harvard architecture?

A

Harvard architecture has separate memory and buses for instructions and data, while Von Neumann uses a single bus for both.

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

What is the von Neumann bottleneck?

A

It refers to the limitation caused by having a single address/data bus, leading to inefficiencies in memory access during instruction execution.

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

In Von Neumann architecture, what is the purpose of registers R0-R12?

A

They store values during the execution of instructions.

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

What is pipelining in the context of computer architecture?

A

Pipelining is a technique where multiple stages of instruction execution operate simultaneously to improve throughput.

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

What is the main advantage of a multi-core processor?

A

It can execute multiple threads simultaneously by assigning different threads to different cores, improving processing power.

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

What process simulates simultaneous execution in multi-threading?

A

Time division between different threads to manage their execution effectively.

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

What are hazards in pipelining?

A

Resource conflicts and drawbacks that can occur during execution stages, requiring careful hardware design to avoid them.

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

What is an instruction buffer register?

A

It holds the current instruction being executed in a CPU’s control unit.

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

What does the program counter do in a CPU?

A

It keeps track of the address of the next instruction to be executed.

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

What effect does pipelining have on instruction timing?

A

It significantly reduces the time required to complete a sequence of instructions.

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

What is the role of the control unit in CPU architecture?

A

It directs the operation of the processor and coordinates how instructions are executed.

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

What are the limitations of a single-core processor compared to multi-core processors?

A

Single-core processors must handle all threads through time-slicing, which can lead to inefficiency.

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

What technique is used in multi-core processors to assign threads?

A

Each core can handle multiple threads using multithreading techniques, distributing tasks based on workload.

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

What happens in the ‘Execute’ phase of the fetch-execute cycle?

A

The CPU carries out the instruction that has been decoded.

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

What is the purpose of the memory address register?

A

It holds the address of the memory location from which data is to be read or written.

17
Q

How do multi-core processors improve energy efficiency?

A

By running at lower clock speeds while still processing instructions effectively compared to single-core processors.

18
Q

What are the steps in the fetch-execute cycle?

A

Fetch the instruction, decode it, execute it, memory access, store the result.

19
Q

What does overlapping execution mean in Harvard architecture?

A

It allows multiple instructions to be executed simultaneously by managing separate instruction and data paths.

20
Q

What is the primary disadvantage of the von Neumann architecture?

A

It leads to inefficient CPU cycles, where parts of the CPU may remain idle while waiting for memory access.

21
Q

What does the term ‘throughput’ refer to in relation to pipelining?

A

The number of instructions that can be executed in a given amount of time due to the overlapping of instruction stages.

22
Q

Why is it advantageous to market multi-core processors?

A

The terminology like ‘dual-core’ or ‘quad-core’ appeals to consumers and emphasizes performance gains.

23
Q

What is the overarching goal of multi-threading?

A

To improve the utilization of CPU time by allowing several threads to execute concurrently or in an overlapping manner.