Computer Science Flashcards
What is the purpose of the ALU?
Performs all arithmetic functions e.g addition and subtraction
What is the purpose of the control unit ?
The CU coordinates all activities of the CPU
What are registers?
They are quick, small stores of data within the CPU
What is the purpose of the MAR?
It holds the memory address for data or instructions about to be used by the CPU
What is the purpose of the MDR?
It holds the actual data or instruction.
What is the purpose of the accumulator?
It stores results of calculations done by the ALU
What is the purpose of the program counter (PC)?
It holds the memory address of the instruction for each cycle
What is the fetch part of the fetch-decode-execute cycle?
This is where the next instruction is retrieved by the CPU from main memory
What is the decode part of the fetch-decode-execute cycle?
The instruction is broken down and decoded so the computer can understand
What is the execute part of the fetch-decode-execute cycle?
This is where the CPU performs what the instruction tells it to.