What is the role of the Control Unit (CU) in the CPU?
A Store temporary data
B Execute program instructions
C Direct data flow
D Perform arithmetic operations
The Control Unit (CU) is responsible for directing the flow of data within the CPU. It manages the execution of instructions by coordinating operations between the ALU, memory, and input/output devices.
What does ALU stand for?
A Arithmetic Logic Unit
B Algorithmic Logic Unit
C Application Logic Unit
D Automated Logic Unit
The ALU is responsible for performing arithmetic (e.g., addition, subtraction) and logical (e.g., AND, OR) operations in the CPU. It is one of the fundamental building blocks of a processor.
What is the function of registers in a CPU?
A Store permanent data
B Control data flow
C Manage memory
D Temporarily hold data
Registers are small, fast storage locations within the CPU that hold data temporarily during processing. They enable quick access to frequently used data and instructions during program execution.
Which of the following is stored in a CPU register during execution?
A Only data
B Data and instructions
C Control signals
D Only instructions
During program execution, the CPU register stores both data and instructions. The registers hold temporary data that the processor uses for performing calculations and storing intermediate results.
What is the primary difference between RISC and CISC architectures?
A Memory size
B Clock speed
C Instruction complexity
D Number of registers
RISC (Reduced Instruction Set Computing) uses a small set of simple instructions, while CISC (Complex Instruction Set Computing) uses a large set of more complex instructions. RISC focuses on faster execution by simplifying instruction sets.
What is the main purpose of the CPU’s ALU?
A Perform logical operations
B Manage memory
C Fetch instructions
D Control program flow
The ALU performs both arithmetic operations (such as addition) and logical operations (such as AND, OR). It is essential for processing data and performing calculations within the CPU.
Which of the following is an example of volatile memory?
A Hard drive
B SSD
C ROM
D RAM
Volatile memory, like RAM, loses its content when power is removed. It is used by the CPU to temporarily store data and instructions needed during program execution.
Which component fetches instructions from memory?
A Registers
B Control Unit
C ALU
D Cache
The Control Unit (CU) is responsible for fetching instructions from memory. It decodes and sends the appropriate signals to the ALU and other components to execute these instructions.
What does the term “microprogramming” refer to in computer systems?
A Writing low-level software
B Using microinstructions for control
C Managing input/output devices
D Debugging program errors
Microprogramming involves using microinstructions to control the operations of a CPU. These microinstructions dictate how the hardware performs tasks at a more granular level than typical machine-level instructions.
Which part of the CPU handles arithmetic and logic operations?
A ALU
B Bus
C Control Unit
D Registers
The Arithmetic Logic Unit (ALU) handles all arithmetic and logical operations in the CPU, such as addition, subtraction, and comparison operations. It plays a central role in processing data.
What is the role of cache memory in the CPU?
A Handle input/output
B Store data permanently
C Manage power usage
D Speed up data access
Cache memory stores frequently accessed data and instructions close to the CPU. This reduces the time the processor spends fetching data from slower memory, improving overall performance.
In which architecture are program and data stored separately?
A RISC
B Von Neumann
C Harvard
D CISC
In Harvard architecture, program instructions and data are stored in separate memory units. This allows simultaneous access to both, which enhances performance, unlike Von Neumann, where both share the same memory.
Which of the following helps increase parallelism in a CPU?
A Multi-core processing
B Cache memory
C RAM
D Control Unit
Multi-core processors have multiple cores (processing units) that can execute multiple instructions simultaneously. This increases parallelism, allowing for faster processing of tasks and improved multitasking performance.
What is the function of an interrupt in a computer system?
A Fetch instructions
B Pause current task
C Manage I/O
D Perform arithmetic operations
An interrupt temporarily halts the current task being executed by the CPU to give priority to a higher-priority task. Once the interrupt is serviced, the CPU resumes its original task.
What is the primary purpose of the CPU’s registers?
A Store data permanently
B Store instructions
C Temporarily hold data
D Perform calculations
Registers are small, high-speed storage locations within the CPU used to temporarily hold data and instructions during execution. They provide fast access for computations and are critical for processing speed.