Inf505 Chapter 2
Inf505 Chapter 2
1. The central processing unit (CPU) is the heart of a computer. It is divided into two
components: the arithmetic logic unit (ALU) and the control unit.
2. The arithmetic logic unit (ALU) performs arithmetic operations (1, 2, ∗, /) as well as
comparison or relational operations (,, ., 5); the latter are used to compare
numbers.
3. The control unit tells the computer what to do, such as instructing the computer
which device to read or send output to.
Some computers have a single processor; other computers, called multiprocessors,
contain multiple processors. Multiprocessing is the use of two or more CPUs in a single
computer system. Another component that affects computer performance is a bus, which
is the link between devices connected to the computer. Other factors that affect
computer performance include the processor size and the operating system (OS).
The history of Computer hardware and software