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.
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.
3
Q
What is the function of the ALU?
A
- Performs all arithmetic and logical operations within the CPU.
- Examples: Addition, subtraction, logical comparisons.
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.
5
Q
What is a register in a CPU?
A
- Small, fast storage location in the CPU.
- Holds data temporarily during processing.
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.
7
Q
What is the Fetch-Execute cycle?
A
- The process by which a CPU retrieves and executes instructions.
- Steps: Fetch, Decode, Execute.
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.
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.
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.
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.
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.
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).
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.
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.