1.1.1 - Structure and Function of the Processor Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What operations does the arithmetic logic unit do?

A
Arithmetical operations (+, -, *, /)
Logical operations (AND, OR, NOT, XOR)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the function of the control unit?

A

The control unit directs the operations of the CPU. It does this by sending control signals to areas of the CPU to coordinate the operations.

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

Name the five registers in the CPU.

A
Program counter
Accumulator
Memory address register
Memory data register
Current instruction register
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the function of the program counter?

A

The PC holds the address of the next instruction to be executed.

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

What is the function of the accumulator?

A

The accumulator stores the results of calculations.

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

What is the function of the memory address register?

A

The MAR holds the address of the location that is to be read from or written to.

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

What is the function of the memory data register?

A

The MDR temporarily stores data that has been read or data that needs to be written.

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

What is the function of the current instruction register?

A

The CIR holds the current instruction being executed, divided into operand and opcode.

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

What is the definition of a bus?

A

A bus is a set of parallel wires that connect two or more components inside the CPU.

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

Name the three buses in the CPU.

A

Data bus, address bus, control bus.

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

What are the three buses in the CPU collectively called?

A

The system bus.

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

What is the function of the data bus?

A

The data bus is a bi-directional bus that is used to transport data and instructions between components.

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

What is the function of the address bus?

A

The address bus is used to transmit the memory addresses that specify where data is to be sent or retrieved from.

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

What is the width of the address bus proportional to?

A

The number of addressable memory locations.

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

What is the function of the control bus?

A

The control bus is a bi-directional bus that is used to transmit control signals between internal and external components.

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

What does the control signal ‘bus request’ do?

A

It shows that a device is requesting the use of the data bus.

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

What does the control signal ‘bus grant’ do?

A

It shows that the CPU has granted access to the data bus.

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

What does the control signal ‘memory write’ do?

A

It causes data to be written into the addressed location.

19
Q

What does the control signal ‘memory read’ do?

A

It causes data to be read from a specific location to be placed onto the data bus.

20
Q

What does the control signal ‘interrupt request’ do?

A

It shows that a device is requesting access to the CPU.

21
Q

What does the control signal ‘clock’ do?

A

It is used to synchronise operations in the CPU.

22
Q

What does the operand contain?

A

The data or the address of the data upon which the operation is to be performed.

23
Q

What does the opcode contain?

A

The type of instruction to be executed.

24
Q

What is the function of pipelining?

A

It increases the efficiency of the CPU by reducing the amount of time the CPU is kept idle.

25
Q

How does pipelining work?

A

It completes the fetch, decode and execute cycles of three separate instructions simultaneously.

26
Q

What are the two different types of pipelining?

A

Instruction pipelining and arithmetic pipelining.

27
Q

How does arithmetic pipelining differ from instruction pipelining?

A

Instruction pipelining is separating out the instruction into fetching, decoding and executing and doing these simultaneously.

Arithmetic pipelining splits the arithmetic operations up and overlaps them when they are performed.

28
Q

What are the four stages in the ‘fetch’ stage of the fetch-decode-execute cycle?

A

Address from the PC is copied into the MAR.
Instruction held at that address is copied to the MDR via the data bus.
Simultaneously, the contents of the PC is incremented by 1.
The value held in the MDR is copied into the CIR.

29
Q

What happens during the ‘decode’ stage of the fetch-decode-execute cycle?

A

The contents of the CIR are split into operand and opcode.

30
Q

What happens during the ‘execute’ stage of the fetch-decode-execute cycle?

A

The decoded instruction is executed and the ALU performs any operations required. The result is stored in the accumulator.

31
Q

Name three factors that affect the performance of the CPU.

A

Clock speed
Number of cores
Amount and type of cache memory.

32
Q

How does the clock speed affect the performance of the CPU?

A

The clock speed is the number of instructions completed per second so a higher clock speed increases the number of instructions completed per second.

33
Q

How does the number of cores affect the performance of the CPU?

A

A computer with multiple cores can complete more than one fetch-decode-execute cycle at any given time so more cores equal higher CPU performance.

34
Q

Why does doubling the number of cores not double CPU performance?

A

Not all programs can utilise multiple cores efficiently as they have not been designed to do so.

35
Q

How does the amount and type of cache memory increase CPU performance?

A

Accessing the cache is faster than accessing the main memory. Regularly used instructions are kept in the cache and so data retrieval is faster.

The type of cache memory affects the speed of the memory.

36
Q

Which level of cache memory is the fastest?

A

Level 1 cache is the fastest.

37
Q

Which level of cache memory has the greatest capacity?

A

Level 3 cache has the greatest capacity.

38
Q

Name the two types of computer architecture.

A

Von Neumann architecture and Harvard architecture.

39
Q

Describe the main features of von Neumann architecture.

A

This architecture includes the basic components of the computer and processor in which shared memory and a shared data bus is used for both data and instructions. Von Neumann architecture is built on the stored program concept.

40
Q

Describe the main features of Harvard architecture.

A

Harvard architecture has physically separate memories for instructions and data. This is more commonly used with embedded processors.

41
Q

What are the advantages of using von Neumann architecture?

A

Processors are cheaper to develop as the control unit is easier to design.

Programs can be optimised in size.

42
Q

What are the advantages of using Harvard architecture?

A

Quicker execution as data and instructions can be fetched in parallel.

Memories can be different sizes, which can make more efficient use of space.

43
Q

What does contemporary processing mean?

A

Contemporary processing is where a processor uses a combination of von Neumann and Harvard architecture. Usually, von Neumann is used for main memory and Harvard is used for the cache.