1
DEFINITION OF COMPUTER
“Computer is an electronic device that accept the data, process the data and gives the result in
the required form”.
“Computer is an electronic device which can receive inputs (data) as raw material and
process it according to the program instruction to produce the output in a useful form”.
“The word” Computer” comes from the word “compute” which means to calculate. So a
computer is normally considered to be a calculating device that can perform arithmetic and
logical operation at an enormous speed but accurately”.
CHARACTERISTICS OF COMPUTERS
Speed: - Computer is a very fast device that can process of instructions within seconds for
which human being may take several days or month. Its speed is measured in terms of
Milliseconds (1/103 of a second), Microseconds (1/106 of a second), Nanoseconds (1/109 of a
second) and Picoseconds (1/1012 of a second).
Accuracy: - Computer maintains high degree of accuracy, errors can occur in computerized
system also but most of them occur due to human mistakes.
Storage: - Computer can store very large amount of information in the secondary storage
devices. This information stays with the computer for further use.
Consistency: - A computer can work for hours without lack of concentration, tiredness or
emotional feelings.
Reliability:-Computers are highly reliable, very accurate and do not make mistakes in
arithmetic calculations.
Versatility: - Computer can perform various types of jobs at the same time.
Diligence: -Computer is a very constant, earnest and Carefulness.
2
HISTORY OF COMPUTER
ABACUS:-
First of all Chinese introduced the Abacus, It is a manual calculating device and is still used
as a calculator in chine.
PASCAL’S CALCULATOR:-
Blasé Pascal, a French Mathematician invented an adding machine around 1641. It was
capable of performing addition, subtraction, multiplication and division.
GENERATION OF COMPUTERS
First Generation Computer (1946-1959)
The main components in use were the vacuum tubes (likes those in the old radios, which
warmed up after a minute or show, and glowed red).The vacuum tubes were also called as
valves. The first computer used 18000 vacuum tubes weighted 30 tons and occupied on area
(9 meter X 15 meter) of a big hall. Vacuum tubes took ages to warm up and consumed
massive amounts of electricity.
Some of the computers of this generation are ENIAC (Electronic Numerical Integrator and
Calculator), UNIVAC-1 (Universal Automatic Computer) and IBM 650.
Main Features:
Vacuum Tubes Technology.
Speed in Milliseconds.
Machine and assembly language were used for programming.
Punched card for input.
Magnetic tape and magnetic drum for external storage.
It is used for scientific computation, pay roll processing and business applications.
Drawbacks:
Very large size.
Consumed lot of power.
Poor reliability.
3
The real breakthrough in computers started with the discovery of the transistors. Transistor is
a tiny semi-conductor device; the size is about 1/50th of a vacuum tube, which can perform
the same function as that of a large vacuum tube in computers.
Some of the computers of this generation are IBM 1620, and IBM 1401.
Main Features:
Transistor based Technology.
Speed in Microseconds.
High-level language FORTRAN and COBOL were used for programming.
Magnetic disks were used for external storage.
Wider commercial used.
4
Ability to find solution of problems using database and information already stored in
computer memory.
Speed is expected to be measured in picoseconds.
CLASSIFICATION OF COMPUTERS
ANALOG COMPUTER
The analog computer accepts processes and generates continuous data. It is a specific type of
computer that handles or process information which is of a physical nature such as voltage,
temperature, pressure etc., so analog computer used in laboratory only.
DIGITAL COMPUTER
The digital computer accepts processes and generates discrete (discontinuous) data. It process
information which essentiality in a binary form. Digital computers fall in to range called
Micro Computer, Mini Computer, Mainframes, Workstation and Super computers.
HYBRID COMPUTER
Hybrid computer is basically made from specific characteristic of analog and digital
computer i.e. hybrid computer is complex of both computers.
5
Computer literacy.
Database Management.
Desk Top Publications.
Computer Aided Design.
Multimedia and advertising applications.
These Computers are divided in the three categories on the basis of physical structure:
Desk Top PCs
Lap Top PCs
Note Book PCs
Examples are:
Pentium Processor.
Duel Core Processor.
Mini Computers: -
Mini Computers have multiple processing units in a single CPU out of witch each processing
unit can do a separate kind of work. Its processing needs multiple users. It is an improved
version of micro Computer.
Main Features:
Time sharing system.
32 bits or more word length.
Faster and more powerful than microcomputers.
Used in colleges, universities, research organizations and industries for multiple user
and interactive applications.
Examples are:
VAX
CDC 6600
Mainframe Computers: -
These are huge machine with high capacity of processing using parallel processing
capabilities. The data transfer rate is 8 Million byte/second. It can be used in Centralized
Train Reservation System, Airline Reservation System etc.
Main Features:
Faster and more powerful than minicomputers.
32 bits or more word length.
Can support more than 100 users in timesharing mode.
Used in universities, bank and large industries.
Examples are:
IBM 3090
VAX 8842
Workstations: -
Workstations are desktop machine which have more powerful processors – speeds of about
10 times of PCs. Example of workstations are:
Silicon Graphics Workstation of SUN Systems.
Super Computers: -
Super computers are used for solving multivariable mathematical problems witch require
repetitive floating point arithmetic operations on a large array of numbers, known as vector
6
super computer. These computers are mostly used in the field of atomic and nuclear physics
etc.
Some famous super computers are:
CRAY-1
CRAY-11
PARAM 5000
PARAM 10000
INPUT DEVICES AND OUTPUT DEVICES
INPUT DEVICES:-
KEY BOARD
MOUSE
SCANNER
DIGITAL CAMERA
MICROPHONE
KEY BOARD:-
Key Board is one of the most important input devices of the computer. Program and data are
entered by the Key Board. A key board is like a type writer. It contains about 100-125 keys.
Keys of a key board can be classified into five categories:
Alphabets Keys - Used to enter alphabets.
Numeric Keys – Used to enter numbers.
Special keys – Perform specific function.
Function Keys – Used to perform a set of operations. These are F1 to F12.
Arrow keys – used to move cursor in four directions Right, Left, Up and Down.
MOUSE:-
Mouse is a hand operated input device used to move the pointer of cursor on the screen or to
select options.
Mouse actions:
I. Clicking
II. Double Clicking
7
III. Dragging
Types of Mouse:
Mechanical Mouse
Optical mouse
SCANNER:-
Scanner is an input device. It is just like photocopy machine. It scans to image or text and
copy the scanned image or text in the computer.
Types of Scanners:
Flat Bad Scanner
Hand Held Scanner
Joysticks: -
Children can play with computers in a simple way by the use of Joystick, while playing video
games.
Digital Cameras: -
Digital Cameras takes pictures, which get stored in digital format in a memory device as
floppy disk.
Microphone: -
Today microphone is an integral part of most computer systems. It converts spoken words in
digital format.
OUTPUT DEVICES:-
MONITOR
PRINTER
SPEAKERS
MONITOR
Monitor is an important out put device of the computer. It is also called VDU (Visual Display
Unit) a monitor is a T.V. like device used to display data information on the screen.
Classification of monitors:
Digital Monitor:-
A digital monitor accepts digitals signals. The term digital therefore refer only to the type of
input received from video adapter. Digital monitors are fast and produce clear images.
Analog Monitor:
This is the traditional type of color display screen that has been used years in TVs. In reality,
all monitors based on CRT technology (except flat panel display) are analog. Some monitors
are called digital monitor because they accept digital signals from the video adapter.
PRINTER
A printer is also an output device which gives the result in printed form.
Types of Printers:
1. DOT METRIX PRINTER
Cheapest, widely used
Speed of the printer is slow and quality of printing is not good.
2. INK-JET PRINTER
It produces qualitative printing.
They are expensive.
8
3. LASER PRINTER
It produce high quality printing
It is very expensive.
SPEAKERS
Speaker is an output device. It is just like the mouth of the computer. It gives the result in the
form of sound when we can hear.
Input Unit: -
It accepts the data from outside using keyboard, mouse, CDs or other sources.
It converts the data in to binary electronic signals which can be understood by the
CPU.
It supplies the converted instructions or data to the computer for further processing.
Input data may be graphical, audio, visual, mechanical etc.
Some of the input units are Keyboard, Mouse, Magnetic Tapes and Disks etc.
Memory Unit: -
Memory is used to store binary codes of instructions you want the CPU to execute.
Each and every instruction to be executed by the CPU is first brought in the main
memory.
It cannot be executed while it is stored on the secondary storage devices like disk,
tape etc.
The memory stores all the data currently being processed as well as the program that
controls the processing.
A memory can be considered to be consisting of four groups of memories.
I. Internal Processor Memories
II. Primary Memory
III. Secondary Memory
IV. Cache memory
Control Unit: -
It is the most critical part of the CPU so it is called the brain of the computer.
It controls activities of the other units such as input, output units and ALU etc.
It obtains instructions from the memory, interrupts them decide the action to be taken
and directs other units to execute them.
9
Output Unit: -
Output unit functions are the opposite of the input unit.
It is an interface for communication between machine and human.
The output that comes from the CPU is in the form of binary signals which get
converted in to human understandable form, i.e. graphic, audio, and visual, language
form, etc.
Some of the popular output devices are Visual Display Unit (VDU), Printer, Magnetic
Disks, and Magnetic Tapes etc.
MEMORY
Memory is an essential component of every computer. It is used for storing programs as well
as data for the purpose of data processing.
CHARACTERISTICS OF MEMORY
Location:-
What is the location of the memory? It may be either internal or external.
Internal memory includes main memory, CPU’s registers etc.
External memory includes peripheral storage devices like disk, tape etc.
Capacity:-
How much data memory can store refers to its capacity. It is measured as follows.
1 Bit=the smallest unit of information understand by the computer. It is represented ad either
8 Bit = 1Byte (one character (space) i.e. a, 6 etc.
1024 Bytes =1 Kilo Bytes (Half page of text)
1024 Kilo Bytes =1 Mega Byte (five hundred pages of text)
1024 Mega Bytes =1 Giga Byte
1024 Giga Bytes =1 Tera Byte
1024 Tera Bytes =1 Peta Byte
1024 Peta Bytes =1 Exa Byte
1024 Exa Bytes =1 Zeta Byte
1024 Zeta Byte =1 Yeta Byte
Access Method:-
Sequential Access: - in this method information in the file is processed in order, one
record after the other.
Direct or Random Access: -Random access file organization provides, accessing the
records directly.
Indexed Sequential file access: - This method combines the advantages of sequential
and direct file access.
Performance:-
Access Time: -It is the time taken read or write from or in to a desired location on the
disk.
Memory Cycle Time: -It consists of the access time plus any additional time required
before starting an access.
TYPES OF MEMORY
At present three types of memory are commonly used in modern computers.
10
1. CPU registers.
2. Primary Memory or Main Memory
3. Secondary Memory or Static Memory
CPU registers: -
The CPU registers are a part of the CPU. Therefore its speed is as fast that of processor itself.
Primary Memory: -
It is the main or principal internal memory.
CPU communicates directly with the main memory.
It is used for storing program as well as data currently needed by the CPU.
It is very large memory as than CPU registers but smaller than the secondary memory.
The speed of the main memory must match the fast speed of the CPU so
semiconductor (Chip) technology is used in the main memory.
There are two types of primary memory
Magnetic Core Memory: -
It was introduced in 1955.
It consisted of tiny rings or core of magnetized material.
A ring magnetized clockwise-represented 0 bit and in counter clockwise direction
represents 1 bit.
Each core store 1 binary bit and 7 or 8 cores.
Semi Conductor Memory: -
It was introduced in 1971 by IBM.
It is faster and cheaper than magnetized core memory.
These memories use electronic circuit of silicon chip.
The electronic circuit is called a flip-flop. Circuit can store either 1 or 0.
It is volatile as it losses its contents as soon as the power is cut off.
It can store million of bytes on a single chip.
Secondary Memory: -
The Secondary memory used for storage of programs, data and other information.
The secondary storage it stores the information permanently.
Magnetic memories like hard disk and floppy disk are used as secondary memories.
11
A floppy disk is used to store the data and transfer data from one computer to another.
The square-shaped floppy disks are two types
Micro Floppy is of 3.1/2” of 1.44 MB
Macro Floppy is of 5.1/4” of 1.2 MB
HARD DISK DRIVE:
In a hard disk information is stored permanently. It is completely sealed and built inside the
CPU and capacity to store data in a hard disk is more than the floppy or CD-ROM.
CD-ROM:
It is also used to store or transfer data. IT is circular shaped disk, which can store data more
than a floppy but less than HD
HARDWARE AND SOFTWARE
Hardware: -
Computer hardware represents all the physical components of a computer system. It includes
input unit, central processing unit and output unit.
Input Unit: -
This unit provides man to machine communication. Input of any form is converted in to
binary electronic signals which can be understood by the CPU. This process is called
digitizing. Input data may be graphical, audio, visual, mechanical etc.
Some of the input units are Keyboard, Mouse, Joystick, Light Pan, Voice Data Entry (VDE),
Magnetic Tapes and Disks etc.
Central Processing Unit: -
The Central processing Unit (CPU) is the brain of the computer system. All the actions
performed by the computer system are initiated, performed and controlled by the CPU. The
CPU works with the binary signals only. Every instruction that is executed first gets stored in
the memory unit, and then it gets processed by the CPU.
Output Unit: -
This unit provides machine to man communication. The output that comes from the CPU is in
the form of binary signals which get converted in to human understandable form, i.e. graphic,
audio, and visual, language form, etc. Some of the popular output devices are Visual Display
Unit (VDU), Printer, Magnetic Disks, and Magnetic Tapes etc.
Software: -
Software means a set of computer programs that are designed and developed to perform
specific task, which supply instructions to a computer.
It is further classified into 2 categories: -
System Software: -
It is a collection of programs designed to operate and control the processing of computer
system. It includes operating and Language Translator.
Operating System: - An operating system is a set of programs used to manage the operations
of the computer system.
Language Translator: -
Compilers: - Compilers translates a source program that is written in a high level
language in to machine language called object program.
Interpreters: - It translates each source program statement in to a sequence of
machine instructions and then executes these machine instructions before translating
the next source language statement.
12
Assembler: - An assembler is a program used to convert the program written in
assembly language in to machine language.
Application Software: -
Software that is designed to handle a specific application is called application software.
Example: - Package, Tally, MS-Office etc.
General Purpose Application Package
Word Processor Package
Electronic Spread Sheet Package
Specific Purpose Application Package
Accounting Packages
Airline or Railway Reservation Package.
OPERATING SYSTEM
The operating system acts as an “INTERFACE” between the user and the computer. An
operating system (OS) is a set of routine programs used to manage the operations of the
computer.
A simple example: -A Policeman who directs traffic at a busy intersection.
Functions of OS: -
To control input/output operations.
To control the movement of data in the primary storage.
To locate and load programs from secondary storage.
To save files in the secondary storage.
Single User OS: - Single user operating system organizes a computer to be operated
by one person at a time. MS-Dos is a single user operating system.
Multi User OS: - Multi user operating system enables one computer to be share
between several users. UNIX and Windows are the good example of Multi user
operating system.
SYSTEM FILES
Files with system attributes are known as system files. These files contains DOS’s Core
program.
These system files are:
IO.SYS
MS DOS.SYS
COMMAND.COM
13
COMMAND.COM
This file acts like command interpreter. DOS expects Command.com file in the root directory
of boot drive.
AUTOEXEC.BAT
It Stands for Auto executable batch file. As the name suggests, it is automatically executed
whenever system start. Various setting like date, time, path, etc., can be batch programmed in
it.
CONFIG.SYS
It is an optional file and one needs to crate it if he/she wants to redefine the working
environment of one’s system. For example, if you want to add a new device to your PC or
your software needs to open more than default, then you have to configure your system for it.
Applications of Computers
Computers in Education: -
Most educational application package and programs are used to increase our reading skill,
thinking and other special skills. Computers are broadly used in following.
Problem Solving
Discovery Learning
Computer Aided Testing
Computer in Research:-
Computer is used to help man in research, in business organization and almost every walk of
life. It makes different designs realistic and easy to analyze.
Scientific Research
Language Research
Weather Research
Computer in Military: -
Computers are extensively useful in military for computerized control.
Missile Control
Communication
Planning
Computers in Marketing: -
Computers are widely used in marketing operations where they create from letter generate
and analyze markets surveys, prepare invoices, produces mail order, and verify status orders.
Advertising
At-home shopping
Telemarketing
14
Computer in the art: -
Computer is widely used for creating effective works in painting, music and dance.
Art
Dance
Music
Computers in Communications: -
Computer is most popular in the area of communications. Computers are very effective in
sending and receiving information.
E-Mail.
Air Traffic control.
On line reservation.
Video Conferencing.
Electronic Banking Service.
NUMBER SYSTEM
Number System is a way to represent the data using the permitted symbols defined in that
number system.
There are two types of number systems: -
15
Microsoft Word
Microsoft Word
Microsoft Word is a word processor used for creating text based documents such as letters,
faxes, memos etc.
Microsoft word is word processing software which allows you to write, edit them and print
them after formatting it according to your needs. It has all the possible options of a word
processor in the form of font style and size; indents; line spacing; margin; spelling checking
and grammar checking etc.
16
Microsoft Excel
Microsoft Excel
This spreadsheet program allows you to manipulate and present your data almost any way
you choose. It allows you to work on a tabular pad consisting of columns and rows where you
can perform all your mathematic, financial and statistical calculations.
MS-Excel is spreadsheet software developed by Microsoft Company. Excel allows you to
create spreadsheet that can perform automatic calculations
Spreadsheet
It is defined as a large sheet containing a matrix of rows and columns it provide the facility to
organize the data into rows and columns.
In worksheets different operation can be performed ie, entering data, moving, copying,
editing, printing data moving rows and columns etc.
Four types of data can be entered in ms-excel-
1. Text: - Text in a cell can include any combination of letters, numbers and special
characters -A cell can contain 32000 characters, but the default width of cell is 10 characters.
2. Numbers: - No. Include digit from 0 to 9 and some special characters like $, %, +, -, ( ),
date and time are stored as numbers it can be 2 forms.
Unformatted- Automatically displayed in scientific notation.
Formatted- Replaced by number signs (#, #, #).
3. Logical Values: - Logical entries, TRUE and FALSE (uppercase only) can be entered in
the cells.
4. Formulas: - A formula in excel is an entry that perform a calculation or other operation. A
formula must begin with an equal sign (=).
17
Data can be presented graphically in the form of pie chart, bar chart, line chart etc.
Cells
The intersection of rows and columns is called a cell. Cells can contain text, number or
mathematical formulas. Each cell has cell address.
Cell Address: - The name of columns and number of row is cell the cell address of active
cell.
Microsoft PowerPoint
Definition
Microsoft PowerPoint is an ideal program for making a presentation. It also allows
you to add chart, tables and pictures for making the presentation.
PowerPoint is a complete presentation graphics package. It gives everything one needs to
profile a professional looking presentation. PowerPoint offers word processing, outlining,
drawing graphing and presentation management tools- all designed to be easy to se and learn.
Advantages
A presentation is easier to understand as highlights the important points.
A presentation can be built with effective use of text, graphics and charts.
A presentation can be supplemented with handouts, outlines and speaker notes.
18
X-axis Title: – A title that displays along the X-axis.
Scale: – Range of number of value that is equal to one unit.
Y-axis Title: – Describing value on Y-axis.
Series: - A set of numerical data.
Series Label: – A label identifying a group of series.
Creating Presentation
Every PowerPoint presentation consists of a serious of slides: text or object displayed
on a graphics background. You create your presentation by adding text and objects to slides.
You will go through a series of steps for every presentation you create in PowerPoint:
1. Create the presentation, entering and editing text, and rearranging slides.
2. Apply a presentation design. Modify the design if necessary.
3. Format individual slides if you wish.
4. Add object to the presentation
5. Apply and modify transitions, animation effects, and links for electronic presentation.
6. Create audience material and speaker notes.
Presentation Views
The presentation in PowerPoint can be displayed in five-views. These are as follows: -
Slide view: - The current view of your presentation is the slide view. This
view allows you to work in individual slides.
Outline view: - In this view, your presentation appears like an outline. This
view is helpful when you are in the process of organizing your thoughts.
Slide sorter view: - Use this view to see a miniature view of each slide in
presentation. Slide sorter view provides an easy way to view the over all affect of
your presentation.
Notes-Page view: - This view is helpful to create speaker notes. These notes
remind the speaker what to say when the slide appears.
Slide Show view: - Use the slide show view to display your presentation on screen. It
is important that before you start your presentation in this mode, position on first
slide. So that the presentation starts from the beginning.
19
Microsoft Access
Microsoft Access:
Microsoft Access is database management software where the information is stored. It
includes tables, queries, forms, reports and other components, all of which allow us to
manipulate and view the database information in a variety of ways.
Table: -
Table is the most basic components of a database. This is a collection of information stored in
records (rows) and fields (columns). Almost every table has a primary key for the purpose of
identifies the records in the table and helps in creating relationships. This primary key is
defined for joined the common fields among the tables.
Query:
A query is the fastest way to get information from a database. You use queries to view,
change, and analyze data in different ways. You can use them as the source of records for
forms and reports.
Input Masks:
Input mask is a series of special characters that establish the pattern for the field entries. They
save the trouble of entering certain characters like hyphens etc. The input mask is used to
ensure that data is entered in the right format. For Example you use the mask AB00000, the
letters AB will appear on the screen and the user must entered 5 digits.
20
Validation Rule:
Validating rules can be put to specify requirements for data entered in a record or a field.
Primary Key:
Primary key is used to maintain the order of records. They are used to uniquely identify the
records.
HTML
The internet, a network of networks, provides a lot of services related to exchange of
information like World Wide Web. The World Wide Web is fast emerging as the prime
resource for exchange of information across the globe. HTML has been able to make its
contribution.
Hyper Text Markup Language is a method where ordinary text can be converted in to
hypertext. It is a set of special codes included to control the layout and appearance of the text.
Technically, HTML is not a programming language. It combines instructions within data to
tell a display program called browser, how to render the data that the document contains.
HTML is the character based method for describing and expressing the content. The
content is pictures, text, sound and video clips.
It delivers the contents to multiple platforms.
It links document components or documents together to compose compound
documents.
HISTORY OF HTML
Tim Berners-Lee developed HTML in early 1990 at CERN, the European Particle Physics
Laboratory in Geneva, Switzerland. HTML is a public domain and not owned by anybody.
The World Wide Web (www.w3.org) is the body, which control the HTML standards. HTML
was developed by the Tim Berners-Lee and popularized by Mosaic Browser. HTML 2.0
specifications was developed under the protection of the Internet Engineering Task Force to
codify common practice in 1994. HTML 3.0 is much richer version of HTML.
HTML 4.0 extends HTML with mechanisms for style sheets, scripting, frames, embedding
object improved support for right to left and mixed direction text, richer tables and
enhancements to forms.
SIGNIFICANCE OF HTML
21
HTML’s popularity is mainly due to hypertext technology – the technology that enables one
to search for information non-sequentially instead of linearly. Nowadays, with the click of a
mouse one can send and receive e-mails, access huge amount of information and online
submission of forms.
Using HTML one can create page and sites that can be published on the internet. This page
contains tables, images, forms, frames, multimedia and JavaScript and brings pages to life
with dynamic HTML.
HTML TOOLS
HTML has two basic tools: -
HTML Editor: - It is the program which is used to create and save HTML
documents. E.g. Notepad.
A Web Browser: -It is the program which is used to view and test the HTML
documents. E.g. Microsoft Internet Explorer.
CREATING LIST
ORDERED LIST: -It is used to indicate sequential form of information. In TYPE
attribute values are 1 (For Arabic numbers), A (For Uppercase Alphabets), a (For Lowercase
Alphabets), I (For Uppercase Roman Numbers), I ((For Lowercase Roman Numbers).
Syntax: -
<OL Type=”1 or A or a or I or i”>
<LI>Any Text</LI>
<LI>Any Text</LI>
</OL>
UNORDERED LIST: -In this type of list numbers are not displayed. Instead of number
Bullets are displayed. In TYPE attribute values are Disc, Circle and Square.
Syntax: -
<UL type=”Disc, Circle, Square”>
<LI>a</LI>
<LI>b</LI>
</UL>
DEFINITION LIST: -The DL (definition list) tag allows you to DT (define the terms)
and DD (define the definitions).
Syntax:-
<DL>
<DT>WORD</DT>
<DD>Definition of the above word</DD>
</DL>
HORIZONTAL ROW TAGS: -
It is used to add a Horizontal Row.
<hr size="10" color="blue" width="80%" align="center">
FONT TAGS: -
It is used to set the font color, size (1 to 7), face.
<Font color=”blue” size=”7” face=”Arial”>
BODY TAGS: -
22
It is used to set the background color, text color and link color etc.
<body bgcolor="aqua" text="red" link=”green” vlink="blue" alink="red">
BGCOLOR sets the background color.
TEXT sets the text color.
LINK sets the color of Hypertext Link.
VLINK sets the color of visited link.
ALINK sets the color the activated links.
<BODY background=”Path of Image”>: -It is used to add the Background Image
HYPERLINKS: -
It is used to create link with the specific file.
<A href=”Path of the file”> File Name</A>
<a href="#LOCPG">Link Name</a>
<a name="LOCPG">Linked Name</a>
ADDING IMAGE: -
It is used to add an image or moving pictures in the page.
<IMG SRC or DYNSRC=”path of Image” alt=”Alternative Text” height="200" width="300"
border="5" hspace="10" vspace="10" align=”left”>
TAGS USED FOR FORMATTING TEXT
TAGS DESCRIPTION
<B>, <STRONG> For Bold the Text
<I>,<EM> For Italic the Text
<U> For Underline the Text
<BR> For Break the Line
<P> For writing in a new paragraph
<S>,<DEL>, <STRIKE> For Strikethrough the Text
<SUB> For Subscript
<SUP> For Superscript
<PRE> For displays the text exactly as you type script.
<Address> It is used to write address.
<BLOCKQUOTE> For display the text in paragraph style.
<div style="border=5px solid blue"> For specify the border color for the text.
<span style="background color: pink"> For specify the background color for the text.
23
CREATING TABLE
Html table are made up of rows and columns. The table may contain either text or images. Its
tags are as follows: -
<table border=”5” bgcolor=”aqua” bordercolor=”pink” width=”50%” cellspacing=”10”
cellpadding=”10”>
24
FILES TAGS: -
It is used to upload the file on a web page.
<input type=”file” name=”field-id" size="10" accept="file-type">
TEXTAREA TAGS: -
It sets and area within a form in which the user can type a larger section of text.
<textarea name=”text-id” rows=”2” cols=”20” wrap=”virtual or physical or off readonly”>
SUBMIT TAGS: -
It provides a button that submits the information in the completed form to the URL, given as
the action attribute of the form tag.
<input type=”submit” value=”button label text”>
RESET TAGS: -
The reset value of the type attribute clears all form entries to the default one (or leaves them
blank if no defaults are specified).
<input type=”reset” value=”button label text”>
FIELDSET AND LEGEND TAGS: -
FILEDSET tag creates a box around the matter and legend tag provides a label to the fieldset.
<Fieldset><Legend>Group Label Text</legend>matter </fieldset>
FRAMESET
The frameset element allows defining a multiple frame web page, where each frame displays
its own HTML documents. Frames can be scrolled and resized by the user, unless scrolling
and resizing is turned off.
<frameset rows or cols=”50%, 50 %”>
<frame name="frame name" src="URL" marginheight ="pixel" marginwidth="pixel"
scrolling=”yes, no, auto” noresize>
Frame Name specify the name of frame like master frame, top frame, bottom frame,
left frame, right frame.
SRC specifies the frame documents address of URL.
Margin height and Margin width sets the left, right, top, bottom margin spaces.
No Resize stops the manually resizing of a frame.
Scrolling determines how scrollbars are treated in a frame.
Example: -
<FRAMESET ROWS="30%, 70 %">
<FRAME NAME="MAST BAR" SRC="URL OF A FILE" MARGINHEIGHT="3"
MARGINWIDTH="3">
<FRAMESET COLS="50%, 50 %">
<FRAME NAME="LEFT BAR" SRC="URL OF A FILE" MARGINHEIGHT="3"
MARGINWIDTH="3">
<FRAME NAME="RIGHT BAR" SRC="URL OF A FILE" MARGINHEIGHT="3"
MARGINWIDTH="3">
</FRAMESET>
SPACIAL CHARACTERS
Special characters are used to define the special symbols.
25
Ampersand & A&B
Quotation mark " “A”
Soft hyphen ­ A-B
Copyright sign ©
Trademark ™
Registered trademark ®
26
32. ? Dow (Date ()): Show the day of weak.
33. ? Upper (“RAHUL”): Show the name in upper case.
34. ? Lower (“RAHUL”): Show the name in lower case.
35. ? Proper (“RAHUL”): Show the name in sentence case.
27
FoxPro Program
1. Program for calculating the Sum, Area=3.14*R*R
Subtraction, multiplication, Division and @ 4, 4 Say “Area of Circle” Get Area
Square Root of any two numbers.
4. Program for Area and Para of Rectangle
Set talk off
A=0 Set Talk off
B=0 L=0
C=0 W=0
Clear Area=0
@ 2, 4 Say “Enter the Value of A” Get A Para=0
@ 4, 4 Say “Enter the Value of B” Get B Clear
Read @ 2, 4 Say “Enter the Value of Length” Get L
C=A+B @ 4, 4 Say “Enter the Value of Width” Get W
@ 6, 4 Say “Sum of two numbers” Get C Read
C=A-B Area=L*W
@ 8, 4 Say “Sub of two numbers” Get C @ 6, 4 Say “Area of Rectangle” Get Area
C=A*B Para=2*L+2*W
@ 10, 4 Say “Multiple of two numbers” Get C @ 8, 4 Say “Parameter of Rectangle” Para
C=A/B
@ 12, 4 Say “Division of two numbers” Get C 5. Program for Calculating Total Marks
C=Sqrt (A+B) and Average Marks
@ 14, 4 Say “Square Root of two numbers”
Get C Set Talk off
Name=Space (20)
2. Program for Simple and Compound H=0
Interest E=0
S=0
Set Talk off P=0
P=0 U=0
R=0 Total=0
T=0 Average=0
SI=0 Clear
CI=0 @ 2, 4 Say “Enter the Name” Get Name
Clear @ 4, 4 Say “Enter marks obtained in Hindi”
@ 2, 4 Say “Enter the Value of Principal” Get Get H
P @ 6, 4 Say “Enter marks obtained in English”
@ 4, 4 Say “Enter the Value of Rate of Get E
Interest” Get R @ 8, 4 Say “Enter marks obtained in Sanskrit”
@ 6, 4 Say “Enter the Value of Time” Get T Get S
Read @ 10, 4 Say “Enter marks obtained in
Si= (P*R*T)/100 Punjabi” Get P
@ 8, 4 Say “Simple Interest” Get SI @ 12, 4 Say “Enter marks obtained in Hindi”
CI=P*(1+r/100) ^ t-P Get U
@ 10, 4 Say “Compound Interest” Get CI Read
Total=H+E+S+P+U
3. Program for Area of Circle @ 14, 4 Say “Total Marks” Get Total
Average=Total/5
Set Talk off @ 16, 4 Say “Average Marks” Get Average
R=0
Area=0
Clear
@ 2, 4 Say “Enter the Value of Radius” Get R
Read
28
6. Program for Calculating Meter and ?M
Centimeter by Kilometer M=M+5
Enddo
Set Talk off
KM=0 10. Program for find out the maximum
M=0 number from given three numbers.
CM=0 Set talk off
Clear A=0
@ 2, 4 Say “Enter the Length in Kilometer” B=0
Get KM C=0
Read Max=0
M=KM*1000 Clear
@ 4, 4 Say “Total Meter” Get M @ 2, 4 Say “Enter A” Get A
CM=M*100 @ 4, 4 Say “Enter B” Get B
@ 6, 4 Say “Total Centimeter” Get CM @ 6, 4 Say “Enter C” Get C
Read
7. Program for Area of Triangle by Three If A>B
angles Max=A
Else
Set Talk off Max=B
A=0 Endif
B=0 If Max>C
C=0 @ 8, 4 Say “Maximum No is” Get Max
S=0 Else
Area=0 @ 10, 4 Say “Maximum No is” Get C
Clear Endif
@ 2, 4 Say “Enter the Side A” Get A
@ 4, 4 Say “Enter the Side B” Get B 11. Program for Find out the Even Number
@ 6, 4 Say “Enter the Side C” Get C or Odd Number from the giver Number.
Read
S= (A+B+C)/2 Set Talk Off
@ 8, 4 Say “Side S” Get S A=0
Area=(S*(S-A)*(S-B)*(S-C)) Clear
@ 10, 4 Say “Area of Triangle” Get Area @ 2, 4 Say “Enter Any Number” Get A
Read
8. Program for Calculating Area of Square If a%2=0
@ 4, 4 Say “This number is Even” Get A
Set Talk off Else
A=0 @ 6, 4 Say “This number is Odd” Get A
Area=0 Endif
Pare=0
Clear 12. Program for calculating the sum of the
@ 2, 4 Say “Enter the Side A” Get A odd numbers.
Read
Area=A*A Clear
@ 4, 4 Say “Area of Square” Get Area Set Talk off
Para=4*A T=0
@ 6, 4 Say “Para of Square” Get Para X=0
Do While (X<=19)
9. Program for write down the table ?X
T=T+X
Set Talk off X=X+2
M=0 Enddo
Clear ? “Addition of First 10 odd Number= “, T
Do while M<=50 Return
29
‘C’ Language
What is Language?
Language is a medium of communication. There are several types of languages like:
1. Low Level Language: - Low level language is used to design system software and
utilities etc.
2. High Level Language: -High level language is used to design the application software
like Business Problems and Scientific problem.
What is C?
C is a programming language developed at AT & T’s Bell Laboratories of USA in 1972. It
was designed and written by a man named Denis Ritchie. The C Compilers combines the
capabilities of an assembly language with the feature of a high-level language and therefore it
is well suited for writing both system software and business package.
There are only 32 keywords and its strength lies its built-in functions.
Constants
Constant in C refer to fixed value that do not change during the execution of a program. This
quantity can be stored at a location in the memory of the computer.
Types of C Constants
C constants can be divided into two major categories:
1. Primary Constants
a) Integer Constants
b) Real Constants
c) Character Constants
2. Secondary Constants
a) Array
b) Pointer
c) Structure
d) Union etc.
Rules for Constructing Integer Constants
a) An integer constant must have at least one digit.
b) It must not have a decimal point.
c) It could be either positive or negative.
d) No commas or blanks are allowed within an integer constant.
e) The allowable range for integer constants is -32768 to +32767.
Rules for Constructing Real Constants
a) An integer constant must have at least one digit.
b) It must have a decimal point.
c) It could be either positive or negative.
d) No commas or blanks are allowed within an integer constant.
Rules for Constructing Character Constants
a) A character constant is a single alphabet, a single digit or a single special symbol
enclosed within single inverted commas; both the inverted commas should point to
the left.
b) The maximum length of a character can be 1 character.
30
Variables
In C a quantity which may vary during program execution is called a variable. Variable
names are given to locations in the memory of computer where different constants are stored.
These locations can store integer, real or character constants.
Rules for Constructing Variable Names
a) A variable name is any combination of 1 to 8 alphabets, digits or underscores. Some
compilers allow variable names whose length could be up to 40 characters, still, it
would be safer to stick to the rule of 8 characters.
b) The first character in the variable name must be an alphabet.
c) No commas or blanks are allowed within a variable name.
d) No special symbol other that an underscore can be used in a variable name.
C Keywords
Every C word is classified as either a keyword or an identifier. All keywords have fixed
meanings and these meaning cannot be changed. Keywords serve basic building blocks for
program statements.
There are 32 Keywords available in C.
31
/*for simple addition, subtraction, /*programe to simplyfy the equation*/
multiplication and division*/ #include<stdio.h>
#include<stdio.h> #include<conio.h>
#include<conio.h> void main()
void main() {
{ int b,a,c,d;
int a,b,c; clrscr();
clrscr(); printf("enter the value of b,a,and c");
printf("enter the value of a and b"); scanf("%d%d%d",&b,&a,&c);
scanf("%d%d",&a,&b); d=((b*b)-4*a*c);
c=a+b; printf("discriminant=%d",d);
printf("Total=%d",c); getch();
c=a-b; }
printf("Subtraction=%d",c);
c=a*b; /*programe to find out largest number in
printf("Multiplication=%d",c); given three numbers*/
c=a/b; #include<stdio.h>
printf("Division=%d",c); #include<conio.h>
getch(); void main()
} {
int a,b,c;
clrscr();
/*for simple and compound interest*/ printf("enter any three numbers");
#include<stdio.h> scanf("%d%d%d",&a,&b,&c);
#include<conio.h> if(a>b&&a>c)
#include<math.h> printf("a is large number:%d",a);
void main() else
{ if(b>c)
int p,r,t,si,ci; printf("b is large number:%d",b);
clrscr(); else
printf("enter the value of principle,rate of printf("c is large number:%d",c);
interest,number of years"); getch();
scanf("%d%d%d",&p,&r,&t); }
si=(p*r*t)/100;
printf("simple interest=%d",si); /*programe to do print the four digit
ci=p*pow((100+r)/100.0,t)-p; number in the reverse form*/
printf("compound interest=%d",ci); #include<stdio.h>
getch(); #include<conio.h>
} void main()
{
int a,b,c,d,r1,r2,r3,r4;
/*programe to find out area of a triangle*/ clrscr();
#include<stdio.h> printf("enter the value of a four digit
#include<conio.h> number");
void main() scanf("%d",&a);
{ r1=a%10;
int b,h,area; b=a/10;
clrscr(); r2=b%10;
printf("enter the value of breadth and height"); c=b/10;
scanf("%d%d",&b,&h); r3=c%10;
area=(b*h)/2; r4=c/10;
printf("area of triangle is:%d",area); d=r1*1000+r2*100+r3*10+r4*1;
getch(); printf("reverse form=%d",d);
} getch();
}
/*programe to find out the division*/ }
#include<stdio.h> count=count+1;
#include<conio.h> }
void main() }
{
int a,b,c,d,e,av;
clrscr(); /*find the enter number is prime or not*/
printf("enter marks of five subjects"); #include<stdio.h>
scanf("%d%d%d%d%d",&a,&b,&c,&d,&e); #include<conio.h>
av=(a+b+c+d+e)/5; void main()
if(av>=60) {
printf("first division"); int num,i;
else clrscr();
if(av>=50&&av<60) printf("\n enter a numner");
printf("second division"); scanf("%d",&num);
else i=2;
if(av>=35&&av<50) while(i<num)
printf("third division"); {
else if(num%i==0)
printf("fail"); {
getch(); printf("not a prime number");
} break;
}
i++;
}
/*programe to do print the counting*/ if(i==num)
#include<stdio.h> printf("prime number");
#include<conio.h> getch();
void main() }
{
int counting=1;
clrscr(); /*find wheather number is even or odd by
while(counting<=100) using switch case*/
{ #include<stdio.h>
printf("%d\t",counting); #include<conio.h>
counting=counting+1; void main()
} {
} int n,ch;
printf("Enter the number:\n");
scanf("%d",&n);
/*programe to find out the value of even if(n%2==0)
numbers among 1 to 100*/ ch=1;
#include<stdio.h> else
#include<conio.h> ch=2;
void main() switch(ch)
{ {
int count=1,even=0; case 1:
clrscr(); printf("number is even\n");
while(count<=100) break;
{ case 2:
if(count%2==0) printf("number is odd\n");
{ }
printf("%d\t",count); }
even=even+1;
Tally
Tally is an Accounting Software that helps you in maintaining Accounts and Inventory of
your office.
Accounting
“Accounting is the art of recording, classifying and summarizing in a significant manner and
in terms of money, transactions and events, which are in part, at least, of a financial character,
and interpreting the result thereof” – American Institute of certified public accountants.
Methods of Accounting
There are two types of Accounting Systems.
American Method or Single Entry System.
English Method or Double Entry System.
Methods of Recording
I. Debit the Increase in the Assets and Credit the Decrease in the Assets.
II. Credit the Increase in the Liabilities and Debit the Decrease in the Liabilities.
III. Credit the Increase in the Capital and Debit the Decrease in the Capital.
IV. Credit the Increase in the Income and Debit the Decrease in the Income.
V. Debit the Increase in the Expenses and Credit the Decrease in the Expenses.
Classification of Accounts
1. Personal Accounts: - These accounts are those accounts which are opened by a
name of a person, firm, company, society or organization.
Rules: -“Debit the Receiver and Credit the Giver”.
2. Real Accounts: -Those Business assets which can be measure in the term of
money; their accounts are called Real Accounts.
Rules: - “Debit what comes in and Credit what goes out”.
3. Create Ledgers: -Ledgers are actual account heads to which the transactions are
identified. You Make all voucher entries in these accounts. You have to classify all
ledgers in to groups.
4. Voucher Entries: -For Making the Voucher Entries first of all we have to set the
voucher date by pressing F2 then enter the voucher date. There are various types of
vouchers in tally.
Voucher Entries are describes as follows: -
I. Contra Voucher: -This type of voucher is used for Cash to Bank, Bank to Cash and
Bank to Bank Entries. Press F4 to select the voucher type.
II. Payment Voucher: -This type of voucher is used for the Cash Payment Entries.
Press F5 to select the voucher type.
III. Receipts Voucher: - This type of voucher is used for the Cash Receipts Entries.
Press F6 to select the voucher type.
IV. Journal: - This is used for the Journal Entries like debit of credit Entries. Press F7
to select the voucher type.
V. Sales Voucher: -This is used for the Goods Sales Entries. Press F8 to select the
voucher type.
VI. Purchase Voucher: -This is used for Goods Purchase Entries. Press F9 to select the
voucher type.
VII. Memo: -This is used to create Memorandum or Reverse Journal Voucher. Press
F10 to select the voucher type.
5. Display Reports: -There are several types of reports are generated by the tally like
Trading and Profit and Loss Account, Balance Sheet, Inventory Reporting Ratio
Analysis etc.
TRADING ACCOUNT
Rs. To Gross Profit (If Any) Rs. Rs. By Gross Loss (If Any) transferred to Rs.
transferred to P/L Account P/L Account (Bal. Figures)
(Bal. Figures)
Rs To Gross Loss (If Any) B/D Rs. Rs. By Gross Profit (If Any) B/D Rs.
Profit and Loss Account
Computer Abbreviations
1. ALU Arithmetic and Logic Unit
2. ASCII American Standard Code for Information Interchange
3. BCD Binary Coded Decimal
4. BIOS Basic Input Output System
5. CAD Computer Aided Design
6. CAM Computer Aided Manufacturing
7. CD Compact Disk
8. CD-ROM Compact Disk – Read Only Memory
9. CGA Color Graphic Adapter
10. COBOL Common Business Oriented Language
11. CPU Central Processing Unit
12. CVT Constant Voltage Transformer
13. DBMS Data Base Management System
14. DOS Disk Operating System
15. DVD Digital Versatile Disk, Digital Video Disk
16. DTPS Desk Top Publishing System
17. EEPROM Electrically Erasable Programmable Read Only Memory
18. FAT File Animation Tool or Trunk
19. FIFO First In First Out
20. FDD Floppy Disk Drive
21. GB Giga Byte
22. GIF Graphic Underhand Format
23. GIGO Garbage In Garbage Out
24. GUI Graphical User Interface
25. HDD Hard Disk Drive
26. IBM International Business Machine
27. IC Integrated Circuits
28. IDE Integrated Device Electronics
29. IT Information Technology
30. INTERNET International Network
31. JPEG Joint Photographic Experts Group
32. KB Kilo Byte
33. LAN Local Area Network
34. LIFO Last In First Out
35. MAN Metropolitan Area Network
36. MG Mega Byte
37. MS-DOS Micro Soft – Disk Operating System
38. NTFS New Technology File System
39. OCR Optical Character Reader
40. OMR Optical Mark Recognition
41. OS Operating System
42. PASCAL A Programming Language
43. PROM Programmable Read Only Memory
44. RAM Random Access Memory
45. ROM Read Only Memory
46. SQL Structural Query Language
47. UNIX A Multi-user Time Sharing System
48. VDU Visual Display Unit
49. VGA Visual Graphic Adaptor
50. WAN Wide Area Network