1

INTRODUCTION TO COMPUTERS

1.1 INTRODUCTION

In the beginning of civilisation, people used fingers and pebbles for computing purposes. In fact, the word digitus in Latin actually means finger and calculus means pebble. This gives a clue into the origin of early computing concepts. With the development of civilisation, the computing needs also grew. The need for a mechanism to perform lengthy calculations led to the invention of the first calculator, and then computers.

The term computer is derived from the word compute, which means to calculate. A computer is an electronic machine, devised for performing calculations and controlling operations that can be expressed either in logical or numerical terms. In simple words, a computer is an electronic device that performs diverse operations with the help of instructions to process the data in order to achieve desired results. Although the application domain of a computer depends totally on human creativity and imagination, it covers a huge area of applications including education, industries, government, medicine, scientific research, law, and even music and arts.

Computers are one of the most influential forces available in modern times. Harnessing the power of computers enables relatively limited and fallible human capacities for memory, logical decision-making, reaction, and perfection to be extended to almost infinite levels. Millions of complex calculations can be done in a mere fraction of time; difficult decisions can be made with unerring accuracy for comparatively little cost. Computers are widely seen as instruments for future progress and as tools to achieve sustainability by way of improved access to information with the help of video conferencing and e-mail. Indeed, computers have left such an impression on modern civilisation that we call this era as the “information age”.

1.2 CHARACTERISTICS OF COMPUTERS

The human race developed computers so that it could perform intricate operations, such as calculation and data processing, or simply for entertainment. Today, much of the world's infrastructure runs on computers and it has profoundly changed our lives, mostly for the better. Let us discuss some of the characteristics of computers, which make them an essential part of every emerging technology and such a desirable tool in human development.

  • Speed: The computers process data at an extremely fast rate, at millions or billions of instructions per second. A computer can perform a huge task in a few seconds that otherwise a normal human being may take days or even years to complete. The speed of a computer is calculated in MHz (Megahertz), that is, one million instructions per second. At present, a powerful computer can perform billions of operations in just one second.
  • Accuracy: Besides the efficiency, the computers are also very accurate. The level of accuracy depends on the instructions and the type of machines being used. Since the computer is capable of doing only what it is instructed to do, faulty instructions for data processing may lead to faulty results. This is known as GIGO (Garbage In Garbage Out).
  • Diligence: Computer, being a machine, does not suffer from the human traits of tiredness and lack of concentration. If four million calculations have to be performed, then the computer will perform the last, four-millionth calculation with the same accuracy and speed as the first calculation.
  • Reliability: Generally, reliability is the measurement of the performance of a computer, which is measured against some predetermined standard for operation without any failure. The major reason behind the reliability of computers is that, at hardware level, it does not require any human intervention between its processing operations. Moreover, computers have built-in diagnostic capabilities, which help in continuous monitoring of the system.
  • Storage Capability: Computers can store large amounts of data and can recall the required information almost instantaneously. The main memory of the computer is relatively small and it can hold only a certain amount of data, therefore, the data is stored on secondary storage devices such as magnetic tape or disks. Small sections of data can be accessed very quickly from these storage devices and brought into the main memory, as and when required, for processing.
  • Versatility: Computers are quite versatile in nature. It can perform multiple tasks simultaneously with equal ease. For example, at one moment it can be used to draft a letter, another moment it can be used to play music and in between, one can print a document as well. All this work is possible by changing the program (computer instructions).
  • Resource Sharing: In the initial stages of development, computers used to be isolated machines. With the tremendous growth in computer technologies, computers today have the capability to connect with each other. This has made the sharing of costly resources like printers possible. Apart from device sharing, data and information can also be shared among groups of computers, thus creating a large information and knowledge base.

Although processing has become less tedious with the development of computers, it is still time-consuming and expensive job. Sometimes, a program works properly for some period and then suddenly produces an error. This happens because of a rare combination of events or due to an error in the instruction provided by the user. Therefore, computer parts require regular checking and maintenance in order to give correct results. Furthermore, computers need to be installed in a dust free place. Generally, some parts of computers get heated up due to heavy processing. Therefore, the ambient temperature of the computer system should be maintained.

THINGS TO REMEMBER

Limitations of a Computer

  • A computer can only perform what it is programmed to do.
  • The computer needs well-defined instructions to perform any operation. Hence, computers are unable to give any conclusion without going through intermediate steps.
  • A computer's use is limited in areas where qualitative considerations are important. For instance, it can make plans based on situations and information but it cannot foresee whether they will succeed.

1.3 DEVELOPMENT OF COMPUTERS

The need for calculations with the growth in commerce and other human activities explain the evolution of computers. Computers were preceded by many devices which mankind developed for their computing requirements. However, many centuries elapsed before technology was adequately advanced to develop computers. In order to understand the recent impact of computers, it is worthwhile to have a look at the evolution of computers.

Sand Tables

In ancient times, people used fingers to perform the calculations such as addition and subtraction. Even today, simple calculations are done on fingers. Soon, mankind realised that it would be easier to do calculations with pebbles as compared to fingers. Consequently, pebbles were used to represent numbers, which led to the development of sand tables. They are known to be the earliest device for computation.

A sand table consists of three grooves in the sand with a maximum of 10 pebbles in each groove. To increase the count by one, a pebble has to be added in the right hand groove. When ten pebbles were collected in the right groove, they were removed and one pebble was added to the adjacent left groove. Afterward, sand tables were modified extensively and these modifications resulted in a device known as Abacus.

image

Figure 1.1 Sand Table Showing 125

image

Figure 1.2 Abacus

Abacus

Abacus emerged around 5000 years ago in Asia Minor and in some parts of the world it is still in use. The word ‘abacus’ was derived from Arabic word ‘abaq’ which means ‘dust’. The first abacus was simply a portable sand table; a board with dust strung across it. An abacus consists of a wooden frame, which has two parts: upper and lower. The upper part contains two beads and lower part contains five beads per wire. A raised bead in upper denotes 0 whereas a lowered bead denotes digit 5. In the lower part, a raised bead stands for 1 and a lowered bead for 0. This device allows users to do computations using a system of sliding beads arranged on a rack. Manipulating the beads on the wires carry out arithmetic operations.

Napier Bones

In 1614, a Scottish mathematician, John Napier, made a more sophisticated computing machine called Napier bones. This was a small instrument made of 10 rods, on which the multiplication table was engraved. It was made of strips of ivory bones, and so the name Napier bones. This device enabled multiplication in a fast manner, if one of the numbers was of one digit only (for example, 6 × 6745). Incidentally, Napier also played a key role in the development of logarithms, which stimulated the invention of ‘slide rule’ that substituted the addition of logarithms for multiplication. This was a remarkable invention as it enabled the transformation of multiplication and division into simple addition and subtraction.

image

Figure 1.3 Napier Bones

Slide Rule

The invention of logarithms influenced the development of another famous invention known as slide rule. In AD 1620, the first slide rule came into existence. It was jointly devised by two British mathematicians, Edmund Gunter and William Oughtred. It was based on the principle that actual distances from the starting point of the rule is directly proportional to the logarithm of the numbers printed on the rule. The slide rule is embodied by two sets of scales that are joined together, with a marginal space between them. This space is enough for the free movement of the slide in the groove of the rule.

image

Figure 1.4 Slide Rule

The suitable alliance of two scales enabled the slide rule to perform multiplication and division by a method of addition and subtraction.

Pascaline

In 1623, Wilhelm Schickard invented the ‘calculating clock’, which could add and subtract, and indicated the overflow by ringing a bell. Subsequently, it helped in the evolution of Pascaline. In AD 1642, French mathematician, scientist, and philosopher, Blaise Pascal, invented the first functional automatic calculator. It had a complex arrangement of wheels, gears, and windows for the display of numbers. It was operated by a series of dials attached to wheels that had the numbers zero to nine on their circumference. When a wheel made a complete turn, it advanced to the wheel to the left of it. Indicators above the dial displayed the correct answer. However, usage of this device was limited to addition and subtraction only.

image

Figure 1.5 Pascaline

Stepped Reckoner

In 1694, German mathematician Gottfried Wilhem Von Leibriz extended the Pascal's design to perform multiplication, division, and to find square root. This machine is known as stepped reckoner. It was the first mass-produced calculating device, which was designed to perform multiplication by repeated addition. The stepped reckoner did not make use of interconnected gears, but instead, a cylinder of stepped teeth operated it. The only problem with this device was that it lacked mechanical precision in its construction and was not very reliable.

image

Figure 1.6 Stepped Reckoner

Punch Card System

Joseph Marie Jacquard, a French textile weaver, used the principle of the weaving process to represent the two digits of the binary system. Jacquard took a large step in the development of computers when he developed punch cards to increase rug production. In 1801, Jacquard invented a power loom with an automatic card reader known as punch card machine. The idea of Jacquard to use punched cards was to provide an effective means of communication with machines. He automated the process with the use of punched cards and placed them between the needles and the thread. The presence or absence of a hole represented the two digits of the binary system, which is the base for all modern digital computers.

image

Figure 1.7 Punch Card

Difference Engine

Charles Babbage, a professor of mathematics, devised a calculating machine known as the difference engine in 1822, which could be used to mechanically generate mathematical tables. The difference engine can be viewed as a hugely complex abacus. It was intended to solve differential equations as well. However, Babbage never quite made a fully functional difference engine and in 1833, he quit working on this machine to concentrate on the analytical engine.

Analytical Engine

Analytical engine is considered to be the first general-purpose programmable computer. Babbage's innovation in the design of the analytical engine made it possible to test the sign of a computed number and take one course of action if the sign was positive, and another if the sign was negative. Babbage also designed this device to advance or reverse the flow of punched cards to permit branching to any desired instruction within a program. This was the fundamental difference between the analytical engine and the difference engine. Lady Ada Lovelace helped him in the development of the analytical engine. She not only helped Babbage with financial aid, but being a good mathematician, also wrote articles and programs for the proposed machine. Due to her contributions, she is known as the ‘first programmer’. However, Babbage never completed the analytical engine, but his proposal for this device reviewed the basic elements of the modern computer such as input/output, storage, processor, and control unit.

Hollerith's Tabulator

Herman Hollerith invented the punched-card tabulating machine to process the data collected in the United States' census. This electronic machine was able to read the information on the cards and process it electronically. It consisted of a tabulator, a sorter with compartments electronically controlled by the tabulator's counter and the device used to punch data onto cards. This tabulator could read the presence or absence of holes in the cards by using spring-mounted nails that passed through the holes to make electrical connections. In 1896, Hollerith founded the Tabulating Machine Company, which was later named IBM (International Business Machines).

FACT FILE

What's in the Name?

In 1896, Hollerith founded the Tabulating Machine Company, which was later named IBM (International Business Machines). IBM developed numerous mainframes and operating systems, many of which are still in use today. For example, IBM co-developed OS/2 with Microsoft, which laid foundation for Windows operating systems.

image

Figure 1.8 Hollerith's Tabulator

Other Developments

In the process of the development of computers, many scientists and engineers made significant advances.

  • In 1904, Sir John Ambrose Fleming worked to develop the first thermionic valve, also known as vacuum tube. Thermionic valves were based on Thomas Edison's ‘Edison effect’ of light bulbs. The first light bulbs were very shortlived and were prone to darken. This darkening was termed the Edison effect. Sir John Ambrose Fleming worked to develop the first rectifier and in 1904, he developed thermionic valves. Fleming named the device a valve because it allowed electrical currents to pass only in one direction. Since this is a two-element vacuum tube, it was also called as diode. These diodes were the cornerstone of the first generation computers.
  • In 1906, an American inventor, Lee de Forest introduced a third electrode into the diode (vacuum tube). The resulting triode could be used both as an amplifier and a switch and because of their ability to act as a switch created a tremendous impact on digital computing.
  • In 1931, an American electrical engineer, Vannevar Bush, built the differential analyzer to solve differential equations. Nevertheless, the machine was cumbersome because this device used its drive belts, shafts, and gears to measure movements and distances.
  • In 1938, Claude Shannon, a student at MIT, recognised the connection between electronic circuits and Boolean algebra. He transferred the two logic states to electronic circuits by assigning different voltage levels to each state. Shannon also provided electronic engineers with the mathematical tool they needed to design digital electronic circuits. These techniques remain the cornerstone of digital electronic design to this day.

1.3.1 SOME EARLY COMPUTERS

Before discussing various generations of computers, let us discuss some well-known computers of the past, which are considered to be the predecessors of modern computers.

MARK-I Computer

From the year 1937 to 1944, an American mathematician, Howard Aiken, under the sponsorship of IBM, developed MARK-I. It was essentially a serial collection of electromechanical calculators and had many similarities to Babbage's analytical machine. This electronic calculating machine used relays and electromagnetic components to replace mechanical components. MARK-I was capable of performing addition, subtraction, division, multiplication, and table reference. However, it was extremely slow, noisy and bulky (approximately 50 feet long, 8 feet high, and weighed 5 tons).

ABC Computer

In 1939, John Vincent Atansoft and Clifford Berry formulated the idea of using the binary number system to simplify the construction of an electronic calculator. By the end of 1939, they built a first electronic computer named as ABC (Atansoft Berry Computer). It is considered as the first computing machine which introduced the idea of binary arithmetic, regenerative memory, and logic circuits. This computer used electronic vacuum tubes and the circuitry was based on George Boole's Boolean algebra.

COLOSSUS

In 1944, British mathematician Alan Mathison, along with some colleagues, created a computer named Colossus, which comprised 1800 vacuum tubes. It was one of the world's earliest working programmable electronic digital computers. Colossus was a special-purpose machine that suited a narrow range of tasks (for example, it was not capable of performing decimal multiplications). Although Colossus was built as a special-purpose computer, it proved flexible enough to be programmed to execute a variety of different routines.

ENIAC

In 1946, John Eckert and John Mauchly of the Moore School of Engineering at the University of Pennsylvania developed ENIAC or Electronic Numerical Integrator and Calculator. Like the ABC, this computer used electronic vacuum tubes to make the internal parts of the computer. It embodied almost all the components and concepts of today's high-speed, electronic digital computers. This machine could discriminate the sign of a number, compare quantities for equality, add, subtract, multiply, divide, and extract square roots. ENIAC consisted of 18000 vacuum tubes, required around 160 KW of electricity and weighed nearly 30 tons. It could compute at speeds 1000 times that of Mark-I but had a limited amount of space to store and manipulate information.

EDVAC

John Eckert and John Mauchly also proposed the development of Electronic Discrete Variable Automatic Computer (EDVAC). Although, the conceptual design for EDVAC was completed by 1946, it came into existence in 1949. The EDVAC was the first electronic computer to use the stored program concept introduced by John Von Neumann. It also had the capability of conditional transfer of control, that is, the computer could be stopped at any time and then resumed. EDVAC contained approximately 4000 vacuum tubes and 10000 crystal diodes.

EDSAC

EDSAC, or Electronic Delay Storage Automatic Calculator, was also based on John Von Neumann's stored program concept. The work began on EDSAC in 1946 at the Cambridge University by a team headed by Maurice Wilkes. In 1949, the first successful program was run on this machine. It used mercury delay lines for memory, and vacuum tubes for logic. EDSAC had 3000 vacuum valves arranged on 12 racks and used tubes filled with mercury for memory. It could carry out only 650 instructions per second. A program was fed into the machine via a sequence of holes punched into a paper tape. The machine occupied a room, which measured 5 metres by 4 metres.

UNIVAC

UNIVAC, or Universal Automatic Computer, was the first commercially available electronic computer. It was also the first general-purpose computer, which was designed to handle both numeric and textual information. The Eckert-Mauchly Corporation manufactured it in 1951 and its implementation marked the real beginning of the computer era. UNIVAC could compute at a speed of 120-3600 microseconds. Magnetic tapes were used as input and output mediums at a speed of around 13000 characters per second. The machine was 25 feet by 50 feet in length, contained 5600 tubes, 18000 crystal diodes, and 300 relays. The UNIVAC was used for general-purpose computing with large amounts of input and output.

1.4 GENERATIONS OF COMPUTERS

The history of computer development is often discussed with reference to the different generations of computing devices. In computer terminology, the word generation is described as a stage of technological development or innovation. A major technological development that fundamentally changed the way computers operate, resulting in increasingly smaller, cheaper, more powerful and more efficient and reliable devices, characterises each generation of computer. According to the technology used, there are five generations of computers, which are discussed in the following sections.

1.4.1 FIRST GENERATION (1940–56): VACUUM TUBES

First generation computers were vacuum tubes/thermionic valve based machines. These computers used vacuum tubes for circuitry and magnetic drums for memory. A magnetic drum is a metal cylinder coated with magnetic iron-oxide material on which data and programs can be stored. Input was based on punched cards and paper tape and output was displayed in the form of printouts.

First generation computers relied on binary-coded language (language of 0s and 1s) to perform operations and were able to solve only one problem at a time. Each machine was fed with different binary codes and hence were difficult to program. This resulted in lack of versatility and speed. In addition, to run on different types of computers, instructions must be rewritten or recompiled.

Examples: ENIAC, EDVAC, and UNIVAC.

image

Figure 1.9 Vacuum Tube

Characteristics of First Generation Computers

  • These computers were based on vacuum tube technology.
  • These were the fastest computing devices of their times (computation time was in milliseconds).
  • These computers were very large, and required a lot of space for installation.
  • Since thousands of vacuum tubes were used, they generated a large amount of heat. Therefore, air conditioning was essential.
  • These were non-portable and very slow equipments.
  • They lacked in versatility and speed.
  • They were very expensive to operate and used a large amount of electricity.
  • These machines were unreliable and prone to frequent hardware failures. Hence, constant maintenance was required.
  • Since machine language was used, these computers were difficult to program and use.
  • Each individual component had to be assembled manually. Hence, commercial appeal of these computers was poor.

1.4.2 SECOND GENERATION (1956–63): TRANSISTORS

Second generation computers used transistors, which were superior to vacuum tubes. A transistor is made up of semiconductor material like germanium and silicon. It usually had three leads (see Figure 1.10) and performed electrical functions such as voltage, current or power amplification with low power requirements. Since transistor is a small device, the physical size of computers was greatly reduced. Computers became smaller, faster, cheaper, energy-efficient and more reliable than their predecessors. In second generation computers, magnetic cores were used as primary memory and magnetic disks as secondary storage devices. However, they still relied on punched cards for input and printouts for output.

One of the major developments of this generation includes the progress from machine language to assembly language. Assembly language used mnemonics (abbreviations) for instructions rather than numbers, for example, ADD for addition and MULT for multiplication. As a result, programming became less cumbersome. Early high-level programming languages such as COBOL and FORTRAN also came into existence in this period.

Examples: PDP-8, IBM 1401 and IBM 7090.

image

Figure 1.10 Transistor

Characteristics of Second Generation Computers

  • These machines were based on transistor technology.
  • These were smaller as compared to the first generation computers.
  • The computational time of these computers was reduced to microseconds from milliseconds.
  • These were more reliable and less prone to hardware failure. Hence, such computers required less frequent maintenance.
  • These were more portable and generated less amount of heat.
  • Assembly language was used to program computers. Hence, programming became more time-efficient and less cumbersome.
  • Second generation computers still required air conditioning.
  • Manual assembly of individual components into a functioning unit was still required.

1.4.3 THIRD GENERATION (1964–EARLY 1970S): INTEGRATED CIRCUITS

The development of the integrated circuit was the trait of the third generation computers. Also called an IC, an integrated circuit consists of a single chip (usually silicon) with many components such as transistors and resistors fabricated on it. Integrated circuits replaced several individually wired transistors. This development made computers smaller in size, reliable, and efficient.

Instead of punched cards and printouts, users interacted with third generation computers through keyboards and monitors and interfaced with operating system. This allowed the device to run many different applications at one time with a central program that monitored the memory. For the first time, computers became accessible to mass audience because they were smaller and cheaper than their predecessors.

Examples: NCR 395 and B6500.

image

Figure 1.11 Integrated Circuit

Characteristics of Third Generation Computers

  • These computers were based on integrated circuit (IC) technology.
  • They were able to reduce computational time from microseconds to nanoseconds.
  • They were easily portable and more reliable than the second generation.
  • These devices consumed less power and generated less heat. In some cases, air conditioning was still required.
  • The size of these computers was smaller as compared to previous computers.
  • Since hardware rarely failed, the maintenance cost was quite low.
  • Extensive use of high-level languages became possible.
  • Manual assembling of individual components was not required, so it reduced the large requirement of labour and cost. However, highly sophisticated technologies were required for the manufacture of IC chips.
  • Commercial production became easier and cheaper.

1.4.4 FOURTH GENERATION (EARLY 1970S–TILL DATE): MICROPROCESSORS

The fourth generation is an extension of third generation technology. Although, the technology of this generation was still based on the integrated circuit, these have been made readily available to us because of the development of the microprocessor (circuits containing millions of transistors). The Intel 4004 chip, which was developed in 1971, took the integrated circuit one step further by locating all the components of a computer (central processing unit, memory, and input and output controls) on a minuscule chip. A microprocessor is built onto a single piece of silicon, known as chip. It is about 0.5 cm along one side and no more than 0.05 cm thick.

The fourth generation computers led to an era of Large Scale Integration (LSI) and Very Large Scale Integration (VLSI) technology. LSI technology allowed thousands of transistors to be constructed on one small slice of silicon material whereas VLSI squeezed hundreds of thousands of components on to a single chip. Ultra-large scale integration (ULSI) increased that number into millions. This way computers became smaller and cheaper than ever before.

The fourth generation computers became more powerful, compact, reliable, and affordable. As a result, it gave rise to the personal computer (PC) revolution. During this period, magnetic core memories were substituted by semiconductor memories, which resulted in faster random access main memories. Moreover, secondary memories such as hard disks became economical, smaller, and bigger in capacity. The other significant development of this era was that these computers could be linked together to form networks, which eventually led to the development of the Internet. This generation also saw the development of the GUIs (Graphical User Interfaces), mouse, and handheld devices. Despite many advantages, this generation required complex and sophisticated technology for the manufacturing of CPU and other components.

Examples: Apple II, Altair 8800, and CRAY-1.

image

Figure 1.12 Microprocessor

Characteristics of Fourth Generation Computers

  • Fourth generation computers are microprocessor-based systems.
  • These computers are very small.
  • Fourth generation computers are the cheapest among all the other generations.
  • They are portable and quite reliable.
  • These machines generate negligible amount of heat, hence they do not require air conditioning.
  • Hardware failure is negligible, so minimum maintenance is required.
  • The production cost is very low.
  • GUI and pointing devices enable users to learn to use the computer quickly.
  • Interconnection of computers leads to better communication and resource sharing.

1.4.5 FIFTH GENERATION (PRESENT AND BEYOND): ARTIFICIAL INTELLIGENCE

The dream of creating a human-like computer that would be capable of reasoning and reaching a decision through a series of “what-if-then” analyses has existed since the beginning of computer technology. Such a computer would learn from its mistakes and possess the skill of experts. These are the objectives for creating the fifth generation of computers. The starting point for the fifth generation of computers has been set in the early 1990s. The process of developing fifth generation of computers is still in the development stage. However, the expert system concept is already in use. The expert system is defined as a computer information system that attempts to mimic the thought process and reasoning of experts in specific areas. Three characteristics can be identified with the fifth generation computers, which are:

  • Mega Chips: Fifth generation computers will use Super Large Scale Integrated (SLSI) chips, which will result in the production of microprocessor having millions of electronic components on a single chip. In order to store instructions and information, fifth generation computers require a great amount of storage capacity. Mega chips may enable the computer to approximate the memory capacity of the human mind.
  • Parallel Processing: Most computers today access and execute only one instruction at a time. This is called serial processing. However, a computer using parallel processing accesses several instructions at once and works on them at the same time through the use of multiple central processing units.
  • Artificial Intelligence (AI): It refers to a series of related technologies that tries to simulate and reproduce human behaviour, including thinking, speaking and reasoning. AI comprises a group of related technologies: expert systems (ES), natural language processing (NLP), speech recognition, vision recognition, and robotics.

1.5 CLASSIFICATION OF COMPUTERS

These days, computers are available in many sizes and types. You can have a computer that can fit in the palm of your hand or that which can occupy the entire room; single user computers can be used by hundreds of users simultaneously. Computers also differ based on their data processing abilities. Hence, computers can be classified according to purpose, data handling, and functionality.

1.5.1 CLASSIFICATION ACCORDING TO PURPOSE

Computers are designed for different purposes. They can be used either for general purposes or for specific purposes.

image

Figure 1.13 Classification of Computers

General-purpose Computers

A general-purpose computer, as the name suggests, is designed to perform a range of tasks. These computers have the ability to store numerous programs. These machines can be used for various applications, ranging from scientific as well as business purpose applications. Even though such computers are versatile, they generally lack speed and efficiency. The computer that you use in your schools and homes are general-purpose computers.

Specific-purpose Computers

These computers are designed to handle a specific problem or to perform a single specific task. A set of instructions for the specific task is built into the machine. Hence, they cannot be used for other applications unless their circuits are redesigned, that is, they lacked versatility. However, being designed for specific tasks, they can provide the result very quickly and efficiently. These computers are used for airline reservations, satellite tracking, and air traffic control.

1.5.2 CLASSIFICATION ACCORDING TO TYPE OF DATA-HANDLED TECHNIQUES

Different types of computers process the data in a different manner. According to the basic data handling principle, computers can be classified into three categories: analog, digital, and hybrid.

Analog Computers

A computing machine that works on the principle of measuring, in which the measurements obtained are translated into desired data is known as analog computer. Modern analog computers usually employ electrical parameters, such as voltages, resistances or currents, to represent the quantities being manipulated. Such computers do not deal directly with the numbers. They measure continuous physical magnitudes (such as temperature, pressure, and voltage), which are analogous to the numbers under consideration. For example, the petrol pump may have an analog computer that converts the flow of pumped petrol into two measurements – the quantity of petrol and the price for that quantity.

Analog computers are used for scientific and engineering purposes. One of the characteristics of these computers is that they give approximate results since they deal with quantities that vary continuously. The main feature of analog computers is that they are very fast in operation as all the calculations are done in ‘parallel mode’. It is very easy to get graphical results directly using analog computer. However, the accuracy of analog computers is less.

Digital Computers

A computer that operates with information, numerical or otherwise, represented in a digital form is known as digital computer. Such computers process data (including text, sound, graphics, and video) into a digital value (in 0s and 1s). In digital computers, analog quantities must be converted into digital quantity before processing. In this case, the output will also be digital. If analog output is desired, the digital output has to be converted into analog quantity. The components that perform these conversions, are the essential parts or peripherals of the digital computer.

Digital computers can give the results with more accuracy at a faster rate. The accuracy of such computers is limited only by the size of their registers and memory. The desktop PC at your home is a classic example of digital computer.

Hybrid Computers

A hybrid computer incorporates the measuring feature of an analog computer and the counting feature of a digital computer. For computational purposes, these computers use the analog components and for the storage of intermediate results, digital memories are used. In order to bind the powers of analog and digital techniques, hybrid computers comprehensively use analog-to-digital and digital-to-analog converters. Such computers are broadly used for scientific applications, various fields of engineering and in industrial control processes.

1.5.3 CLASSIFICATION ACCORDING TO FUNCTIONALITY

Based on physical size, performance and application areas, we can divide computers generally into four major categories: micro, mini, mainframe, and super computers.

Micro Computers

A micro computer is a small, low cost digital computer, which usually consists of a microprocessor, a storage unit, an input channel, and an output channel, all of which may be on one chip inserted into one or several PC boards. The addition of a power supply and connecting cables, appropriate peripherals (keyboard, monitor, printer, disk drives, etc.), an operating system and other software programs can provide a complete micro computer system. The micro computer is generally the smallest of the computer family. Originally, they were designed for individual users only, but nowadays they have become powerful tools for many businesses that, when networked together, can serve more than one user. IBM-PC Pentium 100, IBM-PC Pentium 200, and Apple Macintosh are some of the examples of micro computers. Micro computers include desktop, laptop, and hand-held computers.

  • Desktop Computer: Desktop computer or PC (Personal Computer) is the most common micro computer. It is principally intended for stand-alone use by an individual. These micro computers typically consist of a system unit, a display monitor, a keyboard, internal hard disk storage, and other peripheral devices. The major criterion behind the importance of the PCs is that they are not very expensive to purchase by the individuals or the small businesses. Some of the major personal computer manufacturers are APPLE, IBM, Dell, and Hewlett-Packard.

image

Figure 1.14 Desktop Computer

image

Figure 1.15 Laptop

  • Laptop: A laptop is a portable computer, that is, a user can carry it around. Since the laptop computer resembles a notebook, they are also known as notebooks. Laptops are small computers enclosing all the basic features of a normal desktop computer. The biggest advantage of this computer is that one can use this computer anywhere and at anytime, specially when one is travelling and does not have a proper place to keep it. Moreover, these computers do not need any external power supply as a rechargeable battery is self-contained in them. These computers are expensive as compared to desktop computers.
  • Hand-held Computers: A hand-held, also called Personal Digital Assistant (PDA), is a computer that can conveniently be stored in a pocket (of sufficient size) and used while the user is holding it. PDAs are essentially small portable computers and are slightly bigger than the common calculators. A PDA user generally uses a pen or electronic stylus, instead of a keyboard for input. As shown in Figure 1.16, the monitor is very small and is the only apparent form of output. Since, these computers can be easily fitted on the palmtop, they are also known as palmtop computers. Hand-held computers usually have no disk drives, rather they use small cards to store programs and data. However, they can be connected to printer or a disk drive to generate output or store data. They have limited memory and are less powerful as compared to desktop computers. Some examples of PDAs are Apple Newton, Casio Cassiopeia, and Franklin eBookMan.

    image

    Figure 1.16 Personal Digital Assistant

Mini Computers

In the early 1960s, Digital Equipment Corporation (DEC) started shipping its PDP series computer, which the press described and referred as mini computers. A mini computer is a small digital computer, which normally is able to process and store less data than a mainframe but more than a micro computer, while doing so less rapidly than a mainframe but more rapidly than a micro computer. They are about the size of a two-drawer filing cabinet. Generally, they are used as desktop devices that are often connected to a mainframe in order to perform the auxiliary operations.

Mini computer (sometimes called a mid-range computer) is designed to meet the computing needs for several people simultaneously in a small to medium size business environment. It is capable of supporting from 4 to about 200 simultaneous users. It serves as a centralised storehouse for a cluster of workstations or as a network server. Mini computers are usually multi-user systems and so these are used in interactive applications in industries, research organisations, colleges, and universities. These are also used for real-time controls and engineering design work. High-performance workstations with graphics I/O capability use mini computer. Some of the widely used mini computers are PDP 11, IBM (8000 series), and VAX 7500.

image

Figure 1.17 Mini Computer

Mainframe Computers

A mainframe is an ultra-high performance computer made for high-volume, processor-intensive computing. It consists of a high-end computer processor, with related peripheral devices, capable of supporting large volumes of data processing, high performance on-line transaction processing systems, and extensive data storage and retrieval. Normally, it is able to process and store more data than a mini computer and far more than a micro computer. Moreover, it is designed to perform faster than a mini computer and much faster than a micro computer. Mainframes are the second largest (in capability and size) of the computer family. However, a mainframe can usually execute many programs simultaneously at a high speed, whereas super computers are designed for single processes.

image

Figure 1.18 Mainframe Computer

Mainframe allows its user to maintain large information storage at a centralised location and be able to access and process this data from different computers located at different locations. They are typically used by large businesses and for scientific purposes. Examples of mainframe computers are IBM's ES000, VAX 8000, and CDC 6600.

Super Computers

Super computers are the special purpose machines, which are specially designed to maximise the numbers of FLOPS (Floating Point Operation Per Second). Any computer below one gigaflop/sec is not considered a super computer. A super computer has the highest processing speed at a given time for solving scientific and engineering problems. It basically contains a number of CPUs that operate in parallel to make it faster. Its processing speed lies in the range of 400–10,000 MFLOPS (Millions of Floating Point Operation Per Second). Due to this feature, super computers help in many applications such as information retrieval computer-aided design.

A super computer can process a great deal of information and make extensive calculations very, very quickly. They can resolve complex mathematical equations in a few hours, which would have taken a scientist with paper and pencil a lifetime, or years, using a hand calculator. They are the fastest, costliest and most powerful computers available today. Typically, super computers are used to solve multi-variant mathematical problems of existent physical processes, such as aerodynamics, metrology, and plasma physics. These are also used by military strategists to simulate defence scenarios. Cinematic specialists use them to produce sophisticated movie animations. Scientists build complex models and simulate them in a super computer. Here, it is used to model the actions and reactions of literally millions of atoms as they interact. Super computer has limited use because of its price tag and limited market. The largest commercial uses of super computers are in the entertainment/advertising industry. Examples of super computers are CRAY–3, Cyber 205, and PARAM.

FACT FILE

India's Super Achievement

Recently, India developed the PARAM Padma supercomputer, which marks an important step towards high-performance computing. The PARAM Padma computer was developed by India's Center for Development of Advanced Computer (C-DAC) and promised processing speeds of up to one teraflop per second (1 trillion processes per second).

image

Figure 1.19 Super Computer

1.6 THE COMPUTER SYSTEM

A computer can be viewed as a system, which consists of a number of interrelated components that work together with the aim of converting data into information. In a computer system, processing is carried out electronically, usually with little or no intervention from the user. To attain information, data is entered through input unit, processed by central processing unit (CPU), and displayed through output unit. In addition, computers require memory to process data and store output. All these parts (the central processing unit, input, output, and memory unit) are referred to as hardware of the computer.

The general perception of people regarding the computer is that it is an “intelligent thinking machine”. However, this is not true. Every computer needs precise instructions on what is to be done and how to do it. The instructions given to computers are called programs, which constitute the software. In the following section, we will discuss the hardware components of computer in detail. Computer software is discussed in Chapter 03.

1.6.1 BASIC COMPONENTS OF A COMPUTER SYSTEM

There are several computer systems in the market with a wide variety of makes, models, and peripherals. In general, a computer system comprises the following components:

  • Input Unit: This unit accepts instructions and data.
  • Central Processing Unit (CPU): This unit performs processing of instructions and data inside the computer.
  • Output Unit: This unit communicates the results to the user.
  • Memory/Storage Unit: This unit stores temporary and final results.

image

Figure 1.20 Components of a Computer System

Input Unit

The input unit is formed by attaching various input devices such as keyboard, mouse, light pen, and so on to a computer. An input device is an electromechanical device that accepts instructions and data from the user. Since the data and instructions entered through different input devices will be in different form, the input unit converts them into the form that the computer can understand. After this, the input unit supplies the converted instructions and data to the CPU for further processing.

Central Processing Unit

The central processing unit (CPU) is referred to as “brain” of a computer system and it converts data (input) into meaningful information (output). It is a highly complex, extensive set of electronic circuitry, which executes stored program instructions. It controls all the internal and external devices, performs arithmetic and logic operations, and operates only on binary data, that is, data composed of 1s and 0s. In addition, it also controls the usage of main memory to store data and instructions and controls the sequence of operations.

The central processing unit consists of three main subsystems, the Arithmetic/Logic Unit (ALU), the Control Unit (CU), and the Registers. The three subsystems work together to provide operational capabilities to the computer.

Arithmetic/Logic Unit

The arithmetic/logic unit (ALU) contains the electronic circuitry that executes all arithmetic and logical operations on the data made available to it. The data required to perform the arithmetic and logical functions are inputs from the designated registers. ALU comprises the following two units:

  • Arithmetic unit: The arithmetic unit contains the circuitry that is responsible for performing the actual computing and carrying out the arithmetic calculations, such as addition, subtraction, multiplication, and division. It can perform these operations at a very high speed.

    image

    Figure 1.21 CPU

  • Logic unit: The logic unit enables the CPU to perform logical operations based on the instructions provided to it. These operations are logical comparison between data items. The logic unit can compare numbers, letters, or special characters and can then take action based on the result of the comparison. Logical operations of Logic unit test for three conditions: equal-to condition, less-than condition, and greater-than condition.

Control Unit

The control unit of the CPU contains circuitry that uses electrical signals to direct the entire computer system to carry out, or execute, stored program instructions. This unit checks the correctness of sequence of operations. It fetches program instructions from the primary storage unit, interprets them, and ensures correct execution of the program. It also controls the input/output devices and directs the overall functioning of the other units of the computer.

Registers

Registers are special-purpose, high-speed temporary memory units that hold various types of information such as data, instructions, addresses, and the intermediate results of calculations. Essentially, they hold the information that the CPU is currently working on. Registers can be thought of as CPU's working memory, a special additional storage location that offers the advantage of speed. They work under the direction of the control unit to accept, hold, and transfer instructions or data and perform arithmetic or logical comparisons at high speed.

Output Unit

The output unit is formed by attaching output devices such as printer, monitor, and plotter to the computer. An output device is used to present the processed data (results) to the user. The basic task of output unit is just opposite to that of input unit. It takes the outputs (which are in machine-coded form) from the CPU, converts them into the user understandable form such as characters, graphical, or audio visual, and supplies the converted results to the user with the help of output devices.

image

Figure 1.22 Control Unit

image

Figure 1.23 Registers in CPU

Storage Unit

A computer system incorporates storage unit to store the input entered through input unit before processing starts and to store the results produced by the computer before supplying them to the output unit. The storage unit of a computer comprises two types of memory/storage: primary and secondary. The primary memory holds the instructions and data currently being processed by the CPU, the intermediate results produced during the course of calculations, and the recently processed data. While the instructions and data remain in primary memory, the CPU can access them directly and quickly. Due to the limited size of primary memory, a computer employs secondary memory, which is extensively used for storing data and instructions. It supplies the stored information to other units of the computer as and when required.

1.7 TYPES OF INPUT DEVICES

A computer accepts input in two ways, either manually or directly. In case of manual data entry, the user enters the data into computer by hand, for example, by using keyboard and mouse. A user can also enter data directly by transferring information automatically from a source document (like from cheque using MICR) into the computer. The user does not need to enter information manually. Direct data entry is accomplished by using special direct data entry devices like a barcode reader. Some of the commonly used input devices are keyboard, pointing devices like mouse and joystick, digital camera, and scanners.

image

Figure 1.24 Keyboard

1.7.1 KEYBOARD

A keyboard is the most common data entry device. Using a keyboard, the user can type text and commands. Keyboard is designed to resemble a regular typewriter with a few additional keys. Data is entered into computer by simply pressing keys. The layout of the keyboard has changed very little ever since it was introduced. In fact, the most common change in its technology has simply been the natural evolution of adding more keys that provide additional functionality. The number of keys on a typical keyboard varies from 84 keys to 104 keys.

Portable computers such as laptops quite often have custom keyboards that have slightly different key arrangements than a standard keyboard. In addition, many system manufacturers add special buttons to the standard layout. Keyboard is the easiest input device, as it does not require any special skill. Usually, it is supplied with a computer and so no additional cost is incurred. The maintenance and operational cost of keyboard is also less. However, using a keyboard for data entry may be a slow process because the user has to manually type all the text. In addition, it can be difficult for people suffering from muscular disorder.

1.7.2 POINTING DEVICES

Most computers come with an alphanumeric keyboard but in some applications, keyboard is not convenient. For example, if the user wants to select an item from a list, the user can identify and position those items by selecting them through the keyboard. However, this action could be performed quickly by pointing at the correct position. A pointing device is used to communicate with the computer by pointing to locations on the monitor screen. Such devices do not require keying of characters, instead the user can move a cursor on the screen and perform move, click or drag operations. Some of the commonly used pointing devices are mouse, trackball, joystick, light pen, and touch screen.

FACT FILE

Wireless Keyboard and Mouse

With the increasing use of wireless technology, the wireless versions of keyboard and mouse have also been developed. Rather than connecting through wires, they connect with computer using one of the three technologies, namely, Bluetooth, infra red, or radio frequency. The wireless keyboard requires three AA batteries and the wireless mouse requires two AA lithium batteries to operate. They also have a power switch on the bottom to turn them ON or OFF. The use of wireless devices helps in eliminating the wiring tangles around the PC and provides mobility and flexibility to the user to position him/her self relative to the computer.

Mouse

Mouse is a small hand-held pointing device with a rubber ball embedded at its lower side and buttons on the top. Usually, a mouse contains two or three buttons, which can be used to input commands or information. It may be classified as a mechanical mouse or an optical mouse, based on the technology it uses. A mechanical mouse uses a rubber ball at the bottom surface, which rotates as the mouse is moved along a flat surface, to move the cursor. It is the most common and least expensive pointing device. An optical mouse uses a light beam instead of a rotating ball to detect movement across a specially patterned mouse pad. As the user rolls the mouse on a flat surface, the cursor on the screen also moves in the direction of the mouse's movement. It is pricier than their mechanical counterparts but are accurate and often do not need a mouse pad.

A mouse allows us to create graphic elements on the screen such as lines, curves, and freehand shapes. Since it is an intuitive device, it is easier and convenient to work as compared to the keyboard. Like a keyboard, it is also supplied with a computer; therefore, no additional cost is incurred. However, it needs a flat space close to the computer. The mouse cannot easily be used with laptop (notebook) or palmtop computers. These types of computers need a track ball or a touch sensitive pad called a touchpad.

image

Figure 1.25 Mouse

Trackball

Trackball is another pointing device that resembles a ball nestled in a square cradle and serves as an alternative to a mouse. In general, a trackball is as if a mouse is turned upside down. It has a ball, which when rotated by fingers in any direction, moves the cursor accordingly. The size of the ball in the trackball varies from as large as a cue ball, to as small as a marble. Since it is a static device, instead of rolling the mouse on the top of the table the ball on the top is moved by using fingers, thumbs, and palms. This pointing device comes in various shapes and forms but with the same functions. The three shapes, which are commonly used, are a ball, button, and square.

Like the mouse, a trackball is also used to control cursor movements and the actions on a computer screen. The cursor is activated when buttons on the device are pressed. However, the track ball remains stationary on the surface, only the ball is moved with the fingers or palm of the hand. By moving just the fingers and not the entire arm, the user can get more precision and accuracy, which is why many graphic designers and gamers choose to use trackball instead of mouse. In addition, since the whole device is not moved for moving the graphic cursor, a trackball requires less space than a mouse for operation. Trackball, generally, tends to have more buttons. A lot of computer games enthusiasts and graphic designers also tend to choose to have more buttons to cut down on keyboard use. These extra buttons can also be re-programmed to suit whatever functions they require. Trackballs are not supplied normally so an additional cost is always charged. Moreover, before using them, a user has to learn how to use them.

image

Figure 1.26 Trackball

Joystick

A joystick is a device that moves in all directions and controls the movement of the cursor. The basic design of a joystick consists of a stick that is attached to a plastic base with a flexible rubber sheath. This plastic base houses a circuit board that sits beneath the stick. The electronic circuitry measures the movement of the stick from its central position and sends the information for processing. A joystick also consists of buttons that can be programmed to indicate certain actions once a position on the screen has been selected using stick. It offers three types of control: digital, glide, and direct. Digital control allows movement in a limited number of directions such as up, down, left, and right. Glide and direct control allow movements in all directions (360 degrees). Direct control joysticks have the added ability to respond to the distance and speed with which the user moves the stick.

A joystick is generally used to control the velocity of the screen cursor movement rather than its absolute position. It is used for computer games. The other applications in which it is used are flight simulators, training simulators, CAD/CAM systems, and for controlling industrial robots.

image

Figure 1.27 Joystick

Light Pen

A light pen (sometimes called a mouse pen) is a hand-held electro-optical pointing device which when touched to or aimed closely at a connected computer monitor, will allow the computer to determine where on that screen the pen is aimed. It facilitates drawing images and selects objects on the display screen by directly pointing to the objects. It is a pen like device, which is connected to the machine by a cable. Although named light pen, it actually does not emit light but its light sensitive-diode would sense the light coming from the screen. The light coming from the screen causes the photocell to respond by generating a pulse. This electric response is transmitted to the processor that identifies the position to which the light pen is pointing. With the movement of light pen over the screen, the lines or images are drawn.

image

Figure 1.28 Light Pen

Light pens give user the full range of mouse capabilities without the use of a pad or any horizontal surface. Using light pens, users can interact more easily with applications, in such modes as drag and drop, or highlighting. It is used directly on the monitor screen and it does not require any special hand/eye coordinating skills. Pushing the light pen tip against the screen activates a switch, which allows the user to make menu selections, draw, and perform other input functions. Light pens are perfect for applications where desk space is limited, in harsh workplace environments, and any situation where fast accurate input is desired. It is very useful to identify a specific location on the screen. However, it does not provide any information when held over a blank part of the screen. Light pen is economically priced and requires little or no maintenance.

Touch Screen

A touch screen is a special kind of input device that allows the direct selection of a menu item or the desired icon with the touch of finger. Essentially, it registers the input when a finger or other object is touched to the screen. It is normally used when information has to be accessed with minimum effort. However, it is not suitable for input of large amounts of data. Typically, it is used in information-providing systems like the hospitals, airlines and railway reservation counters, amusement parks, and so on.

image

Figure 1.29 Touch Screen

1.7.3 DIGITAL CAMERA

Digital camera stores images digitally rather than recording them on a film. Once a picture has been taken, it can be transferred to a computer system and then manipulated with an image editing software and printed. The big advantage of digital cameras is that making photos is both inexpensive and fast because there is no film processing.

image

Figure 1.30 Digital Camera

1.7.4 SCANNERS

There are a number of situations when some information (picture or text) is available on paper and is needed on the computer for further manipulation. A scanner is an input device that converts a document into an electronic format that can be stored on the disk. The electronic image can be edited, manipulated, combined, and printed by using the image editing software. The scanners are also called optical scanners as they use a light beam to scan the input data.

Note that most of the scanners come with a utility program that allows it to communicate with the computer and save the scanned image as a graphic file on the computer. Moreover, they can store images in both gray-scale and color mode. The two most common types of scanners are hand-held and flat-bed scanner.

Hand-held Scanner

A hand-held scanner consists of light emitting diodes, which are placed over the document to be scanned. This scanner performs the scanning of the document very slowly from the top to the bottom with its light on. In this process, all the documents are converted and then stored as an image. While working, the scanner is dragged very steadily and carefully over the document at a constant speed without stopping, or jerking in order to obtain best results. Hand-held scanners are widely used where high accuracy is not of much importance. The size of the hand-held scanners is small. They come in various resolutions, up to about 800 dpi (dots per inch) and are available in either grey scale or colour. Furthermore, they are used when the volume of the documents to be scanned is low. These devices read the data on the price tags, shipping labels, inventory part number, book ISBNs, and so on.

image

Figure 1.31 Hand-held Scanner

Flat-bed Scanner

Flat-bed scanners look similar to a photocopier machine. It consists of a box containing a glass plate on its top and a lid that covers the glass plate. This glass plate is used for placing the document to be scanned. The light beam is placed below the glass plate and when it is activated, it moves horizontally from left to right. After scanning one line, the light beam moves in order to scan the next line and the procedure is repeated until all the lines are scanned. For scanning, an A4 size document takes about 20 seconds. These scanners can scan black and white as well as colour images. The flatbed scanners are larger in size and more expensive than the hand-held scanners. However, they usually produce better quality images because they employ better scanning technology.

image

Figure 1.32 Flad-bed Scanner

1.7.5 OPTICAL CHARACTER RECOGNITION (OCR)

As stated earlier, a scanner converts an input document into an electronic format that can be stored on the disk. If the document to be scanned contains an image, it can be manipulated using image editing software. However, if the document to be scanned contains text, you need optical character recognition (OCR) software. This is because when the scanner scans a document, the scanned document is stored as a bitmap in the computer's memory. The OCR software translates the bitmap image of text to the ASCII codes that the computer can interpret as letters, numbers, and special characters.

image

Figure 1.33 An OCR System

Because of OCR, data entry becomes easier, error-free and less time consuming. However, it is very expensive and if the document is not typed properly, it will become difficult for the OCR to recognise the characters. Furthermore, except for tab stops and paragraph marks, most document formatting is lost during text scanning. The output from a finished text scan will be a single column editable text file. This text file will always require spell checking and proof reading as well as re-formatting to get the desired final layout.

1.7.6 OPTICAL MARK RECOGNITION (OMR)

Optical mark recognition is the process of detecting the presence of intended marked responses. A mark registers significantly less light than the surrounding paper. Optical mark reading is done by a special device known as optical mark reader. In order to be detected by the OMR reader, a mark has to be positioned correctly on the paper and should be significantly darker than the surrounding paper. The OMR technology enables a high speed reading of large quantities of data and transferring this data to computer without using a keyboard. Generally, this technology is used to read answer sheets (objective type tests). In this method, special printed forms/documents are printed with boxes, which can be marked with dark pencil or ink. These forms are then passed under a light source and the presence of dark ink is transformed into electric pulses, which are transmitted to the computer.

OMR has a better recognition rate than OCR because fewer mistakes are made by machines to read marks than in reading handwritten characters. Large volumes of data can be collected quickly and easily without the need for specially trained staff. Usually, an OMR reader can maintain a throughput of 1500 to 10000 forms per hour. However, the designing of documents for optical mark recognition is complicated and the OMR reader needs to be reprogrammed for each new document design. OMR readers are relatively slow because the person putting marks on the documents must follow the instructions precisely. Any folding or dirt on a form may prevent the form from being read correctly. In addition, it requires accurate alignment of printing on forms and needs a paper of good quality.

image

Figure 1.34 Questionnaire using OMR Marks

1.7.7 MAGNETIC INK CHARACTER READER (MICR)

You must have seen special magnetic encoding using characters, printed on the bottom of a cheque. The characters are printed using special ink, which contains iron particles that can be magnetised. To recognise these magnetic ink characters, a magnetic ink character reader (MICR) is used. It reads the characters by examining their shapes in a matrix form and the information is then passed on to the computer.

The banking industry prefers MICR to OCR as MICR gives extra security against forgeries such as colour copies of payroll cheques or hand-altered characters on a cheque. If a document has been forged, say a counterfeit check produced using a colour photocopying machine, the magnetic-ink line will either not respond to magnetic fields, or will produce an incorrect code when scanned using a device designed to recover the information in the magnetic characters. The reading speed of the MICR is also higher. This method is very efficient and time saving for data processing.

image

Figure 1.35 Cheque Number Written in MICR Font

1.7.8 BAR CODE READER

Bar code is a machine-readable code in the form of a pattern of parallel vertical lines of varying widths. It is commonly used for labelling goods that are available in super markets and numbering books in libraries. This code is sensed and read by a bar code reader using reflective light. The information recorded in bar code reader is then fed into the computer, which recognises the information from the thickness and spacing of bars. Bar code readers are either hand-held or fixed-mount. Hand-held scanners are used to read bar codes on stationary items. With fixed-mount scanners, items having a bar code are passed by the scanner – by hand as in retail scanning applications or by conveyor belt in many industrial applications.

Bar code data correction systems provide enormous benefits for just about every business with a bar code data-collection solution, capturing data is faster and more accurate. A bar code scanner can record data five to seven times faster than a skilled typist. A bar code data entry has an error rate of about 1 in 3 million. Bar coding also reduces cost in terms of labour and revenue losses resulting from data collection errors. Bar code readers are widely used in supermarkets, department stores, libraries, and other places. You must have seen bar codes on the back cover of certain books and greeting cards. Retail and grocery stores use a bar code reader to determine the item being sold and to retrieve the item price from a computer system.

FACT FILE

Bar Code Data

The bar code data is just a reference number, which the computer uses to look up associated record file(s), which contain descriptive information. For example, the bar codes found on food items do not contain the price or other description; instead the bar code has a product number in it. When read by a bar code reader and transmitted to the computer, the computer finds the disk record file(s) associated with that item number. This file contains the price, vendor name, and other information.

Bar code scanners are electro-optical systems that include a means of illuminating the symbol and measuring reflected light. The light waveform data is converted from analog to digital, in order to be processed by a decoder, and then transmitted to the computer software. The process begins when a device directs a light beam over a bar code. The device contains a small sensory reading element, called sensor, which detects the light being reflected back from the bar code, and converts light energy into electrical energy. The result is an electrical signal that can be converted into an alphanumeric data. The pen in the bar code unit reads the information stored in the bar code and converts it into a series of ASCII characters by which the operating system gets the information stored in the bar code.

image

Figure 1.36 Bar Code Reader

1.8 TYPES OF OUTPUT DEVICES

Output is data that has been processed into useful information. It can be displayed or viewed on a monitor, printed on a printer, or listened through speakers or a headset. Generally, there are two basic categories of output: the output, which can be readily understood and used by the humans, and which is stored on secondary storage devices so that the data can be used as input for further processing. The output, which can be easily understood and used by human beings, are of the following two forms:

  • Hard Copy: The physical form of output is known as hard copy. In general, it refers to the recorded information copied from a computer onto paper or some other durable surface such as microfilm. Hard copy output is permanent and a relatively stable form of output. This type of output is also highly portable. Paper is one of the most widely used hard copy output media. The principal examples are printouts, whether text or graphics, from printers.
  • Soft Copy: The electronic version of an output, which usually resides in computer memory and/or on disk, is known as soft copy. Unlike hard copy, soft copy is not a permanent form of output. It is transient and is usually displayed on the screen. This kind of output is not tangible, that is, it cannot be touched. Soft copy output includes audio and visual form of output, which is generated using a computer. In addition, textual or graphical information displayed on a computer monitor is also soft copy form of output.

Based on the hard copy and soft copy outputs, the output devices are classified into: hard copy and soft copy output devices. Printers and plotters are the most commonly used hard copy output devices. The commonly used soft copy output device is computer monitor.

1.8.1 PRINTERS

Since the dawn of the computer age, producing printed output on paper has been one of the computer's principal functions. A printer prints information and data from the computer onto a paper. Generally, the printer prints 80 or l32 columns of characters in each line, and prints either on single sheets, or on a continuous roll of paper, depending upon the printer itself. The quality of a printer is determined by the clarity of a print it can produce, that is, its resolution. Resolution is used to describe the sharpness and clarity of an image. The higher the resolution, the better the image. For printers, the resolution is measured in dpi (dots per inch). The more dots per inch, the better will be the quality of image. The dots are so small and close together that they project the image as a solid one. If a printer has a resolution of 600 dpi, it means that the printer is capable of printing 360,000 dots per square inch.

Printers are divided into two basic categories: impact printers and non-impact printers. As their names specify, impact printers work by physically striking a head or needle against an ink ribbon to make a mark on the paper. This includes dot matrix printers, daisy wheel printers, and drum printers. In contrast, inkjet and laser printers are non-impact printers. They use techniques other than physically striking the page to transfer ink onto the page.

Dot Matrix Printer

Dot matrix printer (also known as the wire matrix printer) uses the oldest printing technology and it prints one character at a time. It prints characters and images as pattern of dots. The speed of dot matrix printers is measured in characters per second (cps). Most dot matrix printers offer different speeds depending on the quality of print desired. The speed can vary from about 200 to over 500 cps. The print quality is determined by the number of pins (the mechanisms that print the dots), which can vary from 9 to 24. The more pins per inch, the higher the print resolution. The best dot matrix printers (24 pins) can produce near letter-quality type image. Most dot matrix printers have a resolution ranging from 72-360 dpi.

image

Figure 1.37 Dot Matrix Printer

Dot matrix printers are inexpensive and have low operating costs. These printers are able to use different types of fonts, different line densities, and different types of paper. Many dot matrix printers are bi-directional, that is, they can print the characters from either direction, left or right. The major limitation of dot matrix printer is that it prints only in black and white. In addition, as compared to printers like laser printers, they produce low to medium quality printing. The image printing ability is also very limited. These printers may not be able to print graphic objects adequately but can handle applications such as accounting, personnel, and payroll very well. Dot matrix printers are commonly used in low-cost, low-quality applications like cash registers. These printers are limited to situations where carbon copies are needed and the quality is not too important.

Daisy Wheel Printer

The major drawback of dot matrix printer is that the pattern of dots that make up each character are visible on the print produced by it, making it look unprofessional. If you need a printer that can produce professional letter quality documents, you need a daisy wheel printer. Daisy wheel printer is named so because the print head of this printer resembles a daisy flower, with the printing arms that appear like the petals of the flower. These printers are commonly referred to as letter quality printers as the print quality is as good as that of a high-quality typewriter.

image

Figure 1.38 Daisy Wheel Printer

Daisy wheel printers produce high-resolution output and are more reliable than dot matrix printers. They can have speed up to 90 cps. These printers are also called smart printers because of its bidirectional printing and built-in microprocessor control features. However, daisy wheel printers give only alphanumeric output. They cannot print graphics and cannot change fonts unless the print wheel is physically replaced. These printers are usually very slow because of the time required to rotate the print wheel for each character desired. Daisy wheel printers are slower and more expensive than dot matrix printers. However, if the appearance of the correspondence is important and you do not need graphics, a daisy wheel printer is a better choice.

Drum Printer

The dot matrix and daisy wheel printer are character or serial printers, that is, they print one character at a time. However, drum printer is a line printer, it can print a line in a single operation. Generally, line printer is used because of its speed as it uses special tractor-fed paper with pre-punched holes along each side. This arrangement allows a continuous high-speed printing. Its printing speed varies from 300 lines to 2000 lines per minute with 96 to 160 characters on a 15-inch line. Although such printers are much faster than character printers, they tend to be quite loud, have limited multi-font capability, and often produce lower print quality than most recent printing technologies. Line printers are designed for heavy printing applications. For example, in businesses where enormous amounts of materials are printed, the low speed character printers are very slow; therefore, the user need high-speed line printers. Although, drum printers have high speed of printing, they are very expensive and their character fonts cannot be changed. Moreover, the strike of the hammer should be precise. A single mistimed strike of the hammer may lead to wavy and slightly blurred printing.

image

Figure 1.39 Drum Printer

Ink-jet Printer

The most common type of printer found in homes today is the ink-jet printer. An ink-jet printer is a printer that places extremely small droplets of ink onto paper to create an image. Being a non-impact printer, it does not touch the paper while creating an image. Instead, it uses a series of nozzles to spray drops of ink directly onto the paper. Ink-jets were originally manufactured to print in monochrome (black and white) only. However, the print head has now been expanded and the nozzles increased to accommodate cyan (C), magenta (M), yellow (Y), and black (K). This combination of colours is called CMYK. It allows for printing images with nearly the same quality as a photo development lab using certain types of coated paper.

image

Figure 1.40 Ink-jet Printer

Ink-jet printers are costlier than dot matrix printers but the quality is much better. These printers can print any shape of character, which a user can specify as they produce printed output as pattern of tiny dots. This allows the printer to print many special characters, different sizes of print, and enables it to print graphics such as charts and graphs. Ink-jet printers typically print with a resolution of 600 dpi or more. Due to the high resolution, these printers produce high quality graphics and text printouts. They are also affordable, which appeals to small businesses and home offices. These printers print documents at a medium pace but slow down if printing a document with multi-colours. These printers can print about 6 pages a minute and can be programmed to print symbols such as Japanese or Chinese characters.

image

Figure 1.41 Laser Printer

Laser Printer

A laser printer provides the highest quality text and images for personal computers today. It is a very fast printer, which operates on the same principle as that of a photocopy machine. Most laser printers can print text and graphics with a very high quality resolution. They are also known as page printers because they process and store the entire page before they actually print it. They produce sharp, crisp images of both text and graphics, providing resolutions from 300 to 2400 dpi. Today, the resolution of most printers is 600 dpi. They are quiet and fast, able to print 4-32 text-only pages per minute for individual microcomputers and up to 200 pages per minute for mainframes. Laser printers can print in excess of 2000 lines per minute. Furthermore, they can print in different fonts, that is, type styles and sizes. Laser printers are often faster than ink-jet printers but are more expensive to buy and maintain than the other printers. The cost of these printers depends on a combination of costs of paper, toner replacement, and drum replacement. These printers are useful for volume printing because of their speed.

1.8.2 PLOTTERS

A plotter is a pen-based output device that is attached to a computer for making vector graphics, that is, images created by a series of many straight lines. It is used to draw high-resolution charts, graphs, blueprints, maps, circuit diagrams, and other line-based diagrams. It is similar to printer, but it draws lines using a pen. As a result, it can produce continuous lines, whereas printer can only simulate lines by printing a closely spaced series of dots. Multicolour plotter uses different-coloured pens to draw different colours. Colour plots can be made by using four pens (cyan, magenta, yellow, and black) and need no human intervention to change them.

Being vector-based, a plotter tends to draw much crisper lines and graphics. The lines drawn by these devices are continuous and very accurate. However, plotter is considered a very slow output device because it requires excessive mechanical movement to plot. Furthermore, it is unable to produce solid fills and shading. Plotters are relatively expensive as compared to printers but can produce more printouts than standard printers. They are mainly used for Computer Aided Design (CAD) and Computer Aided Manufacturing (CAM) applications such as printing out plans for houses or car parts. These are also used with programs like AUTOCAD (computer assisted drafting) to give graphic outputs. There are two different types of plotters, drum plotter (where the paper moves) and flat-bed plotter (where the paper is stationary).

  • Drum Plotter: In drum plotters, the paper on which the design is to be printed is placed over a drum. These plotters consist of one or more pen(s) that are mounted on a carriage which is horizontally placed across the drum. The drum can rotate in either clockwise or anti-clockwise direction under the control of plotting instructions sent by computer. In case, a horizontal line is to be drawn, the horizontal movement of a pen is combined with the vertical movement of a page via the drum. The curves can also be drawn by creating a sequence of very short straight lines. In these plotters, each pen can have ink of different colour to produce multicolour designs. Drum plotters are used to produce continuous output such as plotting earthquake activity or for long graphic output such as tall building structures.

    image

    Figure 1.42 Plotters

  • Flat-bed Plotter: Flat-bed plotters consist of a stationary horizontal plotting surface on which paper is fixed. The pen is mounted on a carriage, which can move horizontally, vertically, leftwards or rightwards to draw lines. In flat-bed plotters, the paper does not move, the pen-holding mechanism provides all the motion. These plotters are instructed by the computer on the movement of pens in the x-y coordinates on the page. These plotters are capable of working on any standard, that is, from A4 size paper to some very big beds. Depending on the size of the flat-bed surface, these are used in designing of ships, aircrafts, buildings, and so on. The major disadvantage of this plotter is that it is a slow output device and can take hours to complete a complex drawing.

1.8.3 COMPUTER MONITOR

The monitor is the most frequently used output device for producing soft-copy output. A computer monitor is a TV like display attached to the computer on which the output can be displayed and viewed. The computer monitor can either be a monochrome display or a colour display. A monochrome screen uses only one colour (usually white, green, amber or black) to display text on contrasting background. Colour screens commonly display 256 colours at one time from a selection of over 256,000 choices. Monitors are available in various sizes like 14, 15, 17, 19, and 21 inches. The size of the display is described based on two parameters: aspect ratio and screen size. Aspect ratio is the ratio of the width of the display screen to the height, that is, the ratio of vertical points to the horizontal points necessary to produce equal-length lines in both directions on the screen. Generally, computer displays have an aspect ratio of 4:3. Like televisions, screen sizes are normally measured diagonally (in inches), the distance from one corner to the opposite corner.

image

Figure 1.43 Aspect Ratio and Screen Size

Sometimes, while watching television, you may notice that the picture looks a bit blurred. The reason behind this is that the displayed image is not solid but is created by the configurations of dots. These dots are known as picture elements, pels, or simply pixels. The golden rule of a sharp image is that the more the pixels, the sharper the picture. The screen clarity depends on three basic qualities:

  • Resolution: It refers to the number of pixels in the horizontal and vertical directions on the screen. In medium resolution graphics, pixels are large, whereas in high-resolution graphics, pixels are small. The average CRT display is currently 800 × 600 or 1024 × 768. The more dots, or pixels, available to create the image, the sharper it will be. Therefore, a resolution of 1024 × 768 will produce sharper images (for example, smaller icons and more information) than one of 640 × 480.
  • Dot Pitch: It is the measurement of the diagonal distance between two like-coloured (red, green or blue) pixels on a display screen. It is measured in millimetres and common dot pitches are .51 mm, .31 mm, .28 mm, .27mm, .26 mm, and .25 mm. Smaller the dot pitch, sharper will be the image when displayed on the monitor. Generally, a dot pitch of less than .31 mm provides clear images. Multimedia and desktop-publishing users typically use .25 mm dot-pitch monitors.
  • Refresh Rate: It is the number of times per second the pixels are recharged so that their glow remains bright. Normally, screen pixels are made from phosphor. An electron beam strikes the phosphor and causes it to emit light, resulting in the display of the image. However, it needs to be refreshed periodically because the phosphors hold their glow for just a fraction of a second. The refresh rate for a monitor is measured in Hertz (Hz) and varies from 60-75Hz. A refresh rate of 60Hz means image is redrawn 60 times a second. The higher the refresh rate, the more solid the image looks on the screen, that is, it does not flicker.

image

Figure 1.44 Dot Pitch

Cathode Ray Tube (CRT) Monitors

Nowadays, most computer monitors are based on Cathode Ray Tube (CRT) technology. The basic operation of these tubes is similar to that in television sets. Figure 1.45 illustrates the basic components of a CRT.

A beam of electrons (cathode rays) emitted by an electron gun passes through focusing and deflection systems that direct the beam toward specified positions on the phosphor-coated screen. The phosphor then emits a small spot of light at each position contacted by the beam. When the electron beam strikes the phosphors, the light is emitted for a short period of time, this condition is known as persistence. Technically, persistence is defined as the time it takes the emitted light from the screen to decay to 1/10 of its original intensity. Graphics monitors are usually constructed with persistence in the range from 10 to 60 microseconds. Since the light emitted by the phosphor fades very rapidly, some method is needed for maintaining the screen picture. One way to keep the phosphor glowing is to redraw the picture repeatedly by quickly directing the electron beam back over the same points. This type of display is called a refresh CRT.

The primary components of an electron gun in a CRT are the heated metal cathode and a control grid. Heat is supplied to the cathode by directing a current through a coil of wire, called the filament, inside the cylindrical cathode structure. This causes electrons to be ‘boiled off’ the hot cathode surface. In the vacuum inside the CRT envelope, the free, negatively charged electrons are then accelerated toward the phosphor coating by a highly positive voltage. The accelerating voltage can be generated with a positively charged metal coating on the inside of the CRT envelope near the phosphor screen, or an accelerating anode can be used, as in Figure 1.45. Note that sometimes the electron gun is built to contain the accelerating anode and focusing system within the same unit.

Before reaching the phosphor-coated screen, the electrons have to be passed through the monitor's focusing system. The focusing system is initially set up to focus the electron flow into a very thin beam and then in a specific direction. Focusing can be accomplished either by electric or by magnetic fields.

When the electrons in the beams collide with the phosphor coating, their kinetic energy is absorbed by the phosphor. Some of this energy is converted into heat while rest of the energy causes the electrons in the phosphors to move up to the higher energy levels. After this, when these electrons begin to return to the ground state, they emit light at certain frequencies. These frequencies are proportionate to the energy difference between the higher state and the ground state. As a result, the image, which we see on the screen, is the combination of all the electron light emissions.

image

Figure 1.45 Cathode Ray Tube

Liquid Crystal Display (LCD) Monitors

In the previous section, we discussed the most popular CRT monitors that are used as the display devices. With the widespread use of smaller computers like PDAs and laptops, a new type of display Liquid Crystal Display (LCD) has made a big impact on computer market. LCD screens have been used since long on notebook computers but are also becoming popular as a desktop monitor.

The term liquid crystal sounds like a contradiction. We generally conceive a crystal as a solid material like quartz and a liquid as water like fluid. However, some substances can exist in an odd state that is semi-liquid and semi-solid. When they are in this state, their molecules tend to maintain their orientation like the molecules in a solid, but also move around to different positions like the molecules in a liquid. Thus, liquid crystals are neither a solid nor a liquid. Manufacturers use this amazing ability of liquid crystals to display images.

A LCD screen is a collection of multiple layers. A fluorescent light source, known as the backlight, makes up the rearmost layer. Light passes through the first of two polarising filters. The polarised light then passes through a layer that contains thousands of liquid crystal blobs aligned in tiny containers called cells. These cells are aligned in rows across the screen; one or more cells make up one pixel. Electric leads around the edge of the LCD create an electric field that twists the crystal molecule, which lines the light up with the second polarising filter and allows it to pass through.

The process illustrated in Figure 1.46 is followed for a simple monochrome LCD. However, colour LCD is more complex. In a coloured LCD panel, each pixel is made up of three liquid crystal cells. In front of each of these cells, there is a red, green, or blue filter. Light passing through the filtered cells creates the colours on the LCD. Nowadays, nearly every colour LCD uses a thin-film transistor (TFT), also known as an active matrix, to activate each cell. TFT-based LCD creates sharp, bright images as compared to previous LCD technologies. The oldest of the matrix technologies, passive-matrix, offers sharp text but leaves “ghost images” on the screen when the display changes rapidly, making it less than optimal for moving video.

image

Figure 1.46 Coloured Liquid Crystal Screen

A LCD addresses each pixel individually. As a result, they can create sharper text than CRTs. However, LCD has only one ‘natural’ resolution, limited by the number of pixels physically built into the display. If you want to move up to, say, 1024 by 768 LCD on an 800 by 600 LCD, you have to emulate it with software, which will work only at certain resolutions.

1.9 TYPES OF MEMORY

We can classify memory into two broad categories: primary memory and secondary memory.

1.9.1 PRIMARY MEMORY

Primary Memory, also known as main memory, stores data and instructions for processing. Logically, it is an integral component of the CPU but physically, it is a separate part placed on the computer's motherboard (also known as main board). Primary memory can be further classified into random access memory (RAM) and read only memory (ROM).

Random Access Memory

Random access memory is like the computer's scratch pad. It allows the computer to store data for immediate manipulation and to keep track of what is currently being processed. It is the place in a computer where the operating system, application programs, and data in current use are kept so that they can be accessed quickly by the computer's processor. RAM is much faster to read from and write to than the other kinds of storage in a computer like the hard disk or floppy disk. However, the data in RAM stays there only as long as the computer is running. When the computer is turned off, RAM loses all its contents. When the computer is turned on again, the operating system and other files are once again loaded into RAM. When an application program is started, the computer loads it into RAM and does all the processing there. This allows the computer to run the application faster. Any new information that is created is kept in RAM and since RAM is volatile in nature, one needs to continuously save the new information to the hard disk.

image

Figure 1.47 Random Access Memory

Let us take a simple example of why RAM is used by the computer. Whenever a user enters a command from the keyboard, the CPU interprets the command and instructs the hard disk to ‘load’ the command or program into main memory. Once the data is loaded into memory, the CPU is able to access it much quickly. The reason behind this is that the main memory is much faster than secondary memory. The process of putting things the CPU needs in a single place from where it can get them more quickly is similar to placing various documents, which the user needs, into a single file folder. By doing so, the user finds all the required files handy and avoids searching in several places every time he needs them.

Note: Random access memory is also called read/write memory because, unlike read only memory (ROM) that does not allow any write operation, random access memory allows CPU to read as well as write data and instructions.

Read Only Memory (ROM)

Just as a human being needs instructions from the brain to perform actions in certain event, a computer also needs special instructions every time it is started. This is required because during the start up operation, the main memory of the computer is empty due to its volatile property so there has to be some instructions (special boot programs) stored in a special chip that could enable the computer system to perform start up operations and transfer the control to the operating system. This special chip, where the start up instructions are stored, is called ROM. It is non-volatile in nature, that is, its contents are not lost when the power is switched off. The data and instructions stored in ROM can only be read and used but cannot be altered thereby making ROM much safer and secure than RAM. ROM chips are used not only in the computer but also in other electronic items like washing machine and microwave oven.

image

Figure 1.48 ROM BIOS Chip

Generally, designers program ROM chips at the time of manufacturing circuits. Burning appropriate electronic fuses to form patterns of binary information does programming. These patterns of binary information are meant for specific configurations, that is why different categories of computers are meant for performing different tasks. For example, a micro program called system boot program contains a series of start-up instructions to check for the hardware, that is, I/O devices, memory, and operating system in the memory. These programs deal with low-level machine functions and are alternate for additional hardware requirement. ROM performs the necessary BIOS (Basic Input Output System) function to start the system and then transfers the control over to the operating system.

ROM can have data and instructions written into it only one time. Once a ROM chip is programmed, it cannot be reprogrammed or rewritten.. If it is erroneous, or the data needs to be reorganised, one has to replace it with the new chip. Thus, the programming of ROM chips should be perfect having all the required data at the time of its manufacturing. Note that in some instances, ROM can be changed using certain tools. For example, flash ROM (a type of ROM) is non-volatile memory that occasionally can be changed such as when a BIOS chip must be updated. The ROM chips can consume very little power, are extremely reliable, and in case of most small electronic devices, contain all the necessary programming to control the device.

1.9.2 SECONDARY MEMORY

Secondary Memory, also known as auxiliary or external memory is used for storing instructions (software programs) and data, since main memory is temporary and limited in size. This memory is least expensive and has much larger storage capacity than primary memory. Instructions and data stored on such storage devices are permanent in nature. It can be removed only if the user wants or if the device is destroyed.

Floppy Disk

A floppy disk is a round, flat piece of Mylar plastic coated with ferric oxide (a rust like substance containing tiny particles capable of holding a magnetic field) and encased in a protective plastic cover (disk jacket). It is a removable disk and is read and written by a floppy disk drive (FDD), which is a device that performs the basic operation on a disk, including rotating the disk and reading and writing data onto it. The disk drive's read/write head alters the magnetic orientation of the particles, where orientation in one-direction represents ‘1’ and orientation in the other represents ‘0’.

Traditionally, floppy disks were used on personal computers to distribute software, transfer data between computers, and create small backups. Earlier, 5¼-inch floppy disks were used. Later, a new format of 3½-inch floppy disk came into existence, which has larger storage capacity and supports faster data transfer as compared to 5¼-inch floppy disks. Floppy diskettes are small, inexpensive, readily available, easy to store, and have a good shelf life if stored properly. They also possess the write-protect feature, which allows the users to protect a diskette from being written on. To write-protect a diskette, the user has to shift a slide lever towards the edge of the disk, uncovering a hole. The key advantage of floppy disk is that it is portable.

image

Figure 1.49 3½‘’ Floppy Disk

Read/write Operation of a Floppy Disk

To read and write data onto a floppy disk, floppy disk drive is used. The drive is made up of a box with a slot (having a drive gate) into which user inserts the disk. When user inserts a disk into the floppy disk drive, the drive grabs the disk and spins it inside its plastic jacket. Also the drive has multiple levers that get attached to the disk. One lever opens the metal plate, or shutter, to expose the data access area. Other levers and gears move two read/write heads until they almost touch the diskette on both sides. The drive's circuit board receives instructions for reading/writing the data from/to disk through the floppy drive controller. If the data is to be written onto the disk, the circuit board first verifies that no light is visible through a small window in the floppy disk. If the photo sensor on the opposite side of the floppy disk detects a beam of light, the floppy drive detects disk to be write-protected and does not allow recording of data.

The circuit board translates the instructions into signals that control the movement of the disk and the read/write heads. A motor located beneath the disk spins a shaft that engages a notch on the hub of the disk, causing the disk to spin. When the heads are in the correct position, electrical impulses create a magnetic field in one of the heads to write data to either the top or bottom surface of the disk. Similarly, on reading the data, electrical signals are sent to the computer from the corresponding magnetic field generated by the metallic particle on the disk.

image

Figure 1.50 Floppy Disk Drive

Since the floppy disk head touches the diskette, both media and head wear out quickly. To reduce wear and tear, personal computers retract the heads and stop the rotation when a drive is not reading or writing. Consequently, when the next read or write command is given, there is a delay of about half a second while the motor gathers maximum speed.

Hard Disk

The hard disk, also called the hard drive or fixed disk, is the primary storage unit of the computer. It consists of a stack of disk platters that are made up of aluminium alloy or glass substrate coated with a magnetic material and protective layers. They are tightly sealed to prevent any dust particle, which causes head crash, from getting inside. Hard disk can be external (removable) or internal (fixed) and can hold a large amount of data. The capacity that is the amount of information that a hard disk can store is measured in bytes. A typical computer today comes with 80-320 GB of hard disk. The storage capacity of hard disk has increased dramatically since the day it was introduced. The hard disk speed is measured in terms of access time (typically in milliseconds). A hard disk with lower access time is faster than a hard disk with higher access time; the lower the access time, the faster the hard disk.

image

Figure 1.51 Hard Disk Drive

Read/write Operation of a Hard Disk

A hard disk uses round, flat disks (platters) made up of glass or metals which are coated on both sides with a special material designed to store information in the form of magnetic patterns. Each platter has its information recorded in tracks, which are further broken down into smaller sectors. Making a hole in the centre of platters and stacking them onto a spindle mount the platters. The platters rotate at high speed, driven by a special motor connected to the spindle. Special electromagnetic read/write heads are mounted onto sliders and are used to either record data onto the disk or read data from it. The sliders are mounted onto arms, all of which are mechanically connected into a single assembly and positioned over the surface of the disk by a device called actuator. Each platter has two heads, one on the top of the platter and one on the bottom, so a hard disk with three platters would have six surfaces and six heads.

Data is recorded onto the magnetic surface of the disk in exactly the same way as it is on floppies. However, a disk controller is attached to the hard disk drive that handles the read/write commands issued by the operating system. Each read/write command specifies a disk address that comprises the surface number, track number, and sector number. With this information, the read/write head moves to the desired sector and data can be read from or written to. Usually, the next set of data to be read is sequentially located on the disk.

Note that unlike floppy drives, in which the read/write heads actually touch the surface of the material, the heads in most hard disks float slightly off the surface. Nevertheless, the distance between the head and the disk surface is much less compared to the thickness of a human hair. When the heads accidentally touch the media, either because the drive is dropped or bumped hard or because of an electrical malfunction, the surface becomes scratched. Any data stored where the head has touched the disk is lost. This is called a head crash. To help reduce the possibility of a head crash, most disk controllers park the heads over an unused track on the disk when the drive is not being used by the CPU.

image

Figure 1.52 Distance between Head and Disk Surface

Magnetic Tape

Magnetic tape appears similar to the tape used in music cassettes. It is a plastic tape with magnetic coating on it. The data is stored in the form of tiny segments of magnetised and demagnetised portions on the surface of the material. Magnetised portion of the surface refers to the bit value ‘1’ whereas the demagnetised portion refers to the bit value ‘0’. Magnetic tapes are available in different sizes, but the major difference between different magnetic tape units is the speed at which the tape is moved past the read/write head and the tape's recording density. The amount of data or the number of binary digits that can be stored on a linear inch of tape is the recording density of the tape.

Magnetic tapes are very durable and can be erased as well as reused. They are the cheap and reliable storage medium for organising archives and taking backups. However, they are not suitable for data files that need to be revised or updated often because data on them is stored in a sequential manner. Every time the user needs to advance or rewind the tape to the position where the requested data starts. Tapes are also slow due to the nature of the media. If the tape stretches too much, then it will render it unusable for data storage and may result in data loss. The tape now has a limited role because disk has proved to be a superior storage medium than it. Today, the primary role of the tape drive is limited to backing up or duplicating the data stored on the hard disk to protect the system against loss of data during power failures or computer malfunctions.

Magnetic Tape Organisation

The magnetic tape is divided into vertical columns (frames) and horizontal rows (channels or tracks). The data is stored in a string of frames with one character per frame and each frame spans multiple tracks (usually 7 or 9 tracks). Thus, a single bit is stored in each track, that is, one byte per frame. The remaining track (7th or 9th) stores the parity bit. When a byte is written to the tape, the number of 1s in the byte is counted, the parity bit is then used to make number of 1s even (even parity) or odd (odd parity). When the tape is read again, the parity bit is checked to see if any bit has been lost. In case of odd parity, there must be an odd number of 1s represented for each character and an even number of 1s in case of even parity.

Magnetic tape drive uses two reels, supply reel and take-up reel. Both reels are mounted on the hubs and the tape moves from the supply reel to the take-up reel. Figure 1.54 shows the basic tape drive mechanism. The magnetic oxide coated side of the tape passes directly over the read/write head assembly, thus making contact with the heads. As the tape passes under the read/write head, the data can be either read and transferred to the primary memory or read from primary memory and written onto the tape.

image

Figure 1.53 Representing Data in Magnetic Tape

A magnetic tape is physically marked to indicate the location from where reading and writing on tape is to begin (BOT or beginning of tape) and end (EOT or end of tape). The length of tape between BOT and EOT is referred to as the usable recording (reading/ writing) surface. BOT/EOT markers are usually made up of short silver strips of reflective type. These markers are sensed by an arrangement of lamps and/or photodiode sensors to indicate the location from where reading and writing is to begin and end. On a magnetic tape, data is recorded in form of blocks where each block consists of a grouping of data (known as records) that is written or read in a continual manner. Between these blocks, the computer automatically reserves some blank space called inter-block gap (IBG). One block may contain one or more records that are again separated by blank space (usually 0.5 inch) known as inter-record gap (IRG). In case of reading data from a moving tape, whenever an IRG is reached, the moving tape is stopped. It remains in immobile motion until the record is processed.

image

Figure 1.54 Basic Tape Drive Mechanism

1.10 APPLICATIONS OF COMPUTER

In the last few decades, computer technology has revolutionised the businesses and other aspects of human life all over the world. Practically, every company, large or small, is now directly or indirectly dependent on computers for data processing. Computer systems also help in the efficient operations of railway and airway reservation, hospital records, accounts, electronic banking, and so on. Computers not only save time, but also save paper work. Some of the areas where computers are being used are listed below.

image

Figure 1.55 Information Format of Magnetic Tape

  • Science: Scientists have been using computers to develop theories, to analyse, and test the data. The fast speed and the accuracy of the computer allow different scientific analyses to be carried out. They can be used to generate detailed studies of how earthquakes affect buildings or pollution affects weather pattern. Satellite-based applications have not been possible without the use of computers. It would also not be possible to get the information of our solar system and the cosmos without computers.
  • Education: Computers have also revolutionised the whole process of education. Currently, the classrooms, libraries, and museums are utilising computers to make the education much more interesting. Unlike recorded television shows, Computer Aided Education (CAE) and Computer Based Training (CBT) packages are making learning much more interactive.
  • Medicine and Health Care: There has been an increasing use of computers in the field of medicine. Now, doctors are using computers right from diagnosing the illness to monitoring a patient's status during complex surgery. By using automated imaging techniques, doctors are able to look inside a person's body and can study each organ in detail (such as CAT scans or MRI scans), which was not possible few years ago. There are several examples of special purpose computers that can operate within the human body such as a cochlear implant, a special kind of hearing aid that makes it possible for deaf people to hear.
  • Engineering/Architecture/Manufacturing: The architects and engineers are extensively using computers in designing and drawings. Computers can create objects that can be viewed from all the three dimensions. By using techniques like virtual reality, architects can explore houses that have been designed but not built. The manufacturing factories are using computerised robotic arms in order to perform hazardous jobs. Besides, Computer Aided Manufacturing (CAM) can be used in designing the product, ordering the parts, and planning production. Thus, computers help in coordinating the entire manufacturing process.
  • Entertainment: Computers are finding greater use in entertainment industry. They are used to control the images and sounds. The special effects, which mesmerise the audience, would not have been possible without the computers. In addition, computerised animation and colourful graphics have modernised the film industry.
  • Communication: E-mail or Electronic Mail is one of the communication media in which computer is used. Through e-mail, messages and reports are passed from one person to one or more persons with the aid of computer and telephone line. The advantage of this service is that while transferring the messages it saves time, avoids wastage of paper, and so on. Moreover, the person who is receiving the messages can read the messages whenever he is free and can save it, reply it, forward it or delete it from the computer.
  • Business Application: This is one of the important uses of the computer. Initially, computers were used for batch processing jobs, where one does not require the immediate response from the computer. Currently, computers are mainly used for real time applications (like at the sales counter) that require immediate response from the computer. There are various concerns for which computers are used such as in business forecasting, to prepare pay bills and personal records, in banking operations and data storage, in various types of Life Insurance Business, and as an aid to management. Businesses are also using the networking of computers, where a number of computers are connected together to share the data and the information. Use of e-mail and Internet has changed the ways of doing business.
  • Publishing: Computers have created a field known as DTP (Desktop Publishing). In DTP, with the help of computer and a laser printer one can perform the publishing job all by oneself. Many of the tasks requiring long manual hours such as making table of contents and index can be automatically performed using the computers and DTP software.
  • Banking: In the field of banking and finance, computers are extensively used. People can use the ATM (Automated Teller Machine) services 24 hours of the day in order to deposit and withdraw cash. When the different branches of the bank are connected through the computer networks, the inter branch transactions such as cheque and draft can be performed by the computers without any delay.

image

Figure 1.56 Application Areas of Computer

LET US SUMMARISE

  1. A computer is an electronic device that performs diverse operations with the help of instructions to process the information in order to achieve desired results. Speed, accuracy, reliability, versatility, diligence, storage capabilities and resource sharing are the characteristics of computers.
  2. Computers were preceded by many devices which mankind developed for their computing requirements. Some of those devices are sand tables, abacus, Napier bones, slide rule, Pascaline, stepped reckoner, punch card machine, difference engine, analytical engine, and Hollerith's tabulator.
  3. Some well-known computers of the past, which are considered to be predecessors of modern computers are MARK-I (1937-1944), ABC (1939), COLOSSUS (1944), ENIAC (1946), EDVAC (1949), EDSAC (1949), and UNIVAC (1951).
  4. According to the technology used, there are five generations of computers.
  5. First generation computers were vacuum tubes/thermionic valve based machines. These computers used vacuum tubes for circuitry and magnetic drums for memory.
  6. Second generation computers used transistors, which were superior to vacuum tubes. A transistor is made up of semiconductor material like germanium and silicon.
  7. The development of the integrated circuit was the trait of the third generation computers. Also called an IC, an integrated circuit consists of a single chip (usually silicon) with many components such as transistors and resistors fabricated on it.
  8. The fourth generation is an extension of third generation technology. Although, the technology of this generation was still based on the integrated circuit, these have been made readily available to us because of the development of the microprocessor (circuits containing millions of transistors).
  9. Fifth generation computers are still in the development stage. These computers will use mega chips, which will result in the production of microprocessors having millions of electronic components on a single chip. They will use intelligent programming (AI) and knowledge-based problem-solving techniques.
  10. Computers can be classified according to their purpose (whether the computer is meant for general-purpose or special-purpose), data handling (whether the computer uses analog or digital data or combination of both), and functionality (whether the computer handles large volume of data or small).
  11. Based on purpose, computers can be classified as general-purpose or special-purpose computers. A general-purpose computer, as the name suggests, is designed to perform a range of tasks. On the other hand, a special-purpose computer is designed to handle a specific problem or to perform a single specific task.
  12. According to the basic data handling principle, computers can be classified into three categories: analog, digital, and hybrid. A computing machine that works on the principle of measuring, in which the measurements obtained are translated into desired data is known as analog computer. A computer that operates with information, numerical or otherwise, represented in a digital form is known as digital computer. Hybrid computer incorporated the measuring feature of an analog computer and counting feature of a digital computer.
  13. Based on physical size, performance and application areas, we can divide computers generally into four major categories: micro, mini, mainframe, and super computers.
  14. A micro computer is a small, low cost digital computer, which usually consists of a microprocessor, a storage unit, an input channel, and an output channel, all of which may be on one chip inserted into one or several PC boards. Micro computers include desktop, laptop, and hand-held computers such as PDAs.
  15. A mini computer is a small digital computer, which normally is able to process and store less data than a mainframe but more than a micro computer, while doing so less rapidly than a mainframe but more rapidly than a micro computer.
  16. A mainframe is an ultra-high performance computer made for high-volume, processor-intensive computing. It consists of a high-end computer processor, with related peripheral devices, capable of supporting large volumes of data processing, high performance on-line transaction processing systems, and extensive data storage and retrieval.
  17. Super computers are the special purpose machines, which are specially designed to maximise the numbers of FLOPS. A super computer has the highest processing speed at a given time for solving scientific and engineering problems.
  18. A computer can be viewed as a system, which consists of a number of interrelated components that work together with the aim of converting data into information. The basic components of a computer system include input unit, central processing unit (CPU), output unit, and storage unit.
  19. The input unit is formed by attaching various input devices such as keyboard, mouse, light pen, and so on to a computer. An input device is an electromechanical device that accepts instructions and data from the user.
  20. Some of the commonly used input devices are keyboard, pointing devices like mouse and joystick, digital camera, and scanners.
  21. The central processing unit (CPU) referred to as the “brain” of a computer system, converts data (input) into meaningful information (output). A CPU controls all internal and external devices, performs arithmetic and logic operations, and operates only on binary data, that is, data composed of 1s and 0s.
  22. The arithmetic/logic unit (ALU) contains the electronic circuitry that executes all arithmetic and logical operations on the data made available to it.
  23. The control unit of the CPU contains circuitry that uses electrical signals to direct the entire computer system to carry out, or execute, stored program instructions. This unit checks the correctness of sequence of operations.
  24. Registers are special-purpose, high-speed temporary memory units that hold various types of information such as data, instructions, addresses, and the intermediate results of calculations.
  25. The output unit is formed by attaching output devices such as printer, monitor, and plotter to the computer. An output device is used to present the processed data (results) to the user.
  26. A computer system incorporates storage unit to store the input entered through input unit before processing starts and to store the results produced by the computer before supplying them to the output unit.
  27. The output, which can be easily understood and used by human beings, are of two forms: hard copy and soft copy.
  28. Based on the hard copy and soft copy outputs, the output devices are classified into: hard copy and soft copy output devices. Printers and plotters are the most commonly used hard copy output devices. The commonly used soft copy output is computer monitor.
  29. We can classify memory into two broad categories: primary memory and secondary memory. Primary Memory, also known as main memory, stores data and instructions for processing and can be further classified into random access memory (RAM) and read only memory (ROM). Secondary Memory, also known as auxiliary memory or external memory is used for storing instructions (software programs) and data, since main memory is temporary and limited in size.
  30. Practically, every company, large or small, is now directly or indirectly dependent on computers for information processing. Computer systems also help in the efficient operations of railway and airway reservation, hospital records, accounts, electronic banking, and so on.

EXERCISES

Fill in the Blanks

  1. The basic component of first generation computer was __________.
  2. Keyboard is an __________ device.
  3. Laptops are also known as __________.
  4. Computers can be classified according to __________, __________, and __________.
  5. The invention of logarithms influenced the development of __________.
  6. Third generation computers were __________ based machines.
  7. PDA stands for __________.
  8. India developed the __________ supercomputer.
  9. Instructions to the computers are given in the form of computer program, which constitute the __________.
  10. The central processing unit consists of three main subsystems, namely, __________, __________, and __________.

Multiple Choice Questions

  1. The development of computers can be divided into __________ generations.
    • (a) 3
    • (b) 4
    • (c) 5
    • (d) 6
  2. Choose the odd one out
    • (a) Micro computer
    • (b) Mini computer
    • (c) Super computer
    • (d) Digital computer
  3. Which of the following was the first computer that had used the stored program concept introduced by John Von Neumann?
    • (a) UNIVAC
    • (b) EDSAC
    • (c) ENIAC
    • (d) EDVAC
  4. Which of the following had played a key role in the development of logarithms?
    • (a) Napier
    • (b) Blaise Pascal
    • (c) J.M. Jacquard
    • (d) Charles Babbage
  5. Which of the following unit performs the arithmetical and logical operations on the stored numbers?
    • (a) Control Unit
    • (b) Arithmetic Logic Unit
    • (c) Both (a) and (b)
    • (d) None of these
  6. UNIVAC is an example of
    • (a) First generation computer
    • (b) Second generation computer
    • (c) Third generation computer
    • (d) Fourth generation computer
  7. Analytical Engine was developed by
    • (a) Gottfried Wilhem Von Leibriz
    • (b) Charles Babbage
    • (c) Herman Hollerith
    • (d) Joseph-Marie Jacquard
  8. CPU stands for __________.
    • (a) Central Protection Unit
    • (b) Central Power Unit
    • (c) Central Progressive Unit
    • (d) None of these
  9. Mouse, trackball, and joystick are the examples of
    • (a) Scanning devices
    • (b) Pointing devices
    • (c) Storing devices
    • (d) Multimedia devices
  10. Which of the following techniques is best suited for bank cheques?
    • (a) OCR
    • (b) OMR
    • (c) MICR
    • (d) All the above

State True or False

  1. EDVAC is an example of second generation computer.
  2. Micro computers are more powerful that mini computers.
  3. Primary memory is also known as main memory.
  4. The number of keys on a typical keyboard varies from 75 keys to 80 keys.
  5. Light pens give user the full range of mouse capabilities, without the use of a pad or any horizontal surface.
  6. The physical form of output is known as hard copy.
  7. Ink-jet printer provides the highest quality text and images for personal computers today.
  8. The screen clarity does not depend on resolution.
  9. Initial startup instructions are stored in RAM.
  10. Impact printers are slower as compared to non-impact printers.

Descriptive Questions

  1. Discuss the characteristics of computers.
  2. List the important characteristics of third generation computers.
  3. What are the three main characteristics that can be identified with fifth generation computer?
  4. Discuss the classification of computers according to the data handling technique.
  5. Write short notes on the following.
    • (a) Abacus
    • (b) Hollerith's Tabulator
    • (c) Laptop
    • (d) Pascaline
    • (e) Registers
    • (f) Joystick
    • (g) RAM
  6. Discuss the function of control unit.
  7. Describe the use of input and output devices in a computer system. Also list three input and three output devices.
  8. What is the role of scanner? Differentiate between a hand-held and a flatbed scanner.
  9. Compare impact printers and non-impact printers.
  10. Why secondary memory is required in a computer system? List some secondary storage devices and explain any one of them.

ANSWERS

Fill in the Blanks

  1. Vacuum tube
  2. Input
  3. Notebooks
  4. Purpose, data handling technique, functionality
  5. Slide rule
  6. Integrated circuits
  7. Personal Digital Assistant
  8. PARAM Padma
  9. Software
  10. Control unit, arithmetic/logic unit, register

Multiple Choice Questions

  1. (c)
  2. (d)
  3. (d)
  4. (a)
  5. (b)
  6. (a)
  7. (b)
  8. (d)
  9. (b)
  10. (c)

State True or False

  1. False
  2. False
  3. True
  4. False
  5. True
  6. True
  7. False
  8. False
  9. False
  10. True
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.167.173