Computer Hardware Components
Computer Hardware Components
Computer Hardware Components
Computer Systems
Hardware Components
Execution of an Instruction
Processing Characteristics and Functions
Physical Characteristics of CPU
Memory Characteristics and Functions
Computer Processing
Storage and Accessing Data from the Storage Devices
Mohammad A. Rob
Computer Systems
As we have discussed before, a computer-based information system is a
combination of hardware, software, database(s), telecommunications,
people, and procedures – all organized to input, process, and output data
and information.
Computer Hardware
Any machinery (most of which uses digital circuits) that assists in the input,
processing, storage, and output activities of an information system.
Hardware Components
2
3
The Central Processor
The central processor and its components handle all processing operations
of the computer. It consists of two parts: the Central processing unit
(CPU), and primary memory.
Central Processing Unit (CPU)
4
Execution of an Instruction
Instruction Phase
Execution Phase
Machine Cycle
5
Processing Characteristics and Functions
• MIPS: Machine cycle times can also be measured in terms of how many
instructions are executed in a second. This is termed as MIPS (Millions
of instructions per second).
6
Clock Speed
• The clock speed for personal computers can range from 200 MHz to 600
MHz or more.
• A machine cycle may take one or more clock cycles, depending on the
type of instruction. Thus, there is no direct relationship between the
clock speed and the processing speed.
7
Bit
Byte
Word (Wordlength)
• Number of bits the CPU can process at any one time is called a word. A
CPU with a wordlength of 32(called a 32-bit CPU) will process 32 bits of
data in one machine cycle.
8
Bus lines
• Three kinds of buslines link the CPU, primary storage, and the other
devices:
1. The data bus moves data to and from primary storage.
2. The address bus transmits signals for locating a given address in
primary storage.
3. The control bus transmits signals specifying whether to read or
write data to or from a given primary storage address, input
device, or output device.
• The number of bits a bus line can transfer at one time is known as bus
line width. A bus line with a width of 32 will transfer a 32 bits of data at a
time. Common wordlength and bus line widths are 32 and 64. Bus line
width should be matched with CPU wordlength for optimal performance.
9
iCOMP index
• Machine cycle time, clock speed, wordlength, and bus line width – all
affect the processor speed of the CPU. Thus comparing the speed of
two different processors can be confusing.
10
Physical Characteristics of the CPU
Moore’s Law
11
CPU: RISC versus CISC
12
Memory Characteristics and Functions
• Memory provides the CPU with a working storage area for program
instructions and data.
13
Types of Primary Memory
Primary memory can be divided into volatile and nonvolatile memories.
There are also several forms of primary memory: RAM, ROM, and Cache.
Random Access Memory (RAM)
• Having more memory helps computer run faster as more software can
be loaded at the same time. A 128-256 MB of RAM is common
nowadays.
• ROM provides permanent storage for data and instructions that do not
change - like programs and data from the computer manufacturer.
14
Cache Memory
Typically
256 KB or
more
15
Computer Processing
All computers do not process data the same way. The speed of a
computer can be increased by implementing few improved processing
techniques.
Multiprocessing
Parallel processing
16
Secondary Storage
Storage of Records
Certain storage devices support only sequential data storage. These are
termed sequential storage devices. Magnetic tape is an example.
Other devices, such as magnetic disks and optical disks, support both
sequential and direct data storage. These are termed as direct storage
devices.
17
Accessing Records
• Direct Access: This method is used with direct file storage. This method
uses a key field to locate the physical address of a record.
18
Secondary Storage: RAID (Redundant Array of Independent Disks)
• It combines many (6 to more than 100) small hard disk drives and their
control microprocessors into a single unit.
• Thus, if one disk fails, data can be automatically recovered from backup
copies stored on other disks.
19
Types of Computers
20