Hardware Flashcards

1
Q

The Purpose of the CPU ?

A

The purpose of the CPU is to process data and carry out instructions.

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

Describe the arithmetic logic unit (alu)

A

Where the CPU performs the arithmetic and logic operations. Data is passed to the ALU to allow the required calculations to be carried out. The results of any calculations are then sent to be stored in a register. There are two parts to the ALU:

  • The arithmetic part, which deals with calculations, e.g. 1 + 2 = 3
  • The logic part, which deals with any logical comparisons, such as the comparison of two numbers, e.g. 2 > 1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe the control unit

A

The control unit manages how data is processed by the CPU.

It manages how the CPU and other components communicate, for example communicating with a printer or USB device.

It executes all instructions provided by programs.

It informs the ALU, IAS along with input and output devices how to respond to instructions from a program

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

Describe immediate access store - (memory)

A

The Central Processing Unit must have access to data as fast as possible. Each piece of data is stored in the random access memory chip so that the CPU can retrieve data immediately. Each memory location has a unique address assigned to it.

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

Describe register

A

It is normally used for a specific purpose, where data or control information is temporarily stored.

Some registers are used in the fetch-execute cycle while others may be used by the program being executed.

Registers are much faster to access because they have to be accessed so often.

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

What is the fetch - execute cycle?

A

Explains the basic steps the CPU takes to process an instruction. It is in 5 stages

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

What is the first stage of the fetch - execute cycle?

A
  1. Program Counter

It is the program counters job to have the address of the first and each subsequent instruction of the fetch-execute cycle.

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

2nd stage of the fetch execute cycle and what does MAR stand for

A
  1. Memory Address Register (MAR)
    The memory address register stores the ADDRESS of current instruction or data being executed.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

3rd stage of the fetch execute cycle and what does MDR stand for

A

Memory Data Register (MDR)
When the instruction is fetched the memory data register temporarily holds it. All data from memory to CPU goes via MDR.

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

4th stage of the fetch execute cycle and what does IAR stand for

A

Instruction Address Register (IAR)
Also referred to as : Instruction Register
The Instruction Address Register holds the current instruction to be executed.

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

5th stage of the fetch execute cycle

A

Arithmetic Logic Unit (ALU)
This is a vital part and end of the fetch-execute cycle. The ALU will carry out the logical part of the instruction for example a calculation.

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

What is clock speed measured in?

A

Cycles per second.

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

What does 1 cycle per second equal?

A

1 hertz

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

What is a typical desktop computer’s clock speed?

A

3000 million cycles per second or 3GHz.

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

What effect does a CPU with a high clock speed have?

A

Makes it look as though the computer is completing multiple tasks at once.

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

How does clock speed impact CPU performance

A

The faster the clock speed of a computer the more powerful the computer is, the quicker the CPU will work and vice versa.

17
Q

Why is cache used in the fetch-execute cycle?

A

Cache memory has extremely fast access, so sections of a program and its associated data are copied there to take advantage of its short fetch-execute cycle.

18
Q

How does cache size effect the CPU’s performance

A

The use of cache memory can greatly reduce processing time therefore the greater the Cache size the quicker the processing time.

19
Q

How does the number of cores in computer impact on CPU performance

A

Modern computers speed up their clock speed/processing power by containing more than one processor. Some companies call these CPU’s ‘core’. Therefore a ‘dual core’ device means the computer contains 2 processors, a ‘quad core’ device means the computer contains 4 processors.