Вы находитесь на странице: 1из 4

EX. No.

: 1(b)
AIM:

STUDY OF TURBO C
To study the TURBO C IDE, compile and execute a simple C program.

DESCRIPTION:
The TURBO C development environment offers the following main menu commands.

File

Edit

Search

Run

Compile

Debug

Project

Options

Windows

Help

At the main menu, either press an arrow key to move to the desired option and then press enter key or
press the highlighted capital letters of the option. You can also press alt key and the first letter of the
option, which you desire to open.
FILE (ALT-F):
This menu offers choices for loading existing files, creating new files and saving files. This menu
contains New, Open, Save, Save as, Save all, Change dir, Print, Dos Shell and Quit.
File ->New: This option is used to create a new program.
File ->Open (F3): This option is used to open an existing files.
File ->Save (F2): This option is used to save the program.
File ->Save as: This option is used to save the program in another name.
File ->Change dir: This option is used to change the directory of existing folder to another
directory.
File ->Print: This option is used to print the existing programs.
File ->Dos shell: This option is used to come out from the c editor to dos shell. To return to
Turbo C, type exit and press enter and the DOS prompt.
File ->Quit: This option is used to exit from C editor.

EDIT: (ALT E): This command takes you to the edit window. In this menu, it is used to modify the
programs. In this menu we can copy, cut and paste the programs.
SEARCH (ALT S): This menu lets you to find particular part of the program, replace the particular part
of program and move to particular line number.
RUN (ALT-R): This menu lets you to compile, link and run our program and start and debugging
sessions.
RUN->RUN (CTRL+F9): This option is used to compile, link and run our program. If we compile and
link with the option debug source debugging on, your program will run in debug mode. This command
will stop execution at the first break point or it will run the program all the way through. After
compilation, to view the result press Alt-F5.
COMPILE (ALT-F9): This menu allows to invoke compile to obj, Make Exe file, Link Exe file, etc.,
Alt-F9 is used to compile and create an object file. F9 command is used to build a execution file.
DEBUG: This menus options let you look at and change variable values, go to the declaration of any
function in the source code and look at the call stack. Break/Watch option is used to insert, remove and go
breakpoint in your program and set delete and edit watch expressions.
PROJECT (ALT-P): This menu is used to define and manage project.
OPTIONS (ALT-O): This menu allows configuring the Turbo C Editor.
WINDOWS (ALT-W): This menu is used to Cascade all files, move programs and close all programs.

Steps for Program writing :


Step 1 :- Invoke Turbo C editor using StartRunc:tc\bin\tc
Step 2 :- Type the source program.
Step 3 :- save the program using F2 command. (filename.c)
Step 4 :- Compile and run the program using Alt F9 and Cntrl F9.
Step 5 :- To view the result use Alt F5.
RESULT:
Thus the options in the TURBO C IDE have been studied and a simple C program is compiled
and executed.

EX:No: 02

MAIL MERGE

Aim :
To create a document to illustrate the concept of mail merge .
Description :
Mail merge is main feature of MS word which is used to quickly produce personalized letter and
mailing tables for send the same document to so many members .To walk in mail merge two documents
are needed.
Data source :
The file contains the formal of letter invitation that to be send to all.(body of contents) Main document .
To
<< Full name>>
<< address >>
<< city>>
<< postal code>>
Respected sir/Madam
This is to inform that you have interviews in our Dr.S.J.S PMCET at the following venue .So
you are requested to come for the interview venue .
Place : Dr. S.J.S PMCET
Date : 20.01.2011
Time : 10.00 AM
Regards
The recruitment team
Procedure :
1. Select tools from main documents .
2. Click mail merge button.
3. Click the create button .
4. Click from letter button .
5. Type the main document , button and save it.
6. Click the list data button.
7. Click create data source button .
8. Select the field name and remove other fields by removed field name button.
9. Click ok.
10. Click edit data source document is created.
11. Insert the merge fields to your main document .
12. Merge the letter by clicking merge buttons.
Result :
Thus the concept of mail merge had been created in MS-WORD document and illustrated
successfully.

Ex:No.3

MS EXCEL STUDENT MARK LIST

Aim :
To prepare a student mark list using Microsoft Excel , to try with different types of graphs
( Bar ,XY,Pie ) for the following data .
S.No
1.
2.
3.
4.
5.
Procedure :

Name of the

Maths

Physics

chemistry

T.D

BEEE

CP

Total

Average

student
Aravidh
Boobalan
Ganesh
Gowtham
Praveen

90
82
75
97
84

72
75
85
76
80

83
87
79
73
84

78
86
78
56
50

56
60
52
58
51

76
73
67
82
76

455
463
436
442
425

75.833
77.166
72.666
73.666
70.833

1. Select the MS Excel application from the MS Office tools.


2. Enter the field names of the students mark list to various cell coloum.
3. Enter the data to the respective fields.Using the data to the marks calculated the total and average
fields .
Total = sum(m1+m2+m3+m4+m5+m6)
Average = sum (total)
Number of subjects
4. Apply respective cell relation in formula .
5. To copy the formula ,from the cell to remaining cell,choose (ctrl+c ) and(Shift+ down arrow ) and
press (left arrow).
6. To apply chart selection the fields to which the chart has to be drawn.
7. Select the chart option under lines menu and then save the application ,and exit.
Result :
Thus the student mark list was typed successfully and table is created with given specification in
Ms Excel applications .

Вам также может понравиться