Experiment CP 1
Experiment CP 1
Experiment CP 1
L.E.COLLEGE OF ENGINEERING.
B.E.SEM - VII (Mech.Engg. Deptt.)
C . P. LABORATORY
EXPERIMENT NO. 1.
A computer consists of input devices, central processing units, video display unit,
output device such as printer, plotter.
COMPUTING CONCEPTS :
A computer small or big is basically a device used for processing data (numbers)
and text (words). It performs essentially the following three operations in sequence.
1) Receive data or text (and instructions).
2) Process data (as per the instructions).
3) Output results (information).
This cycle of operation of a computer is known as the input process output
cycle.
TYPES OF COMPUTERS :
Based on the operating principles computers can be classified into one of the
following types.
1) Digital computer :
It operates essentially by counting. All quantities are expressed as discrete
digits or numbers. It is used for evaluating arithmetic expressions and manipulations
of data such as preparation of data such as preparation of bills, ledgers, solution of
simultaneous equations.
2) Analog computers :
It operates by measuring rather than counting. The computer functions by
establishing similarities between two quantities that are usually expressed as voltage or
current. Analog computer is powerful tool to solve differential equation.
3) Hybrid computers:
It combines features of both analog and digital types. A majority of the
computers used today are digital. Modern computers depending upon their application
are classified as special purpose computers and general-purpose computers.
404586184.doc RCG. 1
Special purpose computers:
It is tailor made solely to cater to the requirements of a particular taste or
application. It incorporates the instructions needed into the design of internal storage so
it can perform the given taste on a simple command. It does possess unnecessary options
and costs less.
General purpose computers:
It is designed to meet the needs of many different applications. In general
purpose, the instructions needed to perform a particular task are not write permanently
into the internal memory. When one job is over, instructions for another job can be
loaded into the internal memory for processing.
CLASSIFICATION OF COMPUTERS :
Computers are also available in different sizes and with different capabilities. The
selection of a particular system primarily depends on the volume of the data to be
handled and the speed of the processor. They are broadly classified as under :
1) Micro computer
2) Mini computer
3) Main frame computer
4) Super computer
1) Mini Computer :
It is a medium sized computer that is more costly and powerful than a
microcomputer. An important distinction between a micro and mini computer is that
a mini computer is usually designed to serve multiple users simultaneously. As a
system that supports multiple users is called multi terminal time-sharing system.
Mini computer is popular data processing system.
2) Micro Computer :
It is the smallest general purpose processing microsystem. Functionally it is
similar to any other large system. It has self-contained units and usually designed for
use by one person at a time. It can be easily linked to large computers.
4) Super Computer :
It has extremely large storage capacity and computing speed, which is atleast 10
times faster than other computers. Typically, the super computer is used for large-
scale numerical problems in scientific and engineering disciplines.
404586184.doc RCG. 2
TABLE – 1 COMPARISON OF COMPUTERS
Super 64 and above Above 100 lacs 8000 to 64,000 10-20 crores
COMPUTER GENERATIONS:
Computer is greatly revolutionized and to day it is reached to fifth generation
which is known as expert system that can improve the man-machine interactions. Such
systems would integrate the advancements in both hardware and software technologies
and would facilitate computer aided problem solving with the help of organized
information in many specialized areas. The expert systems are expensive and time
consuming. The comparison among first four generation is as given in table – 2.
404586184.doc RCG. 3
TABLE – 3
COMPARISON BETWEEN P.C. AND Pentium MODELS
The P.C. model has monochromic (black and white) video display unit having
11.5 inch screen. No separate power source is required for display unit. It is suitable for
text material.
The XT model has color/graphic display unit having 12.5-inch screen. It has 16
foreground and 8 background colours. A separate power source is required for display
unit suitable for graphics. Screen displays 25 lines of text with 40 to 80 characteristics
per line in both monochronic and colour display units.
404586184.doc RCG. 4
APPLICATIONS: -
Used in following areas :
1) Business
2) Education and Research
3) Telecommunication, space technology
4) Engineering
5) House hold purpose
6) Management etc.
SOFTWARE: -
Computer software includes languages, operating systems, utility software and
application software.
Languages :
Computers understand some specially developed languages for them so that they
may communicate with outside world. These computer languages again can be divided
into two categories: low level languages and high level languages.
Low Level Languages:- Low level languages known as machine language is understood
by computer system. This category bears very little resemblance with English words.
Not all computer systems understand the same machine language. In fact, the particular
CPU chip used in a computer determines which machine language it accepts. For
example, the machine language used by IBM personal computer is not the same as that of
404586184.doc RCG. 5
the Apple computer. The machine languages are number system and as such these are
very difficult to learn and hard to use.
High level languages: - High level languages are general-purpose application oriented
programming languages. They are English like and contain some familiar phrases and
terms of English language. They are translated to machine language with the help of a
system program known as compiler. Some of the high level languages are briefed
hereunder.
BASIC (Beginner’s All-purpose Symbolic Instruction Code) has emerged as a very
popular computer language. It is easy to learn and use and best of all, it provides the
important features of more powerful language like FORTRAN> this language is mostly
used in educational and commercial application
FORTRAN (FORmula TRANslator): - this language is generally used for mathematical
or engineering applications. A FORTRAN program consists of statements, which cause
the data to be read, processing performed and the result recorded. However, this language
is not well suited for business applications. FORTRAN program can be executed in
almost all general purpose computer systems.
COBOL (Common Business Oriented Language): - This language itself is made of
names, constants, literals and operator that specify some action or the relationship. A
COBOL is very much structured having four parts; identification division environment
division, data division, and procedure division. Each of the division has specific function
to complete. The computer professionals have taken the ANSI '74 version of COBOL as
the standard COBOL.
C: - ‘C’ is a general purpose programming language that features economy of the
expression. It was originally designed for UNIX operating system and all UNIX
application programs are written in C.
Operating System
Operating system consists of a set of system program that collectively simplifies
the operation of a computer. Major user benefits of an efficient operating system include
the facility to carry out relatively complex tasks by tying in computer keyboard some
simple command words. MS-DOS used in IBM Personal Computers as well as the
immensely popular Windows 95/98. Nowadays, Linux is also picking up some ground
against the MS juggernaut. UNIX is also becoming popular for computers having higher
processing power (servers).
Utility Programs
A utility program is written to accomplish routine jobs that allow the operator to use his
computer to communicate with other systems and to check if various components of the
computer system are identified which chip in the computer hardware needs to be replaced
in a sick computer.
Application programs
An application program is a set of instructions that is designed to perform
specified desired tasks. Game programs, educational programs, business system program
are all application programs.
QUIZ
1. Differentiate between (a) Object Program and Source Program
(b) RAM and ROM
(c ) Higher Level Language and Lower Level Language
2. Write a short note on Application of computer in Mechanical Engineering Field.
404586184.doc RCG. 6
404586184.doc RCG. 7