SlideShare a Scribd company logo
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

More Related Content

Similar to Sunil

Computer
ComputerComputer
Computer
Gaurav Kumar
 
Reshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third YearReshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third Year
dezyneecole
 
Cbse class-xii-computer-science-projec
Cbse class-xii-computer-science-projecCbse class-xii-computer-science-projec
Cbse class-xii-computer-science-projec
Aniket 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
 
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
Jiangxi University of Science and Technology (江西理工大学)
 
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
Ró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
 
computer shop
computer shopcomputer shop
computer shop
saurabhswaraj
 
School Management (c++)
School Management (c++) School Management (c++)
School Management (c++)
Nirdhishwar Nirdhi
 
STUDENT REPORT CARD GENERATE SYSTEM
STUDENT REPORT CARD GENERATE SYSTEMSTUDENT REPORT CARD GENERATE SYSTEM
STUDENT REPORT CARD GENERATE SYSTEM
vikram 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 project
Sandeep 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 SCIENCE
Pradeep 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 SQL
vikram mahendra
 
Student DATABASE MANAGeMEnT SysTEm
Student DATABASE MANAGeMEnT SysTEmStudent DATABASE MANAGeMEnT SysTEm
Student DATABASE MANAGeMEnT SysTEm
home
 
computerscience-170129081612.pdf
computerscience-170129081612.pdfcomputerscience-170129081612.pdf
computerscience-170129081612.pdf
KiranKumari204016
 
Online_Examination
Online_ExaminationOnline_Examination
Online_ExaminationRupam Dey
 

Similar to 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
 

Recently uploaded

Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 

Recently uploaded (20)

Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 

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