SlideShare ist ein Scribd-Unternehmen logo
1 von 24
ORANGE COUNTY SCHOOL,
Rajsamand
Nurturing mind for the future
Session
2018-2019
Computer Science Project File
Topic
“Student Performance Program”
Submitted By: Submitted To :
Sunil Kumawat Mrs.AnuradhaGoswami
Class-XIIth
Science (PGT COMPUTER)
Roll Number-
CERTIFICATE
This is to certify that Sunil Kumawat of class XII,
Orange County School, Rajsamand has successfully
completed his project in Computer practical for the
AISSCE as prescribed by CBSE in the year 2018-
2019.
Date:
Registration No. :
Internal Principal’s External
Signature Signature Signature
Acknowledgement
I have taken efforts in this project. However, it
would not have been possible without the kind
support and help of many individuals. I would like
to extend my sincere thanks to all of them.
I thank my Computer Science teacher
Mrs.AnuradhaGoswami for guidance and support.
I also thank my Principal Mr.AruneshSaxena.
Finally, I would like to thank CBSE for giving me
this opportunity to undertake this project.
TABLE OF CONTENTS
Synopsis
Requirements
Coding
Output
Limitation
Bibliography
SYNOPSIS
This is an automated software system written in
C++ programming language for Student
Performance management system
which is used to store records various information
about the students and books details. It performs the
following operations:-
 BOOK ISSUE: It stores the data of the students
which issue the book.
 Book deposit : It cancels the already stored records
of the customer in case they want to cancel the
tickets they reserved.
 There are other operations which are used to see
various lists of records of customer, flights and
passengeronboard.
REQUIREMENTS
HARDWARE REQUIRED
 Printer to print the required documents of the project
 Compact Drive
 Processor : Pentium III
 Ram : 64 MB
 Hard disk : 20 GB
SOFTWARE REQUIRED
 Operating system : Windows XP
 Turbo C++ for execution of program
Ms Word for presentation of output
CODING
//***************************************************************
// HEADER FILE USED IN PROJECT
//****************************************************************
#include<conio.h>
#include<stdio.h>
#include<process.h>
#include<fstream.h>
#include<iomanip.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;
int std;
void calculate()
{
per=(p_marks+c_marks+m_marks+e_marks+cs_marks)/5.0;
if(per>=60)
grade='A';
else if(per>=50 && per<60)
grade='B';
else if(per>=33 && per<50)
grade='C';
else
grade='F';
}
public:
void getdata()
{
cout<<"nEnter Theroll number of student ";
cin>>rollno;
cout<<"nnEnter TheNameof student ";
gets(name);
cout<<"nEnter Themarksin physicsout of 100 : ";
cin>>p_marks;
cout<<"nEnter Themarksin chemistryout of 100 : ";
cin>>c_marks;
cout<<"nEnter Themarksin mathsout of 100 : ";
cin>>m_marks;
cout<<"nEnter Themarksin english out of 100 : ";
cin>>e_marks;
cout<<"nEnter Themarksin computer scienceout of
100 : ";
cin>>cs_marks;
calculate();
}
void showdata()
{
cout<<"nRoll number of student : "<<rollno;
cout<<"nNameof student : "<<name;
cout<<"nMarksinPhysics: "<<p_marks;
cout<<"nMarksinChemistry: "<<c_marks;
cout<<"nMarksinMaths: "<<m_marks;
cout<<"nMarksinEnglish : "<<e_marks;
cout<<"nMarksinComputer Science:"<<cs_marks;
cout<<"nPercentageofstudent is
:"<<setprecision(2)<<per;
cout<<"nGradeofstudent is :"<<grade;
}
void show_tabular()
{
cout<<rollno<<setw(12)<<name<<setw(10)<<p_marks<<setw(
3)<<c_marks<<setw(3)<<m_marks<<setw(3)<<
e_marks<<setw(3)<<cs_marks<<setw(6)<<setprecision(3)<<per<<"
"<<grade<<endl;
}
int retrollno()
{ return rollno; }
}; //class ends here
//***************************************************************
// global declarationfor stream object, object
//****************************************************************
fstream fp;
student st;
//***************************************************************
// functionto writein file
//****************************************************************
void write_student()
{
fp.open("student.dat",ios::out|ios::app);
st.getdata();
fp.write((char*)&st,sizeof(student));
fp.close();
cout<<"nnstudent record HasBeen Created ";
getch();
}
//***************************************************************
// functionto read all recordsfrom file
//****************************************************************
void display_all()
{
clrscr();
cout<<"nnnttDISPLAY ALLRECORD !!!nn";
fp.open("student.dat",ios::in);
while(fp.read((char*)&st,sizeof(student)))
{
st.showdata();
cout<<"nn====================================
n";
getch();
}
fp.close();
getch();
}
//***************************************************************
// functionto read specific record from file
//****************************************************************
void display_sp(int n)
{
int flag=0;
fp.open("student.dat",ios::in);
while(fp.read((char*)&st,sizeof(student)))
{
if(st.retrollno()==n)
{
clrscr();
st.showdata();
flag=1;
}
}
fp.close();
if(flag==0)
cout<<"nnrecord not exist";
getch();
}
//***************************************************************
// functionto modifyrecord of file
//****************************************************************
void modify_student()
{
int no,found=0;
clrscr();
cout<<"nntToModify";
cout<<"nntPleaseEnter The roll number of student";
cin>>no;
fp.open("student.dat",ios::in|ios::out);
while(fp.read((char*)&st,sizeof(student)) && found==0)
{
if(st.retrollno()==no)
{
st.showdata();
cout<<"nPleaseEnter The New Details of
student"<<endl;
st.getdata();
int pos=-1*sizeof(st);
fp.seekp(pos,ios::cur);
fp.write((char*)&st,sizeof(student));
cout<<"nnt Record Updated";
found=1;
}
}
fp.close();
if(found==0)
cout<<"nnRecord Not Found ";
getch();
}
//***************************************************************
// functionto delete record of file
//****************************************************************
void delete_student()
{
int no;
clrscr();
cout<<"nnntDeleteRecord";
cout<<"nnPleaseEnter The roll number of student You Want
To Delete";
cin>>no;
fp.open("student.dat",ios::in|ios::out);
fstream fp2;
fp2.open("Temp.dat",ios::out);
fp.seekg(0,ios::beg);
while(fp.read((char*)&st,sizeof(student)))
{
if(st.retrollno()!=no)
{
fp2.write((char*)&st,sizeof(student));
}
}
fp2.close();
fp.close();
remove("student.dat");
rename("Temp.dat","student.dat");
cout<<"nntRecordDeleted ..";
getch();
}
//***************************************************************
// functionto displayall studentsgradereport
//****************************************************************
void class_result()
{
clrscr();
fp.open("student.dat",ios::in);
if(!fp)
{
cout<<"ERROR!!! FILE COULD NOT BE OPENnnn
Go To Entry Menu to createFile";
cout<<"nnnProgramisclosing ....";
getch();
exit(0);
}
cout<<"nnttALLSTUDENTS RESULT nn";
cout<<"=======================================
=============n";
cout<<"Roll No. Name P C M E CS %ageGraden";
cout<<"=======================================
=============n";
while(fp.read((char*)&st,sizeof(student)))
{
st.show_tabular();
}
fp.close();
getch();
}
//***************************************************************
// functionto displayresult menu
//****************************************************************
void result()
{
int ans,rno;
char ch;
clrscr();
cout<<"nnnRESULT MENU";
cout<<"nnn1. Class Resultnn2. Student Report
Cardnn3.BacktoMainMenu";
cout<<"nnnEnter Choice(1/2)? ";
cin>>ans;
switch(ans)
{
case 1 : class_result();break;
case 2 : {
do{
clrscr();
char ans;
cout<<"nnEnter Roll Number Of
Student : ";
cin>>rno;
display_sp(rno);
cout<<"nnDoyou want to See More
Result (y/n)?";
cin>>ans;
}while(ans=='y'||ans=='Y');
break;
}
case 3: break;
default: cout<<"a";
}
}
//***************************************************************
// INTRODUCTION FUNCTION
//****************************************************************
void intro()
{
clrscr();
gotoxy(35,11);
cout<<"STUDENT";
gotoxy(33,14);
cout<<"REPORT CARD";
gotoxy(35,17);
cout<<"PROJECT";
cout<<"nnMADEBY : SULABH AGRAWAL";
cout<<"nnSCHOOL: B.N GANDHISEVA SADAN SR. SEC.
SCHOOL, RAJSAMAND";
getch();
}
//***************************************************************
// ENTRY / EDIT MENUFUNCTION
//****************************************************************
void entry_menu()
{
clrscr();
char ch2;
cout<<"nnntENTRY MENU";
cout<<"nnt1.CREATESTUDENT RECORD";
cout<<"nnt2.DISPLAYALLSTUDENTS RECORDS";
cout<<"nnt3.SEARCHSTUDENT RECORD";
cout<<"nnt4.MODIFY STUDENT RECORD";
cout<<"nnt5.DELETESTUDENT RECORD";
cout<<"nnt6.BACKTO MAIN MENU";
cout<<"nntPleaseEnter Your Choice (1-6) ";
ch2=getche();
switch(ch2)
{
case '1': clrscr();
write_student();
break;
case '2': display_all();break;
case '3':
int num;
clrscr();
cout<<"nntPleaseEnter The roll number ";
cin>>num;
display_sp(num);
break;
case '4': modify_student();break;
case '5': delete_student();break;
case '6': break;
default:cout<<"a";entry_menu();
}
}
//***************************************************************
// THE MAIN FUNCTION OF PROGRAM
//****************************************************************
void main()
{
char ch;
intro();
do
{
clrscr();
cout<<"nnntMAINMENU";
cout<<"nnt01. RESULT MENU";
cout<<"nnt02. ENTRY/EDIT MENU";
cout<<"nnt03. EXIT";
cout<<"nntPleaseSelect Your Option(1-3) ";
ch=getche();
switch(ch)
{
case '1': clrscr();
result();
break;
case '2': entry_menu();
break;
case '3':exit(0);
default :cout<<"a";
}
}while(ch!='3');
}
//***************************************************************
// END OF PROJECT
//***************************************************************
OUTPUT
Output screen 1
Student
ACADEMIC PERFOMANCE
PROJECT
MADE BY- PRANJAL PAGARIA
SCHOOL-ORANGE COUNTY SCHOOL
Output screen 2
MAIN MENU
01.REASULT MENU
02.ENTRY/EDIT MENU
03.EXIT
PLEASE SELECT YOUR OPTION(1-3):1-3]1
Output screen 3
REASULT MENU
1. Class result
2. Student report card
3. Back to main menu
4. Enter Choice(1/2)? 1
Output screen 4
ALL STUDENTS DETAILS
==================================================
Roll no. Name P C M E CS %age Grade
==================================================
1. Ram 67 79 89 90 67 78.4 A
2. Mohan 100 100 100 100 100 100 A
3. Manish 45 89 90 79 78 76.2 A
Limitation
1.It can add data but cannot modify it.
2.There is no unique attribute check in it.
3.The software is not acceptable by
BORLAND C++
compiler
BIBLIOGRAPHY
SUMITA ARORA - Computer science with C++
Application - Turbo C++
Website - www.cbseportal.com

Weitere ähnliche Inhalte

Ähnlich wie Sunil

Reshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third YearReshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third Yeardezyneecole
 
Cbse class-xii-computer-science-projec
Cbse class-xii-computer-science-projecCbse class-xii-computer-science-projec
Cbse class-xii-computer-science-projecAniket Kumar
 
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
 
computer project on shopping mall..cbse 2017-2018 project
computer project on shopping mall..cbse 2017-2018 projectcomputer project on shopping mall..cbse 2017-2018 project
computer project on shopping mall..cbse 2017-2018 projectRóhït Ràút
 
Investigatory Project for Computer Science
Investigatory Project for Computer Science Investigatory Project for Computer Science
Investigatory Project for Computer Science Sonali Sinha
 
STUDENT REPORT CARD GENERATE SYSTEM
STUDENT REPORT CARD GENERATE SYSTEMSTUDENT REPORT CARD GENERATE SYSTEM
STUDENT REPORT CARD GENERATE SYSTEMvikram mahendra
 
~ Project-student report-card.cpp[1]
~ Project-student report-card.cpp[1]~ Project-student report-card.cpp[1]
~ Project-student report-card.cpp[1]Sunny Rekhi
 
SUPER MARKET COMPUTER SYSTEM IN C++
SUPER MARKET COMPUTER SYSTEM IN C++SUPER MARKET COMPUTER SYSTEM IN C++
SUPER MARKET COMPUTER SYSTEM IN C++vikram mahendra
 
Computer science project
Computer science projectComputer science project
Computer science projectSandeep Yadav
 
hitter !!!!!!!!!!!!!!!!!!!!!!!!
hitter !!!!!!!!!!!!!!!!!!!!!!!!hitter !!!!!!!!!!!!!!!!!!!!!!!!
hitter !!!!!!!!!!!!!!!!!!!!!!!!hiteshborha
 
Computer science Project for class 11th and 12th(library management system)
Computer science Project for class 11th and 12th(library management system)Computer science Project for class 11th and 12th(library management system)
Computer science Project for class 11th and 12th(library management system)lokesh meena
 
PLAYER PROFILE MANAGEMENT COMPUTER SCIENCE
PLAYER PROFILE MANAGEMENT COMPUTER SCIENCEPLAYER PROFILE MANAGEMENT COMPUTER SCIENCE
PLAYER PROFILE MANAGEMENT COMPUTER SCIENCEPradeep Kv
 
project report in C++ programming and SQL
project report in C++ programming and SQLproject report in C++ programming and SQL
project report in C++ programming and SQLvikram mahendra
 
Student DATABASE MANAGeMEnT SysTEm
Student DATABASE MANAGeMEnT SysTEmStudent DATABASE MANAGeMEnT SysTEm
Student DATABASE MANAGeMEnT SysTEmhome
 
computerscience-170129081612.pdf
computerscience-170129081612.pdfcomputerscience-170129081612.pdf
computerscience-170129081612.pdfKiranKumari204016
 
Online_Examination
Online_ExaminationOnline_Examination
Online_ExaminationRupam Dey
 

Ähnlich wie Sunil (20)

Computer
ComputerComputer
Computer
 
Reshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third YearReshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third Year
 
Cbse class-xii-computer-science-projec
Cbse class-xii-computer-science-projecCbse class-xii-computer-science-projec
Cbse class-xii-computer-science-projec
 
Cbse class-xii-computer-science-project
Cbse class-xii-computer-science-project Cbse class-xii-computer-science-project
Cbse class-xii-computer-science-project
 
Document of Turbo ++ project|| Railway Reservation System project
Document of Turbo ++  project|| Railway Reservation System projectDocument of Turbo ++  project|| Railway Reservation System project
Document of Turbo ++ project|| Railway Reservation System project
 
computer project on shopping mall..cbse 2017-2018 project
computer project on shopping mall..cbse 2017-2018 projectcomputer project on shopping mall..cbse 2017-2018 project
computer project on shopping mall..cbse 2017-2018 project
 
Investigatory Project for Computer Science
Investigatory Project for Computer Science Investigatory Project for Computer Science
Investigatory Project for Computer Science
 
computer shop
computer shopcomputer shop
computer shop
 
School Management (c++)
School Management (c++) School Management (c++)
School Management (c++)
 
STUDENT REPORT CARD GENERATE SYSTEM
STUDENT REPORT CARD GENERATE SYSTEMSTUDENT REPORT CARD GENERATE SYSTEM
STUDENT REPORT CARD GENERATE SYSTEM
 
~ Project-student report-card.cpp[1]
~ Project-student report-card.cpp[1]~ Project-student report-card.cpp[1]
~ Project-student report-card.cpp[1]
 
SUPER MARKET COMPUTER SYSTEM IN C++
SUPER MARKET COMPUTER SYSTEM IN C++SUPER MARKET COMPUTER SYSTEM IN C++
SUPER MARKET COMPUTER SYSTEM IN C++
 
Computer science project
Computer science projectComputer science project
Computer science project
 
hitter !!!!!!!!!!!!!!!!!!!!!!!!
hitter !!!!!!!!!!!!!!!!!!!!!!!!hitter !!!!!!!!!!!!!!!!!!!!!!!!
hitter !!!!!!!!!!!!!!!!!!!!!!!!
 
Computer science Project for class 11th and 12th(library management system)
Computer science Project for class 11th and 12th(library management system)Computer science Project for class 11th and 12th(library management system)
Computer science Project for class 11th and 12th(library management system)
 
PLAYER PROFILE MANAGEMENT COMPUTER SCIENCE
PLAYER PROFILE MANAGEMENT COMPUTER SCIENCEPLAYER PROFILE MANAGEMENT COMPUTER SCIENCE
PLAYER PROFILE MANAGEMENT COMPUTER SCIENCE
 
project report in C++ programming and SQL
project report in C++ programming and SQLproject report in C++ programming and SQL
project report in C++ programming and SQL
 
Student DATABASE MANAGeMEnT SysTEm
Student DATABASE MANAGeMEnT SysTEmStudent DATABASE MANAGeMEnT SysTEm
Student DATABASE MANAGeMEnT SysTEm
 
computerscience-170129081612.pdf
computerscience-170129081612.pdfcomputerscience-170129081612.pdf
computerscience-170129081612.pdf
 
Online_Examination
Online_ExaminationOnline_Examination
Online_Examination
 

Kürzlich hochgeladen

Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 

Kürzlich hochgeladen (20)

Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 

Sunil

  • 1. ORANGE COUNTY SCHOOL, Rajsamand Nurturing mind for the future Session 2018-2019 Computer Science Project File Topic “Student Performance Program” Submitted By: Submitted To : Sunil Kumawat Mrs.AnuradhaGoswami
  • 3. CERTIFICATE This is to certify that Sunil Kumawat of class XII, Orange County School, Rajsamand has successfully completed his project in Computer practical for the AISSCE as prescribed by CBSE in the year 2018- 2019. Date: Registration No. : Internal Principal’s External Signature Signature Signature
  • 4. Acknowledgement I have taken efforts in this project. However, it would not have been possible without the kind support and help of many individuals. I would like to extend my sincere thanks to all of them. I thank my Computer Science teacher Mrs.AnuradhaGoswami for guidance and support. I also thank my Principal Mr.AruneshSaxena. Finally, I would like to thank CBSE for giving me this opportunity to undertake this project. TABLE OF CONTENTS Synopsis Requirements
  • 6. SYNOPSIS This is an automated software system written in C++ programming language for Student Performance management system which is used to store records various information about the students and books details. It performs the following operations:-  BOOK ISSUE: It stores the data of the students which issue the book.  Book deposit : It cancels the already stored records of the customer in case they want to cancel the tickets they reserved.  There are other operations which are used to see various lists of records of customer, flights and passengeronboard. REQUIREMENTS HARDWARE REQUIRED
  • 7.  Printer to print the required documents of the project  Compact Drive  Processor : Pentium III  Ram : 64 MB  Hard disk : 20 GB SOFTWARE REQUIRED  Operating system : Windows XP  Turbo C++ for execution of program Ms Word for presentation of output CODING
  • 8. //*************************************************************** // HEADER FILE USED IN PROJECT //**************************************************************** #include<conio.h> #include<stdio.h> #include<process.h> #include<fstream.h> #include<iomanip.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; int std; void calculate() { per=(p_marks+c_marks+m_marks+e_marks+cs_marks)/5.0; if(per>=60) grade='A'; else if(per>=50 && per<60) grade='B'; else if(per>=33 && per<50) grade='C'; else grade='F'; } public: void getdata() {
  • 9. cout<<"nEnter Theroll number of student "; cin>>rollno; cout<<"nnEnter TheNameof student "; gets(name); cout<<"nEnter Themarksin physicsout of 100 : "; cin>>p_marks; cout<<"nEnter Themarksin chemistryout of 100 : "; cin>>c_marks; cout<<"nEnter Themarksin mathsout of 100 : "; cin>>m_marks; cout<<"nEnter Themarksin english out of 100 : "; cin>>e_marks; cout<<"nEnter Themarksin computer scienceout of 100 : "; cin>>cs_marks; calculate(); } void showdata() { cout<<"nRoll number of student : "<<rollno; cout<<"nNameof student : "<<name; cout<<"nMarksinPhysics: "<<p_marks; cout<<"nMarksinChemistry: "<<c_marks; cout<<"nMarksinMaths: "<<m_marks; cout<<"nMarksinEnglish : "<<e_marks; cout<<"nMarksinComputer Science:"<<cs_marks; cout<<"nPercentageofstudent is :"<<setprecision(2)<<per; cout<<"nGradeofstudent is :"<<grade; } void show_tabular() { cout<<rollno<<setw(12)<<name<<setw(10)<<p_marks<<setw( 3)<<c_marks<<setw(3)<<m_marks<<setw(3)<< e_marks<<setw(3)<<cs_marks<<setw(6)<<setprecision(3)<<per<<" "<<grade<<endl;
  • 10. } int retrollno() { return rollno; } }; //class ends here //*************************************************************** // global declarationfor stream object, object //**************************************************************** fstream fp; student st; //*************************************************************** // functionto writein file //**************************************************************** void write_student() { fp.open("student.dat",ios::out|ios::app); st.getdata(); fp.write((char*)&st,sizeof(student)); fp.close(); cout<<"nnstudent record HasBeen Created "; getch(); } //*************************************************************** // functionto read all recordsfrom file //**************************************************************** void display_all() { clrscr();
  • 11. cout<<"nnnttDISPLAY ALLRECORD !!!nn"; fp.open("student.dat",ios::in); while(fp.read((char*)&st,sizeof(student))) { st.showdata(); cout<<"nn==================================== n"; getch(); } fp.close(); getch(); } //*************************************************************** // functionto read specific record from file //**************************************************************** void display_sp(int n) { int flag=0; fp.open("student.dat",ios::in); while(fp.read((char*)&st,sizeof(student))) { if(st.retrollno()==n) { clrscr(); st.showdata(); flag=1; } } fp.close(); if(flag==0) cout<<"nnrecord not exist"; getch(); }
  • 12. //*************************************************************** // functionto modifyrecord of file //**************************************************************** void modify_student() { int no,found=0; clrscr(); cout<<"nntToModify"; cout<<"nntPleaseEnter The roll number of student"; cin>>no; fp.open("student.dat",ios::in|ios::out); while(fp.read((char*)&st,sizeof(student)) && found==0) { if(st.retrollno()==no) { st.showdata(); cout<<"nPleaseEnter The New Details of student"<<endl; st.getdata(); int pos=-1*sizeof(st); fp.seekp(pos,ios::cur); fp.write((char*)&st,sizeof(student)); cout<<"nnt Record Updated"; found=1; } } fp.close(); if(found==0) cout<<"nnRecord Not Found "; getch(); } //***************************************************************
  • 13. // functionto delete record of file //**************************************************************** void delete_student() { int no; clrscr(); cout<<"nnntDeleteRecord"; cout<<"nnPleaseEnter The roll number of student You Want To Delete"; cin>>no; fp.open("student.dat",ios::in|ios::out); fstream fp2; fp2.open("Temp.dat",ios::out); fp.seekg(0,ios::beg); while(fp.read((char*)&st,sizeof(student))) { if(st.retrollno()!=no) { fp2.write((char*)&st,sizeof(student)); } } fp2.close(); fp.close(); remove("student.dat"); rename("Temp.dat","student.dat"); cout<<"nntRecordDeleted .."; getch(); } //*************************************************************** // functionto displayall studentsgradereport //**************************************************************** void class_result() {
  • 14. clrscr(); fp.open("student.dat",ios::in); if(!fp) { cout<<"ERROR!!! FILE COULD NOT BE OPENnnn Go To Entry Menu to createFile"; cout<<"nnnProgramisclosing ...."; getch(); exit(0); } cout<<"nnttALLSTUDENTS RESULT nn"; cout<<"======================================= =============n"; cout<<"Roll No. Name P C M E CS %ageGraden"; cout<<"======================================= =============n"; while(fp.read((char*)&st,sizeof(student))) { st.show_tabular(); } fp.close(); getch(); } //*************************************************************** // functionto displayresult menu //**************************************************************** void result() { int ans,rno; char ch; clrscr(); cout<<"nnnRESULT MENU"; cout<<"nnn1. Class Resultnn2. Student Report Cardnn3.BacktoMainMenu"; cout<<"nnnEnter Choice(1/2)? "; cin>>ans;
  • 15. switch(ans) { case 1 : class_result();break; case 2 : { do{ clrscr(); char ans; cout<<"nnEnter Roll Number Of Student : "; cin>>rno; display_sp(rno); cout<<"nnDoyou want to See More Result (y/n)?"; cin>>ans; }while(ans=='y'||ans=='Y'); break; } case 3: break; default: cout<<"a"; } } //*************************************************************** // INTRODUCTION FUNCTION //**************************************************************** void intro() { clrscr(); gotoxy(35,11); cout<<"STUDENT"; gotoxy(33,14); cout<<"REPORT CARD"; gotoxy(35,17); cout<<"PROJECT"; cout<<"nnMADEBY : SULABH AGRAWAL"; cout<<"nnSCHOOL: B.N GANDHISEVA SADAN SR. SEC. SCHOOL, RAJSAMAND";
  • 16. getch(); } //*************************************************************** // ENTRY / EDIT MENUFUNCTION //**************************************************************** void entry_menu() { clrscr(); char ch2; cout<<"nnntENTRY MENU"; cout<<"nnt1.CREATESTUDENT RECORD"; cout<<"nnt2.DISPLAYALLSTUDENTS RECORDS"; cout<<"nnt3.SEARCHSTUDENT RECORD"; cout<<"nnt4.MODIFY STUDENT RECORD"; cout<<"nnt5.DELETESTUDENT RECORD"; cout<<"nnt6.BACKTO MAIN MENU"; cout<<"nntPleaseEnter Your Choice (1-6) "; ch2=getche(); switch(ch2) { case '1': clrscr(); write_student(); break; case '2': display_all();break; case '3': int num; clrscr(); cout<<"nntPleaseEnter The roll number "; cin>>num; display_sp(num); break; case '4': modify_student();break; case '5': delete_student();break; case '6': break; default:cout<<"a";entry_menu(); }
  • 17. } //*************************************************************** // THE MAIN FUNCTION OF PROGRAM //**************************************************************** void main() { char ch; intro(); do { clrscr(); cout<<"nnntMAINMENU"; cout<<"nnt01. RESULT MENU"; cout<<"nnt02. ENTRY/EDIT MENU"; cout<<"nnt03. EXIT"; cout<<"nntPleaseSelect Your Option(1-3) "; ch=getche(); switch(ch) { case '1': clrscr(); result(); break; case '2': entry_menu(); break; case '3':exit(0); default :cout<<"a"; } }while(ch!='3'); } //*************************************************************** // END OF PROJECT //***************************************************************
  • 18.
  • 19. OUTPUT Output screen 1 Student ACADEMIC PERFOMANCE PROJECT MADE BY- PRANJAL PAGARIA SCHOOL-ORANGE COUNTY SCHOOL
  • 20. Output screen 2 MAIN MENU 01.REASULT MENU 02.ENTRY/EDIT MENU 03.EXIT PLEASE SELECT YOUR OPTION(1-3):1-3]1
  • 21. Output screen 3 REASULT MENU 1. Class result 2. Student report card 3. Back to main menu 4. Enter Choice(1/2)? 1
  • 22. Output screen 4 ALL STUDENTS DETAILS ================================================== Roll no. Name P C M E CS %age Grade ================================================== 1. Ram 67 79 89 90 67 78.4 A 2. Mohan 100 100 100 100 100 100 A 3. Manish 45 89 90 79 78 76.2 A
  • 23. Limitation 1.It can add data but cannot modify it. 2.There is no unique attribute check in it. 3.The software is not acceptable by BORLAND C++ compiler
  • 24. BIBLIOGRAPHY SUMITA ARORA - Computer science with C++ Application - Turbo C++ Website - www.cbseportal.com