SlideShare ist ein Scribd-Unternehmen logo
1 von 24
JAWAHAR NAVODAYA
VIDYALAYA
COMPUTER
SCIENCE PROJECT
REPORT
CCE MANAGEMENT
THRISHUL A L
ACKNOWLEDGEMENT
I earnestly thank our Principal
SRI. P.M.ISSAC
Jawahar Navodaya Vidyalaya, Galibeedu for
giving me all the necessary support for
conducting this project I find that its my
earnest endeavor to thank
SRI. HARI OM VERMA
for guiding me all through this project
INDEX
Certificate
Bio data
Aim
Requirements
Program
Output
Bibliography
Jawahar Navoday Vidyalaya
Certificate
This is to certify that the project is bonafide
work done by master THRISHUL A L of class
12th
bearing the hall ticket no. during the
year 2015-2016 for the fulfillment of computer
science project in Jawahar Navodaya Vidyalaya
Galibeedu
Date:
Sign of student: sign of the
teacher in
charge:
Sign of the external Sign of the
examinar : Principal:
Bio data
Name: THRISHUL A L
Class: 12th science
Hall ticket no:
Subject:computerscience
School:JNV coorg
Aim
Propgram in c++ for
CCE MANAGEMENT
Requirements:
 Computer system with windows 7
 Tubo c++ software
CODING
//STUDENT CCE MANAGEMENT
//Submitted By THRISHUL A L( thrrishul.alathanda004@gmail.com )
//password : abcde
#include<conio.h>
#include<iostream.h>
#include<stdio.h>
#include<process.h>
#include<fstream.h>
#include<iomanip.h>
#include<string.h>
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 search1();
void 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 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 :"<<setprecision(2)<<per;
cout<<"nGrade of student is :"<<grade;
}
void show_tabular()
{
cout<<rollno<<setw(12)<<name<<setw(10)<<p_marks<<setw(3)<<c_marks<<set
w(3)<<m_marks<<setw(3)<<
e_marks<<setw(3)<<cs_marks<<setw(6)<<setprecision(3)<<per<<"
"<<grade<<endl;
}
int retrollno()
{ return rollno; }
}s,to;
fstream fp,t;
student st;
void write_student()
{
fp.open("stude.dat",ios::app);
st.getdata();
fp.write((char*)&st,sizeof(student));
fp.close();
cout<<"nnstudent record Has Been Created ";
getch();
}
void display_all()
{
clrscr();
cout<<"nnnttDISPLAY ALL RECORD !!!nn";
fp.open("stude.dat",ios::in);
while(fp.read((char*)&st,sizeof(student)))
{
st.showdata();
cout<<"nn====================================n";
getch();
}
fp.close();
getch();
}
void display_sp(int n)
{
int flag=0;
fp.open("stude.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();
}
void modify_student()
{
int no,found=0;
clrscr();
cout<<"nntTo Modify ";
cout<<"nntPlease Enter The roll number of student";
cin>>no;
fp.open("stude.dat",ios::in|ios::out);
while(fp.read((char*)&st,sizeof(student)) && found==0)
{
if(st.retrollno()==no)
{
st.showdata();
cout<<"nPlease Enter 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<<"nn Record Not Found ";
getch();
}
void delete_student()
{
int no;
clrscr();
cout<<"nnntDelete Record";
cout<<"nnPlease Enter The roll number of student You Want To
Delete";
cin>>no;
fp.open("stude.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("stude.dat");
rename("Temp.dat","stude.dat");
cout<<"nntRecord Deleted ..";
getch();
}
void class_result()
{
clrscr();
fp.open("stude.dat",ios::in);
if(!fp)
{
cout<<"ERROR!!! FILE COULD NOT BE OPENnnn Go
To Entry Menu to create File";
cout<<"nnn Program is closing ....";
getch();
exit(0);
}
cout<<"nnttALL STUDENTS RESULT nn";
cout<<"====================================================n";
cout<<"Roll No. Name P C M E CS %age Graden";
cout<<"====================================================n";
while(fp.read((char*)&st,sizeof(student)))
{
st.show_tabular();
}
fp.close();
getch();
}
void result()
{ int ans,rno;
clrscr();
cout<<"nnnRESULT MENU";
cout<<"nnn1. Class Resultnn2. Student Report
Cardnn3.Back to Main Menu";
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<<"nnDo you want to See More Result
(y/n)?";
cin>>ans;
}while(ans=='y'||ans=='Y');
break;
}
case 3: break;
default: cout<<"a";
}
}
void intro()
{
clrscr();
gotoxy(35,11);
cout<<"STUDENT";
gotoxy(33,14);
cout<<"REPORT CARD";
gotoxy(35,17);
cout<<"PROJECT";
cout<<"nnMADE BY : Thrishul A L";
cout<<"nnSCHOOL : JNV Coorg";
getch();
}
void entry_menu()
{
clrscr();
char ch2;
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<<"nnt7.SEARCH BY NAME";
cout<<"nntPlease Enter 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<<"nntPlease Enter The roll number
";
cin>>num;
display_sp(num);
break;
case '4': modify_student();break;
case '5': delete_student();break;
case '6': break;
case '7': to.search1();
default:cout<<"a";entry_menu();
}
}
int passwords()
{
char p1,p2,p3,p4,p5;
gotoxy(30,10);
cout<<"ENTER THE PASSWORDn";
gotoxy(30,20);
p1=getch();
cout<<"*";
p2=getch();
cout<<"*";
p3=getch();
cout<<"*";
p4=getch();
cout<<"*";
p5=getch();
cout<<"*";
getch();
gotoxy(30,20);
if((p1=='a'||p1=='A')&&(p2=='b'||p2=='B')&&(p3=='c'||p3=='C')&&
(p4=='d'||p4=='D')&&(p5=='e'||p5=='E'))
return 1;
else
return 0;
}
void search1();
void student::search1()
{
clrscr();
char names[20];
t.open("stude.dat",ios::in);
int flag=0;
cout<<"n";
cout<<"ttt*-----------*"<<"n";
cout<<"ttt| SEARCHING |"<<"n";
cout<<"ttt*-----------*"<<"n"<<"n";
cout<<"ntENTER THE NAME TO BE SEARCHED :";
gets(names);
cout<<"n";
cout<<"ROLL NAME MARKS PERCENTAGE GRADE"<<"n";
for(int i=0;i<2;i++)
{
while(t.read((char *) &s,sizeof(s)))
{
if(strcmp(names,s.name)==0)
{
flag=1;
s.showdata();
break;
}
}
}
if(flag==0)
{
cout<<"tSORRYn";
cout<<"tTHE NAME DOES NOT EXIST.n";
}
getch();
}
void main()
{
cout<<"t%% %% ";
cout<<"nt%% %% %%%%%%% %% %%%%%% %%%%%% %%%%
%%%% %%%%%%%";
cout<<"nt%% %% %% %% %% %% %% %% %%%
%% %% ";
cout<<"nt%% %% %% %%%%% %% %% %% %% %% %%%
%% %%%%% ";
cout<<"nt%% %% %% %% %% %% %% %% %%
%% %% ";
cout<<"nt%%%%%%%%%% %%%%%%% %%%%%%% %%%%%%% %%%%%% %%
%% %%%%%%% ";
cout<<"nnttt $$$$$$$$ $$$$$ ";
cout<<"nttt $$ $ $ ";
cout<<"nttt $$ $$$$$ ";
cout<<"nnntCOMPUTER PROJECT (******** CCE PROJECT>>
*******)";
cout<<"nntttt BY :-";
cout<<"nnttt* Thrishul A L"<<"t XII Sci.";
cout<<" nnntt press any KEY to continue!!! ";
getch();
char ch;
intro();
clrscr();
cout<<"nntt CONTINUOUS & COMPREHENSIVE EVALUATION(CCE)n";
cout<<"tt **************************************** n";
int passwords();
if(!passwords())
{
for(int i=0;i<2;i++)
{
clrscr();
cout<<"nWrong password try once moren";
if(passwords())
{
goto last;
}
else
{
clrscr();
cout<<"nnttt all attempts
failed.....";
cout<<"nnnttt see
you.................. ";
exit(0);
}
}
cout<<"ttt sorry all attempts failed.............
n tttinactive";
}
else do
{
last:;
clrscr();
cout<<"nnntMAIN MENU";
cout<<"nnt01. RESULT MENU";
cout<<"nnt02. ENTRY/EDIT MENU";
cout<<"nnt03. EXIT";
cout<<"nntPlease Select 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');
}
OUT PUTS
Bibliography
www.google .com
Programming in c++
Projects in c++
www.icbse.com
CCE management system

Weitere ähnliche Inhalte

Ähnlich wie CCE management system

Rakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third YearRakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third YearDezyneecole
 
computer project code ''payroll'' (based on datafile handling)
computer project code ''payroll'' (based on datafile handling)computer project code ''payroll'' (based on datafile handling)
computer project code ''payroll'' (based on datafile handling)Nitish Yadav
 
Student DATABASE MANAGeMEnT SysTEm
Student DATABASE MANAGeMEnT SysTEmStudent DATABASE MANAGeMEnT SysTEm
Student DATABASE MANAGeMEnT SysTEmhome
 
C++ coding for Banking System program
C++ coding for Banking System programC++ coding for Banking System program
C++ coding for Banking System programHarsh Solanki
 
Program: Inheritance in Class - to find topper out of 10 students
Program: Inheritance in Class - to find topper out of 10 studentsProgram: Inheritance in Class - to find topper out of 10 students
Program: Inheritance in Class - to find topper out of 10 studentsSwarup Boro
 
Investigatory Project for Computer Science
Investigatory Project for Computer Science Investigatory Project for Computer Science
Investigatory Project for Computer Science Sonali Sinha
 
Kajal Gaharwal , BCA Third Year
Kajal Gaharwal , BCA Third YearKajal Gaharwal , BCA Third Year
Kajal Gaharwal , BCA Third YearDezyneecole
 
Computer science project
Computer science projectComputer science project
Computer science projectSandeep Yadav
 
Hardik Jadam , BCA Third Year
Hardik Jadam , BCA Third YearHardik Jadam , BCA Third Year
Hardik Jadam , BCA Third YearDezyneecole
 
C++ program using class
C++ program using classC++ program using class
C++ program using classSwarup Boro
 
Deepika Mittal , BCA Third Year
Deepika Mittal , BCA Third YearDeepika Mittal , BCA Third Year
Deepika Mittal , BCA Third Yeardezyneecole
 
Vinita Vaishnav , BCA Third Year
Vinita Vaishnav , BCA Third YearVinita Vaishnav , BCA Third Year
Vinita Vaishnav , BCA Third YearDezyneecole
 
Below is my code for C++- I keep getting an error 43 5 C--Progr.pdf
Below is my code for C++- I keep getting an error  43    5    C--Progr.pdfBelow is my code for C++- I keep getting an error  43    5    C--Progr.pdf
Below is my code for C++- I keep getting an error 43 5 C--Progr.pdfanilbhagat17
 
Reshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third YearReshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third Yeardezyneecole
 
Computer Science investigatory project class 12
Computer Science investigatory project class 12Computer Science investigatory project class 12
Computer Science investigatory project class 12Raunak Yadav
 

Ähnlich wie CCE management system (20)

Rakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third YearRakesh Bijawat , BCA Third Year
Rakesh Bijawat , BCA Third Year
 
computer project code ''payroll'' (based on datafile handling)
computer project code ''payroll'' (based on datafile handling)computer project code ''payroll'' (based on datafile handling)
computer project code ''payroll'' (based on datafile handling)
 
Student DATABASE MANAGeMEnT SysTEm
Student DATABASE MANAGeMEnT SysTEmStudent DATABASE MANAGeMEnT SysTEm
Student DATABASE MANAGeMEnT SysTEm
 
LAB 2 Report.docx
LAB 2 Report.docxLAB 2 Report.docx
LAB 2 Report.docx
 
Online exam
Online examOnline exam
Online exam
 
C++ coding for Banking System program
C++ coding for Banking System programC++ coding for Banking System program
C++ coding for Banking System program
 
College management
College managementCollege management
College management
 
Program: Inheritance in Class - to find topper out of 10 students
Program: Inheritance in Class - to find topper out of 10 studentsProgram: Inheritance in Class - to find topper out of 10 students
Program: Inheritance in Class - to find topper out of 10 students
 
Investigatory Project for Computer Science
Investigatory Project for Computer Science Investigatory Project for Computer Science
Investigatory Project for Computer Science
 
Kajal Gaharwal , BCA Third Year
Kajal Gaharwal , BCA Third YearKajal Gaharwal , BCA Third Year
Kajal Gaharwal , BCA Third Year
 
Codes on structures
Codes on structuresCodes on structures
Codes on structures
 
Computer science project
Computer science projectComputer science project
Computer science project
 
Hardik Jadam , BCA Third Year
Hardik Jadam , BCA Third YearHardik Jadam , BCA Third Year
Hardik Jadam , BCA Third Year
 
C++ program using class
C++ program using classC++ program using class
C++ program using class
 
Deepika Mittal , BCA Third Year
Deepika Mittal , BCA Third YearDeepika Mittal , BCA Third Year
Deepika Mittal , BCA Third Year
 
Vinita Vaishnav , BCA Third Year
Vinita Vaishnav , BCA Third YearVinita Vaishnav , BCA Third Year
Vinita Vaishnav , BCA Third Year
 
Below is my code for C++- I keep getting an error 43 5 C--Progr.pdf
Below is my code for C++- I keep getting an error  43    5    C--Progr.pdfBelow is my code for C++- I keep getting an error  43    5    C--Progr.pdf
Below is my code for C++- I keep getting an error 43 5 C--Progr.pdf
 
Reshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third YearReshma Kodwani , BCA Third Year
Reshma Kodwani , BCA Third Year
 
Computer Science investigatory project class 12
Computer Science investigatory project class 12Computer Science investigatory project class 12
Computer Science investigatory project class 12
 
KBC c++ program
KBC c++ programKBC c++ program
KBC c++ program
 

Kürzlich hochgeladen

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
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
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIShubhangi Sonawane
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
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
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 

Kürzlich hochgeladen (20)

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.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
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
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
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 

CCE management system

  • 2. ACKNOWLEDGEMENT I earnestly thank our Principal SRI. P.M.ISSAC Jawahar Navodaya Vidyalaya, Galibeedu for giving me all the necessary support for conducting this project I find that its my earnest endeavor to thank SRI. HARI OM VERMA for guiding me all through this project
  • 4. Jawahar Navoday Vidyalaya Certificate This is to certify that the project is bonafide work done by master THRISHUL A L of class 12th bearing the hall ticket no. during the year 2015-2016 for the fulfillment of computer science project in Jawahar Navodaya Vidyalaya Galibeedu Date:
  • 5. Sign of student: sign of the teacher in charge: Sign of the external Sign of the examinar : Principal: Bio data Name: THRISHUL A L Class: 12th science Hall ticket no:
  • 7.
  • 8. Requirements:  Computer system with windows 7  Tubo c++ software
  • 10. //STUDENT CCE MANAGEMENT //Submitted By THRISHUL A L( thrrishul.alathanda004@gmail.com ) //password : abcde #include<conio.h> #include<iostream.h> #include<stdio.h> #include<process.h> #include<fstream.h> #include<iomanip.h> #include<string.h> class student { int rollno; char name[50]; int p_marks,c_marks,m_marks,e_marks,cs_marks; float per; char grade;
  • 11. 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 search1(); void 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 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 :"<<setprecision(2)<<per; cout<<"nGrade of student is :"<<grade; } void show_tabular() { cout<<rollno<<setw(12)<<name<<setw(10)<<p_marks<<setw(3)<<c_marks<<set w(3)<<m_marks<<setw(3)<< e_marks<<setw(3)<<cs_marks<<setw(6)<<setprecision(3)<<per<<" "<<grade<<endl;
  • 12. } int retrollno() { return rollno; } }s,to; fstream fp,t; student st; void write_student() { fp.open("stude.dat",ios::app); st.getdata(); fp.write((char*)&st,sizeof(student)); fp.close(); cout<<"nnstudent record Has Been Created "; getch(); } void display_all() { clrscr(); cout<<"nnnttDISPLAY ALL RECORD !!!nn"; fp.open("stude.dat",ios::in); while(fp.read((char*)&st,sizeof(student))) { st.showdata(); cout<<"nn====================================n"; getch(); } fp.close(); getch(); } void display_sp(int n) { int flag=0; fp.open("stude.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(); }
  • 13. void modify_student() { int no,found=0; clrscr(); cout<<"nntTo Modify "; cout<<"nntPlease Enter The roll number of student"; cin>>no; fp.open("stude.dat",ios::in|ios::out); while(fp.read((char*)&st,sizeof(student)) && found==0) { if(st.retrollno()==no) { st.showdata(); cout<<"nPlease Enter 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<<"nn Record Not Found "; getch(); } void delete_student() { int no; clrscr(); cout<<"nnntDelete Record"; cout<<"nnPlease Enter The roll number of student You Want To Delete"; cin>>no; fp.open("stude.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)); } }
  • 14. fp2.close(); fp.close(); remove("stude.dat"); rename("Temp.dat","stude.dat"); cout<<"nntRecord Deleted .."; getch(); } void class_result() { clrscr(); fp.open("stude.dat",ios::in); if(!fp) { cout<<"ERROR!!! FILE COULD NOT BE OPENnnn Go To Entry Menu to create File"; cout<<"nnn Program is closing ...."; getch(); exit(0); } cout<<"nnttALL STUDENTS RESULT nn"; cout<<"====================================================n"; cout<<"Roll No. Name P C M E CS %age Graden"; cout<<"====================================================n"; while(fp.read((char*)&st,sizeof(student))) { st.show_tabular(); } fp.close(); getch(); } void result() { int ans,rno; clrscr(); cout<<"nnnRESULT MENU"; cout<<"nnn1. Class Resultnn2. Student Report Cardnn3.Back to Main Menu"; 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);
  • 15. cout<<"nnDo you want to See More Result (y/n)?"; cin>>ans; }while(ans=='y'||ans=='Y'); break; } case 3: break; default: cout<<"a"; } } void intro() { clrscr(); gotoxy(35,11); cout<<"STUDENT"; gotoxy(33,14); cout<<"REPORT CARD"; gotoxy(35,17); cout<<"PROJECT"; cout<<"nnMADE BY : Thrishul A L"; cout<<"nnSCHOOL : JNV Coorg"; getch(); } void entry_menu() { clrscr(); char ch2; 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<<"nnt7.SEARCH BY NAME"; cout<<"nntPlease Enter 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<<"nntPlease Enter The roll number "; cin>>num; display_sp(num);
  • 16. break; case '4': modify_student();break; case '5': delete_student();break; case '6': break; case '7': to.search1(); default:cout<<"a";entry_menu(); } } int passwords() { char p1,p2,p3,p4,p5; gotoxy(30,10); cout<<"ENTER THE PASSWORDn"; gotoxy(30,20); p1=getch(); cout<<"*"; p2=getch(); cout<<"*"; p3=getch(); cout<<"*"; p4=getch(); cout<<"*"; p5=getch(); cout<<"*"; getch(); gotoxy(30,20); if((p1=='a'||p1=='A')&&(p2=='b'||p2=='B')&&(p3=='c'||p3=='C')&& (p4=='d'||p4=='D')&&(p5=='e'||p5=='E')) return 1; else return 0; } void search1(); void student::search1() { clrscr(); char names[20]; t.open("stude.dat",ios::in); int flag=0; cout<<"n"; cout<<"ttt*-----------*"<<"n"; cout<<"ttt| SEARCHING |"<<"n"; cout<<"ttt*-----------*"<<"n"<<"n"; cout<<"ntENTER THE NAME TO BE SEARCHED :"; gets(names); cout<<"n"; cout<<"ROLL NAME MARKS PERCENTAGE GRADE"<<"n"; for(int i=0;i<2;i++) { while(t.read((char *) &s,sizeof(s)))
  • 17. { if(strcmp(names,s.name)==0) { flag=1; s.showdata(); break; } } } if(flag==0) { cout<<"tSORRYn"; cout<<"tTHE NAME DOES NOT EXIST.n"; } getch(); } void main() { cout<<"t%% %% "; cout<<"nt%% %% %%%%%%% %% %%%%%% %%%%%% %%%% %%%% %%%%%%%"; cout<<"nt%% %% %% %% %% %% %% %% %%% %% %% "; cout<<"nt%% %% %% %%%%% %% %% %% %% %% %%% %% %%%%% "; cout<<"nt%% %% %% %% %% %% %% %% %% %% %% "; cout<<"nt%%%%%%%%%% %%%%%%% %%%%%%% %%%%%%% %%%%%% %% %% %%%%%%% "; cout<<"nnttt $$$$$$$$ $$$$$ "; cout<<"nttt $$ $ $ "; cout<<"nttt $$ $$$$$ "; cout<<"nnntCOMPUTER PROJECT (******** CCE PROJECT>> *******)"; cout<<"nntttt BY :-"; cout<<"nnttt* Thrishul A L"<<"t XII Sci."; cout<<" nnntt press any KEY to continue!!! "; getch(); char ch; intro(); clrscr(); cout<<"nntt CONTINUOUS & COMPREHENSIVE EVALUATION(CCE)n"; cout<<"tt **************************************** n"; int passwords();
  • 18. if(!passwords()) { for(int i=0;i<2;i++) { clrscr(); cout<<"nWrong password try once moren"; if(passwords()) { goto last; } else { clrscr(); cout<<"nnttt all attempts failed....."; cout<<"nnnttt see you.................. "; exit(0); } } cout<<"ttt sorry all attempts failed............. n tttinactive"; } else do { last:; clrscr(); cout<<"nnntMAIN MENU"; cout<<"nnt01. RESULT MENU"; cout<<"nnt02. ENTRY/EDIT MENU"; cout<<"nnt03. EXIT"; cout<<"nntPlease Select 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'); }
  • 20.
  • 21.
  • 22.
  • 23. Bibliography www.google .com Programming in c++ Projects in c++ www.icbse.com