This document appears to be a student project report on an academics management system created using C++. It includes the source code for the project, which allows users to add, view, modify, and delete student records stored in a binary file. The report provides documentation on the classes, functions, and logic used to build the student record management system. It also includes acknowledgements, references, and output pages related to the project.
2. Department of Computer Science Delhi Public School, Udaipur (Raj) - 313001 Page 2
Academics Management
Subject : Computer Science (083)
Session : 2012-2013
CreatedBy: Guidedby:
Adityasingh V K Tiwari
3. Department of Computer Science Delhi Public School, Udaipur (Raj) - 313001 Page 3
Certificate
This is to certify that this project report entitled Airport
Management has been prepared by S. Vijay of class XII
from DPS, Udaipur.
He/ she has put his/ her sincere efforts for the
collection of data and performance of experiment for
the project successfully under my supervision
Neeru Tandon Vinay Krishan Tiwari
Principal PGT (IP & CS )
DPS, Udaipur
4. Department of Computer Science Delhi Public School, Udaipur (Raj) - 313001 Page 4
Acknowledgement
I feel immense pleasure and deep feeling
gratitude towards
Mr Vinay K Tiwari of Delhi Public School, Udaipur
for his skillful guidance , constructive and
valuable suggestions with encouraging co-
operation for my project, which not merely helped
but enable me to give effort towards this project.
I am also thankful to Ms Neeru Tandon, Principal
Delhi Public School, Udaipur for her
encouragement and valuable suggestions given
time to time. I also extend my thanks to all
colleagues and friends for their valuable
assistance and kind co-operation during the
course of this investigation.
Aditya singh
5. Department of Computer Science Delhi Public School, Udaipur (Raj) - 313001 Page 5
Preface
Projectmay have one, two or three objectives.And each objective has
one or more activities. The work plan answers these questions:
? What resources will you need?
? What activities have you planned?
? What is the timeline for each activity?
? What is the product from each activity?
? Who is responsible forthe activity?
? What is the result for each objective?
Evaluation is a planning term for finding out how things are going and
making decisions about what to do next. Evaluations serve as a tool for
reviewing your project.Evaluation enables you to learn from experience
so that you can do a better job next time. It also shows your funder what
you did and how successfulyour projectwas.
The evaluation plan shows how you plan to collectand analyze
information while the project is operating.
Outcomes are changes, results, impacts or consequences of the project
activities. Outcomes representthe impact that a projecthas on people,
programs or institutions.
Qualitative evaluation is an assessmentprocessthat answers the
question ¡°How well did we do?¡±
Quantitative evaluation is an assessmentprocessthat answers the
question ¡°How muchdid we do?¡±
Implementationis the phase in the projectwhen you begin your
activities. Your activities should help you reach your objectives
6. Department of Computer Science Delhi Public School, Udaipur (Raj) - 313001 Page 6
Source Code
7. Department of Computer Science Delhi Public School, Udaipur (Raj) - 313001 Page 7
//***
// AcademicsManagement:
// HEADER FILES USED IN THE PROJECT:STUDENT REPORT CARD
// Made by S.Vijay and Aditya Singh
//***
#include<fstream.h>
#include<iomanip.h>
#include<stdio.h>
#include<conio.h>
//***
// CLASSES USED IN THE PROJECT
//****
classstudent
{
introllno;
char name[50];
intp_marks, c_marks,m_marks, e_marks,cs_marks;
floatper;
char grade;
voidcalculate();//functiontocalculate grade
public:
8. Department of Computer Science Delhi Public School, Udaipur (Raj) - 313001 Page 8
voidgetdata(); //functiontoacceptdata from user
voidshowdata(); //functiontoshow dataon screen
voidshow_tabular();
intretrollno();
}; //classendshere
voidstudent::calculate()
{
per=(p_marks+c_marks+m_marks+e_marks+cs_marks)/5.0;
if(per>=60)
grade='A';
else if(per>=50)
grade='B';
else if(per>=33)
grade='C';
else
grade='F';
}
voidstudent::getdata()
{
cout<<"nEnterThe roll numberof student";
cin>>rollno;
cout<<"nnEnterThe Name of student";
9. Department of Computer Science Delhi Public School, Udaipur (Raj) - 313001 Page 9
gets(name);
cout<<"nEnterThe marks inphysicsout of 100 : ";
cin>>p_marks;
cout<<"nEnterThe marks inchemistryoutof 100 : ";
cin>>c_marks;
cout<<"nEnterThe marks inmaths out of 100 : ";
cin>>m_marks;
cout<<"nEnterThe marks inenglishout of 100 : ";
cin>>e_marks;
cout<<"nEnterThe marks incomputerscience outof 100 : ";
cin>>cs_marks;
calculate();
}
voidstudent::showdata()
{
cout<<"nRoll numberof student:"<<rollno;
cout<<"nName of student:"<<name;
cout<<"nMarks inPhysics: "<<p_marks;
cout<<"nMarks inChemistry:"<<c_marks;
cout<<"nMarks inMaths : "<<m_marks;
cout<<"nMarks inEnglish: "<<e_marks;
cout<<"nMarks inComputerScience :"<<cs_marks;
cout<<"nPercentage of studentis :"<<per;
cout<<"nGrade of studentis:"<<grade;
19. Department of Computer Science Delhi Public School, Udaipur (Raj) - 313001 Page 19
getch();
return;
}
cout<<"nnttALLSTUDENTSRESULT nn";
cout<<"==========================================================n";
cout<<"R.No Name P C M E CS %age Grade"<<endl;
cout<<"==========================================================n";
while(inFile.read((char*) &st,sizeof(student)))
{
st.show_tabular();
}
getch();
inFile.close();
}
//***
// functiontodisplayresultmenu
//****
voidresult()
{
char ch;
intrno;
20. Department of Computer Science Delhi Public School, Udaipur (Raj) - 313001 Page 20
cout<<"nnntRESULTMENU";
cout<<"nnnt1.ClassResult";
cout<<"nnt2.StudentReportCard";
cout<<"nnt3.Back to Main Menu";
cout<<"nnntEnterChoice (1/2/3)?";
cin>>ch;
clrscr();
switch(ch)
{
case '1' : class_result();break;
case '2' : cout<<"nntEnterRoll NumberOf Student:";cin>>rno;
display_sp(rno);break;
case '3' : break;
default:cout<<"a";
}
}
//***
// INTRODUCTION FUNCTION
//****
voidintro()
{
cout<<"nnntt STUDENT";
cout<<"nnttREPORTCARD";
21. Department of Computer Science Delhi Public School, Udaipur (Raj) - 313001 Page 21
cout<<"nntt PROJECT";
cout<<"nnntMADEBY : S.VIJAYandADITYA SINGH";
cout<<"ntSCHOOL: DELHI PUBLIC SCHOOL UDAIPUR";
getch();
}
//***
// ENTRY / EDIT MENU FUNCTION
//****
voidentry_menu()
{
char ch;
intnum;
clrscr();
cout<<"nnntENTRYMENU";
cout<<"nnt1.CREATESTUDENT RECORD";
cout<<"nnt2.DISPLAYALLSTUDENTS RECORDS";
cout<<"nnt3.SEARCHSTUDENT RECORD ";
cout<<"nnt4.MODIFYSTUDENT RECORD";
cout<<"nnt5.DELETE STUDENT RECORD";
cout<<"nnt6.BACKTOMAIN MENU";
cout<<"nntPlease EnterYourChoice (1-6) ";
cin>>ch;
clrscr();
22. Department of Computer Science Delhi Public School, Udaipur (Raj) - 313001 Page 22
switch(ch)
{
case '1':write_student();break;
case '2':display_all();break;
case '3':cout<<"nntPlease EnterThe roll number";cin>>num;
display_sp(num);break;
case '4':cout<<"nntPlease EnterThe roll number";cin>>num;
modify_student(num);break;
case '5':cout<<"nntPlease EnterThe roll number";cin>>num;
delete_student(num);break;
case '6':break;
default:cout<<"a"; entry_menu();
}
}
//***
// END OFTHE PROJECT: THANKINGA LOT TO MR VINAYTIWARIANDMANAGEMENT OF DPS
UDAIPUR
//***
23. Department of Computer Science Delhi Public School, Udaipur (Raj) - 313001 Page 23
OUT PUT
28. Department of Computer Science Delhi Public School, Udaipur (Raj) - 313001 Page 28
Bibliography
Computer Science C++ bySumita Arora Class XII, Dhapat Rai & C.
(P) LTD. Educational & Technical Publisher, 4576/15
Agrawal Road DaryaGanj, New Delhi - 110002
Saraswati Computer Science C++ by Reeta Sahoo, Gagan Sahoo
(MCA), Saraswati House Pvt. Ltd. Educational
Publishers New Delhi - 110002
Move fast with C++ by Sumita Arora, Dhapat Rai & C. (P) LTD.
Educational & Technical Publisher, 4576/15 Agrawal
Road DaryaGanj, New Delhi - 110002
Computer Networks byAndrew S Tanenbaum(Vrije Universiteit
Amsterdam, The Netherlands), Prentice ¨C Hall of
India Private Limited, New Delhi - 110001
New Concepts in Computer Science (for CBSE Class XII) by JB
Dixit, Laxmi Publications (P) Ltd. Ansari Road
DaryaGanj, New Delhi - 110002