SlideShare una empresa de Scribd logo
1 de 36
:-Students progress
System
prepared by~
ROSHAN KUMAR BASTIA
12th ‘A’
Roll. No.:- 10
Kendriya Vidyalaya S.E.C.L,
Baikunthpur(497339),(C.G)
2015-2016
Computer Project
SUBMITTED IN THE PARTIAL FULFILLMENT OF THE
REQUIREMENT OF CBSE BOARD
Thisistocertifythatprojectworkentitled:
Student progress record SYSTEM
Hasbeen carriedout by
Studentsof classXII ‘A’
RoshanKumarBASTIA
Kendriya Vidyalaya,SECL,Baikunthpur(C.G)
Hehadsubmittedthisprojectduringthe
Academicyear2015-2016,
Towardspartial fulfilment of requirement
Of CBSE Board.
CERTIFICATE
Mr.R.K.Asanani Signature
(ComputerTeacher) [External]
ACKNOWLEDGMENT
I am extremely grateful to Mr. R.k.Asnani, Teacher
of Department of Computer Science for his able
guidance and useful suggestions, which helped me
in completing the project work, in time.
I would also like to thank all the teaching and
non-teaching staff of Computer Science department
who helped me directly or indirectly in the
completion of this project i.e. Student progress
System.
Finally, yet importantly, I would like to express my
heartfelt thanks to my beloved parents for their
blessings, my friends/classmates for their help and
wishes for the successful completion of this project.
RoshankumarBASTIA
KendriyavidyalayaSECL,
Baikunthpur(C.G)
This project has been prepared keeping in view the
requirements of Central Board Of Secondary Education,
New Delhi.
This project deals with every aspect of C++
functions and graphics. User defined functions have been
developed to make the program code as simpler and easier
as possible.
This project is aimed at providing a thorough base
and understanding in various latest trends and techniques
in C++.
PREFACE
INTRODUCTION
The project undertaken does the automation of the
STUDENT PROGRESS SYSTEM in the organization. It builds
on the performance, reliability, quality and ease of use. It also
includes a number of features that further establish it as a
better GUI application. STUDENT PROGRESS SYSTEM is a
system having Menu Driven User Interface. It contains
the vital data and marks scored in academics by
student. Administrator of the project can enter new student
record, display all/specific student record, he can modify and
delete student record. Administrator can enter new student
record, display all records, modify & delete student records.
The software is developed in C++. The software is
developed to reduce the workload for and provides
better service to the students.
The main reason of developing this software
is to reduce the workload and to provide ease of use to
accomplish the desired task.
We have chosen C++ because of its ease of use, versatility
& ability to implement OOP in its true sense. It offers a great
combination of in built scientific, mathematical, string, graphical
functions & scores of other user defined functions to accomplish any
given task. C++ emphasizes more on what has to be done rather than
how it has to be done. C++ allows the programmer to carry out
virtually any task, given the knowledge and skill of its application.
The OOP (Object Oriented Programming )approach is based
on certain concepts that help to attain its goal of overcoming the
drawbacks or shortcomings of conventional programming
approach.
These general concepts of OOP are: -
 DATA ABSTRACTION
C++ & OOP concepts
 DATA ENCAPSULATION
 MODULARITY
 INHERITANCE (HIERARCHY)
 POLYMORPHISM
MINIMUM: -
Intel 486 Processor
8 MB RAM
14” Monitor
Keyboard US layout
Printer
System Requirements
RECOMMENDED: -
Intel core i5 processor CPU @ 2.20GHz
8 GB RAM
14” Colour led Monitor
Keyboard US Layout
Mouse
Printer
//***********************************
****************************
// HEADER FILE USED
IN PROJECT
//***********************************
*****************************
#include<fstream.h>
#include<iomanip.h>
Source Code
#include<stdio.h>
#include<conio.h>
//***********************************
****************************
// CLASS USED IN
PROJECT
//***********************************
*****************************
class student
{
int rollno;
char name[50];
int p_marks, c_marks, m_marks,
e_marks, cs_marks;
float per;
char grade;
void calculate(); //function to
calculate grade
public:
void getdata(); //function to
accept data from user
void showdata(); //function to
show data on screen
void show_tabular();
int retrollno();
}; //class ends here
void student::calculate()
{
per=(p_marks+c_marks+m_marks+e_mar
ks+cs_marks)/5.0;
if(per>=60)
grade='A';
else if(per>=50)
grade='B';
else if(per>=33)
grade='C';
else
grade='F';
}
void student::getdata()
{
cout<<"nEnter The roll number of
student ";
cin>>rollno;
cout<<"nnEnter The Name of
student ";
gets(name);
cout<<"nEnter The marks in
physics out of 100 : ";
cin>>p_marks;
cout<<"nEnter The marks in
chemistry out of 100 : ";
cin>>c_marks;
cout<<"nEnter The marks in maths
out of 100 : ";
cin>>m_marks;
cout<<"nEnter The marks in
english out of 100 : ";
cin>>e_marks;
cout<<"nEnter The marks in
computer science out of 100 : ";
cin>>cs_marks;
calculate();
}
void student::showdata()
{
cout<<"nRoll number of student :
"<<rollno;
cout<<"nName of student :
"<<name;
cout<<"nMarks in Physics :
"<<p_marks;
cout<<"nMarks in Chemistry :
"<<c_marks;
cout<<"nMarks in Maths :
"<<m_marks;
cout<<"nMarks in English :
"<<e_marks;
cout<<"nMarks in Computer Science
: "<<cs_marks;
cout<<"nPercentage of student is
: "<<per;
cout<<"nGrade of student is :
"<<grade;
}
void student::show_tabular()
{
cout<<setw(3)<<setfill('
')<<rollno<<"t|";
cout<<setw(3)<<setfill('
')<<name<<"ttbbb|";
cout<<setw(3)<<setfill('
')<<p_marks<<" |";
cout<<setw(3)<<setfill('
')<<c_marks<<" |";
cout<<setw(3)<<setfill('
')<<m_marks<<" |";
cout<<setw(3)<<setfill('
')<<e_marks<<" |";
cout<<setw(3)<<setfill('
')<<cs_marks<<" |";
cout<<" "<<per<<" |";
cout<<" "<<grade<<" |";
cout<<endl;
}
int student::retrollno()
{
return rollno;
}
//***********************************
****************************
// function declaration
//***********************************
*****************************
void write_student(); //write the
record in binary file
void display_all(); //read all
records from binary file
void display_sp(int); //accept
rollno and read record from binary
file
void modify_student(int); //accept
rollno and update record of binary
file
void delete_student(int); //accept
rollno and delete selected records
from binary file
void class_result(); //display all
records in tabular format from binary
file
void result(); //display result menu
void intro(); //display welcome
screen
void entry_menu(); //display entry
menu on screen
void exit() ;
//***********************************
****************************
// THE MAIN FUNCTION OF PROGRAM
//***********************************
*****************************
void main()
{
char ch;
cout.setf(ios::fixed|ios::showpoin
t);
cout<<setprecision(2); // program
outputs decimal number to two decimal
places
clrscr();
intro();
do
{
clrscr();
cout<<"nnntMAIN MENU";
cout<<"nnt01. RESULT MENU";
cout<<"nnt02. ENTRY/EDIT
MENU";
cout<<"nnt03. EXIT";
cout<<"nntPlease Select Your
Option (1-3) ";
cin>>ch;
clrscr();
switch(ch)
{
case '1': result();
break;
case '2': entry_menu();
break;
case '3':
break;
}
}while(ch!='3');
}
//***********************************
****************************
// function to write in file
//***********************************
*****************************
void write_student()
{
student st;
ofstream fout;
fout.open("student.dat",ios::binar
y|ios::app);
st.getdata();
fout.write((char *) &st,
sizeof(student));
fout.close();
cout<<"nnStudent record Has Been
Created ";
getch();
}
//***********************************
****************************
// function to read all records
from file
//***********************************
*****************************
void display_all()
{
student st;
ifstream fin;
fin.open("student.dat",ios::binary
);
if(!fin)
{
cout<<"File could not be open
!! Press any Key...";
getch();
return;
}
cout<<"nnnttDISPLAY ALL
RECORD !!!nn";
while(fin.read((char *) &st,
sizeof(student)))
{
st.showdata();
cout<<"nn~+~+~+~+~+~+~+~+~+~+~+~
+~+~+~+~+~+~n";
}
fin.close();
getch();
}
//***********************************
****************************
// function to read specific
record from file
//***********************************
*****************************
void display_sp(int n)
{
student st;
ifstream fin;
fin.open("student.dat",ios::binary
);
if(!fin)
{
cout<<"File could not be open
!! Press any Key...";
getch();
return;
}
int flag=0;
while(fin.read((char *) &st,
sizeof(student)))
{
if(st.retrollno()==n)
{
st.showdata();
flag=1;
}
}
fin.close();
if(flag==0)
cout<<"nnrecord not exist";
getch();
}
//***********************************
****************************
// function to modify record of
file
//***********************************
*****************************
void modify_student(int n)
{
int found=0;
student st;
fstream Fio;
Fio.open("student.dat",ios::binary
|ios::in|ios::out);
if(!Fio)
{
cout<<"File could not be open
!! Press any Key...";
getch();
return;
}
while(Fio.read((char *) &st,
sizeof(student)) && found==0)
{
if(st.retrollno()==n)
{
st.showdata();
cout<<"nnPlease Enter The
New Details of student"<<endl;
st.getdata();
int pos=(-1)*sizeof(st);
Fio.seekp(pos,ios::cur);
Fio.write((char *) &st,
sizeof(student));
cout<<"nnt Record
Updated";
found=1;
}
}
Fio.close();
if(found==0)
cout<<"nn Record Not Found ";
getch();
}
//***********************************
****************************
// function to delete record of
file
//***********************************
*****************************
void delete_student(int n)
{
int g=0;
student st;
ifstream fin;
fin.open("student.dat",ios::binary
);
if(!fin)
{
cout<<"File could not be open
!! Press any Key...";
getch();
return;
}
ofstream fout;
fout.open("Temp.dat",ios::binary);
while(fin.read((char *) &st,
sizeof(student)))
{
if(st.retrollno()!=n)
{
fout.write((char *) &st,
sizeof(student));
}
else
{
g=1;
}
}
fout.close();
fin.close();
remove("student.dat");
rename("Temp.dat","student.dat");
if(g==1)
cout<<"nntRecord Deleted
..";
else
cout<<"nnFILE NOT
FOUND.....";
getch();
}
//***********************************
****************************
// function to display all
students grade report
//***********************************
*****************************
void class_result()
{
student st;
ifstream fin;
fin.open("student.dat",ios::binary
);
if(!fin)
{
cout<<"File could not be open
!! Press any Key...";
getch();
return;
}
cout<<"nnttALL STUDENTS RESULT
nn";
cout<<"~~~~~~~~^~~~~~~~~~~~~^~~~~~
^~~~~~^~~~~~^~~~~~^~~~~~~^~~~~~~~~^~~
~~~~~~n";
cout<<"R.No | Name | P
| C | M | E | CS | %age |
Grade|"<<endl;
cout<<"~~~~~~~~^~~~~~~~~~~~~^~~~~~
^~~~~~^~~~~~^~~~~~^~~~~~~^~~~~~~~~^~~
~~~~~~n";
while(fin.read((char *) &st,
sizeof(student)))
{
st.show_tabular();
cout<<"~~~~~~~~^~~~~~~~~~~~~^~~~~~
^~~~~~^~~~~~^~~~~~^~~~~~~^~~~~~~~~^~~
~~~~~~n";
}
getch();
fin.close();
}
//***********************************
****************************
// function to display result
menu
//***********************************
*****************************
void result()
{
char ch,ein='n';
int rno;
do
{
clrscr();
cout<<"nnntRESULT MENU";
cout<<"nnnt1. Class Result";
cout<<"nnt2. Student Report
Card";
cout<<"nnt3. Back to Main
Menu";
cout<<"nnntEnter Choice
(1/2/3)? ";
cin>>ch;
clrscr();
switch(ch)
{
case '1' : class_result();
break;
case '2' :
cout<<"nntEnter Roll Number Of
Student : "; cin>>rno;
display_sp(rno); break;
case '3' : cout<<"nndo you
want to exit to main
minu?(y/n)t";cin>>ein;
if(ein=='y')
exit();
else
ein='n';
break;
}
getch();
}while(ein=='N'||ein=='n');
}
//***********************************
****************************
// INTRODUCTION FUNCTION
//***********************************
*****************************
void intro()
{
cout<<"nnntt STUDENT";
cout<<"nnttREPORT CARD";
cout<<"nntt PROJECT";
cout<<"nnntMADE BY : ROSHAN
KUMAR BASTIA";
cout<<"ntTEACHER:
Mr.R.K.ASNANI";
cout<<"ntSCHOOL : KENDRIYA
VIDYALAYA,BAIKUNTHPUR";
getch();
}
//***********************************
****************************
// ENTRY / EDIT MENU FUNCTION
//***********************************
*****************************
void entry_menu()
{
char ch;
int num;
char ein='n';
do
{ clrscr();
cout<<"nnntENTRY MENU";
cout<<"nnt1.CREATE STUDENT
RECORD";
cout<<"nnt2.DISPLAY ALL
STUDENTS RECORDS";
cout<<"nnt3.SEARCH STUDENT
RECORD ";
cout<<"nnt4.MODIFY STUDENT
RECORD";
cout<<"nnt5.DELETE STUDENT
RECORD";
cout<<"nnt6.BACK TO MAIN
MENU";
cout<<"nntPlease Enter Your
Choice (1-6) ";
cin>>ch;
clrscr();
switch(ch)
{
case '1': write_student();
break;
case '2': display_all();
break;
case '3':
cout<<"nntPlease Enter The roll
number "; cin>>num;
display_sp(num);
break;
case '4':
cout<<"nntPlease Enter The roll
number "; cin>>num;
modify_student(num);break;
case '5':
cout<<"nntPlease Enter The roll
number "; cin>>num;
delete_student(num);break;
case '6': cout<<"nndo you
want to exit to main
minu?(y/n)t";cin>>ein;
if(ein=='y')
exit();
else
ein='n';
break;
default: cout<<"a";
}
getch();
}while(ein=='N'||ein=='n');
}
void exit()
{
}
//***********************************
****************************
// END OF PROJECT
//***********************************
****************************
Conclusion
This project is user friendly and menu driven package.The
application is fully tested by us. User modify it very easily.
The application is helpful for the School Departments.
The application has been developed with a view to reduce the
workload and also to provide faster service.
Sumita Arora Computer science with c++
Internet
Bibliography
Mr. R.k.Asnani -computer science teacher

Más contenido relacionado

La actualidad más candente

Library Management Python, MySQL
Library Management Python, MySQLLibrary Management Python, MySQL
Library Management Python, MySQLDarshit Vaghasiya
 
CBSE Class 12 Computer practical Python Programs and MYSQL
CBSE Class 12 Computer practical Python Programs and MYSQL CBSE Class 12 Computer practical Python Programs and MYSQL
CBSE Class 12 Computer practical Python Programs and MYSQL Rishabh-Rawat
 
Web Development on Web Project Report
Web Development on Web Project ReportWeb Development on Web Project Report
Web Development on Web Project ReportMilind Gokhale
 
class 12th computer science project Employee Management System In Python
 class 12th computer science project Employee Management System In Python class 12th computer science project Employee Management System In Python
class 12th computer science project Employee Management System In PythonAbhishekKumarMorla
 
47533870 final-project-report
47533870 final-project-report47533870 final-project-report
47533870 final-project-reportMohammed Meraj
 
Android College Application Project Report
Android College Application Project ReportAndroid College Application Project Report
Android College Application Project Reportstalin george
 
Summer Training Report
Summer Training ReportSummer Training Report
Summer Training ReportSavigya Singh
 
Declaration by the candidate
Declaration by the candidateDeclaration by the candidate
Declaration by the candidateRaj Sekhar
 
12th CBSE Computer Science Project
12th CBSE Computer Science Project12th CBSE Computer Science Project
12th CBSE Computer Science ProjectAshwin Francis
 
Computer science project on Online Banking System class 12
Computer science project on Online Banking System class 12Computer science project on Online Banking System class 12
Computer science project on Online Banking System class 12OmRanjan2
 
Computer Science Investigatory Project Class 12
Computer Science Investigatory Project Class 12Computer Science Investigatory Project Class 12
Computer Science Investigatory Project Class 12Self-employed
 
Library Management Project (computer science) class 12
Library Management Project (computer science) class 12Library Management Project (computer science) class 12
Library Management Project (computer science) class 12RithuJ
 
Difference between system software and application software
Difference between system software and application softwareDifference between system software and application software
Difference between system software and application softwareSujon Kumar Dey
 
Computer science investigatory project- computer shop
Computer science investigatory project- computer shopComputer science investigatory project- computer shop
Computer science investigatory project- computer shopYash Panwar
 
Final Project Report of College Management System
Final Project Report of College Management SystemFinal Project Report of College Management System
Final Project Report of College Management SystemMuhammadHusnainRaza
 
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18HIMANSHU .
 
Computer Project For Class XII Topic - The Snake Game
Computer Project For Class XII Topic - The Snake Game Computer Project For Class XII Topic - The Snake Game
Computer Project For Class XII Topic - The Snake Game Pritam Samanta
 
Cbse class-xii-computer-science-project
Cbse class-xii-computer-science-project Cbse class-xii-computer-science-project
Cbse class-xii-computer-science-project Aniket Kumar
 
Banking Management System Project documentation
Banking Management System Project documentationBanking Management System Project documentation
Banking Management System Project documentationChaudhry Sajid
 

La actualidad más candente (20)

Library Management Python, MySQL
Library Management Python, MySQLLibrary Management Python, MySQL
Library Management Python, MySQL
 
CBSE Class 12 Computer practical Python Programs and MYSQL
CBSE Class 12 Computer practical Python Programs and MYSQL CBSE Class 12 Computer practical Python Programs and MYSQL
CBSE Class 12 Computer practical Python Programs and MYSQL
 
Web Development on Web Project Report
Web Development on Web Project ReportWeb Development on Web Project Report
Web Development on Web Project Report
 
class 12th computer science project Employee Management System In Python
 class 12th computer science project Employee Management System In Python class 12th computer science project Employee Management System In Python
class 12th computer science project Employee Management System In Python
 
47533870 final-project-report
47533870 final-project-report47533870 final-project-report
47533870 final-project-report
 
Android College Application Project Report
Android College Application Project ReportAndroid College Application Project Report
Android College Application Project Report
 
Summer Training Report
Summer Training ReportSummer Training Report
Summer Training Report
 
Declaration by the candidate
Declaration by the candidateDeclaration by the candidate
Declaration by the candidate
 
12th CBSE Computer Science Project
12th CBSE Computer Science Project12th CBSE Computer Science Project
12th CBSE Computer Science Project
 
Computer science project on Online Banking System class 12
Computer science project on Online Banking System class 12Computer science project on Online Banking System class 12
Computer science project on Online Banking System class 12
 
Computer Science Investigatory Project Class 12
Computer Science Investigatory Project Class 12Computer Science Investigatory Project Class 12
Computer Science Investigatory Project Class 12
 
Library Management Project (computer science) class 12
Library Management Project (computer science) class 12Library Management Project (computer science) class 12
Library Management Project (computer science) class 12
 
Report on web development
Report on web developmentReport on web development
Report on web development
 
Difference between system software and application software
Difference between system software and application softwareDifference between system software and application software
Difference between system software and application software
 
Computer science investigatory project- computer shop
Computer science investigatory project- computer shopComputer science investigatory project- computer shop
Computer science investigatory project- computer shop
 
Final Project Report of College Management System
Final Project Report of College Management SystemFinal Project Report of College Management System
Final Project Report of College Management System
 
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
 
Computer Project For Class XII Topic - The Snake Game
Computer Project For Class XII Topic - The Snake Game Computer Project For Class XII Topic - The Snake Game
Computer Project For Class XII Topic - The Snake Game
 
Cbse class-xii-computer-science-project
Cbse class-xii-computer-science-project Cbse class-xii-computer-science-project
Cbse class-xii-computer-science-project
 
Banking Management System Project documentation
Banking Management System Project documentationBanking Management System Project documentation
Banking Management System Project documentation
 

Destacado

Project. Microsoft Windows Nt Networking
Project. Microsoft Windows Nt NetworkingProject. Microsoft Windows Nt Networking
Project. Microsoft Windows Nt Networkingbksp
 
Product project report
Product project reportProduct project report
Product project reportRajesh Patel
 
Project report on Performance Appraisal of BSNL
Project report on Performance Appraisal of BSNLProject report on Performance Appraisal of BSNL
Project report on Performance Appraisal of BSNLVipul Sachan
 
12th bst project on marketing management
12th bst project on marketing management   12th bst project on marketing management
12th bst project on marketing management Jasmeet Singh
 
marketing project on colgate
marketing project on colgatemarketing project on colgate
marketing project on colgateAnu Reddy
 
Project report on ONLINE REAL ESTATE BUSINESS
Project report on ONLINE REAL ESTATE BUSINESSProject report on ONLINE REAL ESTATE BUSINESS
Project report on ONLINE REAL ESTATE BUSINESSDivyesh Shah
 
Marketing Management Project.
Marketing Management Project.Marketing Management Project.
Marketing Management Project.roomzkazi
 
Sample project -Marketing Management
Sample project -Marketing Management Sample project -Marketing Management
Sample project -Marketing Management Mamta Narula
 
XII Marketing Project Work
XII Marketing Project WorkXII Marketing Project Work
XII Marketing Project WorkRahil Jain
 

Destacado (11)

Hitesh1
Hitesh1Hitesh1
Hitesh1
 
Project. Microsoft Windows Nt Networking
Project. Microsoft Windows Nt NetworkingProject. Microsoft Windows Nt Networking
Project. Microsoft Windows Nt Networking
 
Math for Smart Kids Gr.5
Math for Smart Kids Gr.5Math for Smart Kids Gr.5
Math for Smart Kids Gr.5
 
Product project report
Product project reportProduct project report
Product project report
 
Project report on Performance Appraisal of BSNL
Project report on Performance Appraisal of BSNLProject report on Performance Appraisal of BSNL
Project report on Performance Appraisal of BSNL
 
12th bst project on marketing management
12th bst project on marketing management   12th bst project on marketing management
12th bst project on marketing management
 
marketing project on colgate
marketing project on colgatemarketing project on colgate
marketing project on colgate
 
Project report on ONLINE REAL ESTATE BUSINESS
Project report on ONLINE REAL ESTATE BUSINESSProject report on ONLINE REAL ESTATE BUSINESS
Project report on ONLINE REAL ESTATE BUSINESS
 
Marketing Management Project.
Marketing Management Project.Marketing Management Project.
Marketing Management Project.
 
Sample project -Marketing Management
Sample project -Marketing Management Sample project -Marketing Management
Sample project -Marketing Management
 
XII Marketing Project Work
XII Marketing Project WorkXII Marketing Project Work
XII Marketing Project Work
 

Similar a computer science project

Aditya Singh Final Project(Academics Management)
Aditya Singh Final Project(Academics Management)Aditya Singh Final Project(Academics Management)
Aditya Singh Final Project(Academics Management)Aditya Singh
 
CCE management system
CCE management systemCCE management system
CCE management systemTrish004
 
Pooja Sharma , BCA Third Year
Pooja Sharma , BCA Third YearPooja Sharma , BCA Third Year
Pooja Sharma , BCA Third YearDezyneecole
 
Reshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third YearReshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third Yeardezyneecole
 
Project.12
Project.12Project.12
Project.12GS Kosta
 
Deepika Mittal , BCA Third Year
Deepika Mittal , BCA Third YearDeepika Mittal , BCA Third Year
Deepika Mittal , BCA Third Yeardezyneecole
 
ResumeAnkitaNagane (1)
ResumeAnkitaNagane (1)ResumeAnkitaNagane (1)
ResumeAnkitaNagane (1)Ankita Nagane
 
Asp .Net Website on E Learning
Asp .Net Website on E LearningAsp .Net Website on E Learning
Asp .Net Website on E LearningMujeeb Rehman
 
Ram Prasad , BCA Third Year
Ram Prasad , BCA Third YearRam Prasad , BCA Third Year
Ram Prasad , BCA Third YearDezyneecole
 
Online_Examination
Online_ExaminationOnline_Examination
Online_ExaminationRupam Dey
 
CSEG1001Unit 2 C Programming Fundamentals
CSEG1001Unit 2 C Programming FundamentalsCSEG1001Unit 2 C Programming Fundamentals
CSEG1001Unit 2 C Programming FundamentalsDhiviya Rose
 
Pooja Sharma , BCA Third Year
Pooja Sharma , BCA Third YearPooja Sharma , BCA Third Year
Pooja Sharma , BCA Third YearDezyneecole
 
IRJET- Course outcome Attainment Estimation System
IRJET-  	  Course outcome Attainment Estimation SystemIRJET-  	  Course outcome Attainment Estimation System
IRJET- Course outcome Attainment Estimation SystemIRJET Journal
 
My Professional Profile
My Professional ProfileMy Professional Profile
My Professional ProfileMark Reha
 
Big data project
Big data projectBig data project
Big data projectKedar Kumar
 
Pankajkumar1- B.Tech(CSE) 2015 Batch
Pankajkumar1- B.Tech(CSE) 2015 BatchPankajkumar1- B.Tech(CSE) 2015 Batch
Pankajkumar1- B.Tech(CSE) 2015 Batchpankaj kumar
 

Similar a computer science project (20)

Aditya Singh Final Project(Academics Management)
Aditya Singh Final Project(Academics Management)Aditya Singh Final Project(Academics Management)
Aditya Singh Final Project(Academics Management)
 
CCE management system
CCE management systemCCE management system
CCE management system
 
Pooja Sharma , BCA Third Year
Pooja Sharma , BCA Third YearPooja Sharma , BCA Third Year
Pooja Sharma , BCA Third Year
 
Reshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third YearReshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third Year
 
Project.12
Project.12Project.12
Project.12
 
Deepika Mittal , BCA Third Year
Deepika Mittal , BCA Third YearDeepika Mittal , BCA Third Year
Deepika Mittal , BCA Third Year
 
ResumeAnkitaNagane (1)
ResumeAnkitaNagane (1)ResumeAnkitaNagane (1)
ResumeAnkitaNagane (1)
 
Asp .Net Website on E Learning
Asp .Net Website on E LearningAsp .Net Website on E Learning
Asp .Net Website on E Learning
 
Ram Prasad , BCA Third Year
Ram Prasad , BCA Third YearRam Prasad , BCA Third Year
Ram Prasad , BCA Third Year
 
Online_Examination
Online_ExaminationOnline_Examination
Online_Examination
 
Shriram Resume
Shriram ResumeShriram Resume
Shriram Resume
 
School Management (c++)
School Management (c++) School Management (c++)
School Management (c++)
 
CSEG1001Unit 2 C Programming Fundamentals
CSEG1001Unit 2 C Programming FundamentalsCSEG1001Unit 2 C Programming Fundamentals
CSEG1001Unit 2 C Programming Fundamentals
 
Pooja Sharma , BCA Third Year
Pooja Sharma , BCA Third YearPooja Sharma , BCA Third Year
Pooja Sharma , BCA Third Year
 
Online exam
Online examOnline exam
Online exam
 
Resume
ResumeResume
Resume
 
IRJET- Course outcome Attainment Estimation System
IRJET-  	  Course outcome Attainment Estimation SystemIRJET-  	  Course outcome Attainment Estimation System
IRJET- Course outcome Attainment Estimation System
 
My Professional Profile
My Professional ProfileMy Professional Profile
My Professional Profile
 
Big data project
Big data projectBig data project
Big data project
 
Pankajkumar1- B.Tech(CSE) 2015 Batch
Pankajkumar1- B.Tech(CSE) 2015 BatchPankajkumar1- B.Tech(CSE) 2015 Batch
Pankajkumar1- B.Tech(CSE) 2015 Batch
 

Último

ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 

Último (20)

ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 

computer science project

  • 1. :-Students progress System prepared by~ ROSHAN KUMAR BASTIA 12th ‘A’ Roll. No.:- 10 Kendriya Vidyalaya S.E.C.L, Baikunthpur(497339),(C.G) 2015-2016 Computer Project
  • 2. SUBMITTED IN THE PARTIAL FULFILLMENT OF THE REQUIREMENT OF CBSE BOARD Thisistocertifythatprojectworkentitled: Student progress record SYSTEM Hasbeen carriedout by Studentsof classXII ‘A’ RoshanKumarBASTIA Kendriya Vidyalaya,SECL,Baikunthpur(C.G) Hehadsubmittedthisprojectduringthe Academicyear2015-2016, Towardspartial fulfilment of requirement Of CBSE Board. CERTIFICATE
  • 3. Mr.R.K.Asanani Signature (ComputerTeacher) [External] ACKNOWLEDGMENT I am extremely grateful to Mr. R.k.Asnani, Teacher of Department of Computer Science for his able guidance and useful suggestions, which helped me in completing the project work, in time. I would also like to thank all the teaching and non-teaching staff of Computer Science department who helped me directly or indirectly in the completion of this project i.e. Student progress System. Finally, yet importantly, I would like to express my heartfelt thanks to my beloved parents for their blessings, my friends/classmates for their help and wishes for the successful completion of this project.
  • 4. RoshankumarBASTIA KendriyavidyalayaSECL, Baikunthpur(C.G) This project has been prepared keeping in view the requirements of Central Board Of Secondary Education, New Delhi. This project deals with every aspect of C++ functions and graphics. User defined functions have been developed to make the program code as simpler and easier as possible. This project is aimed at providing a thorough base and understanding in various latest trends and techniques in C++. PREFACE
  • 5. INTRODUCTION The project undertaken does the automation of the STUDENT PROGRESS SYSTEM in the organization. It builds on the performance, reliability, quality and ease of use. It also includes a number of features that further establish it as a better GUI application. STUDENT PROGRESS SYSTEM is a system having Menu Driven User Interface. It contains the vital data and marks scored in academics by student. Administrator of the project can enter new student record, display all/specific student record, he can modify and delete student record. Administrator can enter new student record, display all records, modify & delete student records. The software is developed in C++. The software is developed to reduce the workload for and provides better service to the students.
  • 6. The main reason of developing this software is to reduce the workload and to provide ease of use to accomplish the desired task. We have chosen C++ because of its ease of use, versatility & ability to implement OOP in its true sense. It offers a great combination of in built scientific, mathematical, string, graphical functions & scores of other user defined functions to accomplish any given task. C++ emphasizes more on what has to be done rather than how it has to be done. C++ allows the programmer to carry out virtually any task, given the knowledge and skill of its application. The OOP (Object Oriented Programming )approach is based on certain concepts that help to attain its goal of overcoming the drawbacks or shortcomings of conventional programming approach. These general concepts of OOP are: -  DATA ABSTRACTION C++ & OOP concepts
  • 7.  DATA ENCAPSULATION  MODULARITY  INHERITANCE (HIERARCHY)  POLYMORPHISM MINIMUM: - Intel 486 Processor 8 MB RAM 14” Monitor Keyboard US layout Printer System Requirements
  • 8. RECOMMENDED: - Intel core i5 processor CPU @ 2.20GHz 8 GB RAM 14” Colour led Monitor Keyboard US Layout Mouse Printer //*********************************** **************************** // HEADER FILE USED IN PROJECT //*********************************** ***************************** #include<fstream.h> #include<iomanip.h> Source Code
  • 9. #include<stdio.h> #include<conio.h> //*********************************** **************************** // CLASS USED IN PROJECT //*********************************** ***************************** class student { int rollno; char name[50]; int p_marks, c_marks, m_marks, e_marks, cs_marks; float per; char grade; void calculate(); //function to calculate grade public:
  • 10. void getdata(); //function to accept data from user void showdata(); //function to show data on screen void show_tabular(); int retrollno(); }; //class ends here void student::calculate() { per=(p_marks+c_marks+m_marks+e_mar ks+cs_marks)/5.0; if(per>=60) grade='A'; else if(per>=50) grade='B'; else if(per>=33) grade='C'; else grade='F'; }
  • 11. void student::getdata() { cout<<"nEnter The roll number of student "; cin>>rollno; cout<<"nnEnter The Name of student "; gets(name); cout<<"nEnter The marks in physics out of 100 : "; cin>>p_marks; cout<<"nEnter The marks in chemistry out of 100 : "; cin>>c_marks; cout<<"nEnter The marks in maths out of 100 : "; cin>>m_marks; cout<<"nEnter The marks in english out of 100 : "; cin>>e_marks; cout<<"nEnter The marks in computer science out of 100 : ";
  • 12. cin>>cs_marks; calculate(); } void student::showdata() { cout<<"nRoll number of student : "<<rollno; cout<<"nName of student : "<<name; cout<<"nMarks in Physics : "<<p_marks; cout<<"nMarks in Chemistry : "<<c_marks; cout<<"nMarks in Maths : "<<m_marks; cout<<"nMarks in English : "<<e_marks; cout<<"nMarks in Computer Science : "<<cs_marks; cout<<"nPercentage of student is : "<<per; cout<<"nGrade of student is : "<<grade;
  • 13. } void student::show_tabular() { cout<<setw(3)<<setfill(' ')<<rollno<<"t|"; cout<<setw(3)<<setfill(' ')<<name<<"ttbbb|"; cout<<setw(3)<<setfill(' ')<<p_marks<<" |"; cout<<setw(3)<<setfill(' ')<<c_marks<<" |"; cout<<setw(3)<<setfill(' ')<<m_marks<<" |"; cout<<setw(3)<<setfill(' ')<<e_marks<<" |"; cout<<setw(3)<<setfill(' ')<<cs_marks<<" |"; cout<<" "<<per<<" |"; cout<<" "<<grade<<" |"; cout<<endl; }
  • 14. int student::retrollno() { return rollno; } //*********************************** **************************** // function declaration //*********************************** ***************************** void write_student(); //write the record in binary file void display_all(); //read all records from binary file void display_sp(int); //accept rollno and read record from binary file void modify_student(int); //accept rollno and update record of binary file
  • 15. void delete_student(int); //accept rollno and delete selected records from binary file void class_result(); //display all records in tabular format from binary file void result(); //display result menu void intro(); //display welcome screen void entry_menu(); //display entry menu on screen void exit() ; //*********************************** **************************** // THE MAIN FUNCTION OF PROGRAM //*********************************** ***************************** void main() { char ch;
  • 16. cout.setf(ios::fixed|ios::showpoin t); cout<<setprecision(2); // program outputs decimal number to two decimal places clrscr(); intro(); do { clrscr(); cout<<"nnntMAIN MENU"; cout<<"nnt01. RESULT MENU"; cout<<"nnt02. ENTRY/EDIT MENU"; cout<<"nnt03. EXIT"; cout<<"nntPlease Select Your Option (1-3) "; cin>>ch; clrscr(); switch(ch) { case '1': result(); break;
  • 17. case '2': entry_menu(); break; case '3': break; } }while(ch!='3'); } //*********************************** **************************** // function to write in file //*********************************** ***************************** void write_student() { student st; ofstream fout; fout.open("student.dat",ios::binar y|ios::app);
  • 18. st.getdata(); fout.write((char *) &st, sizeof(student)); fout.close(); cout<<"nnStudent record Has Been Created "; getch(); } //*********************************** **************************** // function to read all records from file //*********************************** ***************************** void display_all() { student st; ifstream fin; fin.open("student.dat",ios::binary ); if(!fin)
  • 19. { cout<<"File could not be open !! Press any Key..."; getch(); return; } cout<<"nnnttDISPLAY ALL RECORD !!!nn"; while(fin.read((char *) &st, sizeof(student))) { st.showdata(); cout<<"nn~+~+~+~+~+~+~+~+~+~+~+~ +~+~+~+~+~+~n"; } fin.close(); getch(); }
  • 20. //*********************************** **************************** // function to read specific record from file //*********************************** ***************************** void display_sp(int n) { student st; ifstream fin; fin.open("student.dat",ios::binary ); if(!fin) { cout<<"File could not be open !! Press any Key..."; getch(); return; } int flag=0;
  • 21. while(fin.read((char *) &st, sizeof(student))) { if(st.retrollno()==n) { st.showdata(); flag=1; } } fin.close(); if(flag==0) cout<<"nnrecord not exist"; getch(); } //*********************************** **************************** // function to modify record of file //*********************************** *****************************
  • 22. void modify_student(int n) { int found=0; student st; fstream Fio; Fio.open("student.dat",ios::binary |ios::in|ios::out); if(!Fio) { cout<<"File could not be open !! Press any Key..."; getch(); return; } while(Fio.read((char *) &st, sizeof(student)) && found==0) { if(st.retrollno()==n) { st.showdata();
  • 23. cout<<"nnPlease Enter The New Details of student"<<endl; st.getdata(); int pos=(-1)*sizeof(st); Fio.seekp(pos,ios::cur); Fio.write((char *) &st, sizeof(student)); cout<<"nnt Record Updated"; found=1; } } Fio.close(); if(found==0) cout<<"nn Record Not Found "; getch(); } //*********************************** **************************** // function to delete record of file
  • 24. //*********************************** ***************************** void delete_student(int n) { int g=0; student st; ifstream fin; fin.open("student.dat",ios::binary ); if(!fin) { cout<<"File could not be open !! Press any Key..."; getch(); return; } ofstream fout; fout.open("Temp.dat",ios::binary); while(fin.read((char *) &st, sizeof(student))) {
  • 26. //*********************************** **************************** // function to display all students grade report //*********************************** ***************************** void class_result() { student st; ifstream fin; fin.open("student.dat",ios::binary ); if(!fin) { cout<<"File could not be open !! Press any Key..."; getch(); return; }
  • 27. cout<<"nnttALL STUDENTS RESULT nn"; cout<<"~~~~~~~~^~~~~~~~~~~~~^~~~~~ ^~~~~~^~~~~~^~~~~~^~~~~~~^~~~~~~~~^~~ ~~~~~~n"; cout<<"R.No | Name | P | C | M | E | CS | %age | Grade|"<<endl; cout<<"~~~~~~~~^~~~~~~~~~~~~^~~~~~ ^~~~~~^~~~~~^~~~~~^~~~~~~^~~~~~~~~^~~ ~~~~~~n"; while(fin.read((char *) &st, sizeof(student))) { st.show_tabular(); cout<<"~~~~~~~~^~~~~~~~~~~~~^~~~~~ ^~~~~~^~~~~~^~~~~~^~~~~~~^~~~~~~~~^~~ ~~~~~~n"; } getch(); fin.close(); }
  • 28. //*********************************** **************************** // function to display result menu //*********************************** ***************************** void result() { char ch,ein='n'; int rno; do { clrscr(); cout<<"nnntRESULT MENU"; cout<<"nnnt1. Class Result"; cout<<"nnt2. Student Report Card"; cout<<"nnt3. Back to Main Menu"; cout<<"nnntEnter Choice (1/2/3)? ";
  • 29. cin>>ch; clrscr(); switch(ch) { case '1' : class_result(); break; case '2' : cout<<"nntEnter Roll Number Of Student : "; cin>>rno; display_sp(rno); break; case '3' : cout<<"nndo you want to exit to main minu?(y/n)t";cin>>ein; if(ein=='y') exit(); else ein='n'; break; } getch(); }while(ein=='N'||ein=='n');
  • 30. } //*********************************** **************************** // INTRODUCTION FUNCTION //*********************************** ***************************** void intro() { cout<<"nnntt STUDENT"; cout<<"nnttREPORT CARD"; cout<<"nntt PROJECT"; cout<<"nnntMADE BY : ROSHAN KUMAR BASTIA"; cout<<"ntTEACHER: Mr.R.K.ASNANI"; cout<<"ntSCHOOL : KENDRIYA VIDYALAYA,BAIKUNTHPUR"; getch(); }
  • 31. //*********************************** **************************** // ENTRY / EDIT MENU FUNCTION //*********************************** ***************************** void entry_menu() { char ch; int num; char ein='n'; do { clrscr(); cout<<"nnntENTRY MENU"; cout<<"nnt1.CREATE STUDENT RECORD"; cout<<"nnt2.DISPLAY ALL STUDENTS RECORDS"; cout<<"nnt3.SEARCH STUDENT RECORD "; cout<<"nnt4.MODIFY STUDENT RECORD";
  • 32. cout<<"nnt5.DELETE STUDENT RECORD"; cout<<"nnt6.BACK TO MAIN MENU"; cout<<"nntPlease Enter Your Choice (1-6) "; cin>>ch; clrscr(); switch(ch) { case '1': write_student(); break; case '2': display_all(); break; case '3': cout<<"nntPlease Enter The roll number "; cin>>num; display_sp(num); break; case '4': cout<<"nntPlease Enter The roll number "; cin>>num; modify_student(num);break;
  • 33. case '5': cout<<"nntPlease Enter The roll number "; cin>>num; delete_student(num);break; case '6': cout<<"nndo you want to exit to main minu?(y/n)t";cin>>ein; if(ein=='y') exit(); else ein='n'; break; default: cout<<"a"; } getch(); }while(ein=='N'||ein=='n'); } void exit() { }
  • 34. //*********************************** **************************** // END OF PROJECT //*********************************** **************************** Conclusion
  • 35. This project is user friendly and menu driven package.The application is fully tested by us. User modify it very easily. The application is helpful for the School Departments. The application has been developed with a view to reduce the workload and also to provide faster service. Sumita Arora Computer science with c++ Internet Bibliography
  • 36. Mr. R.k.Asnani -computer science teacher