Computer architecture Flashcards

(35 cards)

1
Q

What is the CPU?

A

The brain of the computer, responsible for taking input, processing data, and producing output.

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

What is a microprocessor?

A

A type of integrated circuit contained on a single chip that houses the CPU and sometimes other components.

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

What components can be found in a microprocessor?

A
  • CPU
  • Memory controllers
  • I/O interfaces
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does the Von Neumann Architecture outline?

A

How the computer memory, input/output devices, and processor work together.

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

What are the main components of the Von Neumann architecture?

A
  • Control unit (CU)
  • Arithmetic logic unit (ALU)
  • Registers
  • Buses
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the function of the Control Unit (CU)?

A

Coordinates data movement within the CPU and decodes instructions fetched from memory.

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

What functions does the Arithmetic Logic Unit (ALU) perform?

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

What is a register in the context of a CPU?

A

Extremely small, fast memory located in the CPU that holds small amounts of data needed for processing.

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

What are the 5 main registers in a CPU?

A
  • Program Counter (PC)
  • Memory Address Register (MAR)
  • Memory Data Register (MDR)
  • Current Instruction Register (CIR)
  • Accumulator (ACC)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

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

A

Holds the memory address of the next instruction to be executed and increments by 1 during the fetch-decode-execute cycle.

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

What is the function of the Memory Address Register (MAR)?

A

Holds the memory address of where data or instructions are to be fetched from memory.

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

What does the Memory Data Register (MDR) do?

A

Stores the data or instruction that has been fetched from memory.

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

What is the role of the Current Instruction Register (CIR)?

A

Stores the instruction the CPU is currently decoding or executing.

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

What is the function of the Accumulator (ACC)?

A

Stores the results of calculations performed in the Arithmetic Logic Unit (ALU).

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

What is a bus in computer architecture?

A

A set of parallel wires through which data/signals are transmitted between components.

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

What are the three types of buses in a CPU?

A
  • Address bus - unidirectional
  • Data bus - bidirectional
  • Control bus - bidirectional
17
Q

What is the Fetch-Decode-Execute Cycle?

A

The cycle that the CPU runs billions of times per second to process input and deliver output.

18
Q

What happens during the fetch stage of the cycle?

A

The program counter holds the address of the next instruction, which is fetched from memory.

19
Q

What is the instruction during the decode stage of the cycle split into?

A

The instruction is split into opcode (what the instruction is) and operand (what to do it to).

20
Q

What occurs during the execute stage of the cycle?

A

The CPU carries out the fetched instruction, which may involve performing calculations or storing results.

21
Q

What is clock speed?

A

Measured in Hertz (Hz), it indicates the number of fetch-decode-execute cycles that occur in one second.

22
Q

What is the significance of cache size in a CPU?

A

Larger cache size allows more data to be stored, speeding up performance.

23
Q

How do multi-core processors enhance CPU performance?

A

They allow multiple separate processing units to fetch, decode, and execute instructions simultaneously.

24
Q

What is an instruction set?

A

A list of all commands that can be processed by a CPU, each with a corresponding binary code.

25
26
What is an embedded system?
a computer system which is used to perform a dedicated function, inside a larger mechanical unit
27
What are some advantages of embedded systems?
* Cheaper to design and build * Require less power * Do not need much processing power
28
what is the acronym for add?
ADD
29
what is the acronym for subtract?
SUB
30
what is the acronym for load?
LDA
31
what is the acronym for store?
STA
32
what is the acronym for stop?
HLT
33
what does the address bus carry?
carries addresses
34
what does the data bus carry?
carries data or instructions
35
what does the control bus carry?
carries commands and control signals