CPU Scheduling

/ˌsiː-piː-ˈjuː ˈskɛd.jʊ.lɪŋ/

noun — “deciding which process gets the CPU’s attention next without starting a fistfight.”

CPU Scheduling is the mechanism by which an operating system decides the order in which ready-to-run processes get to use the CPU. In multitasking environments, multiple processes often compete for CPU time, and CPU Scheduling determines who runs when and for how long. Its primary goals are fairness, responsiveness, and optimal utilization of the processor.

Central Processing Unit

/ˌsiː piː ˈjuː/

noun — "central processor executing instructions."

CPU, short for Central Processing Unit, is the primary component of a computer responsible for executing program instructions, performing arithmetic and logical operations, and coordinating the activities of all other hardware components. It functions as the “brain” of a computing system, interpreting and processing data according to software commands.

Technically, a CPU consists of multiple key units:

Control Unit

/kənˈtroʊl ˈjuːnɪt/

noun … “CPU component that directs operations.”

Control Unit is a central part of a CPU or microprocessor responsible for managing and coordinating the execution of instructions. It interprets instructions from memory, generates control signals, and orchestrates the operation of the ALU, Registers, and other components to ensure correct timing and sequencing.

Arithmetic Logic Unit

/ˌeɪ ɛl ˈjuː/

noun … “Circuit that performs arithmetic and logic operations.”

ALU, short for Arithmetic Logic Unit, is a fundamental component of a CPU or microprocessor that executes mathematical calculations (addition, subtraction, multiplication, division) and logical operations (AND, OR, NOT, XOR). The ALU processes binary data from registers or memory and outputs the result to registers, memory, or other parts of the system.

Microprocessor

/ˌmaɪkroʊˈprɑːsɛsər/

noun … “Central processing unit on a single integrated circuit.”

Microprocessor is a compact electronic chip that contains the core computational components of a computer or embedded system, including the central processing unit, arithmetic logic unit (ALU), control unit, and registers. Microprocessors execute instructions stored in memory, perform arithmetic and logical operations, and control data flow between peripherals, making them the heart of modern computing devices.