成人快手

The CPU - EduqasThe purpose of the CPU

Most general purpose computers are based on von Neumann architecture. This includes using the fetch-decode-execute cycle to process program instructions. Computer performance depends on cache size, clock speed and the number of cores.

Part of Computer ScienceUnderstanding Computer Science

The purpose of the CPU

The is the most important component in a computer. It has two main functions:

  • to process and
  • to control the rest of the computer system

All programs and data processing are run in the CPU and all hardware components are, to some extent, controlled by it.

All follow the same basic model. This diagram illustrates the flow of data within a computer.

Central processing unit with input, output, primary storage and secondary storage

The CPU receives instructions and data from an or . The instructions and data are processed by the CPU and the results are either sent to an or transferred to . Data is held in while it is being processed.

Input is received from an such as a keyboard, mouse, camera or scanner. Output is sent to an such as a monitor, printer or speaker.