Topic 3.1: Computers - Hardware Flashcards
What does MAR stand for?
Memory Address Register.
What is the primary function of the MAR in a computer system?
To hold the address of the memory location that is to be accessed, either for reading data from or writing data to.
Which component of the computer uses the MAR?
CPU
What type of bus connects the MAR to other components of the computer?
The address bus connects the MAR to the computer’s memory and other components, allowing the transfer of memory addresses.
What does MDR stand for?
MDR stands for Memory Data Register.
What is the main function of the MDR in a computer?
The MDR temporarily holds data read from or written to memory.
What bus is associated with transferring data to the MDR?
The data bus is used for transferring data to the MDR.
What does ACC stand for in computer architecture?
ACC stands for Accumulator.
What is the primary role of the Accumulator in a CPU?
The Accumulator is used to store intermediate results of arithmetic and logic operations performed by the CPU.
How does the Accumulator interact with ALU (Arithmetic Logic Unit)?
The Accumulator supplies operands to the ALU and receives the result of ALU operations.
What does register PC stand for in computer science?
PC stands for Program Counter.
What is the main function of the Program Counter in a CPU?
The Program Counter holds the address of the next instruction to be executed by the CPU.
How does the PC change during program execution?
The PC is automatically incremented after each instruction is fetched, pointing to the next instruction.
What does CIR stand for in computer architecture?
CIR stands for Current Instruction Register.
What is the primary function of the CIR in a CPU?
The CIR holds the instruction that is currently being decoded and executed by the CPU.
What does ALU stand for in computer science?
ALU stands for Arithmetic Logic Unit.
What is the main function of the ALU in a CPU?
The ALU performs arithmetic and logic operations on the data processed by the CPU.
What arithmetic operations can the ALU perform?
The ALU can perform basic arithmetic operations like addition (+), subtraction (-), multiplication (*), and division (/).
What logical operations does the ALU perform?
The ALU performs logical operations such as AND, OR, and NOT.
How does the ALU execute the ‘AND’ operation?
The ‘AND’ operation performed by the ALU results in a true (or 1) output only if all inputs are true (or 1).
What is the result of an ‘OR’ operation in the ALU?
In an ‘OR’ operation, the ALU outputs true (or 1) if any of the inputs are true (or 1).
How does the ALU perform the ‘NOT’ operation?
The ‘NOT’ operation inverts the input; if the input is true (or 1), the output is false (or 0), and vice versa.
What does CU stand for in computer architecture?
CU stands for Control Unit.
What is the main function of the Control Unit in a CPU?
The Control Unit manages and coordinates the activities of the CPU, such as decoding instructions and controlling data flow.