3.1 Computer Structure Flashcards
What is the role of the CPU in a computer?
The CPU processes instructions and data that are input into the computer so the result can be output.
What is a microprocessor?
A microprocessor is a type of integrated circuit on a single chip.
What are the components of a CPU in a Von Neumann architecture?
- Arithmetic and Logic Unit (ALU)
- Control Unit (CU)
- Registers
- System Clock
- System Buses
- Memory
What is the function of the Arithmetic and Logic Unit (ALU)?
- The ALU allows arithmetic operations (e.g., +, −) and logic operations (e.g., AND, OR) to be carried out.
- It also performs multiplication and division using shifting operators.
What is the function of the Control Unit (CU)?
- Reads instructions from memory.
- Generates signals during the Fetch-Decode-Execute cycle to control computer components.
- Synchronizes data flow and program instructions.
What are registers, and what do they store?
Registers are high-speed areas of memory within the CPU used to store:
- Small amounts of data.
- The address of the next instruction.
- The current instruction is being decoded.
Name the types of registers in a CPU.
- Current Instruction Register (CIR)
- Accumulator (ACC)
- Memory Address Register (MAR)
- Memory Data/Buffer Register (MDR)
- Program Counter (PC)
What is the purpose of the System Clock in a CPU?
- The system clock produces timing signals to synchronize functions.
- Changing the clock speed can improve performance but risks overclocking, which may cause overheating and crash the computer.
What are system buses, and how do they function?
System buses transfer data and control signals in the computer.
Types:
- Address bus (unidirectional) - Carries addresses
- Data bus (bidirectional) - Transfers data
- Control bus (bidirectional) - Carries control signals
What determines the word size and performance of a computer?
The width of the data bus and address bus.
What is the function of RAM and ROM in primary memory?
- RAM holds data, programs, and the operating system in use.
- ROM contains start-up routines and cannot be altered.
Describe the process of the Fetch-Decode-Execute cycle.
- PC contains the address of the next instruction.
- The address is copied to the MAR via the address bus.
- Instruction is copied to the MDR.
- Instruction in the MDR is moved to the CIR.
- PC is incremented by 1.
- Instruction is decoded and executed.
How does the clock affect CPU performance?
A faster clock speed increases processing speed but may risk overheating due to overclocking.
How do caches improve CPU performance?
- Caches store frequently used instructions and data, speeding up processing.
- Larger cache memory improves performance.
What is a core, and how does it improve CPU performance?
- A core contains an ALU, CU, and registers.
- Multiple cores (e.g., quad-core) allow parallel processing, improving CPU performance.