A CPU does math and accesses memory.
The CPU executes program instructions.
CPU switching from process to another
A CPU is a part of the computer that interprets and executes information.
That is the microprocessor, some call it the CPU (Central Processing Unit)
machine code instruction set or assembly language
A micro computer is a computer with a microprocessor as its central processing unit. A microprocessor incorporates most or all of a CPU. A CPU (central processing unit), executes computer programs.
Central Processing Unit is the main chip of computer. CPU fetches and executes instructions. CPU consists of an Arithmetic and Logic Unit (ALU), a control unit, registers and buses.
There are number of compilers that are used . A compiler that executes and translates on statement at time is called interpreter. An interpreter is a compiler that executes one line at a time and if an error occurs it need to be corrected at the same point of time else the further execution will stop.
The Central Processing Unit, or CPU is responsible for carrying out the instructions of a computer program. Playing the role of the "brain", the CPU carries out the basic arithmetical, logic and input/output operations of the system. You can read more about the CPU here: http://en.wikipedia.org/wiki/Central_processing_unit
The basic computer has two parts: Random Access Memory (RAM) and a Central Processing Unit (CPU.) A microprocessor is a CPU that is built on a single chip. RAM is a place where many bytes are stored. One of the things that can be stored in RAM is a series of "instructions" that tell the CPU what to do. The series of instructions is called a "program." The CPU "fetches" one instruction from RAM, "executes" that instruction, then fetches and executes the next one, and so on. Exactly what the instructions in the program tell the computer to do determines how the computer will act at any given time.
The basic computer has two parts: Random Access Memory (RAM) and a Central Processing Unit (CPU) RAM is a place where many bytes are stored. One of the things that can be stored in RAM is a series of "instructions" that tell the CPU what to do. The series of instructions is called a "program." The CPU "fetches" one instruction from RAM, "executes" that instruction, then fetches and executes the next one, and so on. That is all that computers do. Whether that qualifies as "thinking" is a very controversial question.
Preemptive scheduler reruns scheduling decision when process becomes ready. If the new process has priority over running process, the CPU preempts the running process and executes the new process. Non-preemptive scheduler only does scheduling decision when running process voluntarily gives up CPU. In effect, it allows every running process to finish its CPU burst.