Computer Script1
Computer Script1
Computer Script1
BCA I
COMPUTER DEFINATION:-
Computer is an advanced electronic device that takes raw data as an input from
the user and processes it under the control of a set of instructions (called
program), produces a result (output), and saves it for future use.
A computer can process data, pictures, sound and graphics. They can solve
highly complicated problems quickly and accurately. A computer as shown in
Fig. Performs basically five major computer operations or functions
irrespective of their size and make. These are
1) It accepts data or instructions by way of input,
2) It stores data,
3) It can process data as required by the user,
4) It gives results in the form of output, and
5) It controls all operations inside a computer.
We discuss below each of these Computer operations
Input: This is the process of entering data and programs in to the computer
system. You should know that computer is an electronic machine like any other
machine which takes as inputs raw data and performs some processing giving out
processed data. Therefore, the input unit takes data from us to the computer in an
organized manner for processing.
Storage: The process of saving data and instructions permanently is known as
storage. Data has to be fed into the system before the actual processing starts. It
is because the processing speed of Central Processing Unit is so fast that the data
has to be provided to CPU with the same speed. Therefore the data is first stored
in the storage unit for faster access and processing. This storage unit or the
primary storage of the computer system is designed to do the above functionality.
It provides space for storing data and instructions.
The storage unit performs the following major functions:
• All data and instructions are stored here before and after processing.
• Intermediate results of processing are also stored here.
Output: This is the process of producing results from the data for getting useful
information. Similarly the output produced by the computer after processing must
also be kept somewhere inside the computer before being given to you in human
readable form. Again the output is also stored inside the computer for further
processing.
Control: The manner how instructions are executed and the above operations
are performed. Controlling of all operations like input, processing and output are
performed by control unit. It takes care of step by step processing of all operations
inside the computer.
FUNCTIONAL UNITS
In order to carry out the operations mentioned in the previous section the
computer allocates the task between its various functional units. The computer
system is divided into three separate units for its operation. They are
1) Arithmetic logical unit
2) Control unit.
3) Central processing unit.
Arithmetic Logical Unit (ALU) Logical Unit
Logical Unit: After you enter data through the input device it is stored in the
primary storage unit. The actual processing of the data and instruction are
performed by Arithmetic Logical Unit. The major operations performed by the
ALU are addition, subtraction, multiplication, division, logic and comparison.
Data is transferred to ALU from storage unit when required. After processing the
output is returned back to storage unit for further processing or getting stored.
Functionalities of a Computer
If we look at it in a very broad sense, any digital computer carries out the
following five functions −
Step 1 − Takes data as input.
Step 2 − Stores the data/instructions in its memory and uses them as required.
Step 3 − Processes the data and converts it into useful information.
Step 4 − Generates the output.
Step 5 − Controls all the above four steps.
Advantages of Computers
Following are certain advantages of computers.
High Speed
Computer is a very fast device.
Payroll calculations
Budgeting
Sales analysis
Financial forecasting
Managing employee database
Maintenance of stocks, etc.
Banking
Insurance companies are keeping all records up-to-date with the help of
computers. Insurance companies, finance houses, and stock broking firms are
widely using computers for their concerns.
Insurance companies are maintaining a database of all clients with information
showing −
Diagnostic System − Computers are used to collect data and identify the
cause of illness.
Lab-diagnostic System − All tests can be done and the reports are
prepared by computer.
Patient Monitoring System − These are used to check the patient's signs
for abnormality such as in Cardiac Arrest, ECG, etc.
Pharma Information System − Computer is used to check drug labels,
expiry dates, harmful side effects, etc.
Surgery − Nowadays, computers are also used in performing surgery.
Engineering Design
Computers are widely used for Engineering purpose.
One of the major areas is CAD (Computer Aided Design) that provides creation
and modification of images. Some of the fields are −
Structural Engineering − Requires stress and strain analysis for design
of ships, buildings, budgets, airplanes, etc.
Industrial Engineering − Computers deal with design, implementation,
and improvement of integrated systems of people, materials, and
equipment.
Architectural Engineering − Computers help in planning towns,
designing buildings, determining a range of buildings on a site using both
2D and 3D drawings.
Military
Computers are largely used in defence. Modern tanks, missiles, weapons, etc.
Military also employs computerized control systems. Some military areas where
a computer has been used are −
Missile Control
Military Communication
Military Operation and Planning
Smart Weapons
Communication
Communication is a way to convey a message, an idea, a picture, or speech that
is received and understood clearly and correctly by the person for whom it is
meant. Some main areas in this category are −
E-mail
Chatting
Usenet
FTP
Telnet
Video-conferencing
Government
Computers play an important role in government services. Some major fields in
this category are −
Budgets
Sales tax department
Income tax department
Computation of male/female ratio
Computerization of voters lists
Computerization of PAN card
Weather forecasting
TYPES OF COMPUTERS
Computers can be broadly classified by their speed and computing power.
PC (Personal Computer)
A PC can be defined as a small, relatively inexpensive computer designed for an
individual user. PCs are based on the microprocessor technology that enables
manufacturers to put an entire CPU on one chip. Businesses use personal
computers for word processing, accounting, desktop publishing, and for running
spreadsheet and database management applications. At home, the most popular
use for personal computers is playing games and surfing the Internet.
Although personal computers are designed as single-user systems, these systems
are normally linked together to form a network. In terms of power, now-a-days
high-end models of the Macintosh and PC offer the same computing power and
graphics capability as low-end workstations by Sun Microsystems, Hewlett-
Packard, and Dell.
Workstation
Supercomputer
Supercomputers are one of the fastest computers currently available.
Supercomputers are very expensive and are employed for specialized
applications that require immense amount of mathematical calculations (number
crunching).
For example, weather forecasting, scientific simulations, (animated) graphics,
fluid dynamic calculations, nuclear energy research, electronic design, and
analysis of geological data (e.g. in petrochemical prospecting).
A memory is just like a human brain. It is used to store data and instructions.
Computer memory is the storage space in the computer, where data is to be
processed and instructions required for processing are stored. The memory is
divided into large number of small parts called cells. Each location or cell has a
unique address, which varies from zero to memory size minus one. For example,
if the computer has 64k words, then this memory unit has 64 * 1024 = 65536
memory locations. The address of these locations varies from 0 to 65535.
Memory is primarily of three types −
Cache Memory
Primary Memory/Main Memory
Secondary Memory
Cache Memory
Cache memory is a very high speed semiconductor memory which can speed up
the CPU. It acts as a buffer between the CPU and the main memory. It is used to
hold those parts of data and program which are most frequently used by the CPU.
The parts of data and programs are transferred from the disk to cache memory
by the operating system, from where the CPU can access them.
Advantages
The advantages of cache memory are as follows −
Access time in RAM is independent of the address, that is, each storage location
inside the memory is as easy to reach as other locations and takes the same
amount of time. Data in the RAM can be accessed randomly but it is very
expensive.
RAM is volatile, i.e. data stored in it is lost when we switch off the computer or
if there is a power failure. Hence, a backup Uninterruptible Power System (UPS)
is often used with computers. RAM is small, both in terms of its physical size
and in the amount of data it can hold.
RAM is of two types −
Long life
No need to refresh
Faster
Used as cache memory
Large size
Expensive
High power consumption
Dynamic RAM (DRAM)
DRAM, unlike SRAM, must be continually refreshed in order to maintain the
data. This is done by placing the memory on a refresh circuit that rewrites the
data several hundred times per second. DRAM is used for most system memory
as it is cheap and small. All DRAMs are made up of memory cells, which are
composed of one capacitor and one transistor.
Characteristics of Dynamic RAM
Let us now discuss the various types of ROMs and their characteristics.
MROM (Masked ROM)
The very first ROMs were hard-wired devices that contained a pre-programmed
set of data or instructions. These kind of ROMs are known as masked ROMs,
which are inexpensive.
PROM (Programmable Read Only Memory)
PROM is read-only memory that can be modified only once by a user. The user
buys a blank PROM and enters the desired contents using a PROM program.
Inside the PROM chip, there are small fuses which are burnt open during
programming. It can be programmed only once and is not erasable.
EPROM (Erasable and Programmable Read Only Memory)
EPROM can be erased by exposing it to ultra-violet light for a duration of up to
40 minutes. Usually, an EPROM eraser achieves this function. During
programming, an electrical charge is trapped in an insulated gate region. The
charge is retained for more than 10 years because the charge has no leakage path.
For erasing this charge, ultra-violet light is passed through a quartz crystal
window (lid). This exposure to ultra-violet light dissipates the charge. During
normal use, the quartz lid is sealed with a sticker.
EEPROM (Electrically Erasable and Programmable Read Only Memory)
EEPROM is programmed and erased electrically. It can be erased and
reprogrammed about ten thousand times. Both erasing and programming take
about 4 to 10 ms (millisecond). In EEPROM, any location can be selectively
erased and programmed. EEPROMs can be erased one byte at a time, rather than
erasing the entire chip. Hence, the process of reprogramming is flexible but slow.
Advantages of ROM
The advantages of ROM are as follows −
Non-volatile in nature
Cannot be accidentally changed
Cheaper than RAMs
Easy to test
More reliable than RAMs
Static and do not require refreshing
Contents are always known and can be verified
Output Devices
Monitors
Graphic Plotter
Printer
Monitors
Monitors, commonly called as Visual Display Unit (VDU), are the main output device
of a computer. It forms images from tiny dots, called pixels that are arranged in a
rectangular form. The sharpness of the image depends upon the number of pixels.
There are two kinds of viewing screen used for monitors.
A finite number of characters can be displayed on a screen at once. The screen can be
divided into a series of character boxes - fixed location on the screen where a standard
character can be placed. Most screens are capable of displaying 80 characters of data
horizontally and 25 lines vertically.
There are some disadvantages of CRT −
Large in Size
High power consumption
Flat-Panel Display Monitor
The flat-panel display refers to a class of video devices that have reduced volume, weight
and power requirement in comparison to the CRT. You can hang them on walls or wear
them on your wrists. Current uses of flat-panel displays include calculators, video games,
monitors, laptop computer, and graphics display.
The flat-panel display is divided into two categories −
Emissive Displays − Emissive displays are devices that convert electrical energy
into light. For example, plasma panel and LED (Light-Emitting Diodes).
Non-Emissive Displays − Non-emissive displays use optical effects to convert
sunlight or light from some other source into graphics patterns. For example, LCD
(Liquid-Crystal Device).
Printers
Printer is an output device, which is used to print information on paper.
There are two types of printers −
Impact Printers
Non-Impact Printers
Impact Printers
Impact printers print the characters by striking them on the ribbon, which is then pressed
on the paper.
Characteristics of Impact Printers are the following −
Character printers
Line printers
Character Printers
Character printers are the printers which print one character at a time.
These are further divided into two types:
Advantages
Inexpensive
Widely Used
Other language characters can be printed
Disadvantages
Slow Speed
Poor Quality
Daisy Wheel
Head is lying on a wheel and pins corresponding to characters are like petals of Daisy
(flower) which is why it is called Daisy Wheel Printer. These printers are generally used
for word-processing in offices that require a few letters to be sent here and there with
very nice quality.
Advantages
Drum Printer
Chain Printer
Drum Printer
This printer is like a drum in shape hence it is called drum printer. The surface of the
drum is divided into a number of tracks. Total tracks are equal to the size of the paper,
i.e. for a paper width of 132 characters, drum will have 132 tracks. A character set is
embossed on the track. Different character sets available in the market are 48 character
set, 64 and 96 characters set. One rotation of drum prints one line. Drum printers are fast
in speed and can print 300 to 2000 lines per minute.
Advantages
Very expensive
Characters fonts cannot be changed
Chain Printer
In this printer, a chain of character sets is used, hence it is called Chain Printer. A
standard character set may have 48, 64, or 96 characters.
Advantages
Noisy
Non-impact Printers
Non-impact printers print the characters without using the ribbon. These printers print a
complete page at a time, thus they are also called as Page Printers.
These printers are of two types −
Laser Printers
Inkjet Printers
Characteristics of Non-impact Printers
Advantages
Expensive
Cannot be used to produce multiple copies of a document in a single printing
Inkjet Printers
Inkjet printers are non-impact character printers based on a relatively new technology.
They print characters by spraying small drops of ink onto paper. Inkjet printers produce
high quality output with presentable features.
They make less noise because no hammering is done and these have many styles of
printing modes available. Color printing is also possible. Some models of Inkjet printers
can produce multiple copies of printing also.
Advantages