A
Project Report
ON
STUDENT DATABASE MANAGEMENT SYSTEM
For
The Partial Fulfillment of Award of Degree
PGDCA
Session 2022-23
Project Report Submitted To
SHRI SHANKARACHARYA MAHAVIDYALAYA ART SCIENCE AND
COMMERCE, DABHARA
Affiliated With
SHAHEED NANDKUMAR PATEL VISHWAVIDYALYAYA,
RAIGARH (C.G.)
SUBMITTED BY
Name : Mukesh
Roll No. :
SUBMITTED TO UNDER THE GUIDANCE OF
Miss. Kiran Chandra Miss Sarita Kumari Kurrey
Principal (Incharge) Shri Shankaracharya Mahavidyalaya
Shri Shankaracharya Mahavidyalaya Art Science And Commerce, Dabhara
Art Science And Commerce, Dabhara
Forwarding By the Project Coordinator and Head of Department
This is to certify that “Mukesh”, student of PGDCA at Shri
Shankaracharya Mahavidyalaya Art Science And Commerce Dabhara(C.G.)
has carried out his project work as mentioned in this project entitle “STUDENT
DATABASE MANAGEMENT SYSTEM” studies in PGDCA as a part of the
curriculum for obtaining the degree of PGDCA from Shahid Nandkumar Patel
Vishwavidyalaya, Raigarh Chhattisgarh to which the institute is affiliated.
The current project report is hereby being forwarded for evaluation for the
purpose for which has been submitted.
MISS SARITA KUMARI KURREY
Shri Shankaracharya Mahavidyalaya Art
Science And Commerce, Dabhara
Sakti (C.G.) 495688
1
CERTIFICATE OF APPROVAL
This is to certify that project entitled “STUDENT DATABASE
MANAGEMENT SYSTEM” carried out By “Mukesh”, student of PGDCA at
Shri Shankaracharya Mahavidyalaya Art Science And Commerce, Dabhara
Sakti (C.G.), is hereby approved after proper examination and evaluation as a
creditable work for the partial fulfillment of the requirement for awarding the
degree of PGDCA SNPV, Raigarh (C.G.)
(Internal Examiner) (External Examiner)
Date: Date:
2
DECLARATION BY THE CANDIDATE
I the undersigned solemnly declare that the project work entitle “STUDENT
DATABASE MANAGEMENT SYSTEM” is based on my own work carried out
during the final semester under the supervision of “SARITA KUMARI
KURREY” assert that the software project document drawn is the outcome of my
project work. I further declare that to the best of my knowledge and belief the
report does not contain any part of any work which has been submitted for the
award of PGDCA degree or any other degree/diploma/certificate in this University
or any other University of India or abroad
Name : Mukesh
Roll No. :
Enrollment No. :
3
CONTENTS
OBJECT OVERVIEW:-................................................................................................2
Purpose:-..................................................................................................................2
Scope:-..................................................................................................................... 2
1. TITLE OF THE PROJECT:......................................................................................3
2. INTRODUCTION :..................................................Error! Bookmark not defined.
3. Language and Software Tool Used:-..................................................................3
4. PROPOSED SYSTEM:-.........................................................................................4
5. SYSTEM REQUIREMENTS:-.................................................................................4
6. DATA FLOW DIAGRAM :-....................................................................................5
7. SYSTEM DESIGN:-...............................................................................................6
8. Output................................................................................................................7
9. Coding Of Project:-.............................................................................................8
10. OUTPUT OF PROJECT:-..................................................................................21
11. SOFTWARE TESTING :-..................................................................................22
12. Conclusion:-......................................................................................................23
1
Object Overview:-
An organized and systematic office solution is essential for all universities and
organizations. There are many departments of administration for the
maintenance of student databases in any institution. All these departments
provide various records regarding students. Most of these track records need to
maintain information about the students. This information could be the general
details like student name, address, Course, Rollno. etc. or specific information
related to departments like collection of data.
Purpose:-
The Database Management System (DBMS) is defined as a software system that
allows the user to define, create and maintain the database and provide control
access to the data.
It is a collection of programs used for managing data and users to create, manage,
retrieve, update and store information
Scope:-
The proposed software product is the student Management system. The system
will be used in any School and coaching institute to get the information from the
student and then storing that data for future usage. The current system in use is a
paper-based system. It is too slow and cannot provide update lists of students
within a reasonable timeframe. The intentions of the system are to reduce over-
time pay and increase the productivity. Requirements statements in this
document are both functional and non-functional.
2
1. TITLE OF THE PROJECT:
STUDENT DATABASE MANAGEMENT
2. INTRODUCTION:
The student management system is an environment where all the process
of the student in the institution is managed. It is done through the
automated computerized method. Conventionally this system is done using
papers, files, and binders. This system saves the time of the administrator. It
includes processes like registration of the student’s details, assigning the
department based on their course, and maintenance of the record. This
makes the system easy to handle and feasible for finding the omission with
updating at the same time. As for the existing system, they use to maintain
their record manually which makes it vulnerable to security. If filed a query
to search or update in a manual system, it will take a lot of time to process
the query. As the system used in the institute is outdated as it requires
paper, files, and binders, which will require the human workforce to
maintain them. To get registered in the institute, a student in this system
should come to the university. Get the forms from the counter while
standing in the queue which consumes a lot of the student’s time as well as
of the management team. As the number of the student increases in the
institute manually managing the strength becomes a hectic job for the
administrator. This computerized system stores all the data in the database
which makes it easy to fetch and update whenever needed.
3. LANGUAGE AND SOFTWARE TOOL USED:-
Front End: C language
Operating System: Window 10
3
4. PROPOSED SYSTEM:-
In our proposed system we have the provision for adding the details of the
students by themselves. So the overhead of the school authorities and the
teachers is become less. Another advantage of the system is that it is very easy to
edit the details of the student and delete a student when it found unnecessary.
The marks of the student are added in the database and so students can also view
the marks whenever they want. Our proposed system has several advantages
User friendly interface
Fast access to database
Less error
Search facility
All the manual difficulties in managing the student details in a school or college
have been rectified by implementing computerization.
5. SYSTEM REQUIREMENTS:-
This management system can be used in windows 98, Windows2000, Windows XP
and
Windows NT, supported for other platform such as Applet, Macintosh and UNIX.
The system must be running Windows 98 or Windows NT4.0 operating system
and must meet the following hardware requirements.
* For Windows 95 based computers , a 486 / 66 MHz or higher
processor with 8MB
4
* For Windows 98 based computers , a 500/88MHz or higher
processor with 32 Mb of RAM
* For Windows NT based computers , a 488 / 66 MHz or higher
processor with 16 MB of RAM
* For Windows 200 based computers , a 700/850 MHz or higher
processor with 512 MB of Ram
6. DATA FLOW DIAGRAM :-
5
7. SYSTEM DESIGN:-
INPUT DESIGN
Input design is the process of converting user-oriented input to a computer based
format. Input design is a part of overall system design, which requires very careful
attention
.Often the collection of input data is the most expensive part of the system. The
main
Objectives of the input design are ...
1. Produce cost effective method of input
2. Achieve highest possible level of accuracy
3. Ensure that the input is acceptable to and understood by the staff.
Input Data
The goal of designing input data is to make entry easy, logical and free from errors
as
possible. The entering data entry operators need to know the allocated space for
each field;
field sequence and which must match with that in the source document. The
format in which
the data fields are entered should be given in the input form .Here data entry is
online; it
makes use of processor that accepts commands and data from the operator
through a key
board. The input required is analyzed by the processor.
6
OUTPUT DESIGN
Outputs from computer systems are required primarily to communicate the
results of processing to users. They are also used to provide a permanent copy of
these result for latter.
Consultation .Computer output is the most important and direct source of
information to the
Users. Designing computer output should proceed in an organized well through
out the
Manner. The right output must be available for the people who find the system
easy o use.
The outputs have been defined during the logical design stage. If not, they should
defined at the beginning of the output designing terms of types of output
connect, format, response etc.
7
8. CODING OF PROJECT:-
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
#include<windows.h>
#include<string.h>
void gotoxy(int ,int );
void menu();
void add();
void view();
void search();
void modify();
void deleterec();
struct student
{
char name[20];
char mobile[10];
introllno;
char course[20];
char branch[20];
};
int main()
{
gotoxy(15,8);
printf("<--:Student Record Management System:-->");
8
gotoxy(19,15);
printf("Press any key to continue.");
getch();
menu();
return 0;
}
void menu()
{
int choice;
system("cls");
gotoxy(10,3);
printf("<--:MENU:-->");
gotoxy(10,5);
printf("Enter appropriate number to perform following task.");
gotoxy(10,7);
printf("1 : Add Record.");
gotoxy(10,8);
printf("2 : View Record.");
gotoxy(10,9);
printf("3 : Search Record.");
gotoxy(10,10);
printf("4 : Modify Record.");
gotoxy(10,11);
printf("5 : Delete.");
9
gotoxy(10,12);
printf("6 : Exit.");
gotoxy(10,15);
printf("Enter your choice.");
scanf("%d",&choice);
switch(choice)
{
case 1:
add();
break;
case 2:
view();
break;
case 3:
search();
break;
case 4:
modify();
break;
case 5:
10
deleterec();
break;
case 6:
exit(1);
break;
default:
gotoxy(10,17);
printf("Invalid Choice.");
}
}
void add()
{
FILE *fp;
struct student std;
char another ='y';
system("cls");
fp = fopen("[Link]","ab+");
if(fp == NULL){
gotoxy(10,5);
printf("Error opening file");
exit(1);
11
}
fflush(stdin);
while(another == 'y')
{
gotoxy(10,3);
printf("<--:ADD RECORD:-->");
gotoxy(10,5);
printf("Enter details of student.");
gotoxy(10,7);
printf("Enter Name : ");
// gets([Link]);///???
gets([Link]);
gotoxy(10,8);
printf("Enter Mobile Number : ");
gets([Link]);
gotoxy(10,9);
printf("Enter Roll No : ");
scanf("%d",&[Link]);
fflush(stdin);
gotoxy(10,10);
printf("Enter Course : ");
// gets([Link]);///???
gets([Link]);
gotoxy(10,11);
12
printf("Enter Branch : ");
gets([Link]);
// gotoxy(10,12);
// printf("Enter Father's Name : ");
// gets([Link]);
fwrite(&std,sizeof(std),1,fp);
gotoxy(10,15);
printf("Want to add of another record? Then press 'y' else 'n'.");
fflush(stdin);
// another = getch();///???
another = getch();
system("cls");
fflush(stdin);
}
fclose(fp);
gotoxy(10,18);
printf("Press any key to continue.");
getch();
menu();
}
void view()
{
FILE *fp;
inti=1,j;
13
struct student std;
system("cls");
gotoxy(10,3);
printf("<--:VIEW RECORD:-->");
gotoxy(10,5);
printf("[Link] Name of Student Mobile No Roll No Course Branch");
gotoxy(10,6);
printf("--------------------------------------------------------------------");
fp = fopen("[Link]","rb+");
if(fp == NULL){
gotoxy(10,8);
printf("Error opening file.");
exit(1);
}
j=8;
while(fread(&std,sizeof(std),1,fp) == 1){
gotoxy(10,j);
printf("%-7d%-22s%-12s%-9d%-12s%-
12s",i,[Link],[Link],[Link],[Link],[Link]);
i++;
j++;
}
fclose(fp);
gotoxy(10,j+3);
printf("Press any key to continue.");
14
getch();
menu();
}
void search()
{
FILE *fp;
struct student std;
char stname[20];
system("cls");
gotoxy(10,3);
printf("<--:SEARCH RECORD:-->");
gotoxy(10,5);
printf("Enter name of student : ");
fflush(stdin);
gets(stname);
fp = fopen("[Link]","rb+");
if(fp == NULL){
gotoxy(10,6);
printf("Error opening file");
exit(1);
}
while(fread(&std,sizeof(std),1,fp ) == 1){
if(strcmp(stname,[Link]) == 0){
gotoxy(10,8);
15
printf("Name : %s",[Link]);
gotoxy(10,9);
printf("Mobile Number : %s",[Link]);
gotoxy(10,10);
printf("Roll No : %d",[Link]);
gotoxy(10,11);
printf("Course : %s",[Link]);
gotoxy(10,12);
printf("Branch : %s",[Link]);
}
}
fclose(fp);
gotoxy(10,16);
printf("Press any key to continue.");
getch();
menu();
}
void modify()
{
char stname[20];
FILE *fp;
struct student std;
system("cls");
gotoxy(10,3);
16
printf("<--:MODIFY RECORD:-->");
gotoxy(10,5);
printf("Enter name of student to modify: ");
fflush(stdin);
gets(stname);
fp = fopen("[Link]","rb+");
if(fp == NULL){
gotoxy(10,6);
printf("Error opening file");
exit(1);
}
rewind(fp);
fflush(stdin);
while(fread(&std,sizeof(std),1,fp) == 1)
{
if(strcmp(stname,[Link]) == 0){
gotoxy(10,7);
printf("Enter name: ");
gets([Link]);
gotoxy(10,8);
printf("Enter mobile number : ");
gets([Link]);
gotoxy(10,9);
printf("Enter roll no : ");
17
scanf("%d",&[Link]);
gotoxy(10,10);
printf("Enter Course : ");
fflush(stdin);
gets([Link]);
gotoxy(10,11);
printf("Enter Branch : ");
fflush(stdin);
gets([Link]);
fseek(fp ,-sizeof(std),SEEK_CUR);
fwrite(&std,sizeof(std),1,fp);
break;
}
}
fclose(fp);
gotoxy(10,16);
printf("Press any key to continue.");
getch();
menu();
}
void deleterec()
{
char stname[20];
FILE *fp,*ft;
18
struct student std;
system("cls");
gotoxy(10,3);
printf("<--:DELETE RECORD:-->");
gotoxy(10,5);
printf("Enter name of student to delete record : ");
fflush(stdin);
gets(stname);
fp = fopen("[Link]","rb+");
if(fp == NULL){
gotoxy(10,6);
printf("Error opening file");
exit(1);
}
ft = fopen("[Link]","wb+");
if(ft == NULL){
gotoxy(10,6);
printf("Error opening file");
exit(1);
}
while(fread(&std,sizeof(std),1,fp) == 1){
if(strcmp(stname,[Link])!=0)
fwrite(&std,sizeof(std),1,ft);
}
19
fclose(fp);
fclose(ft);
remove("[Link]");
rename("[Link]","[Link]");
gotoxy(10,10);
printf("Press any key to continue.");
getch();
menu();
}
void gotoxy(intx,int y)
{
COORD c;
c.X=x;
c.Y=y;
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE),c);
}
20
9. OUTPUT OF PROJECT:-
MENU
ADD DATA
VIEW RECORDS
DELETE DATA
21
10. SOFTWARE TESTING :-
White Box Testing
White box sometimes called “Glass box testing” is a test case design uses the
control structure of the procedural design to drive test case.
Using white box testing methods, the following tests where made on the system
a) All in dependent paths within a module have been exercised once. In our
system, ensuring
that case was selected and executed checked all case structures. The bugs that
were
prevailing in some part of the code where fixed
b) All logical decisions were checked for the truth and falsity of the values.
Black box Testing
Black box testing focuses on the functional requirements of the software. This is
black box
testing enables the software engineering to derive a set of input conditions that
will fully
exercise all functional requirements for a program. Black box testing is not an
alternative to
white box testing rather it is complementary approach that is likely to uncover a
different
class of errors that white box methods like..
1) Interface errors
2) Performance in data structure
3) Performance errors
4) Initializing and termination errors
22
11. CONCLUSION:-
Our project is only a humble venture to satisfy the needs in an Institution. Several
user friendly coding have also adopted. This package shall prove to be a powerful
package
in satisfying all the requirements of the organization.
The objective of software planning is to provide a frame work that enables the
manger to make reasonable estimates made within a limited time frame at the
beginning
of the software project and should be updated regularly as the project progresses.
Last
but not least it is no the work that played the ways to success but almighty.
23