full manual.doc
TRANSCRIPT
-
8/14/2019 Full manual.doc
1/47
GE2115 COMPUTER PRACTICE LABORATORY I
LIST OF EXERCISES
a) Word Process !" 15
1. Document creation, Text manipulation with Scientific notations.2. Table creation, Table formatting and Conversion.3. ail merge and !etter preparation.". Drawing # flow Chart
#) S$read S%ee& 15
$. Chart # !ine, %&, 'ar and (ie.). *ormula # formula editor.+. Spread sheet # inclusion of ob ect, (icture and graphics, protecting the document and sheet.-. Sorting and mport / 0xport features.
S '$(e C Pro"ra'' !" 15
. Data t pes, 0xpression 0valuation, Condition Statements.1 . 4rra s11. Structures and 5nions12. *unctions
TOTAL* +5 PERIO,S
6 *or programming exercises *low chart and pseudocode are essential
-AR,WARE . SOFTWARE RE/UIRE, FOR A BATC- OF 0 STU,E TS
-ard3are
1 !47 S stem with 33 nodes 89:; Standalone (Cs < 33 7os.2 (rinters < 3 7os.
So4&3are
1 9S < =indows / 57 % Clone2 4pplication (ac>age < 9ffice suite3 Compiler < C
I ,EX
1
-
8/14/2019 Full manual.doc
2/47
S( o L s& O4 Pro"ra's
MS WOR,
1 A) ,oc6'e!& Crea& o!7 Te8& Ma! $6(a& o! W &%Sc e!& 4 c o&a& o!s
B) Ad9er& se'e!& I! Word
2 A) Ta#(e Crea& o! A!d Ta#(e For'a&& !"B) Ta#(e Co!9ers o!0 Ma ( Mer"e A!d Le&&er Pre$ara& o!
+ F(o3 C%ar&
MS EXCEL
5 C%ar& I! S$read S%ee&
: A) For'6(a Ed &or
B) To Crea&e A E8a' !a& o! ,a&a#ase; A) I!c(6s o! O4 O#
-
8/14/2019 Full manual.doc
3/47
To 3r &e a 'e!6 dr 9e! $ro"ra' &o 4 !dFac&or a( o4 &%e " 9e! !6'#erPr 'e !6'#er or !o&E9e! !6'#er or Odd !6'#er
12 USI G ARRAYS
a) To $er4or' 'a&r 8 add & o!
#) To $er4or' 'a&r 8 M6(& $( ca& o!
10 USI G STRI G -A ,LI G FU CTIO S
a)To 4 !d " 9e! s&r !" s $a( !dro'e or !o)Co!9ers o! o4 U$$ercase &o Lo3ercase Lo3ercase &o U$$ercase
1+ USI G FU CTIO S
a) To $er4or' Ar &%'e& c o$era& o!s ca(( # 9a(6e)#) To $er4or' s3a$$ !" o4 &3o !6'#ers ca(( # re4ere!ce)
15 USI G STRUCTURE
To Per4or' S&6de!& Res6(& Ca(c6(a& o!
1: USI G U IO
To $er4or' E'$(o ee e& sa(ar Ca(c6(a& o!
3
-
8/14/2019 Full manual.doc
4/47
I TRO,UCTIO TO MS>WOR,S#=9:D is a word processing program that allows us to create documents such as letters,
reports, manuals and newsletters etc. =ord provides man features that ma>e it eas for creating
professional loo>ing documents. The option provided b s#=ord are explained below.
E TERI G A , E,ITI G TEXT *
1. =ord offers the following features. =e can add or delete text.
2. :earrange paragraphs and chec> for spelling and grammar mista>es.
3. =ord remembers the last changes we have made to a document, so that we can undo or cancel.
". =e can save a word document for further use.
$. f there is an confidential in formation, we can protect that document using personal
(4SS=9:D. t provides prevention from other people from opening or modif ing the
document.
DIEWI G ,OCUME TS *
The view of a document can be changed in different views to ma>e the document easier to edit
and wor> with. =ord offers four different wa s to view a document.
7ormal ?iew Simplifies the document so that we
can @uic>l enter, edit and format text
9utline !a out and 9utline ?iews These views are useful for organiAing
the content and structure of a large
document.
(age !a out ?iew Displa s the document on the screen
exactl as it appear on a printed page.
t displa s margins of the document.
=e can use Aoom feature to view a document in detail or displa more of a document on
the screen at once.
FORMATTI G TEXT *
"
-
8/14/2019 Full manual.doc
5/47
*ormatting is the process of changing the appearance of text in a document.
*ont siAes, st les and colors ?arious t pes of fonts, st les and
colors help us to enhance the
appearance of text.
!ine Spacing =e can change the amount of space between the lines of text.
4lignment =e can align the text in three
different wa s. 8i.e., left, corner,
right.;
Tabs =e can line up information in
columns b using these tabs.
'ullets and 7umbering This feature is ver useful to separate
items in a list b beginning each item
with a bullet or number.
FORMATTI G ,OCUME TS
=ords formatting feature is used to determine how the document is printed in a page. =e can
change the margins for the document, center text on a page or specif whether the page can be printed
either in portrait or landscape orientation.
(age 7umbers and (age 'orders =e can add page 7umbers and page
borders to a document.
*ootnotes and 0ndnotes This feature allows us to provide
additional information about text in a
document.
Beaders and *ooters This is used to insert or displa
information in header/ footer pane of
the document.
PRI TI G *
$
-
8/14/2019 Full manual.doc
6/47
4fter finishing the process of editing and formatting a document, we can produce a paper cop
of the document. =e can preview the document before printing to see it on the screen exactl what the
hard cop will loo> li>e. =e can also use word to create and print envelopes and mailing labels.
TABLES *
Tables are used to organiAe and neatl displa information in a document in the form of rowsand columns. =ord allows us to draw a table on the screen as we would draw a table with a pen and
paper.
There are man wa s that we can enhance the appearance of a table, such as changing the cell
borders, adding shades to cells and changing the position of text in cells. =ord also offers built in user
designs that are used to enhance the appearance of the table.
GRAP-ICS *
=ord provides man t pes of graphics to enhance the appearance of a document. raphics such
as text effects, 4uto shapes and professionall designed clipart can help ma>e a document more
interesting and draw attention to important information.
4fter adding graphics, we can further enhance the document b wrapping text around the
graphics.
MAIL MERGE A , LABELI G *
The mail merge and labeling features in s#=ord provides us to @uic>l produce personaliAedletters and mailing labels for each person on a mailing list. This is useful to send the same document
8such as an announcement, change of address, notification or advertisement; to man people.
-OW TO START MICROSOFT WOR, *
To start icrosoft =ord, do the following clic> on
s&ar& $ro"ra's M croso4& Word and then clic>.
1 a) ,OCUME T CREATIO 7 TEXT MA IPULATIO WIT-
)
-
8/14/2019 Full manual.doc
7/47
SCIE TIFIC OTATIO S
AIM *To create a document and perform the following operations using s#word.
S&e$s &o #e 4o((o3ed *
1. 9pen a new Document and perform the following tas>s.a. ustif the Text
b. a>e some of the Text as 'old t pe.c. Correct the spellings.d. 5nderline and ma>e talic st le for some words.
9pen a new document using *ile 7ew option and t pe text.
*or ustification select the entire text in the document. Then select the 6s& 4 button
on the formatting tool bar, now our selected text is ustified.
*or 'old *ace or talic of the words, select the word ou want to change into bold
face. Then select the Bo(d . I&a( c button on the formatting tool bar, now our
selected text is changed to either 'old or talic.
*or spelling corrections, select the word ou want to correct, then right clic> the
mouse or clic> S$e(( !" a!d Gra''ar button on the standard tool bar.
*or saving the document, clic> on save button on standard tool bar or select the sa9e
option on F (e menu. Then it shows the Sa9e As dialog box. Choose a suitable file
name in *ile 7ame text box, then clic> Sa9e button on Sa9e As d a(o" #o8 7ow the
document is saved under a given name.
2. a>e 4lignment for the following Text.8S.4 0ngineering College;
8i; *or Le4& A( "!'e!& press CTRL L or press A( "! Le4& #6&&o!on the
For'a&& !" toolbar.
8ii; *or R "%& A( "!'e!& press CTRL E or press A( "! R "%& #6&&o! on the
For'a&& !" tool bar.
3. 4dd the 'ullets and numbering as shown below.o Computer Software
+
-
8/14/2019 Full manual.doc
8/47
o T pes 9f Softwareo Software Development Stepso nternet 0volutiono 'asic nternet Terminologo etting connected to nternet 4pplications
8i; Select the text where ou want to add B6((e&s a!d !6'#er !"s
8ii; Then clic> B6((e&s #6&&o!on the formatting tool bar or choose B6((e&s a!d !6'#er !"
option from the For'a& menu. t shows the B6((e&s a!d !6'#er !" d a(o" #o8 as shown
below.
8iii; Choose re@uired 'ullet from the B6((e&Tab for 'ullets.
8iv; Choose 6'#er !" #6&&o! on the For'a&& !" tool bar or choose re@uired number series
from the 6'#ered tab in the B6((e&s a!d 6'#er !" dialog box.
". Change the !ine spacing as 1.$ for the whole text in a document
i. Se(ec& A(( option from &%e Ed &menu or b pressing CTRL A
ii. Choose Para"ra$% option from the For'a& menu selection. 4 $ara"ra$% #o8
iii. Select the 1.$ !ines from the L !e S$ac !" list box, then clic> OH
iv. 7ow the 1.$ line spacing is applied to the selected paragraph.
$. To add box on the entire text, do the following stepsE
8i; Choose Se(ec& A(( option from Ed &menu or b pressing CTRL A8ii; 7ow the total text of the document will be highlighted.
8iii; Clic> Border icon in For'a&& !" tool bar.
8iv; Then clic> outside the text to de#select it. 7ow ou will see the entire text in a
box.
). Changing the different t pes of *ont t pes and siAes.
i. Select the text ou want to change for font t pes and SiAes.ii. Then choose Fo!& option from the For'a& menu.
iii. t shows the Fo!& d a(o" #o87 as shown below.
iv. Choose the re@uired Fo!& & $efrom the Fo!& drop down list box and the
re@uired s elist box on the Fo!& d a(o" #o8 Then Clic> OH
+. nserting S mbols
i. T pe the text, then put the cursor where ou want to add the s mbol.
-
-
8/14/2019 Full manual.doc
9/47
ii. Choose S mbols option from the nsert enu 'ar.
iii. Shows the s mbols dialog box. Then choose the appropriate *ont t pe.
iv. 87ormall for s mbols =ebdings *ont;.
-. To add 4nimation to the T0%T
i. T pe the text in the document.
ii. Select the text to which ou want to add animation.
iii. Choose For'a&>JFo!& option
iv. t displa s the *ont dialog box, choose Te8& E44ec&stab.
v. t shows the different 4nimations t pe.
vi. Choose the re@uired one, then clic> OH
vii. 7ow the text that is selected is shown in 4nimation st le.
. Changing text into different cases
i. Select the text ou want to change.ii. Then choose the C%a!"e Case option from the For'a& enu.
iii. The C%a!"e Case d a(o" #o8 appears.
iv. Bere ou can choose different cases for the selected text.
1 . ?isiting Card
i. 9pen a new document.
ii. Clic> on the Pa"e se&6$ option from the F (e enu.
iii. Clic> on Pa$er S e tab, set the W d&%and -e "%& and Clic> OH button.
iv. (osition the cursor and clic> For'a&>JFo!& and select the appropriate font
t pe and siAe.
v. 0nter the details given such as name, phone number , 0#mail. =ebsite.
vi. Clic> F (e>JSa9e
RESULT *
Thus a document is created and the following operations are performed using s#word.
1#) A,DERTISEME T I WOR,
-
8/14/2019 Full manual.doc
10/47
AIM *
To Create an advertisement in word
PROCE,URE *
*or Creating a document , select F (e menu bar then choose e3 option
o *or ustification, select the text to be ustified in the document and then press the 6s& 4 button
in the formatted tool bar.
o *or bold face of the word, select the text to change them into bold face in the document and then
press the button B in the formatted tool bar.
o *or spelling correction and grammar chec>ing, select the word to be spell corrected, and then
clic> ABC button on the standard tool bar.
o *or changing the text st le into italic, select the word and then press the button I in the tool bar.o *irst t pe the title of the advertisement F format it using above steps.
o *or Themes, select For'a&7 then go to T%e'es F select an themes from the list.
o To insert picture, select I!ser&7 then P c&6re7from the clip art collection cop an picture.
o To use word art, select I!ser&>JP c&6re>JWord ar&
1
-
8/14/2019 Full manual.doc
11/47
OUTPUT *
S A E GI EERI G COLLEGE 7 C-E AI ;;S A E GI EERI G COLLEGE 7 C-E AI ;;
A,MISSIO S 2 ?>1
A""re"a&e 'arKs ! Ma&%s7 P% s cs C%e' s&r
RESULT *
Thus the advertisement is created in word document.
EX O 2A TABLE CREATIO A , TABLE FORMATI G
11
1 COMPUTER SCIE CE E GG 2 MEC-A ICAL E GG 0 ELECTRICAL ELECTRO ICS + I FORMATIO TEC- OLOGY 5 CIDIL E GG
E( " # ( &
:
-
8/14/2019 Full manual.doc
12/47
AIM* To create a table using s#=ord..
STEPS TO BE FOLLOWE,*
ST0( 1E ove the cursor to the place where ou want the new table.
ST0( 2E Choose insert table from table new.
ST0( 3E Specif the number of rows and columns that is four rows and four columns.
ST0( "E Clic> on 9G button.
ST0( $E Change the column width as per re@uirement and t pe the re@uired data.
ST0( )E Choose fond command from format menu.
ST0( +E 5sing either the >e board arrows or the mouse pointer select a font which ou li>e
the best.
ST0( -E Clic> 9G button.
ST0( E To bold, highlight the heading and then clic> once on bold icon.
ST0( 1 E Bighlight the text b placing the mouse in the beginning of the text, clic> once. Geep
left button of the mouse pressed and drag the mouse till the end of the text. :elease
the mouse button.
ST0( 11E Clic> on center icon to center the text across the page width.
ST0( 12E (lace the cursor in the place where we want to find total and goto tools and clic>
formula.
ST0( 13E Clic> 9G.
RESULT* Thus the table with rows and columns was created successfull .
EX O 2B TABLE CO DERSIO
AIM*
12
-
8/14/2019 Full manual.doc
13/47
To convert a series of text into a table and vice versa.
STEPS TO BE FOLLOWE,*
CO DERT TABLE TO TEXT*
ST0( 1E Select a table in a document.
ST0( 2E Choose the convert table to text option from the table menu.
ST0( 3E 7ow the convert table dialog box appears.
ST0( "E Choose the separator of the text. Then clic> 9G.
ST0( $E 7ow the table information is converted into text in a document.
CO DERT TEXT TO TABLE*
ST0( 1E Select the text in the document.
ST0( 2E Choose the convert#text to table option from the table menu.
ST0( 3E 7ow the convert text to table dialog box appears.
ST0( "E Choose the table siAe and separator text option. Then clic> 9G.
ST0( $E 7ow the text information is converted into a table.
RESULT* Thus a series of strings was converted into a table and vice versa.
EX O 0 MAIL MERGE A , LETTER PREPERATIO
AIM* To create a mail merge for the given letter.
STEPS TO BE FOLLOWE,*
13
-
8/14/2019 Full manual.doc
14/47
ST0( 1E Select file option in the menu bar and clic> new, to open a new document.
ST0( 2E *rom tools menu select the mail merge.
ST0( 3E t shows the mail merge helper dialog box.
ST0( "E n the main document area of mail merge helper dialog box, clic> on create button, it shows
the available option.ST0( $E Select *orm !etters from the pull down menu of create button.
ST0( )E Clic> on 4ctive =indow button in S#=ord dialog box.
ST0( +E n the ail erge Belper dialog box, clic> et data button.
ST0( -E Select Create Data Source to get create Data source dialog box.
ST0( E Select the appropriate fields from the *ield from the *ield names in the header row drop down
list box or add new fields b t ping the field name in the field box and clic> on 4dd *ield 7ame.
ST0( 1 E :emove the unwanted field b clic>ing the :emove *ield name.
ST0( 11E Clic> 9G, now the Save 4s dialog box appears to save the data source.
ST0( 12E T pe the appropriate name for the data source then clic> 9G.
ST0( 13E t shows the dialog box as>ing to add records to the data base.
ST0( 1"E Clic> on 0dit Data source to add records to the data source.
ST0( 1$E t shows the data form dialog box, add records to the data source.
ST0( 1)E Then clic> 9G, the mail merge tool bar is automaticall displa ed in the main
document.
ST0( 1+E Clic> on the nsert erge *ield on the mail merge tool bar.ST0( 1-E Select the desired fields from the drop down menu of insert merge field.
ST0( 1 E 4fter inserting the merge fields, choose tools ##H mail merge.
ST0( 2 E ail merge Belper dialog box opens, clic> merge then clic> on merge button to
create a new document. 7ow the main document and data is merged into new
document.
RESULT* Thus a mail merge was created successfull .
EX O + FLOW C-ART
AIM* To draw a flow chart to add two numbers.
1"
-
8/14/2019 Full manual.doc
15/47
STEPS TO BE FOLLOWE,*
ST0( 1E Choose flow chart option in the auto shapes menu of the drawing tool bar.
ST0( 2E Choose the appropriate flow chart s mbol then drag the s mbol in the document.
ST0( 3E T pe the text in the s mbol b right clic>, then choose add text.
ST0( "E 5sing the arrow button line st le button in the drawing tool bar draw the lines
connecting to the different flow chart s mbol.
ST0( $E Select all the flow chart s mbols and lines in the document using the select ob ect
button then right choose grouping, then clic> on group.
ST0( )E 7ow all the flow chart s mbols are grouped into one and the flow chart for addition is
achieved.
RESULT* Thus a flow chart to add two numbers was drawn in S#=ord successfull .
I TRO,UCTIO TO MS>EXCEL
1$
-
8/14/2019 Full manual.doc
16/47
icrosoft excel is the most widel used and versatile spreadsheets pac>age and helps us to organiAe
the data into lists and then summariAe, compare and present the data graphicall . t has the user interface
features common to other icrosoft 9ffice applications.
0xcel allows us
1. To enter an edit data in a wor>sheet.
2. To use functions and formulae to calculate and anal Ae data.
3. to create colorful charts and graphs.
". To save time b combining a series of commands into a single command b using 4C:9S.
$. (rovides tools that are used to manage and anal Ae a large amount of data into a list.
Bow to start icrosoft 0xcelI
To start icrosoft 0xcel, do the followingStart ############H (rograms icrosoft 0xcel.
4 blan> untitled spreadsheet opens.
PARTS OF SPREA,S-EETS*
Co(6'!s*
Columns are vertical lines of cells. The are named from 4 to J afterwards 44 to 4J, '4 to 'J and
so on up to ?. There are 2$) columns available in spreadsheet.
Ro3s*
:ows are horiAontal lines of cells. 4 number identifies each row from 1 to 3$$3). There are 3$$3)
rows available in spreadsheet.
Ce((s*
4 cell is the point where the row and the column intersect. The width of cell spaces can be altered tosuit the application.
Ce(( $o !&er*
t is a highlighted cell boundar that specifies which cell is active at that moment.
1)
-
8/14/2019 Full manual.doc
17/47
,a&a*
Data is nothing but Text, 7umbers, 4lphanumeric and Dates. =e can enter data into the wor>sheet
easil , the data which is currentl t ped appears in the active cell and the in the formula bar at the top of
wor>sheet.
T $es o4 ,a&a
Data in spreadsheets can be divided into the following.
7umbers These are the numbers from #Text These ma be an text or alphanumeric characters.*ormulae *ormulae are nothing but mathematical expressions. 4ll formulae
contain operators.9perators These are the s mbols that are used to carr out a particular tas>s on
the operands.
There are three t pes of operatorsE
1 Ar &%'e& c O$era&ors*
These are used to perform basic mathematical operations and to combine numeric values and
produce result. The following are 7umeric 9perators.
O$era& o!s Mea! !"K 4ddition
# Subtractions 6 ultiplication / Division L 0xponentiation
2 Lo" ca( O$era&ors*
These are used to compare two values and produce a logical result either True or *alse 8Aero; or
18one;. The following are the logical operators.
O$era& o! Mea! !"M 0@ualH reater than
1+
-
8/14/2019 Full manual.doc
18/47
N !ess thanHM reater than or 0@ual toNM !ess than or 0@ual toNH 7ot e@ual to
0 Te8& O$era&ors*
This operator is used to oin two or more text values to produce a single combined text values.9peration eaningF Concatenation
WorK !" 3 &% 3orKs%ee&*
Crea& !" a !e3 3orKs%ee&
Creating a new wor>sheet is the process of creating new wor>sheet in S#0xcel. To create a newwor>sheet, do the following.
1. Clic> on the file########H 7ew option. 7ow new dialog box appears.
2. Choose wor>boo> on general tab and then clic> 9G.
3. 7ow a t pical wor>boo> opens.
E!&er !" da&a ! &%e 3orKs%ee&*
=0 can enter data into the wor>sheet b t ping at the active cell, after pressing
N07T0:H >e the next cell becomes active. =e can use arrow >e s to move from one cell to another.
Sa9 !" &%e 3orKs%ee&*
Saving is the process of retaining the data for the further purpose.
*ollow these steps to save the wor>sheet.
1-
-
8/14/2019 Full manual.doc
19/47
1. *rom the file#####H Save or Save 4s option.
2. 7ow Save 4s dialog box appears.
3. T pe the name of the file in the file name area.
". Then clic> Save button to save the file.
EX O 5 C-ART I SPREA, S-EET
AIM* To create 'ar Chart, !ine Chart and (ie chart from the given data.
STEPS TO BE FOLLOWE,*
ST0( 1E T pe the given data in the wor> sheet.
ST0( 2E Clic> at cell address 41.Clic> nsert ##H Chart.
ST0( 3E 0xcel will displa the first dialog box of chart wiAard.
ST0( "E Select the 'ar raph and Clic> on 7ext.
1
-
8/14/2019 Full manual.doc
20/47
ST0( $E Clic> on Data :ange from the Chart =iAard dialog box.
ST0( )E Select 41 to 0), then clic> next.
ST0( +E Clic> in the Chart title box, t pe 4'C compan .
ST0( -E Clic> on the categor %#4xis, t pe &04:S.
ST0( E Clic> on the value xis t pe (:9D5CTS.
ST0( 1 E Clic> next and then clic> * 7 SB.
ST0( 11E 0xcel will displa the created chart.
ST0( 12E n the same wa , repeat the steps for creating !ine Chart and (ie Chart.
RESULT* Thus the bar chart, line chart and pie chart have been created successfull .
EX O :A FORMULA E,ITOR
AIM* To calculate B:4, D4, T4, (*, (*, ! C, ross salar deductions, 7et Salar for the given datain a wor> sheet.
STEPS TO BE FOLLOWE,*
ST0( 1E *or B:4 put the cell pointer in D2 and press M8e@ual to; for entering the formula. Then choose
the C2 cell 8basic salar ; and t pe 68multiplication operator; and t pe 1-O then press enter. 7ow the
1-O B:4 form '4S C is calculated.
ST0( 2E Then drag that formula for entire records.
2
-
8/14/2019 Full manual.doc
21/47
ST0( 3E *or T4 put the cell pointer in 02 and press M 8e@ual to; for entering the formula the choose the
C2 cell 8'asic salar ; and t pe 6 8multiplication operator; and 1$O then press enter.
ST0( "E 7ow the 1$O T4 from 'asic is calculated. Then drag that formula for entire records.
ST0( $E *ollow the above steps for calculation of D4, (*, (*, ! C.
ST0( )E *or S 8 ross Salar ;E put the cell pointer in the 2 and choose the M, then clic> on C2 cell K
clic> on D2 K clic> on 02 K clic> on *2 and press enter. 7ow the ross salar is calculated.
ST0( +E Drag all the cell.
ST0( -E *ollow the above step for DD and 7S calculations.
ST0( E 4fter all calculations, select all the data in wor> sheet , then choose Data ##H Sort, from the sort
dialog box, choose 7ame for the sort order.
RESULT* Thus B:4, D4, T4, (*, (*, ! C, ross Salar , Deduction 7et salar for given data iscalculated.
EX O* :B TO CREATE A EXAMI ATIO ,ATABASE
4 E
Create a suitable examination database and find the sum of the mar>s 8total; of each student and
the respective classes secured b the students.
:5!0SE 1. (4SS if mar>s in each sub ect HM3$
2. *4 ! if mar>s in an sub ect is N3$
3. Distinction if average HM+$
". *irst Class if average HM) but less than +$
$. Second class if average HM$ but less than )
). Third class if average HM3$ but less than $
Displa average mar>s of the class sub ect#wise and pass percentages.
21
-
8/14/2019 Full manual.doc
22/47
7ame ar>1 ar>2 ar>3 Total 4verageBarshBarini:ishi
STEPS TO BE FOLLOWE,*
To *ind the sum of the mar>s
1. 0nter the Student 7ame, ar>s in three sub ects
2. (lace the cursor in 02, t pe M SUM B2 ,0)
3. (lace the cursor in *2, t pe M ADERAGE B2 ,0)
". Clic> on 2, t pe M IF OR B2 057C2 057,2 05) 7NFAIL 7IF F2J ;57
N,ISTI CTIO 7 IF F2J : 7 NFIRST CLASS 7 IF F2J 5 7 NSECO , CLASS 7T-IR,CLASS ))))
$. Cop the formulae to the remaining students.
RESULT*
Thus the examination database was created successfull .
EX O* ;A I CLUSIO OF OB ECTS7 PICTURES A ,GRAP-ICS
AIM*
To insert ob ects, pictures and comment into the wor>sheet using S#0%C0!.
S&e$s &o #e 4o((o3ed*
1. nserting 9b ects in the =or>sheets.
1. There are so man ob ects that can be inserted into the wor>sheets
2. Choose O#
-
8/14/2019 Full manual.doc
23/47
". Choose appropriate ob ect from the A6&o s%a$e menu of the ,ra3 !" &oo(#ar
2. nserting a picture
1. Choose (icture option in the nsert enu.
2. Then choose from file option.
3. 7ow the nsert (icture dialog box is shown
". 7avigate and choose the picture to the insert into the wor>sheet
$. Then clic> on I!ser& button.
). 7ow the selected in inserted into the wor>sheet.
3. nserting Comments in the =or>sheet
1. Comments are helpful for identif ing the elements in the raph2. Select the Cell in which comment to be added.
3. Choose Comments option in the nset enu.
". 7ow the Comment portion of the particular cell is edited
$. Then t pe the comments for the cell.
). Clic> on the outside of the comment.
+. =henever ou place the cell pointer in that cell, the comment is automaticall
shown.
". nserting a *unctionE
1. Clic> on Pas&e F6!c& o! 4 8 button in the S&a!dard Too(#ar or choose F6!c& o!
option in the I!ser& menu.
2. 7ow the (aste *unction dialog box is shown with the functions available in the
s#0xcel.
3. Choose the re@uired function, the clic> on 9G. ". 7ow the re@uired function is edited and added to the wor>sheet.
$. 9pen the number of wor>boo>s at a timeE
1. 9pen number of wor>sheets in the same wor>boo>
23
-
8/14/2019 Full manual.doc
24/47
2. then choose W !do3>J Arra!"eQ7 it shows that Arra!"e W !do3s d a(o" #o87
as shown below.
3. Choose Cascade option from the Arra!"e W !do3s d a(o" #o8
". 7ow all the wor>sheets are cascaded in the current wor>boo>.
). Show the =or>sheet in 3D effectE
9pen the =or>sheet, using F (e>J O$e! option
1. 7ow it opens the selected wor>sheet
2. Select the data range in the wor>sheet
3. 7ow choose For'a&>J A6&o4or'a&Q
". 7ow it shows the A6&oFor'a& d a(o" #o8
$. Clic> on the 0, E44ec&s autoformat.
+. 7ow the wor>sheet is shown in 3D format st le.
RESULT*
Thus the ob ects, pictures and comments are inserted into the wor>sheet
successfull using S#0%C0!
EX O ;B PROTECTI G S-EETS A , ,OCUME TS
AIM* To protect a sheet and document in S#0xcel.
STEPS TO BE FOLLOWE,*
ST0( 1E Clic> on cell which ou want to protect.
ST0( 2E Choose Too(s >>J $ro&ec& o!, then choose Pro&ec& S%ee&. t shows $ro&ec& s%ee&
#ooK d a(o" #o8 as>ing the $ass3ord to protect sheet.
ST0( 3E T pe the password clic> and 9G. Then it as>s for co!4 r'a& o! $ass3ord #o8 T pe
the same password again and then clic> 9G.
ST0( "E 7ow the sheet is under protection.
ST0( $E f ou clic> on an cell to t pe then the following message box appears b specif ing
the sheet under protection.
2"
-
8/14/2019 Full manual.doc
25/47
ST0( )E To remove protection, choose &oo(s >>J $ro&ec& o! >>J 6!$ro&ec& s%ee&, then t pe the
$ass3ord to unprotect.
ST0( +E 7ow the sheet can be unprotected.
ST0( -E *ollow the same procedure b choosing the &oo(s >>J Pro&ec& o! >>J $ro&ec& 3orK
#ooK option to protect the wor>boo>.
PROTECTI G T-E WORHBOOH *
ST0( 1 E 9pen the wor>boo> to protect.
ST0( 2E Choose Too(s >>J $ro&ec& o!, then choose Pro&ec& WorK#ooK . t shows $ro&ec&
WorK#ooK d a(o" #o8 as>ing the password to protect sheet.
ST0( 3E T pe the password and clic> 9G. Then it as>s for co!4 r'a& o! $ass3ord #o8 . T pe
the same password again and then clic> 9G.ST0( "E 7ow the sheet is under protection.
ST0( $E f ou clic> on an cell to t pe then the following message box appears b specif ing
the sheet under protection.
ST0( )E To remove protection, choose &oo(s >>J $ro&ec& o! >>J 6!$ro&ec& s%ee&, then t pe the
password to unprotect.
ST0( +E 7ow the sheet can be unprotected.
ST0( -E *ollow the same procedure b choosing the &oo(s >>J Pro&ec& o! >>J $ro&ec& 3orK
#ooK option to protect the wor>boo>.
2$
-
8/14/2019 Full manual.doc
26/47
RESULT* Thus the protection of sheet and wor>boo> in s#0xcel is done successfull .
EX O = SORTI G A , IMPORT .EXPORT FEATURES
AIM *
To 0nter the following data into the =or>boo> using the Data *orm Command.
STEPS TO BE FOLLOWE, *
Step 1 E 0nter the 7ame , Department, Salar in different columns.
Step 2 E Clic> Data *orm option, it shows the form as shown below.
Step 3 E Clic> e3 button in the For' to add the rows to the list.
Step " E 4fter adding the rows, place the cursor in the list in the wor>sheet.Step $ E Clic> ,a&a Sor&7 it shows the Sor& d a(o" #o8 , as shown below.
Step ) E n the Sor& # drop down list select ,e$&7 clic> OH
Step + E 4gain in Sor&, clic> Sa(ar from T%e! B drop down list.
Step - E The rows are sorted now, depending on the ,EPT and SALARY .
Step E Clic> ,a&a F (&er A6&oF (&er , it shows an arrow at each field.
2)
-
8/14/2019 Full manual.doc
27/47
Step 1 E 9n the ,e$& clic> the icon select Acco6!&s .
Step 11 EThe list of rows which belongs to Acco6!&s is displa ed.
Step 12 E (lace the cursor in 41$, find the sum using S5 formula.
Step 13 E n the same wa find each departments total salar .
TO CALCULATE T-E SUBTOTALS *
Step 1 E T pe the list in a wor>sheet with column as Salesman, (roduct, Sales.
Step 2 E Select all, then sort the Sales Column to add Subtotals.
Step 3 E Clic> ,a&a S6#&o&a(s
Step " E The S6#&o&a(dialog box appears.
Step $ E Select the column name from A& eac% c%a!"e in drop down list box to add subtotals.
Step ) E 5se the S6' function from the 5se 46!c& o! drop down listbox.
Step + E Select the field names 8Sales, (roduct; from the Add S6#&o&a(s to drop down list box.
Step - E Clic> OH &o add s6#&o&a(s &o &%e ( s&Step E 7ow the list displa s the subtotals and a grand total.
RESULT *
Thus the following data is sorted successfull using s#0xcel.
? a) FI , T-E AREA A , CIRCUMSTA CE OF T-E CIRCLE
AIM*
To write a program to find the area and circumstance of the circle.
ALGORIT-M*
Step 1E Start the program.
Step 2E nput the radius of the circle.
Step 3E *ind the area and circumstance of the circle using the formulae 4reaM3.1"6r6r CircumM263.1"6r
Step "E (rint the area and the circum of the circle.
Step $E Stop.
SAMPLE OUTPUT*
2+
-
8/14/2019 Full manual.doc
28/47
0nter the radius of the circle $
4reaM+-.$CircumferenceM31."
RESULT*
Thus the 4rea and circumference of circle performed using C.
? #) A,,ITIO OF TWO UMBERS
AIM* To find the 4ddition of two numbers.
ALGORIT-M*
Step 1E Start the program.Step 2E Declare the variables of respective data t pe.
a,b,c#Hinteger Step 3E et the value for b F c.Step "E Calculate aMbKcStep $E (rint the a#addition of two numbers.Step )E Stop.
2-
-
8/14/2019 Full manual.doc
29/47
SAMPLE OUTPUT*
0nter the two numbersE123
4ddition M 33
RESULT*
Thus the 4ddition of two numbers performed using C.
? c) FI , T-E GIDE UMBER IS POSITIDE OR EGATIDE
AIM*
To write a program in C to find the given value is positive or negative.
ALGORIT-M*
Step 1E Start the program.
Step 2E :ead the value of PnQ.
Step 3E Chec> whether PnQ is greater than Aero or not.
Step "E f step#3 is True. (rint (ositive.
Step $E f step#3 is *alse. (rint 7egative.
Step )E Stop.
2
-
8/14/2019 Full manual.doc
30/47
SAMPLE OUTPUT*
0nter the numberE -The given number - is positive.
RESULT*
Thus the given value is positive or negative performed using C.
? d) FI , T-E GIDE UMBER IS ARMSTRO G OR OTAIM*
To write a program in C to find the number is 4rmstrong or not.
ALGORIT-M* Step 1E Start the program.
Step 2E :ead the value of PaQ.
Step 3E 4ssign value PaQ to the variable PeQ..
Step "E Chec> whether the value of PaQ is greater than Aero or not.
Step $E f step#" is True, do step#) to step#1 .
Step )E Compute b M aO1 .
Step +E Compute c M b6b6b.
Step -E Compute a M a/1 .
Step E Compute d M c K d.
Step 1 E goto step#".
3
-
8/14/2019 Full manual.doc
31/47
Step 11E f step#" is *alse, do the following steps.
Step 12E Chec> the value of PeQ is e@ual to value of PdQ.
Step 13E f step#12 is True, print 4rmstrong.
Step 1"E f step#12 is *alse, print 7ot 4rmstrong.
Step 1$E Stop.
SAMPLE OUTPUT*0nter the numberE 1$3 1$3 is an 4rmstrong number.0nter the numberE 123 123 is not an 4rmstrong number.
RESULT*
Thus the given number is 4rmstrong or not performed using C.
? e) FI , T-E SUM A , PRO,UCT OF TWO UMBERSAIM*
To write a program in C to find the sum and product.
ALGORIT-M*
Step 1E Start the program.
Step 2E :ead input values to c,d.
Step 3E Compute sum M cKd.
Step "E Compute product M c6d.
Step $E (rint the values of sum, product.
Step )E Stop.
31
-
8/14/2019 Full manual.doc
32/47
SAMPLE OUTPUT*
0nter the valueE + The sum is 1) and (roduct is )3
RESULT*
Thus the given number is sum and product performed using C.
? 4) TO GE ERATE FIBO ACCI SERIES
AIM*
To write a program to generate fibonocci series
ALGORIT-M*
Step 1E Start the program.
Step 2E 0nter the number.
Step 3E Chec> the number whether the number is Aero or not.f Aero print Aero. f not Aero go further.
Step "E Set a loop upto the given number.
Step $E fib M fibKaR aMbR bMcR
Step )E 0ver increment in the loop prints the value of fib.
Step +E Stop.
32
-
8/14/2019 Full manual.doc
33/47
SAMPLE OUTPUT* 0nter the number $
*ibonacci Series 1 1 2 3
RESULT*
Thus the *ibonacci series generated using C.
? ") SUM OF ,IGITS
AIM*
To write a program to find sum of digitsALGORIT-M*
Step 1E Start the program.
Step 2E Declare the variables of respective data t pe. n,r,sum#Hinteger.
Step 3E Set sumM
Step "E f nH then
Step $E Calculate rMnO1 SumMsumKr nMn/1
Step )E (rint sum
Step +E Stop
33
-
8/14/2019 Full manual.doc
34/47
SAMPLE OUTPUT*
0nter the numberE 12
Sum of digits M3
RESULT*
Thus the sum of digits performed using C.
? %) STU,E T RESULT CALCULATIO
AIM*
To write a program to perform student result calculation
ALGORIT-M*Step 1E Start the program.
Step 2E Declare the variables name, id no., mar>1, mar>2, mar>3. ofrespective data t pe.
Step 3E Declare the variables Total, 4verage, rade of respective data t pe.
Step "E et the values for name, id no., mar>1, mar>2, mar>3.
Step $E Calculate the total mar> and average.
Step )E if the 4verage is above ) , then rade 4. if the 4verage is above $ F below ) , then rade '.
if the 4verage is below ) , then rade C.
Step +E (rint the values of name, id no., mar>1, mar>2, mar>3, Total,4verage, rade respectivel .
Step -E Stop
3"
-
8/14/2019 Full manual.doc
35/47
SAMPLE OUTPUT*
0nter the student no E 10nter the student name E ohn0nter the 1st sub ect mar>E 1
0nter the 2nd sub ect mar>E $)0nter the 3rd sub ect mar>E -
ST5D07T D0T4 !S 6666666 6666666Student 7umber E1Student 7ame E ohn1st Sub ect ar>E12nd Sub ect ar>E$)3rd Sub ect ar>E-
T9T4! M23) 4?0:4 0M+-. D ST 7CT 97
RESULT*
Thus the student result calculation performed using C.
1 ROOTS OF /UA,RATIC E/UATIO
AIM*
To write a c program to find roots of @uadratic e@uation
ALGORIT-M*
Step 1E Start the program.
Step 2E 0nter the value of a,b,c
Step 3E *ind the value of d b using the formula dMb6b#"6a6c Step "E f d is greater then or e@ual to Aero then find the two root as root1M8#bKs@rt8d;;/826a;R root2M8#b#s@rt8d;;/826a;R (rint the two roots
Step $E f d is greater then or e@ual to Aero then print the statement the roots are imaginar . Step )E Stop
3$
-
8/14/2019 Full manual.doc
36/47
SAMPLE OUTPUT*
0nter the values of a,b,c 1 #
The roots of the values aM1,bM ,cM are 3. 3.
RESULT*
Thus the roots of @uadratic e@uation performed using C.
11 SWITC- CASE PROGRAM
AIM*
To write a menu driven program to find
1. *actorial of the given number 2. (rime number or not3. 0ven number or odd number ". 0xit
ALGORIT-M*
Step 1E Start
Step 2E :ead num
Step 3E 0nter our choice using switch statement
Step "E f our choice 1.*ind the *actorical
Step $E set a loop up to the entered number
Step )E Calculate factorial factMfact6i
Step +E (rint the factorial value
3)
-
8/14/2019 Full manual.doc
37/47
Step -E f our choice 2.*ind the whether the number is prime r not
Step E set a loop up to number#1
Step 1 E Chec> the number is divide b an number other than one and the number itself
Step 11E f divide absolutel then print the number is not a prime
Step 12E f not divide other than one and itself then print the number is prime
Step 13E f our choice 3.*ind the whether the number is odd or even
Step 1"E f the number is divide b 2 then print the number is even
Step 1$E f the number is not dividing b 2 then print the number is odd
Step 1)E f ou choose the choice ".0xit the program
SAMPLE OUTPUT*
0nter the number .$Choose one of the options given below 1. *actorial of the given number
2. (rime number or not 3. 9dd or 0ven ". 0xit
1The factorial of $ is 12
0nter the number .$Choose one of the options given below
1. *actorial of the given number 2. (rime number or not 3. 9dd or 0ven ". 0xit 2The given number is a prime
0nter the number .$Choose one of the options given below
1. *actorial of the given number
3+
-
8/14/2019 Full manual.doc
38/47
2. (rime number or not 3. 9dd or 0ven ". 0xit "
RESULT*
Thus the menu driven program is performed using switch cases.
12 a) MATRIX A,,ITIO
AIM*
To write a program to perform matrix 4ddition.
ALGORIT-M*
Step 1E Start the program.
Step 2E Declare the arra variables of respective data t pe.
Step 3E et the number of rows and columns.
Step "E et the element of matrix 4.
Step $E et the element of matrix '.
Step )E 4dd the rows of 4 with respective columns of ' b ta>ing thecorresponding element in 4 and ' using for loop.
Step +E (rint the resultant matrix.
Step -E Stop.
3-
-
8/14/2019 Full manual.doc
39/47
SAMPLE OUTPUT*
0nter the rows and column of two matrixes 3 3
0nter the elements of 4 matrix 1 2 3 " $ ) + - 0nter the elements of ' matrix 1 2 3 " $ ) + -
The addition of two matrix2 " )- 1 12
1" 1) 1-
RESULT*
Thus the matrix addition is performed using C.
12 #) MATRIX MULTIPLICATIO
AIM*
To write a program to perform matrix multiplication.
ALGORIT-M*
Step 1E Start the program.
Step 2E Declare the arra variables of respective data t pe.
Step 3E et the number of rows and columns.
Step "E et the element of matrix 4.
Step $E et the element of matrix '.
Step )E ultipl the rows of 4 with respective columns of ' b ta>ing thecorresponding element in 4 and ' using for loop.
Step +E (rint the resultant matrix.
Step -E Stop.
3
-
8/14/2019 Full manual.doc
40/47
SAMPLE OUTPUT*
0nter the :ows and Columns of two matrixes 3 3
0nter the elements of 4 matrix 1 2 3 " $ ) + -
0nter the elements of ' matrix 1 2 3 " $ ) + -
The multiplication of two matrix3 3) "2)) -1 )
1 2 12) 1$
RESULT*
Thus the matrix multiplication is performed using C.
10 a) TO FI , PALI ,ROME OR OT
AIM*
To write a program to find whether the given string is a (alindrome or notALGORIT-M*
Step1E Start the program.
Step2E :ead the name a 1 U.
Step3E Cop the string using strcp 8b,a;.
Step"E :everse the string using strrev8a;.
Step$E Calculate nMstrcmp8a,b;.
Step)E f 8nMM ; then
Step+E (rint VThe given string is a (4! 7D:9 0W.
Step-E 0lse
Step E(rint VThe given string is not a (4! 7D:9 0W.
"
-
8/14/2019 Full manual.doc
41/47
Step1 E Stop.
SAMPLE OUTPUT*
0nter the stringE madam
The given string is a (4! 7D:9 0
0nter the stringE computer
The given string is not a (4! 7D:9 0
RESULT*
Thus the given string is chec>ed whether (alindrome or not using C program.
10 #) UPPER CASE TO LOWERCASE A , DICE DERSA
AIM* To convert the given string from lower case to upper case and vice versa .
ALGORIT-M*
Step1E Start the program.
Step2E nput ,a.
Step3E :ead the string name 1 U.
Step"E Set M .
Step$E f 8name UXMQY Q;Step)E Calculate aMislower8name U;.
Step+E f 8aXM ; then
Step-E (rint < toupper8name U;
Step E 0lse.
"1
-
8/14/2019 Full manual.doc
42/47
Step1 E (rint# tolower8name U;
Step11E ncrement KK.
Step12E oto step $.
Step13E Stop.
SAMPLE OUTPUT*
0nter the StringE
C9m(uTe: computer
RESULT*
Thus the string is converted into lower from upper and into upper from lower.
1+a) TO PERFROM ARIT-METIC OPERATIO S CALL BY DALUE)
AIM*
To write a program to perform arithmetic operations using function.ALGORIT-M*
Step1E Start the program.
Step2E Declare the functions for addition, subtraction, multiplication, division., andmodulo
Step3E :ead the values of a,b.
Step"E Call the functions in different variables c, d, e, f, g.
Step$E (rint the values stored in c, d, e, f, g in the main function.
Step)E Stop.
SAMPLE OUTPUT*
"2
-
8/14/2019 Full manual.doc
43/47
0nter two numbersE)34dditionMSubtractionM3
ultiplicationM1-
DivisionM2oduloM
RESULT*
Thus the 4rithmetic operations are performed using functions in C.
1+ #) TO SWAP T-E TWO FU CTIO S CALL BY REFERE CE)
AIM*
To swap the values stored in the two variables using Call ' :eference.
ALGORIT-M*
Step1E Start the program.
Step2E :ead the values of a, b.
Step3E Declare the function swap8Fa,Fb; . oto Step ".
Step"E Define the function swap8int 6a,int 6b;
Step$E nitialiAe 6>M6 a, 6 aM6 b, 6 bM 6>.
Step)E (rint the values of 6 a,6 b in the main function.
Step+E Stop.
SAMPLE OUTPUT*
"3
-
8/14/2019 Full manual.doc
44/47
0nter the values of a F bE23"$The value of ZaZisE"$The value of ZbZisE23
RESULT*
Thus the two values are swapped using Call b :eference in C.
15 USI G STRUCTURE>STU,E T RESULT CALCULATIO
AIM*
To write a program to create student mar> sheet using structure
ALGORIT-M*
Step 1E Start the program.
Step 2E Create a structure that includes name, id no., mar>1, mar>2, mar>3.
Step 3E Declare the variables Total, 4verage, rade of respective data t pe.
Step "E et the values for name, id no., mar>1, mar>2, mar>3.
Step $E Calculate the total mar> and average.
Step )E if the 4verage is above ) , then rade 4. if the 4verage is above $ F below ) , then rade '. if the 4verage is below ) , then rade C.
Step +E (rint the values of name, id no., mar>1, mar>2, mar>3, Total,4verage, rade respectivel .
""
-
8/14/2019 Full manual.doc
45/47
Step -E Stop
SAMPLE OUTPUT*
0nter the number of studentsE 2
0nter the Student detailE
:oll noE 23
7ameE rahul
*irst sub ect mar>E +-
Second sub ect mar>E
Third sub ect mar>E -
T9T4!M2"-
4?0:4 0M-2. D ST 7CT 97
0nter the Student detailE
:oll noE 3"
7ameE tena
*irst sub ect mar>E 3"
Second sub ect mar>E +-
Third sub ect mar>E )
T9T4!M1+24?0:4 0M$+. *4 !
"$
-
8/14/2019 Full manual.doc
46/47
RESULT*
Thus the students details are created using Structure.
1: USI G U IO >EMPLOYEE ET SALARY CALCULATIO
AIM*
To write a program to find emplo ee net salar calculation 5sing union
ALGORIT-M*
Step 1E Start the program.
Step 2E Create a union that include emplo ee name, emplo ee id no.,basic pa .
Step 3E Declare the variables B:4.D4.70TS4!:&9* respective data t pe.
Step "E et the values for emplo ee name, emplo ee id no.,basic pa .
Step $E Calculate the B:4,D4 47D 70TS4!4:&.
Step +E (rint the values of emplo ee name, emplo ee id no,basic pa .,B:4,D4 and 70TS4!4:& respectivel .
Step -E Stop
")
-
8/14/2019 Full manual.doc
47/47
SAMPLE OUTPUT*
0nter emplo ee detailsE0nter emplo ee numberE10nter emplo ee nameE&alini
0nter basic pa E1
B:4M2D4M$
7et salar M1+
RESULT*
Thus the emplo ee details are created using union.