CS111-PART 3 - Computer Hardware Unit
CS111-PART 3 - Computer Hardware Unit
PART 3
CS111
CENTRAL
PROCESSING
UNIT
2
CENTRAL PROCESSING UNIT
Central Processing Unit or CPU can be thought of as the
brain of the computer.
Most of the processing takes place in CPU.
During processing, it locates and executes the program
instructions.
3
CENTRAL PROCESSING UNIT
Physically, it is an integrated circuit (IC) silicon chip, mounted
on a small square plastic slab, surrounded by metal pins.
In the world of personal computers, the term
microprocessor and CPU are used interchangeably.
4
Functional Units of CPU:
REGISTERS - These are high-speed storage devices.
ARITHMETIC LOGIC UNIT (ALU) - The part of the CPU that performs
arithmetic operations, such as addition and subtraction as well as
logical operations, such as comparing two numbers to see if they
are the equal or greater or less.
CONTROL UNIT (CU) - It coordinates the processing by controlling
the transfer of data and instructions between main memory and
the registers in the CPU.
CU consists of:
1.) an instruction decoding circuit that interprets what
action should be performed.
2.) a control and timing circuit directs all the other parts
of the computer by producing the respective control
signals.
5
The CPU’s processing power is measured in terms of the number of
instructions that it can execute per unit time.
Every computer comprises of an internal clock, which emits
electronic pulses at a constant rate.
These pulses are used to control and synchronize the pace of
operations.
Each pulse is called a clock cycle which resembles a rectangular
wave with a rising half of the signal and a falling half.
6
MEMORY
UNIT
7
MEMORY UNIT
Components such as the input device, output device, and
CPU are not sufficient for the working of a computer.
A storage area is needed in a computer to store instructions
and data, either temporarily or permanently, so that
subsequent retrieval of the instructions and data can be
possible on demand.
8
5
3
4
2 1
MEMORY UNIT
Data are stored in memory as binary digits, called bits.
Data of various types, such as numbers, characters, are
encoded as series of bits and stored in consecutive memory
locations.
There are mainly two types of memory that are used in a
computer system: primary memory & secondary memory.
9
Primary Memory
The area where data and programs are stored while the
program is being executed along with the data.
This memory space, also known as main memory, forms
the working area of the program. This memory is accessed
directly by the processor.
There is another kind of primary memory increasingly being
used in modern computers, it is called cache memory.
Cache Memory is a small-sized type of volatile computer memory that provides high-speed data access to a processor and stores frequently
used computer programs, applications and data.
A temporary storage of memory, cache makes data retrieving easier and more efficient. It is the fastest memory in a computer, and is typically
integrated onto the motherboard and directly embedded in the processor or main random access memory (RAM).
10 Source: Techopedia
Secondary Memory
Also known as, auxiliary memory.
12
UNIT OF
MEMORY
13
UNIT OF MEMORY
14
UNIT OF MEMORY
15
MEMORY
HIERARCHY
16
MEMORY HIERARCHY
Registers
Cache
Main Memory
Secondary Memory
17
INTERFACE
UNIT
18
INTERFACE UNIT
19
INTERFACE UNIT
20
INTERFACE UNIT
21
MOTHERBOARD
22
MOTHERBOARD
23
MOTHERBOARD
24
MOTHERBOARD
25
MOTHERBOARD
CPU Socket
This holds the central
processor which is an
integrated chip along with
the system clock, cache,
cooling fan, etc.
26
MOTHERBOARD
Memory Sockets
These sockets hold the
RAM card that contains
RAMs.
27
MOTHERBOARD
Interface Module
This is for the hard disk,
loppy disk, and CD-ROM
drives.
28
MOTHERBOARD
29
MOTHERBOARD
30
MOTHERBOARD
ISA Slots
These are for connecting
ISA compatible cards.
31
MOTHERBOARD
PCI Slots
These are for connecting
I/O devices.
32
MOTHERBOARD
33
MOTHERBOARD
Parallel Port
The parallel port is also
known as the printer port,
or LPT1. It is capable of
sending eight bits of
information at a time.
34
MOTHERBOARD
Serial Ports
These are sometimes
called communication ports
or COM ports. There are
two COM ports, COM1 and
COM2.
35
MOTHERBOARD
36
MOTHERBOARD
CMOS
The CMOS in a Personal
Computer stands for
Complementary Metal
Oxide Semiconductor
memory.
It is a type of RAM that
stores the necessary
attributes of system
components, such as the
size of the hard disk, the
amount of RAM, and the
resources used by the
serial and parallel ports etc.
37
SYSTEM UNIT
38
SYSTEM UNIT
System Unit
The System Unit holds all
the system components in
it. It is sometimes called
cabinet. The main
components like
motherboard, processor,
memory unit, power supply
unit, and all the ports to
interface computer’s
peripherals.
Inside the unit all the
components work together
to give the service that the
user needs.
39