2.basics of Computer Hardware-Lecture 2, Module 1, MFS-105
2.basics of Computer Hardware-Lecture 2, Module 1, MFS-105
Module 1, Lecture 2
Concepts of Computer Hardware
DEFINITIONS:
A Computer is a programmable machine (or more precisely, a
programmable sequential state machine). There are two basic kinds of
computers: analog and digital.
Analog Computers are analog devices. That is, they have continuous states
rather than discrete numbered states. An analog computer can represent
fractional or irrational values exactly, with no round-off. Analog computers
are almost never used outside of experimental settings.
The borders between these three terms are highly ambitious, non-contiguous,
and erratically shifting.
The processor is the part of the computer that actually does the computations.
This is sometimes called an MPU (for main processor unit) or CPU (for central
processing unit or central processor unit).
RISC stands for Reduced Instruction Set Computer. RISC came about as a
result of academic research that showed that a small well designed
instruction set running compiled programs at high speed could perform more
computing work than a CISC running the same programs (although very
expensive hand optimized assembly language favored CISC).
DSP stands for Digital Signal Processing. DSP is used primarily in dedicated
devices, such as MODEMs, digital cameras, graphics cards, and other
specialty devices.
Hybrid processors combine elements of two or three of the major classes of
processors.
http://www.osdata.com/system/physical/processr.htm
control
Control units
These are in charge of the computer. Control units fetch and decode machine
instructions. Control units may also control some external devices.
A Bus is a set (group) of parallel lines through which information (data,
addresses, instructions, and other information) travels on inside a computer.
Information travels on buses as a series of electrical pulses, each pulse
representing a one bit or a zero bit (there are trinary, or three-state, buses, but
they are rare).
An external bus is a bus outside of the processor (but inside the computer),
moving data, addresses, and other information between major components
(including cards) inside the computer. Some common kinds of buses are the
system bus, a data bus, an address bus, a cache bus, a memory bus, and an I/O bus.
(Images courtesy: http://www.jlcenterprises.net/Products.htm)
2. Main Storage
Main storage is also called memory or internal memory (to distinguish from
external memory, such as hard drives).
Static RAM is called static because it will continue to hold and store information
even when power is removed. Magnetic core and reed relays are examples of
static memory.
Dynamic RAM is called dynamic because it loses all data when power is
removed. Transistors and integrated circuits are examples of dynamic memory. It
is possible to have battery back up for devices that are normally dynamic to turn
them into static memory.
dd RAM
sd RAM
Some processors (or variations within processor families) might have RAM and/or
ROM built into the same chip as the processor (normally used for processors used
in standalone devices, such as arcade video games, ATMs, microwave ovens, car
ignition systems, etc.).
EPROM is Erasable Programmable Read Only Memory, a special kind of
ROM that can be erased and reprogrammed with specialized equipment (but
not by the processor it is connected to).
Flags are single bit memory used for testing, comparison, and conditional
operations (especially conditional branching).
http://www.osdata.com/system/physical/memory.htm
External Storage
External storage (also called auxillary storage) is any storage other than main
memory. In modern times this is mostly hard drives and removable media
(such as floppy disks, Zip disks, optical media, etc.).
With the advent of USB and FireWire hard drives, the line between permanent
hard drives and removable media is blurred. Other kinds of external storage
include tape drives, drum drives, paper tape, and punched cards.
A serial device streams data as a series of bits, moving data one bit at a time.
Examples of serial devices include printers and MODEMs.
A parallel device streams data in a small group of bits simultaneously. Usually
the group is a single eight-bit byte (or possibly seven or nine bits, with the
possibility of various control or parity bits included in the data stream). Each
group usually corresponds to a single character of data. Rarely there will be a
larger group of bits (word, longword, doubleword, etc.). The most common
parallel device is a printer (although most modern printers have both a serial
and a parallel connection, allowing greater connection flexibility).
Small Computer System Interface (SCSI) is a set of standards for physically
connecting and transferring data between computers and peripheral devices. The
SCSI standards define commands, protocols, and electrical and optical interfaces.
SCSI is most commonly used for hard disks and tape drives, but it can connect a
wide range of other devices, including scanners and CD drives.
USB
SCSI
USB
http://en.wikipedia.org/wiki/Universal_Serial_Bus
A block device moves large blocks of data at once. This may be physically
implemented as a serial or parallel stream of data, but the entire block gets
transferred as single packet of data. Most block devices are random access
(that is, information can be read or written from blocks anywhere on the
device). Examples of random access block devices include hard disks,
floppy disks, and drum drives. Examples of sequential access block devices
include magnetic tape drives and high speed paper tape readers.
Input devices are devices that bring information into a computer. Pure input
devices include such things as punched card readers, paper tape readers,
keyboards, mice, drawing tablets, touch-pads, trackballs, and game controllers.
Devices that have an input component include magnetic tape drives, touch-
screens, and dumb terminals.
Output devices are devices that bring information out of a computer. Pure
output devices include such things as card punches, paper tape punches, LED
displays (for light emitting diodes), monitors, printers, and pen plotters.
Devices that have an output component include magnetic tape drives,
combination paper tape reader/punches, teletypes, and dumb terminals.
END