Chapter 4. Processor Fundamentals Flashcards

1
Q

What is the Von Neumann architecture?

A
  • A computer architecture model where the data and programs are stored in the same memory.
  • Uses a single bus for both data and instructions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the components of the CPU?

A
  • Arithmetic Logic Unit (ALU): Performs arithmetic and logic operations.
  • Control Unit (CU): Directs operations of the processor.
  • Registers: Small, fast storage locations within the CPU.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the function of the ALU?

A
  • Performs all arithmetic and logical operations within the CPU.
  • Examples: Addition, subtraction, logical comparisons.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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

A
  • Directs the flow of data between the CPU and other components.
  • Controls the execution of instructions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a register in a CPU?

A
  • Small, fast storage location in the CPU.
  • Holds data temporarily during processing.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the common types of registers in a CPU?

A
  • Program Counter (PC): Holds the address of the next instruction.
  • Accumulator (ACC): Stores intermediate results of calculations.
  • Memory Address Register (MAR): Holds the address of the memory location being accessed.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the Fetch-Execute cycle?

A
  • The process by which a CPU retrieves and executes instructions.
  • Steps: Fetch, Decode, Execute.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What happens during the Fetch stage of the Fetch-Execute cycle?

A
  • The CPU retrieves an instruction from memory based on the address in the Program Counter (PC).
  • Increments the PC to point to the next instruction.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What occurs in the Decode stage of the Fetch-Execute cycle?

A
  • The CPU interprets the instruction and prepares necessary components for execution.
  • Determines the type of operation to perform.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the Execute stage in the Fetch-Execute cycle?

A
  • The CPU carries out the instruction using the ALU or other components.
  • Results are stored back in registers or memory.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the role of the System Clock in a CPU?

A
  • Synchronizes operations of the CPU by generating regular clock pulses.
  • Determines the speed of processing.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the factors affecting CPU performance?

A
  • Clock speed: Higher speeds allow more instructions per second.
  • Number of cores: More cores can handle more tasks simultaneously.
  • Cache memory: Reduces the time needed to access frequently used data.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the difference between primary memory and secondary memory?

A
  • Primary memory: Volatile, fast, directly accessible by the CPU (e.g., RAM).
  • Secondary memory: Non-volatile, slower, used for long-term storage (e.g., HDD, SSD).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is cache memory?

A
  • A small, high-speed memory located inside or near the CPU.
  • Stores frequently accessed data to speed up processing.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are interrupts in a computer system?

A
  • Signals that inform the CPU of an event that needs immediate attention.
  • Can pause the current process to handle the event.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

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

A
  • Holds the memory address of the next instruction to be executed.
  • Increments after each instruction fetch.
17
Q

What is an Instruction Register (IR)?

A
  • Holds the current instruction being decoded or executed.
  • Part of the control unit.
18
Q

What is a bus in computer architecture?

A
  • A communication system that transfers data between components.
  • Types: Data bus, Address bus, Control bus.
19
Q

What is the function of the Memory Data Register (MDR)?

A
  • Temporarily holds data being transferred to or from memory.
  • Works in conjunction with the Memory Address Register (MAR).