.

HARDWARE

HARDWARE
When you want to see the details,
click on the in-line image.

DATA REPRESENTATION

The storage and processing of data are explained in terms of characters in the computer. The characters are represented electronically with a two-state binary system of numbers. A binary means two. The binary system is a fundamental principle of digital computers. Everything that goes into a computer is converted into binary digits, 0 and 1

Bit

A bit stands for BInary digT, and is a single digit in a binary number (1 or 0). That is each 0 or 1 in the binary system is bit. Physically, a bit is a cell in memory, a magnetic spot on disk or tape, and a pulse of high or low voltage through a circuit in the computer.
Bytes
A storage unit in the computer is groups of bits called characters, bytes, or words. The most common storage unit is the byte, which is made up of eight bits and typically represents a single alphanumeric character - number, letter, and special character.
Binary Code
What are the methods to code characters with 0s and 1s in the computer? There are many coding schemes. Among them, ASCII and EBCDIC are two of the most popular binary coding schemes. Both use eight bits to form each byte.

Units of Capacity

The capacity of memory (primary storage) and a storage device is expressed in numbers of bytes, which start with 1 and double: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, etc. For example, when a microcomputer system is listed with an "8 MB main memory," the computer has primary storage capacity of around 8 million bytes. The capacity of disk, tape and memory is measured in bytes, whereas that of the CPU and memory chips is measured in bits.


Parity Bit

A parity bit is an extra bit added to a byte for error detection purposes in data transmission. Parity checking is accomplished by using a parity bit that is an extra bit automatically added to a byte for purposes of testing accuracy.
There are even-parity systems and odd- parity systems. In an even-parity system, the parity bit is set to either 0 or 1 to ensure that the number of 1s is even. Odd-parity systems perform the opposite.

Units of Space/Time

Space
Kilo (KB)Thousand1000
Mega (MB)Million1,000,000
GIga (GB)Billion1,000,000,000
Tera (TB)Trillion1,000,000,000,000

Time
Milliscond (ms)Thousandth1/1,000
Microscond (µs)Millionth1/1,000,000
Nanoscond (ns)Billionth1/1,000,000,000
Picoseond (ps)Trillionth1/1,000,000,000,000
Femtoscond (fs)Quadrillionth1/1,000,000,000,000,000





SYSTEM UNIT

The main part, processing unit and devices, of a microcomputer is a system unit. A system unit includes a board called a motherboard that holds a microprocessor chip (or a CPU), memory chips, and expansion slots. Electronic circuitry is printed on the board and it connects between two main parts of a microcomputer, the microprocessor and primary storage and other parts. The system unit is housed within the system cabinet. A system unit includes the following parts:

Motherboard

A Motherboard or system board is the main printed, flat circuit board in an electronic device such as microcomputers. The board contains expansion slots (sockets) that accept additional boards (expansion Cards). In a microcomputer, the motherboard contains the microprocessor, the primary storage chips (or main memory cards), the buses, and all the chips used for controlling the peripherals.

Microprocessor

A microprocessor is a processor whose elements are miniaturized into one or a few integrated circuits contained in a single silicon microchip. It executes instructions. In a microcomputer, the central processing unit (CPU) is held on a single microprocessor. In order to function as a processor, it requires a system clock, primary storage, and power supply.
Several important lines of microcomputers use some families of microprocessor chips. Intel and Motorola are the major companies that produce important microprocessors for IBM compatible and Macintosh computers.

Microprocessor Capacity

The capacity of a microprocessor chip is represented in word sizes. A word size is the number of bits (e.g., 8, 16, or 32 bits) that a computer (CPU) can process at a time.
If word has more bits, the computer (CPU) are more powerful and faster. For example, a 16-bit-word computer can access 2 bytes (1 byte = 8 bits) at a time, while a 32-bit-word computer can access 4 bytes at a time. Therefore, the 32-bit computer is faster than the 16-bit computer.

CISC and RISC Chips

Central Processing Unit (CPU)

The central processing unit (CPU) is the computing part of the computer that interprets and executes program instructions. It is also known as the processor. In a microcomputer, the CPU is contained on a single microprocessor chip within the system unit. The CPU has two parts: the control unit and the arithmetic-logic unit.

Additional storage units called registers within control unit and ALU help make processing more efficient.


CPU Models

IBM and IBM Compatibles
CPU NO. (Word Size in Bits)CPU SPEED (MHz)BUS SIZE (Bits)
8088 (16)5-108
8086 (16)6-1216
80286 (16)6-1616
80386DX (32)16-4032
80386SX (32)16-2516
80486DX (32)25-6632
80486SX (32)16-2532
Pentium (32)60-16632-64
Pentium Pro (32)150-23132-64


Macintosh
CPU NO. (Word Size in Bits)CPU SPEED (MHz)BUS SIZE (Bits)
68000 (32)816
68020 (32)1632
68030 (32)16-4032
68040 (32)132
601( )11
604( )11


Memory Chips

A memory chip is a chip that holds programs and data either temporarily or permanently. The major categories of memory chips are RAMs and ROMs.

RAM Chips

RAM stands for random-access memory. Random- access memory holds the data or instructions that the CPU is presently processing. The type of primary storage is RAM. That is, a collection of RAM chips builds primary storage.
Whenever a CPU writes data or instructions to RAM, it wipes out the previous contents of RAM, and when a CPU read data or instructions from RAM, it keeps their contents.

ROM Chips

ROM stands for read-only memory. A ROM chip is a memory chip that stores instructions and data permanently. Its contents are placed into the ROM chip at the time of manufacture and cannot be modified by the user. A CPU can read and retrieve the instructions and data from the ROM chip, but it cannot change the contents in ROM.
ROM chips usually contain special instructions for computer operations such as ROM BIOS. The variations on the ROM chip are the following:

Primary Storage (Memory)

Primary storage (internal storage, main memory or memory)is the computer's working storage space that holds data, instructions for processing, and processed data (information) waiting to be sent to secondary storage. Physically, primary storage is a collection of RAM chips.
The contents are held in primary storage only temporarily. Capacity varies with different computers. Data or instructions are stored in primary storage locations called addresses.

System Clock

The clock is a device that generates periodic, accurately spaced signals used for several purposes such as regulation of the operations of a processor or generation of interrupts. The clock circuit uses the fixed vibrations generated from a quartz crystal to deliver a steady stream of pulses to the processor. The system clock controls the speed of all the operations within a computer.
The clock speed is the internal speed of a computer. The clock speed is expressed in megahertzes (MHz). 33 MHz means 33 million cycles per second. A computer processor's speed is faster if it has higher clock speed. For example, a 100-Mhz processor is four times as fast internally as the same processor running at 25MHz.

Expansion Slots/Boards

Open/Closed architectures

Expansion Slots

Expansion slots are receptacles inside a system unit that printed circuit boards (expansion boards) are plugged into. Computer buyers need to look at the number of expansion slots when they buy a computer, because the number of expansion slots decides future expansion. In microcomputers, the expansion slots are directly connected to the bus.

Expansion Boards

Expansion boards are also called expansion cards, controller cards, plug-in boards, adapter cards, or interface cards. Expansion boards are printed circuit boards that have many electronic components including chips. They are plugged into expansion slots.
Expansion boards are connected to peripherals through ports located on the edge of expansion boards. Expansion boards include memory expansion cards (e.g., SIMM), I/O controller cards (e.g., SCSI Card), video display card, sound cards, communications cards, etc.

Ports

A port is an external connecting socket on the outside the computer. This is a pathway into and out of the computer. A port lets users plug in outside peripherals, such as monitors, scanners and printers.

Serial Ports

Serial ports are external I/O connectors used to attach modems, scanners or other serial interface devices to the computer. The typical serial ports use a 9-pin DB-9 or a 25-pin DB-25 connector. Serial ports transmit bits one after another on a single communications line. Serial lines frequently are used to link equipment that is not located close by.

Parallel Ports

Parallel ports are external I/O connectors on a computer used to hook up printers or other parallel interface devices. The parallel port uses a DB-25 connector. This port transmits several bits simultaneously. Parallel lines move information faster than serial lines do.

Buses

A bus is a data pathway between several hardware components inside or outside a computer. It not only connects the parts of the CPU to each other, but also links the CPU with other important hardware. The other important hardware includes memory, a disk control unit, a terminal control unit, a printer control unit, and a communications control unit. The capacity of a bus is expressed as bits. A larger capacity bus is faster in data transfer. For example, a 32-bit bus is faster than an 8-bit bus.

Three Main Bus Architectures

Local Buses

The performance of a microcomputer is often restrained by the relatively slow video cards and other peripherals, which cannot keep up with today's fast CPUs. A local bus reduces the performance gap between the high-speed microprocessors and slower hard disks, video boards and other peripherals.
There are two local-bus systems available today. Each bus hopes to boost microcomputer performance for I/O-intensive tasks. They are a VL-Bus and a PCI local bus.





SECONDARY STORAGE

Secondary storage means external storage. This storage device includes a magnetic disk, optical disk, magnetic tape and others. The most widely used external storage is as follows:

Logical Data Elements

If there is no systematic way to store and retrieve data, it is too difficult to get any information from an information system. Therefore, data resource should be organized in some logical manner. Data are logically organized into characters, fields, records, files, and database.


Floppy Disks

Floppy disks are removable, direct access storage media inserted into disk drives. Floppy disks are flat, circular pieces of Mylar plastic that rotate within a jacket. These are also called flexible disks, floppies, Diskettes or simply disks.
Data and instructions are stored as forms of bits and bytes using the ASCII or EBCDIC data coding schemes. They are stored as electromagnetic charges on a disk surface. The two most common disks are 5 1/4-inch (5.25") and 3 1/2-inch (3.5") in their diameter. More efficient size, high storage capacity and sturdier design of a 3.5"-disk make microcomputers now use the 3.5" disks more.

Tracks/Sectors

Hard / Soft Sectored Disks and Formatting

There are two kinds of sectors for a disk. A hard sectored disk is one and a soft sectored disk is the other. The hard sectored disk identifies sectors with some physical marks on the disk, whereas the soft sectored disk identifies sectors with sector identification contained in the recording tracks.
A format program places the sector identification on the disk. When a user buys a disk manufactured without tracks and sectors in place (this kind of disk does not have "Formatted" label on it), he or she must put the tracks and sectors using a format program.

Capacity Floppy Drives

A floppy drive grabs a disk at its center and spins it inside its plastic jacket. The floppy drive obtains stored data and instructions from a floppy disk and stores them onto the disk. The drive is made up of a box with a slot into which a user inserts a disk. The slot has a drive gate. This drive rotates the disk with a motor inside the drive. Electronic read/write heads "read" data from the disk and "write" data to it while the disk rotates.
A microcomputer usually has internal floppy drives inside the computer cabinet, but it sometimes has external floppy drive, a separate component outside the cabinet.

Working Process of Floppy Drive


Hard Disks (Hard Drives)

A hard disk is a magnetic disk made of metal and covered with a magnetic recording surface. Hard disks come in removable and fixed varieties that hold from several hundreds of megabytes to several gigabytes. They are tightly sealed to prevent any foreign matter from getting inside which causes head crash.

Interface Type

Access Time

Different Forms of Hard Disks


Optical Disks

More advanced technology created a new disk storage forms. Optical disk is a disk written and read by laser beam. This optical disk has a great impact on today's storage technology. Optical disk does not spin, does not need to move access arms and read/write heads, because a laser beam can be moved electronically. The capacity of the storage is considerably greater than their magnetic disk counterparts, and optical disk storage may eventually replace all magnetic tape and disk storage.
Then how do they work? To write data, a laser beam burns tiny cavities into the surface of a disk to mark bits for data. To read the data, a laser beam scans these areas. There are three forms of optical disks available:


Magnetic Tape

A magnetic tape is a tape coated with a magnetic material on which data can be stored. This is a sequential storage device that is usually used for a backup purpose. A magnetic tape is slower than direct access storage such as disk, because it is sequential access storage. The biggest advantage of magnetic tape is the cost. It is much less expensive than magnetic disk and optical disk. An advanced tape backup technology (DAT) is available these days.


Cache (Cache memory)

A cache is a specially designed buffer storage used to improve computer performance by reducing access time. It holds instructions and data that are likely to be needed for next operation by the processor. The cache copies frequently accessed data and instructions from primary storage (main memory) or secondary storage (disks).




INPUT DEVICES

An input device is a peripheral device that converts symbols that people understand into bits that computers can process. An input device includes a keyboard, a terminal, a touch screen, a mouse, a scanner, etc.

Keyboard Entry

In keyboard entry, a user types characters, numerics and special symbols using a keyboard. The input usually appears on a monitor. A keyboard entry might be the most common way to input data.

Keyboards

A keyboard is a device used to encode data by key depression, which enters information into a system. The keyboard converts alphabets and numbers, and other special symbols into electrical signals that processor can understand and process. These signals are sent to the computer's CPU. There are three different layouts.

Terminals

A terminal is an INPUT/OUTPUT DEVICE that usually includes a keyboard for input, a video display for output, and a communications link to send and receive information. There are three different types:

Direct Input Devices

Direct input is a data entry form that does not use a keyboard to input data. Today, more data and instructions are entered a CPU of microcomputers directly using direct input devices used to provide a more natural user interface. These entry devices reduce users' typing errors. While direct input is an advanced fourth generation data entry form, voice input (speech input) is the mode of next generation input technology. There are many forms of direct input devices:

Mouse

An object used as a pointing and drawing device. The mouse usually has a ball and buttons and is connected to the system unit through serial port. As a mouse is rolled across the flat desktop in any direction, it locates the pointer correspondingly on the screen. Then it issues commands using the selection buttons on the mouse. Many portable microcomputers such as lap-tops use trackballs instead of mice.

Touch Screen

A touch screen is a monitor screen that allows users to interact with a computer system by touching an area of the display screen. The screen is covered with a clear plastic layer that has a matrix of cells. It uses invisible beams of infrared light. A user touches a graphic button that displays option on the screen. Touch screens are easy to use. Thus, many kiosks use touch screens as input forms.

Light Pen

A light pen is a light-sensitive pen-like device used by pointing it at the display surface. A user brings the light pen to the desired point on the screen and presses a button, causing it to identify the current location. It is used to select options from a menu or to draw images.

Digitizer Tablet

A digitizer tablet is also called a graphics tablet or just a digitizer. The digitizer is a drawing tablet used to sketch new images or trace old drawing or photograph. The user uses a pen-like device called a cursor to draw images. Designers and architects usually use digitizers. Light pen and digitizer technologies are used for pen-based computing.

Scanner

A scanner is a device that reads spatial pattern such as images, graphics and texts, and then generates digital signals of that pattern. Converted digital data may be processed by a computer, stored in a disk, printed by a printer or displayed on a monitor. Scanners are commonly used to capture graphic images that can then be placed in a page or on any document.

Scanners usually include optical character recognition (OCR) software so that scanners can read and capture texts directly through optical scanning.

Bar Code Readers

A bar code is a specialized code represented by sets of parallel bars of varying thickness and separation. This is used for fast identification of items with an optimal scanner. The optical scanner is called a bar code reader. The bar code reader is a photoelectric scanner that read the bar code.

Magnetic Data Entry

There are two technologies in magnetic data entry. A magnetic ink character recognition (MICR) technology reads iron oxide ink preprinted or encoded on checks, deposit slips or on documents. An MICR reader electronically captures data, by first magnetizing the magnetic ink characters and then sensing the signal.
Another form of magnetic data entry is the magnetic stripe technology that makes computers read credit cards. The dark magnetic stripe on the back of credit cards is the iron oxide coating. A magnetic stripe reader reads this magnetic stripe.

Voice Input Devices

Voice input devices are also called speech- recognition devices or voice-recognition systems. This device uses a voice recognition technology that converts a user's speech into a digital code. Spoken words are first digitized and then matched against a dictionary of patterns previously stored in the computer.
Speaker-dependent systems should be trained by taking actual user's word sample before using, but speaker-independent systems can recognize only limited vocabularies. The advantage of the voice input systems is that they enable users to keep their hands free for other tasks.




OUTPUT DEVICES

An output device is any peripheral device that converts machine-readable information into people-readable form such as a monitor, printer, plotter and voice output device.


Computer Display (Monitors)

A computer display is also called a display screen or video display terminal (VDT). A monitor is a screen used to display the output of a computer. Images are represented on monitors by individual dots called pixels. A pixel is the smallest unit on the screen that can be turned on and off or made different shades. The density of the dots determines the clarity of the images, the resolution.

There are two forms of display: cathode-ray tubes (CRTs) and flat-panel display.

Cathode Ray Tubes (CRT)

A CRT is a vacuum tube used as a display screen for a computer output device. Although the CRT means only a tube, it usually refers to all monitors. IBM and IBM compatible microcomputers operate two modes unlike Macintosh based entirely on graphics mode. They are a text mode and a graphics mode. Application programs switch computers into appropriate display mode.

Monochrome Monitors

A monochrome monitor has two colors, one for foreground and the other for background. The colors can be white, amber or green on a dark (black) background. The monochrome monitors display both text and graphics modes.

Color Monitors

A color monitor is a display peripheral that displays more than two colors. Color monitors have been developed through the following paths.

  • CGA: This stands for Color Graphics Adapter. It is a circuit board introduced by IBM and the first graphics standard for the IBM PC. With a CGA monitor, it is harder to read than with a monochrome monitor, because the CGA (320 X 200) has much fewer pixels than the monochrome monitor (640 X 350). It supports 4 colors.

  • EGA: It stands for Enhanced Graphics Adapter. EGA is a video display standard that has a resolution of 640 by 350 pixels and supports 16 colors. EGA supports previous display modes and requires a new monitor.

  • VGA: VGA stands for Video Graphics Array. This is a video display standard that provides medium to high resolution. In a text mode, the resolution of this board is 720 by 400 pixels. It supports 16 colors with a higher resolution of 640 by 480 pixels and 256 colors with 320 X 200 pixels.

  • Super VGA: This is a very high resolution standard that displays up to 65,536 colors. Super VGA can support a 16.8 million colors at 800 by 600 pixels and 256 colors at 1024 by 768 pixels. A high-priced super VGA allows 1280 by 1024 pixels. Larger monitors (17" or 21" and larger) with a high resolution of 1600 by 1280 pixels are available. VESA (Video Electronics Standards Association) has set a standard for super VGA.

Flat Panel Displays

Portable computers such as a lap top use flat panel displays, because they are more compact and consume less power than CRTs. Portable computers use several kinds of flat panel screens:

Liquid-Crystal Displays (LCDs)

A display technology that creates characters by means of reflected light and is commonly used in digital watches and laptop computers. LCDs replaced LEDs (light emitting diodes) because LCDs use less power. LCDs are difficult to read in a strong light, because they do not emit their own light. Portable computers wanted to have brighter and easier to read displays. Backlit LCDs are used for the purpose now.

  • Backlit LCDs: This is a type of LCD display having its own light source provided from the back of the screen. The backlit makes the background brighter and clear, as a result the texts and images appear sharper. However, this still is much less clear than CRTs. Thus, better technology is needed.

  • Active Matrix LCDs: This is an LCD display technique in which every dot on the screen has a transistor to control it more accurately. This uses a transistor for each monochrome or each red, green and blue dot. It provides better contrast, speeds up screen refresh and reduces motion smearing.

Electroluminescent (EL) Displays

A flat panel display technology that actively emits light at each pixel when it is electronic charged. This provides a sharp, clear image and wide viewing angle. The EL display type of flat panel is better than LCD.

Gas Plasma Displays

This is also called a gas panel or a plasma panel and is another flat screen technology. A plasma panel contains a grid of electrodes in a flat, gas filled panel. The image can persist for a long time without refreshing in this panel. The disadvantages of the gas plasma displays are that they must use AC power and cannot show sharp contrast.


Printers

A printer is an output device that produces a hard copy of data. The resolution of printer output is expressed as DPI. Printers can be classified into different types in several ways. First, the printers can be divided into three categories by the way they print.

Second, printers can be classified into two forms according to the use of a hammer.

Another classification can be made by the way they form characters.

Microcomputers use five kinds of printers. They are daisy wheel printers, chain printers, dot-matrix printers, ink-jet printers, and laser printers.

Daisy-Wheel Printer

Daisy-Wheel is a printer mechanism that uses any kind of hub (wheel) having a set of spokes at the margin of the hub. The wheel can be removed to use a different character set. The end of each spoke is a raised image of a type character. When the wheel is turned and the required character is aligned to the print hammer, the character is then struck into a ribbon and onto a paper with the hammer.
Daisy-Wheel Printer prints typewriter-like very high quality characters. However, they are slower and less reliable than dot-matrix printers. Microcomputer users seldom use this printer, because the better dot-matrix printers and inexpensive laser printers are available today.

Chain Printer

A chain printer uses a printing mechanism that uses character typefaces linked together in a chain. The chain spins horizontally around a set of hammers aligned with each position. When the required character is in front of the selected print position, hammer in that position hits the paper into the ribbon against the character in the chain.
This printer is not commonly found around microcomputers, because it is a very expensive, high-speed machine designed originally for mainframes and minicomputers. Chain printers are very reliable and can speed up to 3000 lines per minute.

Dot-Matrix Printer

Dot-matrix printers are printers that write characters and form graphic images using one or two columns of tiny dots on a print head. The dot hammer moving serially across the paper strikes an inked-ribbon and creates images on paper.
Dot matrix printers are popular printers used with microcomputers, because the printers are highly reliable and inexpensive. They are used for tasks where a high-quality image is not essential. Many users, however, move from dot printers to laser printers, because the price of laser printers is falling down. Several kinds of dot matrix printers are available with print heads that have 7, 9, 18, or 24 pins.

Ink-Jet Printer

Ink-jet is a printer mechanism that sprays one or more color of ink at high speed onto the paper and produces high-quality printing. This printer also produces color printing as well as high-quality image. That is, ink-jet printers can be used for variety of color printing at a relatively low cost. Ink-jet printing has two methods: Continuous stream method and drop-on- demand method.

Laser Printer

A laser printer is a printer that uses the electrophotograpic method used in a copy machine. The printer uses a laser beam light source to create images on a photographic drum. Then the images on the drum are treated with a magnetically charged toner and then are transferred onto a paper. A heat source is usually applied to make the images adhere.
In 1984, Hewlett-Packard introduced the first desktop laser printer, called the LaserJet. The laser printer revolutionized personal computer printing and has spawned desktop publishing. The laser printer produces high-resolution letters and graphics quality images, so it is adopted in applications requiring high-quality output. Although a high-priced color laser printer is also available in the market, a less expensive, desktop gray scale laser printer is widely used. Recently, the laser printer is gaining its market share dramatically, mainly because the lowered price and the quality.


Plotters

A plotter is a special-purpose output device that draws images with ink pens. That is, the plotter is a graphics printer for making sophisticated graphs, charts, maps, and three-dimensional graphics as well as high-quality colored documents. It can also produce larger size of documents.
Plotters require data in a vector graphics format that can produce images with a series of lines. There are two main types of plotters:


Voice-Output Devices

This device produces a human speech like sound, but actually is prerecorded vocalized sounds. Voice output is used in the telephone information system, where the requested number is reported using a voice output system.
For example, when a student enrolls courses using a telephone registration system, he or she hears voice output upon your request. Voice output is becoming common in
voice messaging systems.


Modem

Another form of the output device is a modem. A modem is short for "MOdulator-DEModulator." Modulation is the process of converting from digital to analog. Demodulation is the process of converting from analog to digital.
The modem enables digital microcomputers to send output through analog telephone lines. Both voice and data can be carried over through the modem. The modem is not only an output device but also an input device that receives data and voice through a communication channel.





.