Lecture 02 Computer Architecture
Lecture 02 Computer Architecture
Computer Architecture
Lecture 02
• Understanding CPUs.
• Understanding Memory
• Understanding Motherboards
• Understanding Power Supplies
• Input and Output Devices
2-1 Computer Types
Hardware consists of components inside a computer as well as the external devices that interact with
it, such as printers, cables, and monitors
2-1 Computer Types
2-1 Computer Types
2.1.2. Multi-User Computers
Multi-user computers are designed to serve groups of people, from a small office to a huge international
enterprise. Here are some common types of multi-user computers:
➢ Server: A computer dedicated to serving and supporting a network, a group of network users, and/or their
information needs.
➢ Many networks employ servers to provide a centrally accessible storage space for data and share common
devices like printers and scanners.
➢ A small network server may look similar to a desktop PC, but may have a different operating system, such
as Windows Server or Linux.
➢ A large server that manages a wide-ranging network may look similar to a mainframe.
➢ A group of servers located together in a single room or facility is called a server farm, or server cluster.
➢ Large Internet service provider (ISP) companies maintain extensive server farms.
2.1.2. Multi-User Computers
➢ Mainframe: A large and powerful computer capable of
The CPU contains millions of tiny transistors and pathways that take in
data and instructions, process (calculate) the data according to the
instructions and output the results of the calculations.
A computer may also have smaller processors used in specific subsystems, such as a graphics processor.
Every CPU includes the following components:
2-2. Computer Architecture
2-2.1. central processing unit (CPU)
2-2. Computer Architecture
2-2.1. central processing unit (CPU)
Most modern CPUs have multiple cores, so they can complete multiple tasks simultaneously, as if they
physically were more than one CPU. A core consists of a separate set of the essential processor components
(control unit, ALU, and registers). Most models of the Intel i7 processor have four cores, for example.
All the CPU’s cores are located on the same chip.
2-2.1. central processing unit (CPU)
In theory, the CPU is capable of executing a function with every tick of the system
clock (called a clock cycle).
2-2.1. central processing unit (CPU)
However, in practice, the CPU sometimes is idle متوقف عن العملbecause there is a delay between
the request for data to be retrieved from memory and its delivery. A delay caused by waiting for
another component to deliver data is called latency
➢ A cache is a small amount of very fast memory located near (or within) the CPU.
➢ Data that the CPU has recently used, or is predicted to need soon, is placed in the cache for
temporary holding.
➢ That way, if the CPU calls for the data, it’s more readily available and there is less delay.
❖ The most obvious performance factor for a CPU is its maximum speed, measured in
billions of hertz, or gigahertz (GHz)
2-2.1. central processing unit (CPU)
➢ Some memory is dynamic, in that it stores data only until the computer is turned off.
➢ Another way to classify memory is whether it can be overwritten with new data or not.
➢ Read-Only Memory (ROM) cannot (at least not in the same way that RAM can; see the following
Note).
➢ All ROM is static, but RAM can be either dynamic (more common) or static.
Computers use different types of memory in various ways. Here are some of the most common
memory uses:
2.2.3. Motherboards
Both the CPU and the memory plug
into the motherboard. Motherboards
vary in many ways, including the
CPUs and memory they support, the
technology used in their chipset, the
expansion slots they have, and the
external ports they support.
➢ It converts AC to DC power.
Self Study