7/28/2019 Result Management System
1/26
Submitted by:-Rashid hussain
Submitted to:- Geetika Bharadwaj
Program:-B.Tech[Bio-technology]
Roll number:- A55,Reg no:-10908206
7/28/2019 Result Management System
2/26
Gratitude cannot be seen or expressed. It can only be felt in heart and is beyond
description. Often words are inadequate to serve as a model of expression of ones feeling,
specially the sense of indebtedness and gratitude to all those who help us in our duty.
It is of immense pleasure and profound privilege to express my gratitude and
indebtedness along with sincere thanks to maam Geetika Bharadwaj,lecturer of computer
science at Lovely Professional University for providing me the opportunity to work for a
project on RESULT MANAGEMENT SYSTEM I am beholden to my family and friends
for their blessings and encouragement.
Thank you.
TABLE OF CONTENT
7/28/2019 Result Management System
3/26
1. Introduction
2. Proposed system
i. Description
ii. System requirements
3. Requirement Analysis
4. System Design5. Source code
6. Testing
7. Future scope of project
7/28/2019 Result Management System
4/26
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 todays 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.
7/28/2019 Result Management System
5/26
PROPOSED SYSTEM
The following documentation is a project on the RESULT MANAGEMENT
SYSTEM. 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 developpowerful 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 users 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.
7/28/2019 Result Management System
6/26
SYSTEM REQUIRMENTS
Operating system: MS DOS, Windows XP, Windows Vista or Windows 7.
Language: C Language
Processor: Pentium IV Processor or Higher
RAM: 512 MB or Higher
Hard disk: 5 GB or Higher
REQUIREMENT ANALYSIS
This process is adopted when management of the system 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 vapours, the vapours 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:
Selection and identification of the system to be studied
Preliminary study
Defining the system
Design and development of the system
Implementation of the system
7/28/2019 Result Management System
7/26
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.
7/28/2019 Result Management System
8/26
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?
START
STOP
7/28/2019 Result Management System
9/26
SOURCE CODE
# include
# include
# include
# include
# 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;
7/28/2019 Result Management System
10/26
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;
7/28/2019 Result Management System
11/26
}
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 ** RESULT MANAGEMENT SYSTEM**\n\n");
printf("\n\n\n\n\n\n\n\nPlease press any key to continue");
fflush(stdin);
getch();
}
7/28/2019 Result Management System
12/26
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;
}
7/28/2019 Result Management System
13/26
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();
}
7/28/2019 Result Management System
14/26
}
}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);
7/28/2019 Result Management System
15/26
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];
7/28/2019 Result Management System
16/26
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)));
7/28/2019 Result Management System
17/26
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);
7/28/2019 Result Management System
18/26
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();
7/28/2019 Result Management System
19/26
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;
7/28/2019 Result Management System
20/26
}
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);
7/28/2019 Result Management System
21/26
}
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(">>> ");
}
7/28/2019 Result Management System
22/26
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
7/28/2019 Result Management System
23/26
3-Menu screen
7/28/2019 Result Management System
24/26
4- Enter student record
5-search student record
7/28/2019 Result Management System
25/26
FUTURE SCOPE OF THE PROJECT
My project will be able to be implemented in future after making some changes and
modifications in it as I have made my project at a very low level. So the modifications
that can be done in my project are:
In future one can add the fingerprint 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.
THANK YOU.
7/28/2019 Result Management System
26/26
Top Related