Professional Documents
Culture Documents
Memory
Types of Memory
RAM
DRAM
SRAM
ROM
Cache Memory
Flash Memory
Access Time
Expansion Slots and Expansion Cards
Ports, Buses
Input Devices
System Unit
The System Unit is a case which system unit
AbduSalam 3
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 4
Mother Board adapter cards
processor chip
It is the main circuit board of
the system unit.
It is the centralized platform
where all the hardware components
of a computer are connected. memory chips
Many electronic components are
built-in on it while some of them we
can attached with it .
The processor chips,
memory chips & the other
memory slots
components on the motherboard
Expansion
consist one or more chip’s. slots for
adapter cards motherboard
AbduSalam 5
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 6
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 9
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 10
Processor (Cont’d)
ARITHMETIC 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 11
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
arithmetic 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 12
Processor (Cont’d)
ALU Operations List
Arithmetic Logical
Operations Operations
+ Add , equal to, not equal to
AbduSalam 13
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 14
Machine Cycle
Memory
Step 2.
Step 4. Store
Write result to memory Decode
Translate
Processor instruction into
commands
ALU Step 3. Execute Carry Control Unit
out command
AbduSalam 15
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
per second (MIPS) or in FLOPs
clock cycle billion ticks of system
clock per second)
AbduSalam 16
Heat Sink
Heat sink—component
heat sink fan
with fans that cools
processor
heat sink
AbduSalam 17
Parallel Processing
Using multiple Control Processor
processors
simultaneously to
execute a program
faster
Processor 1 Processor 2 Processor 3 Processor 4
Requires special
software to divide Memory Memory Memory Memory
Results combined
AbduSalam 18
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 19
Multi-Core Processor (Cont’d)
AbduSalam 20
Basic Units Of Measurement
BIT
BInary digiT
Smallest unit of measurement
Two possible values 0 & 1
ON or OFF
BYTE
8 bits
AbduSalam 21
Data Representation (Cont’d)
AbduSalam 22
Data Representation (Cont’d)
AbduSalam 23
Data Representation (Cont’d)
Step 1. Step 2.
The user presses An electronic signal for the
the capital letter capital letter D is sent to the
D (shift+D key) on system unit.
the keyboard.
Step 4. Step 3.
The signal for the capital letter
After processing, the binary
code for the capital letter D is
D is converted to its ASCII
binary code (01000100) and is
converted to an image, and
stored in memory for processing.
displayed on the output device.
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.
AbduSalam 29
Where does Memory Reside?
dual inline memory module
Resides on small
circuit board called
memory module
memory chip memory slot
Memory slots on
motherboard hold
memory modules
AbduSalam 30
Random Access Memory (Cont’d)
Dynamic RAM
Dynamic RAM (DRAM) chips must be recharged with
electricity very frequently, or they will lose their contents.
DRAM is further divided in two types
SDRAM
DDR-SDRAM
Static RAM
Static RAM (SRAM) does not need to be recharged as often
as DRAM, and can hold its contents longer.
AbduSalam 32
Random Access Memory (Cont’d)
DDR SDRAM
DDR 2 SDRAM
AbduSalam 33
Read Only Memory
ROM is non-volatile memory.
The kind of memory is generally programmed by manufacturer.
It contains information that is permanently stored. The
contents of ROM are set during manufacturing process. Most of
the ROMs are special purpose memories.
Example of ROM is BIOS (Basic Input Output System).
TYPES OF ROM
AbduSalam 34
Read Only Memory (Cont’d)
EEPROM (Electronically Erasable Programmable Read Only
Memory)
EEPROM needs an electric impulse to write or erase data.
It has all the features of EPROM except the difference of
erasing technique i.e. it uses electric impulse instead of
ultraviolet light rays for erasing.
Therefore erasing can be achieved through the use of
keyboard commands without removing the chip physically
from the computer.
AbduSalam 35
Cache Memory
Cache memory is high-speed memory that holds the most recent
data and instructions that have been loaded by the CPU.
Cache is located directly on the CPU or between the CPU and
RAM, making it faster than normal RAM.
CPU-resident cache is called Level-1 (L1) cache.
L1 cache usually has a very small capacity, ranging from 8 KB to
128 KB. The most common size is 128 KB.
External cache is called Level-2 (L2) cache.
L2 cache is slower then L1 cache but has much larger capacity,
ranging from 64 KB to 4 MB.
The amount of cache memory has a tremendous impact on the
computer's speed.
When the processor needs an instruction or data, it searches
memory in this order, L1 cache, then L2 cache, then RAM.
If the instructions or data is not found in memory then it must
search a slower speed storage medium such as a hard disk,
compact disc etc.
AbduSalam 36
Flash Memory
Nonvolatile memory that can be erased electronically and
reprogrammed
Used with PDAs, digital cameras, digital cellular phones,
music players and digital voice recorders.
AbduSalam 37
Access Time
Amount of time it takes processor
to read data from memory
Measured in nanoseconds (ns),
one billionth of a second
It takes 1/10 of a second to blink
your eye; a computer can perform
up to 10 million operations in same amount of time
Term Speed
Millisecond One-thousandth of a second
Microsecond One-millionth of a second
Nanosecond One-billionth of a second
Picosecond One-trillionth of a second
AbduSalam 38
Expansion Slots and Expansion Cards
What is an adapter card?
Enhances system unit or provides connections to
external devices called peripherals
Also called an expansion card
AbduSalam 39
Expansion Slots and Expansion Cards
What is an expansion slot?
An opening, or socket,
on the motherboard
that can hold an
adapter card
With Plug and Play,
the computer
automatically
configures cards
and other devices
as you install them
AbduSalam 40
Expansion Slots and Expansion Cards
Video Adapter
The electronic components that generate the signal that is sent
through a cable to a video display.
It is usually located on the computer's main system board or on
an expansion board, but it is sometimes builtin.
e.g VGA
AbduSalam 41
Expansion Slots and Expansion Cards
What are PC cards and flash memory cards?
A flash memory card allows users to
transfer data from mobile devices to
desktop computers
AbduSalam 42
Ports
Port connects external devices to system unit
AbduSalam 43
Ports (Cont’d)
AbduSalam 44
Ports
What is a parallel port?
Connects devices that can
transfer more than one bit at a
time, such as a printer
AbduSalam 45
Buses
Channel that allows devices inside
computer to communicate with
each other
System bus connects
processor and RAM
Bus width determines
number of bits transmitted
at one time
AbduSalam 46
Buses (Cont’d)
AbduSalam 47
Mobile Computers
What is a mobile computer?
flash memory card
PDA
PC Cards in PC
Card slots
CD or DVD drive
disk in floppy
disk drive battery
notebook computer
AbduSalam 48
Input Devices
Input is any data or instruction entered into the memory of a computer.
People have a variety of options available to input data, and instructions
into a computer. Such as, user can type character on a keyboard, click a
button or roll a wheel on a mouse, press a finger on a touch screen, speak
into a microphone, send images from a digital camera or scan image.
Input Devices
An input device is any hardware component that allow user to enter data
or instruction into a computers.
AbduSalam 49
The Keyboard
The most commonly used input device is the keyboard on which data is
entered by manually keying in or typing certain keys. A keyboard typically
has 101 or 105 keys, and often attach via a cable to a serial port, or USB
port on the system unit.
AbduSalam 50
The Mouse
It is a pointing device which is used to control the movement of
a mouse pointer on the screen to make selections from the
screen.
A mouse has one to five buttons. The bottom of the mouse is
flat and contains a mechanism that detects movement of the
mouse.
Wheel Cordless
Mouse Mouse
Click and Drag – Holding down the left mouse button and
moving the mouse enables the user to move objects on the
screen
AbduSalam 53
Pointing Stick
Pointing Stick
A pointing stick is a pressure sensitive pointing device shaped like a
pencil eraser that is positioned b/w keys on a keyboard.
To move the pointer using s pointing stick, we push the pointing stick
with a finger.
AbduSalam 54
Joystick
User run game software or flight & driving simulation software often
use a joystick as a pointing device.
A joy stick is a vertical lever mounted on a base. We move the lever on
different directions to control the action of the simulated vehicle or
player.
The lever usually includes buttons called Triggers that we press to
active certain events.
AbduSalam 55