System Components Flashcards
What is the role of the CPU in a computer?
The CPU, or central processing unit, is often referred to as the “brain” of the computer. It handles all instruction processing and ensures that tasks are executed in a timely manner.
What are the two main parts of the CPU?
The two main parts of the CPU are the Control Unit (CU) and the Arithmetic Logic Unit (ALU).
What is the function of the Control Unit (CU) in the CPU?
The Control Unit (CU) manages the flow of data within the CPU and coordinates the activities of all components.
What is the function of the Arithmetic Logic Unit (ALU) in the CPU?
The Arithmetic Logic Unit (ALU) performs mathematical and logical operations.
How is CPU speed measured?
CPU speed is measured in gigahertz (GHz).
What is the significance of having multiple cores in a CPU?
Multiple cores allow the CPU to handle more than one instruction at the same time, increasing its efficiency and performance.
How do multiple cores affect a CPU’s performance?
Multiple cores enable the CPU to execute multiple tasks simultaneously, enhancing overall performance.
What are hyper-threading and turbo boost in modern CPUs?
Hyper-threading allows a single CPU core to manage multiple threads, while turbo boost dynamically increases the CPU’s speed based on workload demands.
How does hyper-threading improve CPU performance?
Hyper-threading improves performance by enabling each core to handle two threads at once, allowing for better utilization of CPU resources.
How does turbo boost adjust a CPU’s speed?
Turbo boost dynamically increases the CPU’s clock speed when needed, allowing it to handle demanding tasks more efficiently.
What is the machine cycle in a CPU?
The machine cycle refers to the four basic operations performed by the CPU to execute instructions: Fetch, Decode, Execute, and Store.
What happens during the Fetch phase?
During the Fetch phase, the CPU retrieves an instruction from memory, which is a sequence of bits indicating the next action to perform.
What occurs in the Decode phase?
In the Decode phase, the CPU interprets the fetched instruction by breaking it down into a form that can be processed by the ALU or other units.
What takes place during the Execute phase?
During the Execute phase, the CPU performs the instruction, which may involve operations like adding two numbers, moving data, or comparing values.
What is done in the Store phase?
In the Store phase, the result of the executed instruction is saved back into memory for future use or output.