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

H.S.L.C.

Examination, 2012

A Project study in partial fulfillment of the requirements of Elective Computer Science of


the Board of Secondary Education, Assam for the H.S.L.C. Examination 2012.

TOPIC: (1)On MS-ACCESS PLATFORM: Windows XP

Employee Table Microsoft Office 2000

Salary Table

(2)On HTML

Guwahati

(3) On ‘C’ Language

Rank of students out of 4 subjects

PROJECT SUBMITTED BY
NAME: PALLAB KATHAR

ROLL: B12-383NO: 3002

REGISTRATION NO: 14V/0816/026039/08


Certificate by Guide

This is to certify that PALLAB KATHAR, Roll B12-383, No. 3002, Registration No.
14V/0816/026039/08 of HAPPY MONTESSORI HIGH SCHOOL, GUWAHATI, has
prepared the Report File on MS ACCESS, HTML and ‘C’ Language under my direct
supervision.

The report is truly authentic and not a copy from any source.

(Signature of Head Master) Guide’s Name: MISS NAZRANA CHISTI


………………………………

Happy Montesssori High School Designation: Computer Teacher

Date: ………………………….................
ACKNOWLEDGEMENT

As per syllabus of the project required to be submitted in connection with the


interval valuation in the H.S.L.C. Exam-2012 of Computer Science for class-X as directed by
Board of Secondary Education (S.E.B.A). I have prepared this Project Report for the
purpose of my own efforts.

My heartiest thanks go to Secondary Education Board Of Assam (SEBA) to give an


opportunity to learn computer subject in our syllabus, as it is an important part of
education now-a-days.

I also owe to our school Head Master Sir. G.S.Doshi for maintaining strict discipline
and allowing us to do computer practical classes with all the necessary equipments.
Beside this, I express my gratitude to our Class Teacher and all others teachers of our
school.

In fine, I do hereby acknowledgement the receipt of necessary guidance prolific


instruction given by our respected Computer Teacher MISS NAZRANA CHISTI of our Happy
Montesssori High School for which this project could be bought out to such a grand getup
with all required points as incorporated therein as lucidly as possible.

PALLAB KATHAR
Contents

Sl.No INDEX Page No.


1 General Introduction to the Project 1
2 Introduction to M.S. Access 2
3 Creating a database with commands 2
4 Structure of Table1 with commands 3
5 Structure of Table2 with commands 4
6 Creation a Query with commands 5
7 Creation a Form with commands 6
8 Creation a Report with commands 7
9 Records in Table1 8
10 Records in Table2 8
11 Output of the Query 9
12 Output of the Form 10
13 Output of the Report 11-12
14 Utility of the created Database 12
15 Introduction to HTML 13
16 Creation of Homepage with 7 links 14-21
17 HTML codes for the links 22
18 Tags and Elements used 22
19 Output of the Web pages 23-25
20 Utility of the created Website 26
21 Introduction of C Language 27
22 Flowchart 28-30
23 Program 31
24 Commands used 32
25 Output 33
26 Utility of the created C program 33
27 General Conclusion 34
28 Bibliography 34
1. General Introduction to the Project

Welcome to the “Introduction Age” throughout the world of computer.

This is a project report on Microsoft Access, HTML and ‘C’ Language as recommended by
S.E.B.A. I am very thankful to S.E.B.A. for introducing Microsoft Access, HTML and ‘C’ Language, in our
syllabus.

Microsoft Access allows us to store and organize information in sets of tables, which can be
displayed in the form of columns and rows to look like a table or an index card. I have designed one
database system “Employee Records Database System” to keep the records of all Employees in an
organization. It is computerized so that it will be easy for us to maintain the everyday records in a
computerized system. All the required Tables, Queries, Forms and Reports are designed.

HTML is the acronym for Hyper Text Markup Language. It is a computer language that is used for
creating Web pages. It is a language for describing the structure of a document. It defines a set of
common styles for Web pages. In this report I have tried to design a Web site on HTML on the topic
“India Tourism” containing six web pages including the home page. I have created hyperlinks to link all
those web pages so that we can easily navigate through the website. I also used all the possible HTML
TAGs and ATTRIBUTEs that can be useful to develop this project.

The ‘C’ complier combines the capabilities of an assembly language with the features of a high-
level language and therefore it is well suited for writings both system software and business packages.
Programs written in ‘C’ are efficient and fast. This is due to its variety of data types and powerful
operators. It is many times faster than BASIC. There are only 32 keywords and its strength lies in its build
in functions. Several standard functions are available which can be used for developing programs. I have
tried to design a program in ‘C’ Language and its flowchart and the program will give the output, when a
user enters any data from the keyboard.
-1-

2. Introduction to M.S. Access

Microsoft Corporation, which is the largest producer of software in the world, in the 90’s, introduced the concept
of M.S. Access. A software to take care of most of our database requirements. It allows us to store and organize
information in sets of tables, which can be displayed in the form of columns and rows to look like a table or an
index card. What’s more it allows us to perform calculations and find for our simple statistics like totals and
averages. It allows us to sort the data in any form and extract the required information based on the key given by
us

3. Creating a Database with commands


The Database helps us to extract specific information from the MS Access. This is the best way to create Database.

Creating a Database:

Step 1: Select Create table by using wizard, in the Database dialog


box.

Step 2: Click on either Business or Personal, depending upon the


kind of table that we want to create.

Step 3: Scroll the ‘Sample Tables’ list. Click on the required table
and see the sample fields of the chosen table in the ‘Sample
Field’ list.

Step 4: To add a field from the sample list, double click on the
field name and then on ‘>’ button present on the dialog
box. To include all the fields from the list, click on the ‘>>’
button.

Step 5: To remove a field after initially including it, click on it in


the rightmost list, then click on the ‘<’ button. Clicking on
‘<<’ button removes all the fields.

Step 6: After including all the required fields in the New table,
click Next.

Step 7: Wizard asks us to name the table. It even suggests a name.


We have to type the name and click Next.
Step 8: A final dialog box with three main options appears. Click
Finish.

-2-

4. Structure of Table 1 with commands

Design View of Employee Table


-3-

5. Structure of Table 2 with commands

Design View of Salary Table


-4-

6. Creation of a Query with commands


The Query helps us to extract specific information from the database. It is like asking a
question to the Access and finding out the answer.

Creating a Query:

Step 1: Click the Query tab in the Database window.

Step 2: Click the New button on the Database window toolbar.

Step 3: In the New Query dialog box, select Design View.

Step 4: Click OK.

Step 5: In the Show Table dialog box that opens, select the tables
we want to include in our Query, clicking Add after each.

Step 6: After we have added all the tables we want included, click
Close.

Step 7: Double click a field in the field box in the upper portion of
the select Query dialog box to add it to the query design
grid.

Step 8: The Show check boxes in the grid should be checked for all
the fields that we want to display in the resulting datasheet.

Step 9: To sort the records in the resulting datasheet, click for the
Field that we want to sort and then select Ascending or
Descending from the drop-down list.

-5-
7. Creation of a Form with commands

The Form makes it easy for us to select for our Form from more than one table or Query.

Creating a Form:

Step 1: Click the Forms tab in the Database window.

Step 2: Click the New button on the Database window toolbar.

Step 3: In the New Form dialog box, choose a method from the
list.

Step 4: If we choose one of the Auto Forms, select a table or query


from the pull-down list.

Step 5: Click OK. The Auto Form wizard creates a Form in the
default style, using all fields defined in the table.

Step 6: The Design View option in the New Form dialog box
displays a blank Form in Design View, with the Forms
toolbar box available for adding controls.

-6-
8. Creation of a Report with commands

A Report will print our database in a format, which looks best on the paper using the
printer attached to our computer. This is no doubt the quickest way of creating a Report.

Creating a Report:

Step 1: Click the Report tab in the Database window.

Step 2: Click the New button on the Database window toolbar.

Step 3: In the New Report dialog box, select AutoReport


Columnar and select a table or query on which to base the
Report.

Step 4: Click OK.

Step 5: The report is displayed in the Print Preview.


-7-

9. Records of Table 1

Validations:

1. Employee code field (Emp Code) has to be unique for every record in the table. It cannot
have NULL value. The value of this field must be entered.
2. Department field may have only one of the values from Production, Computer,
Personnel and Marketing.
3. Designation field may have any one of the Values from Manager, Executive and Clerk.

10. Records of Table 2

Validations:
1. Employee code field (Emp Code) has to be unique for every record in the table. It
cannot have NULL value. The value of this field must be entered.
2. Number of days worked (Days Worked field) and Number of Leaves Avail (Leave Avail
field) in a month cannot be more than 31.
-8-

11. Output of the Query

Employee Table

Output of the Query

Salary Table
-9-

12. Output of the Form

Employee Table

Output of the Form

Salary Table
-10-

13. Output of the Report

Employee Table
-11-

Output of the Report

Salary Table
14. Utility of the created Database

Creating database is probably the easiest and fastest method of creating a database where we
have to fill up some information and the database is ready for us. It not only creates Tables for us but all
the Forms, Reports, etc., connected with it are done too.

-12-
15. Introduction to HTML

HTML is the acronym for Hyper Text Markup Language. It is a computer language that is used for
creating Web pages. It is a language for describing the structure of a document. It defines a set of
common styles for Web pages.

Hypertext is a text stored in electronic form with cross-reference links to other pages or
documents.

Markup means we start with the text of our page and markup (or add) special tags around words
and paragraphs. The tags indicate different parts of the page, add extra features and produce different
effects when the file is opened in the browser.

Language provides Rules and Syntax for the tags and tags. It is a scripting language, which differs
completely from programming language. HTML is across platform language, i.e., HTML documents can
be used on any type of computer or platform like Macintosh Computer, IBM Computer, UNIX, Windows
etc.

HTML tags do not specify the exact font sizes, line spacing, indents etc. which are the formatting
features generally used to control the appearance of a document in a word processor or a publishing
software.

-13-
16. Creation of Homepage with 7 links
-14-

Source Code of Guwahati (Homepage)

<HTML><HEAD><TITLE>guwahati</TITLE></HEAD>

<BODY><BODY BGCOLOR=SILVER><FONT SIZE=4><FONT COLOR=BLACK><FONT FACE=MONOTYPE CORSIVA>

<CENTER><H4><i>GUWAHATI</H4></CENTER></i></U>

<center><h5><U>INTRODUCTION</center></h5></U>

Guwahati is one of the famous place in Assam even in India. Guwahati is a major city in eastern India, often
considered as the gateway

to the North-East Region (NER) of the country and is the largest city within the region.

Dispur, the capital of the Indian state of Assam is situated within the city. Guwahati is

one of the most rapidly growing cities in India. <BR>

<CENTER><IMG SRC="C:\My Documents\PICTURES\300px-Iitgdepts[1].jpg"HEIGHT=100></CENTER>

Today, the city straddles between the LGB International Airport in the west to Narengi in the east for almost 45
kilometres and between the

southern bank of the Brahmaputra river and the foothills of the Shillong plateau for around 15 kilometres.
Guwahati is also one of the

most beautiful cities in South Asia with the mighty and picturesque Brahmaputra, river islands (e.g. Umananda),
beaches, beach-islands

(balicapori).<br>

<center><a href="C:\My Documents\MANISH PROJECT\HISTORY 1.HTML"><center>History </center></a>

<a href="C:\My Documents\MANISH PROJECT\ENVIRONMEMT.html">Environment, </a>

<a href="C:\My Documents\MANISH PROJECT\LIFE STYLE.HTML">Lifestyle, </a>

<a href="C:\My Documents\MANISH PROJECT\FESTIVAL.HTML">Festival, </a>

<a href="C:\My Documents\MANISH PROJECT\TOURISM.html">Tourism, </a>

</font></body></html>
-15-

Source Code of ‘History’ Link - I

<HTML><HEAD><TITLE>guwahati</TITLE></HEAD>

<BODY><BODY BGCOLOR=SILVER><FONT SIZE=4><FONT COLOR=BLACK><FONT FACE=MONOTYPE CORSIVA>

<center><h2><U>HISTORY</center></h5></U>

Guwahati's myths and history are extended to several thousands of years.

Although a specific time of the city's origin is unknown, with reference from

the epics, puranas and from the pages of the explored history, it can be

concluded that it is one among the ancient cities in Asia. Epigraphic

sources place capitals of many ancient kingdoms in Guwahati. It was

the capital of the mythological kings Naraka and Bhagadatta (reference in

the Mahabharata). <BR>

<CENTER><IMG SRC="C:\My Documents\PICTURES\2548133480082425388QyzGhj_ph[1].jpg"


HEIGHT=100></CENTER>

The ancient sakti temple of Kamakhya in the Nilachal hill

(also important seat of tantric and Vajrayana Buddhism), Navagraha, the nine

planets temple (ancient and a unique temple for astrology) located in Chitrachal

Hill and archaeological remains in Basista and many other locations support the

mythological characters and the city's ancient past. The Ambari excavations trace the

city to the 6th century AD. <br><br><center>

<a href="C:\My Documents\MANISH PROJECT\HISTORY 2.HTML">More History,<a/>

<a href="C:\My Documents\MANISH PROJECT\INTRODUCTION.HTML">Back to home-page </a></center>

</FONT></body></HTML>
-16-

Source Code of ‘History’ Link - II

<HTML><HEAD><TITLE>guwahati</TITLE></HEAD>

<BODY><BODY BGCOLOR=SILVER><FONT SIZE=4><FONT COLOR=BLACK><FONT FACE=MONOTYPE


CORSIVA><center><h2><U>HISTORY</center></h5></U>

The city was known as Pragjyotishpura and Durjoya in different periods of time and was

the capital under the Varman and the Pala dynasties of the Kamarupa kingdom. Descriptions

by Xuanzang (Hiuen Tsang) reveal that during the greatest Varman king Bhaskaravarma 7th

century AD, the city was stretched to 19 km and probably was the principal base for his

strong naval force (30,000 war-boats, with officers knowing details of the sea-routes in

Indian Ocean to China - Xuanzang). In the medieval times, after weakening and destruction

of the Kamata kingdom between the 12-15th century AD, the city lost its earlier glory and

became only a strategic outpost of the then Koch Hajo and Ahom Kingdoms of western and

eastern Assam. Later the western part of the Koch Kingdom fell to the Mughals and the

eastern half became an Ahom protectorate. Although the actual border between both the

powers (Ahoms and Mughals) kept fluctuating between Kartoya river (now in North Bengal)

to Manas river and Barnadi river time to time, Guwahati became the actual war-front

(as the outpost of importance). <BR>

<CENTER><IMG SRC="C:\My Documents\PICTURES\images[12].jpg"HEIGHT=100">

<center><a href="C:\My Documents\MANISH PROJECT\INTRODUCTION.HTML">Back to home-page


</a></center></BODY></HTML>
-17-

Source Code of ‘Environment’ Link

<HTML><HEAD><TITLE>guwahati</TITLE></HEAD>

<BODY><BODY BGCOLOR=SILVER><FONT SIZE=4><FONT COLOR=BLACK><FONT FACE=MONOTYPE


CORSIVA><center><h2><U>Environment</center></h5></U>

Geomorphologically, the city is located in an area, where the Shillong Plateau and the

Floodplains of the Brahmaputra. The main city is situated on the southern bank of the

Brahmaputra. At places the width of the river is 6 to 8 km, while its narrowest portion

(1.8 km) is in the location of the famous bridge of Saraighat. There are several hills of

different sizes and shapes. Guwahati's climate is temperate. The city's average yearly

temperature is recorded at 24 degree Celsius (76 °F). Average high temperature is

recorded at 29 degree Celsius (85 °F), while the average low at 19 degree Celsius (67 °F).

The highest recorded yearly temperature is 40 degree Celsius (104 °F), while the lowest

recorded yearly temperature is 5 degree Celsius (41 °F). December, January and February

are the coldest and June, July, August and September are the hottest. Average yearly

precipitation is 161.3 cm (63.5inches) with an average number of 77.3 rainy days. June

and July are the wettest months.<br>

<center><img src="C:\My Documents\PICTURES\800px-Bor-Sola_Beel[1].jpg" height=120></center>

<center><a href="C:\My Documents\MANISH PROJECT\INTRODUCTION.HTML">Back to home-page


</a></center></font></body></html>
-18-

Source Code of ‘Lifestyle’ Link

<HTML><HEAD><TITLE>guwahati</TITLE></HEAD>

<BODY><BODY BGCOLOR=SILVER><FONT SIZE=4><FONT COLOR=BLACK><FONT FACE=MONOTYPE CORSIVA>

<center><h2><U>QUALITY OF LIFE</center></h5></U>

Although being a medium sized city ranking around at 50th position (in terms of population)

in India, city's quality of life is comparatively higher. A recent survey (2006) by a popular

Indian magazine - Outlook (Money) has ranked Guwahati at 17th among all the major and

medium sized Indian cities. The city provides competitive residential and working

environments with beautiful landscapes, pleasant climate, modern shopping areas, modern

apartments and bungalows and considerably good social infrastructure. But infrastructure

in the city requires extensive attention, which can increase and revolutionize city's reputation,

investment environment and overall growth pattern.<BR>

<CENTER><IMG SRC="C:\My Documents\PICTURES\images[14].jpg"HEIGHT=100></CENTER>

Major investments in infrastructure is being planned in the city covering many aspects of utility and transport
infrastructures with

financial assistance from Asian Development Bank (ADB). City is to also receive substantial

city development funds from JNURM (Jawaharlal Nehru Urban Renewal Mission)- theGovernment of India's
recently conceived mission for urban development.<br>

<center><a href="C:\My Documents\MANISH PROJECT\INTRODUCTION.HTML">Back to home-page


</a></center></FONT></BODY></HTML>
-19-

Source Code of ‘Festivals’ Link

<HTML>

<HEAD>

<TITLE>

guwahati</TITLE></HEAD>

<BODY><BODY BGCOLOR=SILVER><FONT SIZE=4><FONT COLOR=BLACK><FONT FACE=MONOTYPE CORSIVA>

<center><h2><U>Festivals</center></h5></U>

The most colourful, national spring festival of Assam is Rongali Bihu. Celebrated

from April 13 to 16 every year, it is linked to the start of the next agricultural season.

Bihu, a unique dance form, is performed in accompaniment of songs of love and passion.

Puja, Diwali, Id ertc are also celebrated.By and large, the Assamese belong to the Vaishnavite

faith. Ambubashi is a festival associated with the Kamakhya temple in Guwahati. The temple remains closed for
four days, during the goddess' annual cycle of menstruation.

All religious and agricultural activities come to a standstill till the doors are opened on the

4th day.<br>

<center><IMG SRC="C:\My Documents\PICTURES\bihu[1].jpg" height=185></center>

<center><a href="C:\My Documents\MANISH PROJECT\INTRODUCTION.HTML">Back to home-page </a></center>

</BODY></FONT></FONT></FONT>

</HTML>
-20-

Source Code of ‘Tourism’ Link

<html>

<head><title>

manish</head></title>

<body><body bgcolor=silver><font size=4><font color=black><font face="monotype corsiva">

<center><h4><u>Tourism in Guwahati</center></h2></u>

<font face="comic sans ms">Guwahati is the one of the famous state in tourism.

There are lots of things to look and enjoy. Even the foreigners are also think of

guwahati whenever they visit in India. Some of the important places in guwahti are:-

<ul><li>Kamakhya temple- It is one of the famous temple

in guwahati even in India. Ambuvasi mela is held in kamakhya temple every year.

<center><img src="C:\My Documents\PICTURES\300px-Ferry_Brahmaputra[1].png"


height=75></center><li>Accoland- It is the first amusement

park in Guwahati.<li>Nehru park- It is one of the famous park in Guwahati.

<li> Basistha temple-It is situated at the foothills of Sandhya hills.<li>Umanand temple and Dol Govinda

temple -They are in the center of brahmaputra oan often famous.<br>

<center><a href="C:\My Documents\MANISH PROJECT\INTRODUCTION.HTML">Back to home-page </a></center>


</ul>

</font></body>

</html>

-21-

17. HTML codes for the links

The HTML codes for the links are:

1. Guwahati (Homepage) – guwahati.htm


2. History – history1.htm
3. More History – history2.htm
4. Environment – environment.htm
5. Lifestyle – lifestyle.htm
6. Festival – festival.htm
7. Tourism – tourism.htm

18. Tags and Elements used

The Tags and Elements that are used in the Web pages are:

1. HTML
2. HEAD
3. TITLE
4. BODY (Attributes: BACKGROUND: BGCOLOR, TEXT, LINK, ALINK,
VLINK)
5. FONT (Attributes: COLOR, SIZE, FACE)
6. BASEFONT (Attributes: COLOR, SIZE, FACE)
7. CENTER
8. BR (Break)
9. HR (Horizontal Rule, attributes: COLOR)
10. COMMENTS
11. H2 and H3 (Heading)
12. P (Paragraph)
13. B (Bold)
14. I (Italic)
15. U (Underline)
16. UL (Unordered List
17. LI (List Item)
18. IMG (Attributes: SRC,WIDTH,HEIGHT,ALT,ALIGN)
19. A (Anchor, attributes: NAME, HREF, TITLE, ALT)

-22-

19. Browser View of the Linked pages


histroy1.html

histroy2.html
-23-

Enviroument.html

lifestyle.html
-24-

Festival.html
tourism.html

-25-

20. Utility of the created Website


Utility-This website helps to find information about Guwahati city. One
can browse this website to find information about Guwahati

-26-

21. Introduction to C Language

C is one of the most popular computer language of today. C was a part of the ‘Basic
Combined Programming Language’ (BPCL) called B, developed in the 1960’s at Cambridge
University. Since, C was developed along with the UNIX operating system, it is strongly
associated with UNIX. This operating system, which was developed at Bell Laboratories,
was coded almost entirely in C.

Today, C is running under a number of operating systems including MS-DOS. C is a


robust language whose rich set of build in functions and operators can be used to write
any complex program. The C complier combines the capabilities of an assembly language
with the features of a high-level language and therefore it is well suited for writings both
system software and business packages. Programs written in C are efficient and fast. This
is due to its variety of data types and powerful operators. It is many times faster than
BASIC. There are only 32 keywords and its strength lies in its build in functions. Several
standard functions are available which can be used for developing programs.

C is highly portable. This means that C programs written for one computer can be
run on another with little or no modification. C language is well suited for structured
programming, thus requiring the user to think of a problem in terms of function modules
or block. C can extend its ability. A C program is basically a collection of functions that are
supported by the C library. We can continuous add our own functions that are supported
by the C library. With the availability of a large number of functions, the programming
task becomes simple.

-27-

22. Flowchart

START

int p, q, r, s, t

float x[40] [10], sum, avg

char rank[40];
printf (“ Enter the number of students: ”)

scanf (“ %d ”, &s)

False
for (p=0; p<s;
p++)

True
printf (“ \n Enter the marks of 4 subjects
of the students: %d \n ”, p+1);

scanf (“ %f ”, &x[p] [q]);

sum + = x[p] [q]

-28-

avg = sum/4.00

if (avg<30) True rank[p] =“5”

False
True rank[p] =“4”

False
True
if else rank[p] =“3”
(avg<65)

False

if else True
rank[p] =“2”
(avg<80)

False
rank[p] =“1”

printf (“ \n Sl. No. Marks Average Rank


\n ”

-29-

for (p=0; False


p<s; p++)

True
printf (“ %8.2f ”, x[p] [q] )

printf (“ %6C ”, rank[p] )

STOP

-30-

23. Program

#include <stdio.h>
#include <conio.h>
void main ( )
{
/* Variable Declaration */
int p, q, r, s, t;
float x[40] [10], sum, avg;
char rank[40];
clrscr ( );
printf (“ Enter the number of students: ”);
scanf (“ %d ”, &s);
for (p=0; p<s; p++)
{
sum = 0.0;
printf (“ \n Enter the marks of 4 subjects of the students: %d \n ”, p+1);
for (q=0; q<4; q++)
{
scanf (“ %f ”, &x[p] [q]);
sum + = x[p] [q];
}
avg = sum/4.00;
x[p] [4] =avg;
if ( avg<30.00 )
rank[p] =“5”;
if else ( avg<50.00 )
rank[p] =“4”;
if else ( avg<65.00 )
rank[p] =“3”;
if else ( avg<80.00 )
rank[p] =“2”;

else
rank[p] =“1”;
}
printf (“ \n Sl. No. Marks Average Rank \n ”);
for (p=0; p<s; p++)
{
printf (“ %8.2f ”, x[p] [q] );
printf (“ %6C ”, rank[p] );
printf (“ /n ”);
getch ( );
}
}

-31-

24. Commands used


The Commands that are used in the C Program are:

1. #include <stdio.h> – This is a Standard Input Output File.

2. void main ( ) – This is called as void main function.


The place of main function is where the
program execution begins.

3. clrscr ( ) – This function is used to clear the screen.

4. printf ( ) – This function send data item to Standard


Output device.

5. for ( ) – The ‘for’ loop is another entry control


loop that provides a more concise loop
control structure.

6. scanf ( ) – This function enter data items from the


Standard Input device.

7. if else ( ) – This is a decision making statement.

8. getch ( ) – This function is used to waits for key


press.

-32-
25. Output

Enter the number of students: 4

Enter the marks of 4 subjects of the students: 1


55 45 65 32

Enter the marks of 4 subjects of the students: 2


81 84 91 78

Enter the marks of 4 subjects of the students: 3


98 95 65 35

Enter the marks of 4 subjects of the students: 4


52 96 34 57

Sl. No. Marks Average Rank


1 55.00 45.00 65.00 32.00 49.25 4
2 81.00 84.00 91.00 78.00 83.50 1
3 98.00 95.00 65.00 35.00 73.25 2
4 52.00 96.00 34.00 57.00 59.75 3

26. Utility of the Program

This program will display some students mark list with their Sl. No., Marks of four
subjects, Average of their marks and Rank they have got according to their marks. In
this C program first we should enter total number of students and secondly we have
enter the marks of any four subjects of each student. Then finally it will display the
detail marks list of all the students according to their rank along with their average.

-33-
27. General Conclusion

After a long wait here I am giving the finishing touch to my Project. During solving
the topics like MS Access, HTML and Turbo ‘C’, I faced a lot of unwanted errors as well as
programming errors. But owing to watchful eyes of MISS NAZRANA CHISTI, our Computer
Teacher, I can still manage to escape from erroneous situation.

Once again I wish to thank all of my those well wishers and admires who honestly
blessed me and also to the teacher of our school for their friendly behaviour towards me.

I am also thankful to the book that have given me a lot of inspirations and provided
me with the wonderful ideas.

Finally, I offer my heartiest thanks to our Computer Teacher, MISS NAZRANA


CHISTI for her guidance for completing this Project, without whom this Project would
have being incomplete.

28. Bibliography

While making this project, I get lot of tips from the below mentioned books and
without which this Project cannot be fulfilled as it is:

 Learning MS Office 2000


 Let us C
 Lets Log In

Beside these books, I have taken help from Internet. I am also grateful to MISS
NAZRANA CHISTI, our respected Computer Teacher by playing an important role in
completing this Project by providing vital information about the topics needed in the
Project.
-34-

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