0% found this document useful (0 votes)
76 views43 pages

School Management: Project Report (2017-2018)

The document is a project report for a school management system created by Archit Gupta. It includes an acknowledgement, certificate, index, and introduction sections. The introduction explains that the project aims to computerize all details of a school for students, teachers, parents and administrators on a single scalable platform to minimize paperwork. It also describes the main user types that will be involved in the system.

Uploaded by

Ishita Gupta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
76 views43 pages

School Management: Project Report (2017-2018)

The document is a project report for a school management system created by Archit Gupta. It includes an acknowledgement, certificate, index, and introduction sections. The introduction explains that the project aims to computerize all details of a school for students, teachers, parents and administrators on a single scalable platform to minimize paperwork. It also describes the main user types that will be involved in the system.

Uploaded by

Ishita Gupta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 43

Project Report

(2017-2018)

SCHOOL
MANAGEMENT

By Archit Gupta
Of 12-C
School: - DPS Indirapuram
SCHOOL MANAGEMENT ARCHIT GUPTA

ACKNOWLEDGEMENT

We would like to express our special thanks


of gratitude to my teacher Mrs. Rinkoo
Gupta as well as our principal Mrs. Meeta
Rai who gave us the golden opportunity to do
this wonderful project on the topic School
Management, which also helped me in doing
a lot of Research and We came to know about
so many new things. We are really thankful
to them.

Secondly I would also like to thank my


parents and friends who helped me a lot in
finalizing this project within the limited time
frame.

Last but not the least, We would like to thank


all those who have directly or indirectly
helped towards the completion of this project.

Page 1
SCHOOL MANAGEMENT ARCHIT GUPTA

Certificate

This is to certify that Archit Gupta of


class XII C have successfully
completed the computer science
project on the topic “School
Management” as prescribed by Mrs.
Rinkoo Gupta, during academic
session 2017-2018 as per the
guidelines issued by CBSE.

___________ __________
Internal Examiner External Examiner

Page 2
SCHOOL MANAGEMENT ARCHIT GUPTA

INDEX
S.no Topic Signature
1 Introduction to the
project
2 Hardware and software
requirement
3 Code
4 Output
5 Future enhancements
6 Conclusion
7 Bibliography

Page 3
SCHOOL MANAGEMENT ARCHIT GUPTA

INTRODUCTION

Education is a backbone of the human society. So, it is important to provide


the elegant, strong and quality education to every youth of the generation
to make sure that their personality is developed in a better way.

The young fellows are the future of their nations. This technological era can
play a crucial role by giving the students, teachers, and parents a single but
scalable and efficient platform.

The program will implement all the details regarding school, whether it is
small or big, will be computerized.
No Redundant Data – As this management system will be centralized, the
chances of the duplicate data in the system are close to nil.

There is six type of main users will be involved in the school


management system.

 Admin: Admin is the one who controls whole school management


system, its staff, and every other person or thing that is associated with the
school. This mode will enable the user to registration of students,
registration of teachers, view details of all the student and teachers and will
also allow to delete a record of any student or a teacher studying in this
institute. 


 Student: The student is also one of the main parts of the system.
The students can not only allow a student to view his profile but also to view
his marks and grade. It also allows a student to know whether he is fees is
deposited or pending. 


 Teacher: It enables a teacher of maintaining the academic records
such as marks and grade, generating distinction list, generating list of
students which have failed etc. 


 Accountant: The accountant is the person who will deal with the
financial deals of the school such getting the fee from the students,
paying the teachers’ salary. 

My other aim is to minimize the paperwork as minimum as I can so that


there is no need to cut more and more trees. Indirectly, I will be helping the
Mother Nature.

Page 4
SCHOOL MANAGEMENT ARCHIT GUPTA

HARDWARE AND SOFTWARE


REQUIREMENT

MINIMUM SYSTEM REQUIREMENTS

 Min RAM Size 



1 MB

 Min Hard Drive Space 



5 MB

 OS Required 

Microsoft DOS, PC DOS 


 Min Processor Type

Intel 286 or higher 

Page 5
SCHOOL MANAGEMENT ARCHIT GUPTA

CODE
#include<fstream.h>

#include<string.h>

#include<conio.h>

#include<process.h>

#include<stdio.h>

class student

int rno;

char name[20];

float marks;

char grade;

char fee;

public:

void fupdate();//Updates fee history(Accountant Mode)

void modify(); //Enters marks of student(Teacher Mode)

void reg_stud()//Registering a new student(Admin Mode)

cout<<"\nEnter Details of a new

student"; cout<<"\n\nEnter Roll

Number:"; cin>>rno;

cout<<"\nEnter Name:";
gets(name);

fee='n';

void dispdata()//Displays marks and grades.

Page 6
SCHOOL MANAGEMENT |ARCHIT GUPTA

cout<<"\n\nName:"<<name;

cout<<"\nMarks:"<<marks;

cout<<"\nGrade:"<<grade<<endl;

void dispfee()//Display Fees information.

cout<<"\n\nName:"<<name<<"\nRoll
Number:"<<rno; if(fee=='y')

cout<<"\nFee has been paid.";

else

cout<<"\nFee is pending.";

//Accessor Functions of Class Student


int ret_rno()

return rno;

char* ret_name()

return name;

float ret_marks()

return marks;

char ret_fee()

Page 7
SCHOOL MANAGEMENT ARCHIT GUPTA

return fee;

};

void student::fupdate()//Fee Update(Accountant Mode)

fee='y';

cout<<"\nPayment successful. Fee has been payed.";

void student::modify()//Marks modification (Teacher Mode)

dispdata();

float mks;

cout<<"\nEnter New Marks(Press -1 To Retain Old Marks) :";


cin>>mks;

if(mks!=-1)

marks=mks;

if(mks>=90)

grade='A';

else if(mks>=80 && mks<90)


grade='B';

else

grade='C';

Page 8
SCHOOL MANAGEMENT ARCHIT GUPTA

class teacher

int trno;

char tname[20];

char subject[30];

int salary;

char sal_status; //Salary Status, y=Paid,


n=Pending public:

void supdate()//Updates salary of teacher(Accountant Mode)

sal_status='y';

cout<<"\nPayment successful. "<<salary<<" has been been credited.";

void reg_teacher()//Registering a new teacher(Admin Mode)

cout<<"\nEnter Details of a new


teacher"; cout<<"Enter Roll Number:";

cin>>trno;

cout<<"\n\nEnter Name:";

gets(tname);

cout<<"Enter subject:";

gets(subject);

cout<<"Enter salary:";

cin>>salary;

sal_status='n';

Page 9
SCHOOL MANAGEMENT ARCHIT GUPTA

void disptinfo()//Displays basic teacher information.

cout<<"\n\nName:"<<tname;

cout<<"\nSunject:"<<subject<<endl;

void dispsal()//Displays salary information.

cout<<"\n\nName:"<<tname<<"\nSubject:"<<subject;

//cout<<"\nFor test purpose, sal_status="<<sal_status;

if(sal_status=='y')

cout<<"\nAn amount of "<<salary

<<" has already been deposited in your account.";

else

cout<<"\nYour salary would be credited in your account soon.";

//Accessor Functions of Class Teacher


int ret_trno()

return trno;

char* ret_tname()

return tname;

int ret_salary()

return salary;

Page
10
SCHOOL MANAGEMENT ARCHIT GUPTA

char ret_sal_status()

return sal_status;

};

void main()

clrscr();

ifstream fin;

ofstream fout;

fstream fio;

int n,choice,choicee,mode;
char ans;

student s1;
teacher t1;

do{

clrscr();

cout<<"Program by Avi Mishra(XII-A) and Archit Gupta(XIIC)\n\n";

cout<<"====SCHOOL MANAGEMENT====";

cout<<"========CHOSE MODE=========";

cout<<"\n\n1.Student\n2.Teacher\n3.Accountant\n4.Admin
\n0.Exit \nEnter Choice:";

cin>>mode;

clrscr();

Page
11
SCHOOL MANAGEMENT ARCHIT GUPTA

switch(mode)//Main menu switch, each cases for each specific mode.

case 0:

exit(0);

case 1://STUDENT MODE


do{

clrscr();
int r;

cout<<"\n===SCHOOL MANAGEMENT===";

cout<<"=======STUDENT MODE=======";

cout<<"\n\nEnter your roll number:";

cin>>r;

cout<<"\n1.Display Record";

cout<<"\n2.Fee Status";

cout<<"\n0.Exit";

cout<<"\nEnter Choice:";

cin>>choicee;

switch(choicee)

case 1://display record i.e. Name, Rno, marks

char flag='n';

fin.open("student.dat",ios::binary);

while(fin.read((char*)&s1,sizeof(s1)))

if(r==s1.ret_rno())

flag='f';

Page
12
SCHOOL MANAGEMENT ARCHIT GUPTA

s1.dispdata();

break;

if(flag=='n')

cout<<"\nNo data of roll no. entered


found."; fin.close();

break;

case 2://Fee status

flag='n';

fin.open("student.dat",ios::binary);

while(fin.read((char*)&s1,sizeof(s1)))

if(r==s1.ret_rno())

flag='f';

s1.dispfee();

break;

if(flag=='n')

cout<<"\nNo data of roll no. entered


found."; fin.close();

break;

case 0:

exit(0);

Page
13
SCHOOL MANAGEMENT ARCHIT GUPTA

cout<<"\n\nDo you wish to continue?:";


cin>>ans;

}while(ans=='Y'|| ans=='y');
break;

case 2://TEACHER
MODE do

{ clrscr();

cout<<"\n==SCHOOL MANAGEMENT===";

cout<<"======TEACHER MODE=======”;

cout<<"\n1.Enter marks of a student";

cout<<"\n2.Display all data";

cout<<"\n3.Search a student by Roll number";

cout<<"\n4.Search a student by Name";

cout<<"\n5.Display List Of Distinction Holder";

cout<<"\n6.Display List Of Failures";

cout<<"\n7.Check Salary Status";

cout<<"\n0.Exit";

cout<<"\n\nEnter

Choice:"; cin>>choice;

switch(choice)

case 1://Entering marks of student


char f='n';

cout<<"\nEnter Roll no. to be modified:";


cin>>n;

fio.open("student.dat",ios::binary|ios::in|ios::out);

Page
14
SCHOOL MANAGEMENT ARCHIT GUPTA

int pos;

while(!fin.eof())

{ pos=fio.tellg();

fio.read((char*)&s1,sizeof(s1));

if(n==s1.ret_rno())

{ f='f'; fio.seekg(pos,ios::beg);

s1.modify();

fio.write((char*)&s1,sizeof(s1));

break;

fio.close();

if(f=='n')

cout<<"\n\nNo matching data found";

break;

case 2://Display all students

fin.open("student.dat",ios::binary);

while(!fin.eof())

fin.read((char*)&s1,sizeof(s1));

if(fin.eof())

break;

s1.dispdata();

fin.close();

Page
15
SCHOOL MANAGEMENT ARCHIT GUPTA

break;

case 3://Search by Roll


Number char flag='n';

fin.open("student.dat",ios::binary);

cout<<"Enter Roll Number to be

searched:"; cin>>n;

while(fin.read((char*)&s1,sizeof(s1)))

if(n==s1.ret_rno())

flag='f';

s1.dispdata();

break;

if(flag=='n')

cout<<"\nNo data found\n";


fin.close();

break;

case 4://Search by name

char naam[20];

flag='n';

fin.open("student.dat",ios::binary);

cout<<"Enter Name to be Searched:";

gets(naam);

while(fin.read((char*)&s1,sizeof(s1)))

Page
16
SCHOOL MANAGEMENT ARCHIT GUPTA

if(strcmpi(naam,s1.ret_name())==0)

flag='f';

s1.dispdata();

if(flag=='n') cout<<"\n\nNo

data found"; fin.close();

break;

case 5://List of distinction holders flag='n';

fin.open("student.dat",ios::binary);

cout<<"\n\nList Of Distinction Holders--


>"; while(fin.read((char*)&s1,sizeof(s1)))

if(s1.ret_marks()>=75)

{ flag='f';

s1.dispdata();

if(flag=='n')

cout<<"\nNo distinction /data not found";


fin.close();

break;

Page
17
SCHOOL MANAGEMENT ARCHIT GUPTA

case 6://List of failures

flag='n';

fin.open("student.dat",ios::binary);

cout<<"\n\nList Of Failures-->";

while(fin.read((char*)&s1,sizeof(s1)))

if(s1.ret_marks()<33)

flag='f';

s1.dispdata();

if(flag=='n')

cout<<"\n\nNo distinction holder/data not


found";

fin.close();

break;

case 7://Salary Status, not working for cases where


sal_status='n';

int n;

flag='n';

cout<<"Enter your Teacher Roll

Number:"; cin>>n;

fin.open("teacher.dat",ios::binary);

flag='n';

while(fin.read((char*)&t1,sizeof(t1)));

Page
18
SCHOOL MANAGEMENT ARCHIT GUPTA

if(n==t1.ret_trno())

flag='f';

t1.dispsal();

break;

if(flag=='n')

cout<<"\nNo data of roll no. entered found.";


fin.close();

break;

case 0:

exit(0);

cout<<"\n\nDo you wish to


continue:"; cin>>ans;

}while(ans=='Y' || ans=='y');//Teacher mode do-while end


break;

case 3: //ACCOUNTANT MODE


do{

clrscr();
int r;

cout<<"\n==SCHOOL MANAGEMENT==";

cout<<"=====ACCOUNTANT MODE=====";

cout<<"\n1.Update fee status of a student";

cout<<"\n2.Update salary status of a teacher";

Page
19
SCHOOL MANAGEMENT AVI MISHRA|ARCHIT GUPTA

cout<<"\n3.View Fee Status of all students";

cout<<"\n4.View Salary Status of all teachers";

cout<<"\n0.Exit";

cout<<"\nEnter Choice:";

cin>>choicee;

switch(choicee)

case 0:

exit(0);

case 1:

cout<<"Enter the roll number of the student:";


cin>>r;

char f='n';

fio.open("student.dat",ios::binary|ios::in|ios::out);

int pos;

while(!fin.eof())

{ pos=fio.tellg();

fio.read((char*)&s1,sizeof(s1));

if(r==s1.ret_rno())

{ f='f'; fio.seekg(pos,ios::beg);

s1.fupdate();

fio.write((char*)&s1,sizeof(s1));

break;

fio.close();

Page
20
SCHOOL MANAGEMENT AVI MISHRA|ARCHIT GUPTA

if(f=='n')

cout<<"\nError no roll no. matches


record";

break;

case 2://Salary of teacher

cout<<"Enter the roll number of the teacher:";


cin>>r;

f='n';

fio.open("teacher.dat",ios::binary|ios::in|ios::out);

pos;

while(!fin.eof())

{ pos=fio.tellg();

fio.read((char*)&t1,sizeof(t1));

if(r==t1.ret_trno())

{ f='f'; fio.seekg(pos,ios::beg);

t1.supdate();

fio.write((char*)&t1,sizeof(t1));

break;

fio.close();

if(f=='n')

cout<<"\nError no roll no. matches


record";

break;

Page
21
SCHOOL MANAGEMENT AVI MISHRA|ARCHIT GUPTA

case 3:

fin.open("student.dat",ios::binary);

while(!fin.eof())

fin.read((char*)&s1,sizeof(s1));

if(fin.eof())

break;

s1.dispfee();

fin.close();

break;

case 4:

fin.open("teacher.dat",ios::binary);

while(!fin.eof())

fin.read((char*)&t1,sizeof(t1));

if(fin.eof())

break;

t1.dispsal();

fin.close();

break;

cout<<"\n\nDo you wish to


continue:"; cin>>ans;

}while(ans=='Y' || ans=='y');//Teacher mode do-while end.


break;

Page
22
SCHOOL MANAGEMENT AVI MISHRA|ARCHIT GUPTA

case 4: //ADMIN MODE

char ch,str[40];

int i=0;

for(int p=3;p>0;p--)

cout<<"\n\nEnter Password to continue:";


while(1)

ch=getch();

if(ch==13)

break;

else

{ cout<<"*";

str[i++]=ch;

str[i]='\0';

if(strcmpi(str,"P")==0)

cout<<"\nCorrect Password";
break;

else

cout<<"\nIncorrect Password.\nYou have


" <<p-1<<" chances remaining.";

Page
23
SCHOOL MANAGEMENT AVI MISHRA|ARCHIT GUPTA

if(p==0)

cout<<"\nYou have made 3 wrong attempts.Now Exiting...";


getch();

exit(0);
}//End of Password

do{

clrscr();
int r;

char flag='n';

cout<<"\n==SCHOOL MANAGEMENT==";

cout<<"\n=====ADMIN MODE======”;

cout<<"\n1.Register a new record of student";

cout<<"\n2.Register a new record of teacher";

cout<<"\n3.View record of all student";

cout<<"\n4.View record of all teacher";

cout<<"\n5.Delete record of a student";

cout<<"\n6.Delete record of a teacher";

cout<<"\n0.Exit";

cout<<"\nEnter Choice:";

cin>>choicee;

switch(choicee)

case 0:

exit(0);

case 1://Register Student

Page
24
SCHOOL MANAGEMENT AVI MISHRA|ARCHIT GUPTA

fout.open("student.dat",ios::app|ios::binary);

if(!fout)

cout<<"Error Opening File";

exit(-1);

s1.reg_stud();

fout.write((char*)&s1,sizeof(s1));

fout.close();

break;

case 2://Register Teacher

fout.open("teacher.dat",ios::app|ios::binary);

if(!fout)

cout<<"Error Opening File";

exit(-1);

t1.reg_teacher();

fout.write((char*)&t1,sizeof(t1));

fout.close();

break;

case 3://Display students

fin.open("student.dat",ios::binary);

while(!fin.eof())

fin.read((char*)&s1,sizeof(s1));

if(fin.eof())

Page
25
SCHOOL MANAGEMENT AVI MISHRA|ARCHIT GUPTA

break;

s1.dispdata();

fin.close();

break;

case 4://Display teachers

fin.open("teacher.dat",ios::binary);

while(!fin.eof())

fin.read((char*)&t1,sizeof(t1));

if(fin.eof())

break;

t1.disptinfo();

fin.close();

break;

case 5://Delete record of student

fin.open("student.dat",ios::binary);

fout.open("temp.dat",ios::binary);

if(fin.eof())

break;

cout<<"\nEnter Roll no.whose record is to


be Deleted:";

cin>>n;

while(!fin.eof())

fin.read((char*)&s1,sizeof(s1));

Page
26
SCHOOL MANAGEMENT AVI MISHRA|ARCHIT GUPTA

if(fin.eof())

break;

if(s1.ret_rno()==n)

flag='f';

else

fout.write((char*)&s1,sizeof(s1));

if(flag=='n')

cout<<"\n\nNo matching data


found"; fin.close();

fout.close();

remove("student.dat");

rename("temp.dat","student.dat");

break;

case 6://Delete record of teacher

fin.open("teacher.dat",ios::binary);

fout.open("temp.dat",ios::binary);

if(fin.eof())

break;

cout<<"\nEnter Roll no.whose record is to


be Deleted:";

cin>>n;

while(!fin.eof())

Page
27
SCHOOL MANAGEMENT AVI MISHRA|ARCHIT GUPTA

fin.read((char*)&t1,sizeof(t1));

if(fin.eof())

break;

if(t1.ret_trno()==n)

flag='f';

else

fout.write((char*)&t1,sizeof(t1));

if(flag=='n')

cout<<"\n\nNo matching data


found"; fin.close();

fout.close();

remove("teacher.dat");

rename("temp.dat","teacher.dat");

break;

cout<<"\n\nDo you wish to


continue:"; cin>>ans;

}while(ans=='Y' || ans=='y');//Admin mode do-while end


break;

}while(1);

getch();

Page
28
SCHOOL MANAGEMENT AVI MISHRA|ARCHIT GUPTA

OUTPUT

Page
29
SCHOOL MANAGEMENT AVI MISHRA|ARCHIT GUPTA

Page
30
SCHOOL MANAGEMENT AVI MISHRA|ARCHIT GUPTA

Page
31
SCHOOL MANAGEMENT AVI MISHRA|ARCHIT GUPTA

Page
32
SCHOOL MANAGEMENT AVI MISHRA|ARCHIT GUPTA

Page
33
SCHOOL MANAGEMENT AVI MISHRA|ARCHIT GUPTA

Page
34
SCHOOL MANAGEMENT AVI MISHRA|ARCHIT GUPTA

Page
35
SCHOOL MANAGEMENT AVI MISHRA|ARCHIT GUPTA

Page
36
SCHOOL MANAGEMENT AVI MISHRA|ARCHIT GUPTA

Page
37
SCHOOL MANAGEMENT AVI MISHRA|ARCHIT GUPTA

Page
38
SCHOOL MANAGEMENT AVI MISHRA|ARCHIT GUPTA

Page
39
SCHOOL MANAGEMENT AVI MISHRA|ARCHIT GUPTA

FUTURE
ENHANCEMENTS

I would like to add one more mode, Librarian which will keep the record of
the information about the books. He/she will have the authority to issue
any book to the students or the teachers. He will have the information
about which books are available in the system, which is not so that those
can be arranged at the right time.

Expanding student mode so that it enables student to view their Report Card,
view the Attendance in an academic year and view the timetable. Without a
timetable, nothing falls into its right place. The student can access the
schedule of the class he or she has to attend and some information such as
class number, time of the class, which teacher will take that class etc.

The student will be able to view look into the details of the assignments
he/she has been given such as the topic of the time assignment, questions,
last submission dates, how much marks it is off etc. After finishing the
homework, the student can upload that work onto the portal which will be
reflected in teacher’s account too.

At the time exams, the students need to identify their seating plan of the
exams. It can be viewed easily and their examination result or class
assessments can also access by them.

Page
40
SCHOOL MANAGEMENT AVI MISHRA|ARCHIT GUPTA

CONCLUSION

The program implements all the details regarding school, whether it is


small or big, will be computerized.
No Redundant Data – As this management system will be centralized, the
chances of the duplicate data in the system are close to nil.

There is six type of main users involved in the school management system.

 Admin: Admin is the one who controls whole school management


system, its staff, and every other person or thing that is associated with the
school. This mode enables the user to registration of students, registration of
teachers, view details of all the student and teachers and also allow to delete
a record of any student or a teacher studying in this institute. 


 Student: The student is also one of the main parts of the system.
The students can not only allow a student to view his profile but also to view
his marks and grade. It also allows a student to know whether he is fees is
deposited or pending. 


 Teacher: It enables a teacher of maintaining the academic records
such as marks and grade, generating distinction list, generating list of
students which have failed etc. 


 Accountant: The accountant mode deals with the financial deals
of the school such getting the fee from the students, paying the teachers’
salary. 

Page
41
SCHOOL MANAGEMENT AVI MISHRA|ARCHIT GUPTA

BIBLIOGRAPHY

Sumita Arora – Computer Science with C++

E. Balagurusami – C++

Robert Lafore – Turbo C++

website : www.cppforschool.com

Page
42

You might also like