PROJECT REPORT
OF
STUDENT RESULT
MANAGEMENT SYSTEM
Submitted in the partial fulfillment of the Degree of Bachelor of
Technology Integrated MBA
In
Mechanical Engineering
SUBMITTED BY:- GUIDED BY and SUBMITTED TO:-
Mounami Majumder Sir Arko Bagchi
Reg. No 11009263 FACULTY, Department of CSE
Roll no RA4006A02 LHST, LPU
ACKNOWLEDGEMENT
I take this opportunity to present my votes of thanks to all those
guidepost who really acted as lightening pillars to enlighten our
way throughout this project that has led to successful and
satisfactory completion of this study.
We are really grateful to our HOD sir. MR. JOHAL for providing us
with an opportunity to undertake this project in this university
and providing us with all the facilities. We are highly thankful to
SIR ARKO BAGCHI for His active support, valuable time and
advice, whole-hearted guidance, sincere cooperation and pains-
taking involvement during the study and in completing the
assignment of preparing the said project within the time
stipulated.
Lastly, We are thankful to all those, particularly the various
friends , who have been instrumental in creating proper, healthy
and conductive environment and including new and fresh
innovative ideas for us during the project, their help, it would
have been extremely difficult for us to prepare the project in a
time bound framework.
Mounami Majumder
Reg .No 11009263
Roll No.RA4006A02
TABLE OF CONTENTS
A. Introduction
B. Proposed system
i. Description
ii. System requirements
C. Requirement Analysis
D. System Design
E. Source code
F. Testing
G. Future scope of project
INTRODUCTION
In the existing system, most of the records are maintained on paper.
It becomes very inconvenient to modify the data. In the existing
system, here is a possibility that the same data in different registers
may have different values which means the entries of the same data
do not match. This inconsistent state does not supply the concrete
information which poses a problem in the case information related
to particular search record.
Our project is very useful. User is no longer required to check his
register in search of records, as now it can be searched over the
software by choosing some options. The user need not to type in
most of the information. He/she is just required to enter the desired
options. On the whole it liberates the user from keeping lengthy
manual records. In a nutshell, it abates the work load of an
organization.
In today’s world, no one likes to perform calculations on calculator
or manually when computer is there. Every one wants his/her work
to be done by computer automatically and displaying the result for
further manipulations.
PROPOSED SYSTEM
The following documentation is a project the “Name of the term
paper allotted”. It is a detailed summary of all the drawbacks of the
old system and how the new proposed system overcomes these
shortcomings. The new system takes into account the various
factors while designing a new system. It keeps into the account the
Economical bandwidth available for the new system. The foremost
thing that is taken care of is the Need and Requirements of the
User.
DESCRIPTION
Before developing software we keep following things in mind that
we can develop powerful and quality software
PROBLEM STATEMENT
o Problem statement was to design a module:
o Which is user friendly
o Which will restrict the user from accessing other user’s data.
o Which will help user in viewing his data and privileges.
o Which will help the administrator to handle all the changes.
FUNCTIONS TO BE PROVIDED:
The system will be user friendly and completely menu driven so that
the users shall have no problem in using all options.
o The system will be efficient and fast in response.
o The system will be customized according to needs.
o It would help in reducing the complexity.
o Computerized result manangement system helps in managing
things accurately
o It is also a time saving process.
o Helps in saving a large amount of data without the fear of
saving it.
o Without the interference of any human, one can easily login
and get through the result and its management.
SYSTEM REQUIRMENTS
Operating system: MS Windows XP or Windows Vista
Language: C Language
Processor: Pentium IV Processor
RAM: 512 MB
Hard disk: 5 GB
REQUIREMENT ANALYSIS
This process is adopted when management of the system
development, Personnel decide that the particular system needs
improvement. The system development life cycle is the set of
activities, carried out by the analyst, designers and users to develop
and implement a system. The systems that are present in the nature
follow common life cycle pattern. For example consider the raining
system. Initially the rain falls into the river, river flows into sea, the
sea water evaporates to form vapors, the vapors form clouds which
again bring rain. Similarly consider a man made system initially a
system is analyzed, designed and made operational by the efforts of
system analysis. After successful operation or a number of users,
the system becomes less and less effective by change in the
environment. So these changes have to be incorporated in to the
system by minor modifications. So the general activities from the
life cycle of the system are given below:
Select ion and identification of the system to be studied
Preliminary study
Defining the system
Design and development of the system
Implementation of the system
SYSTEM DESIGN
Then we began with the design phase of the system. System design
is a solution, a “HOW TO” approach to the creation of a new system.
It translates system requirements into ways by which they can be
made operational. It is a translational from a user oriented
document to a document oriented programmers. For that, it provides
the understanding and procedural details necessary for the
implementation. Here we use Flowchart to supplement the working
of the new system. The system thus made should be reliable,
durable and above all should have least possible maintenance
costs. It should overcome all the drawbacks of the Old existing
system and most important of all meet the user requirements.
START
Welcome to main menu of Result Management
Enter your choice ?
View the computerized result About the record Data record Quit
Do you want to continue?
STOP
Figure:- flowchart of the program to be run/source code
SOURCE CODE
# include <stdio.h>
# include <conio.h>
# include <stdlib.h>
# include <string.h>
# define EMP_FILE "empdata.txt"
# define TMP_FILE "tmpdata.txt"
# define PWD "nitz\0"
int main(int, char**);
void welcome_message(void);
void get_password(void);
void main_menu(void);
void manage_student(void);
void add_student(void);
void delete_student(void);
void edit_student(void);
void search_student(void);
void student_menu(void);
void exit_message(void);
int main(int argc, char *argv[])
{
char menuOpt;
int isExit = 0;
welcome_message();
if(argc > 1)
{
clrscr();
printf("%s : Start Up Error >>> ", argv[0]);
fflush(stdin);
getch();
return (EXIT_FAILURE);
}
get_password();
do
{
main_menu();
fflush(stdin);
menuOpt = (char)getch();
switch(menuOpt)
{
case '1':
{
manage_student();
break;
}
case '2':
{
isExit = 1;
break;
}
default:
{
clrscr();
printf("Invalid Option!");
fflush(stdin);
getch();
break;
}
}
}while(isExit == 0);
exit_message();
fflush(stdin);
getch();
return (EXIT_SUCCESS);
}
void welcome_message(void)
{
clrscr();
printf("\t\t\t\t****WELCOME****\n\n");
printf("\t\t\t\t**TO**\n\n");
printf("\t\t **NITZ RESULT MANAGEMENT SYSTEM**\n\n");
printf("\n\n\n\n\n\n\n\nPlease press any key to continue");
fflush(stdin);
getch();
}
void main_menu(void)
{
clrscr();
printf(" MENU\n");
printf(" ----\n");
printf(" [1] : Manage Students Result\n");
printf(" [2] : Exit\n\n");
printf(" >>> ");
}
void manage_student(void)
{
char menuOpt;
int isExit = 0;
do
{
student_menu();
fflush(stdin);
menuOpt = (char)getch();
switch(menuOpt)
{
case '1':
{
add_student();
break;
}
case '2':
{
delete_student();
break;
}
case '3':
{
edit_student();
break;
}
case '4':
{
search_student();
break;
}
case '5':
{
isExit = 1;
fflush(stdin);
break;
}
default:
{
clrscr();
printf("Invalid Option!");
getch();
}
}
}while(isExit == 0);
}
void add_student(void)
{
char name[50];
char branch[100];
char grade[11];
char id[5];
float tmarks;
float percentage;
FILE *fp;
fp = fopen(EMP_FILE, "a+");
do
{
fscanf(fp, "%[^/]%*c%[^/]%*c%[^/]%*c%[^/]%*c%f %f%*c", name, branch,
grade, id, &tmarks, &percentage);
if(feof(fp))
{
break;
}
}while(!(feof(fp)));
clrscr();
printf("Name : ");
fflush(stdin);
gets(name);
printf("Branch : ");
fflush(stdin);
gets(branch);
printf("Grade : ");
fflush(stdin);
gets(grade);
printf("ID : ");
fflush(stdin);
gets(id);
printf("Total Marks : ");
fflush(stdin);
scanf("%f", &tmarks);
printf("Percentage : ");
fflush(stdin);
scanf("%f", &percentage);
fprintf(fp, "%s/%s/%s/%s/%.2f %.2f\n", name, branch, grade, id, tmarks, percentage);
fflush(fp);
fclose(fp);
clrscr();
printf("Done Entering New Record >>> ");
getch();
}
void delete_student(void)
{
char name[50];
char branch[100];
char grade[11];
char id[5];
char idDel[5];
float tmarks;
float percentage;
FILE *fp1;
FILE *fp2;
fp1 = fopen(EMP_FILE, "r");
fp2 = fopen(TMP_FILE, "w");
clrscr();
printf("Enter Student ID to Delete : ");
fflush(stdin);
gets(idDel);
do
{
fscanf(fp1, "%[^/]%*c%[^/]%*c%[^/]%*c%[^/]%*c%f %f%*c", name,
branch, grade, id, &tmarks, &percentage);
if(feof(fp1))
{
break;
}
if((strcmp(id, idDel)) != 0)
{
fprintf(fp2, "%s/%s/%s/%s/%.2f %.2f\n", name, branch, grade, id,
tmarks, percentage);
}
}while(!(feof(fp1)));
fflush(fp2);
fclose(fp1);
fclose(fp2);
remove(EMP_FILE);
rename(TMP_FILE, EMP_FILE);
clrscr();
printf("Done Deleting >>> ");
fflush(stdin);
getch();
}
void edit_student(void)
{
char name[50];
char branch[100];
char grade[11];
char id[5];
char idEdit[5];
float tmarks;
float percentage;
FILE *fp1;
FILE *fp2;
fp1 = fopen(EMP_FILE, "r");
fp2 = fopen(TMP_FILE, "w");
clrscr();
printf("Enter student ID to Edit : ");
fflush(stdin);
gets(idEdit);
do
{
fscanf(fp1,"%[^/]%*c%[^/]%*c%[^/]%*c%[^/]%*c%f %f%*c", name,
branch, grade, id, &tmarks, &percentage );
if(feof(fp1))
{
break;
}
if((strcmp(id, idEdit)) == 0)
{
clrscr();
printf("Enter new total marks : ");
fflush(stdin);
scanf("%f", &tmarks);
printf("Enter the new number percentage : ");
fflush(stdin);
scanf("%f", &percentage);
}
fprintf(fp2, "%s/%s/%s/%s/%.2f %.2f\n", name, branch, grade, id, tmarks,
percentage);
}while(!(feof(fp1)));
fflush(fp2);
fclose(fp1);
fclose(fp2);
remove(EMP_FILE);
rename(TMP_FILE, EMP_FILE);
clrscr();
printf("Done Editing >>> ");
fflush(stdin);
getch();
}
void search_student(void)
{
char name[50];
char branch[100];
char grade[11];
char id[5];
char idSearch[5];
float tmarks;
float percentage;
FILE *fp;
fp = fopen(EMP_FILE, "r");
clrscr();
printf("Enter the Student ID to Search : ");
fflush(stdin);
gets(idSearch);
do
{
fscanf(fp, "%[^/]%*c%[^/]%*c%[^/]%*c%[^/]%*c%f %f%*c", name, branch,
grade, id, &tmarks, &percentage);
if(feof(fp))
{
break;
}
if((strcmp(id, idSearch)) == 0)
{
clrscr();
printf("Name : %s\n", name);
printf("Branch : %s\n", branch);
printf("Grade : %s\n", grade);
printf("ID : %s\n", id);
printf("Total Marks : %.2f\n", tmarks);
printf("Percentage : %.2f\n\n", percentage);
printf("Press ENTER to continue >>> ");
fflush(stdin);
getch();
}
}while(!(feof(fp)));
fclose(fp);
}
void get_password(void)
{
char password[7];
do
{
clrscr();
printf("Enter Password >>> ");
fflush(stdin);
gets(password);
}while((strcmp(password, PWD)) != 0);
}
void student_menu(void)
{
clrscr();
printf(" MENU\n");
printf(" ----\n");
printf(" [1] : Add Student\n");
printf(" [2] : Delete Student\n");
printf(" [3] : Edit Student\n");
printf(" [4] : Search Student\n");
printf(" [5] : Go Back\n\n");
printf(" >>> ");
}
void exit_message(void)
{
clrscr();
printf("THANK YOU!\n");
printf(">>> ");
}
TESTING
Testing is the major control measure used during software
development. Its basic function is to detect errors in the software.
During requirement analysis and design, the output is a document
that is usually textual and no executable. After the coding phase,
computer programs are available that can be executed for testing
purpose. This implies that testing not only, has to uncover errors
introduced during coding, but also errors introduced during previous
phase. Thus the goal of testing is to uncover the requirements,
design and coding errors in the programs. So after testing the
outputs of my project are as follows:
1-main screen.
2- main screen
3-menu screen
4- enter student record
5-search student record
FUTURE SCOPE OF THE PROJECT
Our project will be able to implement in future after making some
changes and modifications as we make our project at a very low
level. So the modifications that can be done in our project are:
In future one change can be done by adding the fingerprints of the
persons of which the address is entered. And one more major
change which can be done in this project is that to add the snaps of
the person of which the address is entered. We can also add or
subtract details of the individual.