Professional Documents
Culture Documents
AbduSalam 2
The System Unit
What are common components inside the system unit?
Processor power supply drive bays
Memory
Adapter cards processor
Ports
Drive bays
Power supply sound card
AbduSalam 3
Mother Board adapter cards
It is the main circuit board of processor chip
AbduSalam 4
CMOS, BIOS
Each and every Motherboard has a small battery cell “CMOS
memory”.
It gives to Motherboard a small amount of power to remember
the settings such as hardware configurations, date and time etc
AbduSalam 5
Mother Board (Cont’d)
Small piece of semi-conducting material on which integrated
dual inline
circuits are etched packages (DIP)
holds memory
Two types of packaging for processor chips
AbduSalam 8
Processor (Cont’d)
The combination of Arithmetic Logic Unit and Control Unit is
called as Central Processing Unit (CPU). OR The two main parts
of CPU are ALU & CU.
AbduSalam 9
Processor (Cont’d)
ARITHEMATIC LOGIC UNIT (ALU)
This component of the computer is responsible for the actual
processing.
This component is capable to perform all types of arithmetic
operations such as addition, subtraction, multiplication and
division etc.
Also it is capable to perform logical operations such as AND,
OR etc. it is capable of comparison as well.
The ALU is connected to a set of registers—small & faster
memory areas in the CPU, which hold data and program
instructions while they are being processed.
AbduSalam 10
Processor (Cont’d)
Registers are the part of the processor, not a part of memory
or storage devices.
It contain different type of registers, each with a specific
storage functions. E.g. General purpose registers used for
arithematic operations & data movement. AX, BX, CX, DX
Register function includes
Storing the location from where an instruction is fetched,
Today, most PCs have 32-bit registers, mean the CPU can
process four bytes of data at one time.
Register sizes are rapidly growing to 64 bits.
AbduSalam 11
Processor (Cont’d)
ALU Operations List
Arithmetic Logical
Operations Operations
+ Add = , ≠ equal to, not equal to
AbduSalam 12
Processor (Cont’d)
CONTROL UNIT (CU)
This unit is responsible for the overall supervision of the
computer system.
It does not perform the actual processing but by reading and
interpreting the instructions contained in a program, Control Unit
(CU) directs other unit of the system to perform a specific task.
Control unit (CU) behaves like a traffic police instructor. It
manages the functions performed by different parts of computer.
It controls and coordinates the entire computer system, just the
brain directs the human body.
It is responsible to accept data from input device and send it to
the memory, from memory to ALU, finally CU sent back the
results and store in the memory, until the results are released to
an output device.
AbduSalam 13
Machine Cycle
The CPU follows a set of steps-called a machine cycle-for each
instruction it carries out.
By using a technique called pipelining, many CPUs can process more
than one instruction at a time.
Four operations of the CPU comprise a machine cycle
Step 1. Fetch
Obtain program
instruction or data item
from memory
Step 2.
Memory
Decode
Translate
Step 4. Store
instruction into
Write result to memory
commands
Processor
ALU Step 3. Execute Control Unit
Carry out command
AbduSalam 14
System Clock
Controls timing of all computer operations
Generates regular electronic pulses, or ticks, that set
operating pace of components of system unit
Pace of system
clock is clock speed
Most clock speeds are Processor speed can
Each tick in the gigahertz (GHz) also be measured in
is a range (1 GHz = one millions of instructions
clock cycle per second (MIPS) or in FLOPs
billion ticks of system
clock per second)
AbduSalam 15
Heat Sink
Heat sink—component
with fans that cools
heat sink fan
processor
heat sink
AbduSalam 16
Parallel Processing
Using multiple
Control Processor
processors
simultaneously to
execute a program
faster
Requires special Processor 1 Processor 2 Processor 3 Processor 4
software to divide Memory Memory Memory Memory
problem and bring
results together
Results combined
AbduSalam 17
Multi-Core Processor
A Multi-Core Processor is a processing system composed of two or
more independent cores. The cores are typically integrated onto a
single integrated circuit die(known as a chip multiprocessor or CMP).
Core
Basic processing area of a computer processor
Die
A die in the context of integrated circuits is a small block of
semiconducting material, on which a given functional circuit is
fabricated.
A medium-scale integrated circuit die
AbduSalam 18
Multi-Core Processor (Cont’d)
AbduSalam 19
Basic Units Of Measurement
BIT
BInary digiT
Smallest unit of measurement
Two possible values 0 & 1
ON or OFF
BYTE
8 bits
AbduSalam 20
Data Representation
Most computers are digital
Recognize only two
discrete states: on or off
Use a binary system to
recognize two states
Use Number system with
two unique digits: 0 and 1,
called bits (short for
binary digits)
AbduSalam 21
Data Representation (Cont’d)
AbduSalam 22
Data Representation (Cont’d)
AbduSalam 23
Data Representation (Cont’d)
Step 4. Step 3.
After processing, the binary The signal for the capital letter D
code for the capital letter D is is converted to its ASCII binary
converted to an image, and code (01000100) and is stored in
displayed on the output device. memory for processing.
AbduSalam 24
Basic Units Of Measurement
(Processor And Memory Speed)
Millisecond (ms) – a thousandth of a second (1/1,000 = 10-3)
Microsecond (µs) - a millionth of a second (1/1,000,000 = 10-6)
Nanosecond (ns) – a billionth of a second (1/1,000,000,000 = 10-9)
AbduSalam 25
Memory
The electronic component which provides storage capability to a
computer is called Memory.
Memory contains one or more sets of
Seat #2B4 Seat #2B3
chips that store data/program
instructions need processing,
either temporarily or permanently.
All the computers which are used
today needs memory or storage capability.
The CPU accesses each location
in memory by using a unique number,
called the memory address.
Each byte stored
in unique location
called an address,
similar to addresses
on a passenger train
AbduSalam 26
Memory (Cont’d)
AbduSalam 27
Random Access Memory
RAM is also called volatile memory and Keeps the information
for a shorter period of time because RAM Lost information if
powered off or the computer is shutdown.
RAM store data or instructions, the computer then uses these
instructions to perform any processing work.
The contents of RAM change rapidly and often.
Typical ranges from Mega Bytes to Giga Bytes
Random Access means direct access to any part of memory
Memory chips that can be
read from and written
to by processor
Most RAM is
Also called
volatile, it is lost
main memory
when computer’s
or primary
power is
storage
turned off
The more RAM a
computer has, the
faster it responds
AbduSalam 28
How do program instructions transfer in and out of RAM?
RAM Step 1. When you start the computer, certain
operating system files load into RAM from the
Operating system Operating system hard disk. The operating system displays the user
instructions interface interface on the screen.
Resides on small
circuit board called
memory module
memory chip memory slot
Memory slots on
motherboard hold
memory modules
AbduSalam 30