1.1 - Architecture of the CPU Flashcards

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

Give some examples of Input Devices

A

Keyboard, mice, trackpads, microphone

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

Give some examples of output devices

A

Monitors, speakers

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

What are the main components of a computer (not based on hardware)?

A

The CPU, main memory, secondary storage, Input and Output devices

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

Where is the CPU located?

A

On the motherboard (specifically the socket)

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

Purpose of the CPU

A

CPU runs and processes the instructions

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

How does the CPU run?

A

It runs one simple instruction at a time, which happens billions of times a second

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

What was the stored program concept?

A

It was the idea of storing the program instructions as well as data in memory

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

How were computers first run?

A

One instruction at a time using switches, or read in punch cards and executed one at a time

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

What year was when the stored program concept was born?

A

1943-44

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

What was the von Neumann architecture?

A
  • Program instructions and data programs are both stored in the same memory
  • CPU accesses both instructions and data from the same RAM
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the components of the CPU?

A

2 major components called the Control Unit and the Arithmetic-Logic Unit (ALU). There are also registers that are used to carry out these operations

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

What are registers in the CPU?

A

A very fast memory location in the CPU, and cache is also located in the CPU, but although it is slower than registers, it is faster than storing memory in RAM which is much slower

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

Give some registers in the CPU

A

Program Counter (PC), Memory Address Register (MAR), Memory Data Register (MDR), Accumulator (ACC)

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

What does the Program Counter (PC) do?

A

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
15
Q

What does the Memory Address Register (MAR) do?

A

Hold the memory address of current instruction and then the data that it uses so that these can be fetched from memory

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

What does the Memory Data Register (MDR) do?

A

Holds data or a program instruction temporarily when it is fetched from memory or is to be sent to memory.

17
Q

What does the accumulator (ACC) do?

A

Holds the result of an instruction before it is transferred to memory

18
Q

What is the Control Unit?

A
  • Coordinates and controls all of the activities taking place within the CPU
  • The control unit decode instructions and executes them
  • It receives signals form the system clock
  • It directs the timing and control of the other parts of the CPU, much like the conductor of the orchestra
19
Q

What is the ALU?

A
  • The ALU is where the actual arithmetic operations are done

- Some operation examples are logical operations like AND, OR, NOT

20
Q

What is Fetch - Decode - Execute (FDE)

A

Repeats this process:

  • Fetch an instruction from memory (program counter),
  • Decodes the instruction (Control Unit),
  • Executes the instruction (MAR and MDR).
21
Q

FDE - Program Counter

A

The program counter hold the address of the next instruction and then increments the value by 1 as soon as the current instruction has been fetched

22
Q

FDE - Accumulator

A

The Accumulator (ACC) is where arithmetic and logic results are temporarily stored

23
Q

FDE - MAR and MDR

A
  • If data is needed to fetched (commanded by the Control Unit), the MAR is then used to hold the address of the data to be used in the current instruction.
  • Then this data is fetched and copied to the MDR
24
Q

How does the MAR and MDR work together?

A

MAR knows where to look for data in RAM, the MDR keeps hold of that data until it is ready to be used by the CPU