CPU Flashcards
What does CPU stand for?
Central Processing Unit
What is the function of CPU?
Responsible for gathering and executing instructions in their order, as well as controlling peripherals (devices)
What are the components in a CPU?
Arithmetic and Logic Unit (ALU)
Control Unit (CU)
Registers
Program Counter
System Clock
What does ALU do?
Performs execution of instructions including arithmetic, logic and comparison operation
What is arithmetic operation?
Addition, subtraction, multiplication and division
What is logic operation?
True and false
What is comparison operation?
Greater than, equal to, less than
What does CU do?
Directs and coordinates operations in the computer;
Performs fetch-execute cycle;
‘The boss of CPU’
What does register do?
Small but fastest storage/memory to the CPU
What does program counter do?
Register that stores the address of the currently executing instruction
What does system clock do?
Microprocessor that regulates timing and speed of computer system’s functions
What is Fetch-Execute cycle?
A process in which a computer receives data and determines what to do with it
Process of the Fetch-Execute cycle?
- Fetch - Decode - Execute - Store -
What is the fetch process about?
CPU retrieves instructions from a system hard drive or SSD and stores them in a register
What is the decode process about?
CPU determines which system components are required in the execution of the instruction and stores them in a register