SlideShare ist ein Scribd-Unternehmen logo
1 von 37
A Project Report On
REPORT CARD MAKING
Computer Science Investigatory Project
AISSE2015-2016
Submitted By
MITUL M PATEL
Class : XII
Under the Guidance of
Mr. SANJAY
PARMAR PGT
(Computer Science)
Department of Computer Science.
Department of Computer Science
C E R T I F I C A T E
This is to certify that MITUL M PATEL
Of Class XII has prepared the report on the Project
entitled “Report Card Making”. The report is the result of
his efforts & endeavors. The report is found worthy of
acceptance as final project report for the subject Computer
Science of Class
XII. He has prepared the report under my guidance.
(Mr. SANJAY PARMAR)
PGT (Computer Science)
Department of Computer
Science.
Department of Computer Science
ceR TiFicaTe
The project report entitled
“ReportCardMaking”,
Submitted by MITUL PATEL of Class XII for
the CBSE Senior Secondary Examination class XII of
Computer Science has been examined.
SIGNATURE OF EXAMINER
D E C L A R A T I O N
I hereby declare that the project work
entitled “Report Card Making”, submitted to
Department of Computer Science, is
prepared by me. All the coding are result of
my personal efforts.
MITUL PATEL
Class XII
A C K N O W L E D G E M E N T
I would like to express a deep sense of thanks & gratitude to my
project guide Mr. Sanjay Parmar Sir for guiding me immensely through
the course of the project. He always evinced keen interest in my work.
His constructive advice & constant motivation have been responsible for
the successful completion of this project.
My sincere thanks goes to Shri !!!!!!!!!!, Our principal sir, for his
co-ordination in extending every possible support for the completion of
this project.
I also thanks to my parents for their motivation & support. I must
thanks to my classmates for their timely help & support for compilation
of this project.
Last but not the least, I would like to thank all those who had
helped directly or indirectly towards the completion of this project.
MITUL PATEL
Class: XII
CONTENTS
1. HEADER FILESUSED. . . . . . . . . . . . . . . . .
2. FILES GENERATED. . . . . . . . . . . . . . . . . . .
3. WORKING DESCRIPTION. . . . . . . . . . . . .
4. CODING. . . . . . . . . .. . . . . . . . . . . . . . . . .
5. OUTPUT SCREENS. . . . . . . . . . . . . . . . . . .
6. CONCLUSION. . . . . . . . . . . . . . . . . . . . . .
. . . .
7. BIBLIOGRAPHY. . . . . . . . . . . . . . . . . . . . .
. . . .
HEADER FILES USED
1. FSTREAM.H – for file handling, cin and cout
2. PROCESS.H – for exit() function
3. CONIO.H – for clrscr() and
getch() functions
4. STDIO.H – for standard I/O operations
5. STRING.H – for string handling
6. MATH.H–for doing mathematical operations
FILES GENERATED
DATA FILES
Report.DAT
PROGRAM FILE
Report Card Making.CPP
OBJECT FILE
Report.OBJ
EXECUTION FILE
Report.EXE
WORKING DESCRIPTION
This program consists of EIGHT
options as follows
1. TO MAKE REPORT CARD
2. TO APPEND NAMES
3. SORT NAMES
4. TO SEARCH A NAME
5. TO UPDATE GRADE
6. VIEW REPORT CARD
7. LIST OF FAILURES
8. MAIN MANU
HARDWARE AND SOFTWARE
SPECIFICATION
HardwareRequirement
 Pentium (III-IV)Processor
 64/128MB ofRAM
 20/40GB HDD
 3¼
FDD
 CDRomDrive
 Mouse,Keyboard & Printer
 VGA/SVGA
Software Requirement
 Windows XP/2007
 Borland C++ /Turbo C++/ VC4.5
Platform :- (WindowsXP)
Operating system Win-xp was chosen as the platform for developing
the project. The choice was because of the following features
provided by it:-
 Multitasking
 GraphicUserInterface
 UserFriendly
ADVANTAGES OF USING C++
Severaladvantages ofusing C++are:-
 DataAbstraction& Encapsulation.
 Datamodularity.
 Reusability&transitive.
 Polymorphism.
 Inheritance.
OPERATING INSTRUCTION
This program has beenstored infile ProgramFile :
officemg.cpp
DataFile : empdl.dat
To compileand run thisprogram:-
 Firstgo to thedirectorythatcontain
it.(CDprojectOFFICEMG.CPPs )
 Open Turbo C++
 Now openthefileprogress card and press Ctrl+f9 to compile
and run it.
 Now thewelcome screenappears.
process as peryour choice
CODING
//Report Card Making
#include<fstream.h>
#include<stdlib.h>
#include<stdio.h>
#include<conio.h>
#include<graphics.h>
#include<dos.h>
#include<string.h>
#include<iomanip.h>
ofstream r;
ifstream t;
void credits();
void menu1();
void menu2();
void menu3();
void terms();
class xii
{
public:
int roll;
char na[20];
int m1,m2,m3,m4,m5;
char g[10];
int t;
int p;
void input()
{
gotoxy(1,5);
cout<<"tENTER ROLL NUMBER OF THE STUDENT :";
cin>>roll;
cout<<"tENTER NAME OF THE STUDENT :";
gets(na);
cout<<"nntENTER MARKS OF THE 5 SUBJECTS OUT OF 100";
cout<<"n";
cout<<"tENTER MARKS IN ENGLISH:";
cin>>m1;
cout<<"n";
cout<<"tENTER MARKS IN MATHS:";
cin>>m2;
cout<<"n";
cout<<"tENTER MARKS IN PHYSICS:";
cin>>m3;
cout<<"n";
cout<<"tENTER MARKS IN CHEMISTRY:";
cin>>m4;
cout<<"n";
cout<<"tENTER MARKS IN COMPUTER:";
cin>>m5;
cout<<"n";
cleardevice();
t=m1+m2+m3+m4+m5;
p=t/5;
gotoxy(1,1);
}
void output()
{
cout<<"n";
cout<<" "<<roll<<"t"<<" "<<na<<setw(10)<<"t";
cout<<" "<<m1<<","<<m2<<","<<m3<<","<<m4<<","<<m5<<"t";
cout<<" "<<p<<"%"<<"t"<<"t"<<""<<g<<"n";
cout<<"t";
}
}s[30];
int i,n;
void writes()
{
clrscr();
cleardevice();
cout<<"n";
cout<<"tENTER THE NUMBER OF RECORDS TO BE CREATED :";
cin>>n;
cleardevice();
for(i=0;i<n ;i++)
{
s[i].input();
if(s[i].p>=95)
strcpy(s[i].g,"A1");
if(s[i].p>=90 && s[i].p<=95)
strcpy(s[i].g,"A2");
if(s[i].p>=80 && s[i].p<=90)
strcpy(s[i].g,"B1");
if(s[i].p>=70 &&s[i].p<=80)
strcpy(s[i].g,"B2");
if(s[i].p>=60 &&s[i].p<=70)
strcpy(s[i].g,"C1");
if(s[i].p>=50 && s[i].p<=60)
strcpy(s[i].g,"C2");
if(s[i].p>=40&&s[i].p<=50)
strcpy(s[i].g,"D,1");
if(s[i].p<=40)
strcpy(s[i].g,"D2");
r.write((char*)&s[i],sizeof(s[i]));
}
}
void append()
{
clrscr();
cleardevice();
cout<<"n";
int k;
cout<<"ttt*-----------*"<<"n";
cout<<"ttt| APPENDING |"<<"n";
cout<<"ttt*-----------*"<<"n"<<"n";
cout<<"tENTER THE NUMBER OF RECORDS TO BE APPENDED :";
cin>>k;
for(i=0;i<k ;i++)
{
s[i].input();
if(s[i].p>=95)
strcpy(s[i].g,"A1");
if(s[i].p>=90&&s[i].p<=95)
strcpy(s[i].g,"A2");
if(s[i].p>=80&&s[i].p<=90)
strcpy(s[i].g,"B1");
if(s[i].p>=70&&s[i].p<=80)
strcpy(s[i].g,"B2");
if(s[i].p>=60&&s[i].p<=70)
strcpy(s[i].g,"C1");
if(s[i].p>=50&&s[i].p<=60)
strcpy(s[i].g,"C2");
if(s[i].p>=40&&s[i].p<=50)
strcpy(s[i].g,"D1");
if(s[i].p<=40)
strcpy(s[i].g,"D2");
r.write((char*)&s[i],sizeof(s[i]));
}
getch();
n+=k;
}
void search()
{
clrscr();
cleardevice();
char name[20];
int flag=0;
cout<<"n";
cout<<"ttt*-----------*"<<"n";
cout<<"ttt| SEARCHING |"<<"n";
cout<<"ttt*-----------*"<<"n"<<"n";
step:
cout<<"ntENTER THE NAME TO BE SEARCHED :";
gets(name);
cout<<"n";
cout<<"ROLL NAME MARKS PERCENTAGE
GRADE"<<"n";
for(i=0;i<n;i++)
{
t.read((char *) &s[i],sizeof(s[i]));
if(strcmp(name,s[i].na)==0)
{
flag=1;
s[i].output();
break;
}
}
if(flag==0)
{
cleardevice();
cout<<"tSORRYn";
cout<<"tTHENAME DOES NOT EXIST.n";
}
getch();
}
void update()
{
clrscr();
cleardevice();
cout<<"ttt*--------------*"<<"n";
cout<<"ttt| UPDATED LIST |"<<"n";
cout<<"ttt*--------------*"<<"n"<<"n";
cout<<"ROLL NAME MARKS PERCENTAGE
GRADE"<<"n";
cout<<"-----------------------------------------------------------"<<"n";
for(i=0;i<n;i++)
{
if(s[i].p<=40.0)
s[i].t=s[i].t+(s[i].t/10);
s[i].p=s[i].t/5.0;
if(s[i].p>=50.0&&s[i].p<=60.0)
strcpy(s[i].g,"C2");
if(s[i].p>=40.0&&s[i].p<=50.0)
strcpy(s[i].g,"D1");
if(s[i].p<=40.0)
strcpy(s[i].g,"Failed");
r.write((char*)&s[i],sizeof(s[i]));
s[i].output();
}
getch();
}
void sort()
{
clrscr();
cleardevice();
xii tp;
cout<<"ttt*-------------*"<<"n";
cout<<"ttt| SORTEDLIST |"<<"n";
cout<<"ttt*-------------*"<<"n"<<"n";
cout<<"ROLL NAME MARKS PERCENTAGE
GRADE"<<"n";
cout<<"---------------------------------------------------------"<<"n";
for(i=0;i<n;i++)
{
t.read((char *) &s[i],sizeof(s[i]));
for(i=0;i<n-1;i++)
{ for(int j=i+1;j<n;j++)
{ if(strcmp(s[i].na,s[j].na)>0)
{ tp=s[i];
s[i]=s[j];
s[j]=tp;
}
}
}
for(i=0;i<n ;i++)
s[i].output();
}
getch();
}
void failed()
{
cleardevice();
cout<<"t**----------------------------------------------------------**"<<"n";
cout<<"t|| THE LIST OF STUDENTS WHO FAILED IN MORE THAN
ONE SUBJECT ||"<<"n";
cout<<"t**----------------------------------------------------------**nn";
cout<<"ROLL NAME MARKS PERCENTAGE
GRADE"<<"n";
cout<<"-------------------------------------------------------"<<"n";
for(i=0;i<n;i++)
{
int c=0;
t.read((char *) &s[i],sizeof(s[i]));
if (s[i].m1<=40)
c++;
if (s[i].m2<=40)
c++;
if (s[i].m3<=40)
c++;
if (s[i].m4<=40)
c++;
if (s[i].m5<=40)
c++;
if(c>=2)
{
s[i].output();
}
}
getch();
}
void reads()
{
clrscr();
cleardevice();
cout<<"n";
cout<<"t**------------------------------------------------**"<<"n";
cout<<"t|| THE REPORT CARD OF STUDENTS OF CLASS XII-B2
||"<<"n";
cout<<"t**------------------------------------------------**"<<"n"<<"n";
cout<<"ROLL NAME MARKS PERCENTAGE
GRADE"<<"n";
cout<<"--------------------------------------------------------"<<"n";
for(i=0;i<n;i++)
{
t.read((char *) &s[i],sizeof(s[i]));
s[i].output();
}
getch();
}
void terms()
{
int gdriver = DETECT, gmode, errorcode;
initgraph(&gdriver,&gmode,"turboc3bgi");
errorcode= graphresult();
if (errorcode!=grOk) /* an error codeoccurred */
{
printf("Graphics error: %sn", grapherrormsg(errorcode));
printf("Press any key to halt:");
getch;
exit(1); /* terminate with an error code*/
}
char chc;
rectangle(1,1,getmaxx(),getmaxy());
settextstyle(GOTHIC_FONT,VERT_DIR,5);
settextjustify(LEFT_TEXT,CENTER_TEXT); //Was actually-
settextjustify(LEFT_TEXT,CENTER_TEXT,5);
outtextxy(50,240,"REPORT CARD");
settextstyle(SANS_SERIF_FONT,HORIZ_DIR,5);
outtextxy(240,50,"SELECT A TERM");
outtextxy(240,90,"OF YOUR CHOICE.");
outtextxy(240,105," ......................................");
settextstyle(SANS_SERIF_FONT,HORIZ_DIR,4);
setbkcolor(BLACK);
outtextxy(300,170,"1.Ist TERM");
outtextxy(300,220,"2.IInd TERM");
outtextxy(300,270,"3.IIIrd TERM");
outtextxy(300,320,"4.EXIT");
settextstyle(SANS_SERIF_FONT,HORIZ_DIR,3);
outtextxy(400,400,"ENTER CHOICE");
chc=getch();
switch(chc)
{
case '1':cleardevice();
menu1();
break;
case '2':cleardevice();
menu2();
break;
case '3':cleardevice();
menu3();
break;
case '4':cleardevice();
credits();
exit(0);
default :clrscr();
cleardevice();
settextstyle(TRIPLEX_FONT,HORIZ_DIR,5);
outtextxy(220,210,"WRONG CHOICE !");
outtextxy(170,270,"PLEASE TRY AGAIN.");
sleep(2);
cleardevice();
terms();
}
closegraph();
}
void credits()
{
cleardevice();
setbkcolor(4);
gotoxy(33,6);
cout<<"-:Created By:-";
for(int i=70;i>28;i--)
{
gotoxy(i,8);
cout<<"Mitul Patel"<<endl;
delay(70);
}
for(i=70;i>28;i--)
{
gotoxy(i,10);
cout<<"mtlptl5@gmail.com"<<endl;
delay(70);
}
gotoxy(28,25);
cout<<"Pressany key to exit...";
getch();
exit(0);
}
/***********************************menu1**********************
**************/
void menu1()
{
cleardevice();
char ch;
back:
settextstyle(GOTHIC_FONT,VERT_DIR,5);
settextjustify(LEFT_TEXT,CENTER_TEXT);
outtextxy(50,240,"REPORT CARD");
settextstyle(SANS_SERIF_FONT,VERT_DIR,4);
setbkcolor(BLACK);
settextjustify(LEFT_TEXT,CENTER_TEXT);
outtextxy(110,240,"Ist TERM");
settextstyle(SANS_SERIF_FONT,HORIZ_DIR,4);
outtextxy(290,50,"1.MAKE REPORT CARD");
outtextxy(290,90,"2.APPEND NAMES");
outtextxy(290,130,"3.SORT NAMES");
outtextxy(290,170,"4.SEARCH A NAME");
outtextxy(290,210,"5.UPDATE GRADE");
outtextxy(290,250,"6.VIEW REPORT CARD");
outtextxy(290,290,"7.LIST OF FAILURES");
outtextxy(290,330,"8.MAIN MENU");
settextstyle(SANS_SERIF_FONT,HORIZ_DIR,3);
outtextxy(400,420,"ENTER CHOICE");
ch=getch();
switch(ch)
{
case '1':
r.open("report_1");
writes();
r.close();
cleardevice();
goto back;
case '2':
r.open("report_1",ios::app|ios::out);
append();
r.close();
cleardevice();
goto back;
case '3':
t.open("report_1");
sort();
t.close();
cleardevice();
goto back;
case '4':
t.open("report_1");
search();
t.close();
cleardevice();
goto back;
case '5':
r.open("report_1",ios::end);
update();
r.close();
cleardevice();
goto back;
case '6':
t.open("report_1");
reads();
t.close();
cleardevice();
goto back;
case '7':
t.open("report_1");
failed();
t.close();
cleardevice();
goto back;
case '8':
closegraph();
terms();
default :clrscr();
cleardevice();
settextstyle(TRIPLEX_FONT,HORIZ_DIR,5);
outtextxy(220,240,"WRONG CHOICE !");
outtextxy(190,280,"PLEASE TRY AGAIN.");
sleep(2);
cleardevice();
goto back;
}
}
/***************************************menu2******************
**************************/
void menu2()
{
cleardevice();
char ch;
back:
settextstyle(GOTHIC_FONT,VERT_DIR,5);
settextjustify(LEFT_TEXT,CENTER_TEXT);
outtextxy(50,240,"REPORT CARD");
settextstyle(SANS_SERIF_FONT,VERT_DIR,4);
setbkcolor(BLACK);
settextjustify(LEFT_TEXT,CENTER_TEXT);
outtextxy(110,240,"IInd TERM");
settextstyle(SANS_SERIF_FONT,HORIZ_DIR,4);
outtextxy(290,50,"1.MAKE REPORT CARD");
outtextxy(290,90,"2.APPEND NAMES");
outtextxy(290,130,"3.SORT NAMES");
outtextxy(290,170,"4.SEARCH A NAME");
outtextxy(290,210,"5.UPDATE GRADE");
outtextxy(290,250,"6.VIEW REPORT CARD");
outtextxy(290,290,"7.LIST OF FAILURES");
outtextxy(290,330,"8.MAIN MENU");
settextstyle(SANS_SERIF_FONT,HORIZ_DIR,3);
outtextxy(400,420,"ENTER CHOICE");
ch=getch();
switch(ch)
{
case '1':
r.open("report_2");
writes();
r.close();
cleardevice();
goto back;
case '2':
r.open("report_2",ios::app|ios::out);
append();
r.close();
cleardevice();
goto back;
case '3':
t.open("report_2");
sort();
t.close();
cleardevice();
goto back;
case '4':
t.open("report_2");
search();
t.close();
cleardevice();
goto back;
case '5':
r.open("report_2",ios::end);
update();
r.close();
cleardevice();
goto back;
case '6':
t.open("report_2");
reads();
t.close();
cleardevice();
goto back;
case '7':
t.open("report_2");
failed();
t.close();
cleardevice();
goto back;
case '8':
closegraph();
terms();
default :clrscr();
cleardevice();
settextstyle(TRIPLEX_FONT,HORIZ_DIR,5);
outtextxy(220,240,"WRONG CHOICE !");
outtextxy(190,280,"PLEASE TRY AGAIN.");
sleep(2);
cleardevice();
goto back;
}
}
/*********************************menu3************************
**************/
void menu3()
{
cleardevice();
char ch;
back:
settextstyle(GOTHIC_FONT,VERT_DIR,5);
settextjustify(LEFT_TEXT,CENTER_TEXT);
outtextxy(50,240,"REPORT CARD");
settextstyle(SANS_SERIF_FONT,VERT_DIR,4);
setbkcolor(BLACK);
settextjustify(LEFT_TEXT,CENTER_TEXT);
outtextxy(110,240,"IIIrd TERM");
settextstyle(SANS_SERIF_FONT,0,4);
outtextxy(290,50,"1.MAKE REPORT CARD");
outtextxy(290,90,"2.APPEND NAMES");
outtextxy(290,130,"3.SORT NAMES");
outtextxy(290,170,"4.SEARCH A NAME");
outtextxy(290,210,"5.UPDATE GRADE");
outtextxy(290,250,"6.VIEW REPORT CARD");
outtextxy(290,290,"7.LIST OF FAILURES");
outtextxy(290,330,"8.MAIN MENU");
settextstyle(SANS_SERIF_FONT,0,3);
outtextxy(400,420,"ENTER CHOICE");
ch=getch();
switch(ch)
{
case '1':
r.open("report_3");
writes();
r.close();
cleardevice();
goto back;
case '2':
r.open("report_3",ios::app|ios::out);
append();
r.close();
cleardevice();
goto back;
case '3':
t.open("report_3");
sort();
t.close();
cleardevice();
goto back;
case '4':
t.open("report_3");
search();
t.close();
cleardevice();
goto back;
case '5':
r.open("report_3",ios::end);
update();
r.close();
cleardevice();
goto back;
case '6':
t.open("report_3");
reads();
t.close();
cleardevice();
goto back;
case '7':
t.open("report_3");
failed();
t.close();
cleardevice();
goto back;
case '8':
closegraph();
terms();
default :clrscr();
cleardevice();
settextstyle(TRIPLEX_FONT,HORIZ_DIR,5);
outtextxy(220,240,"WRONG CHOICE !");
outtextxy(190,280,"PLEASE TRY AGAIN.");
sleep(2);
cleardevice();
goto back;
}
}
/**********************************main*************************
*************/
void main()
{
int gdriver = DETECT, gmode, errorcode;
initgraph(&gdriver,&gmode,"turboc3bgi");
errorcode= graphresult();
if (errorcode != grOk) /*an error occurred*/
{
printf("Graphics error: %sn", grapherrormsg(errorcode));
printf("Press any key to halt:");
getch;
exit(1); /* terminate with an error code*/
}
settextstyle(SANS_SERIF_FONT,HORIZ_DIR,5);
rectangle(1,1,getmaxx(),getmaxy());
setbkcolor(9);
outtextxy(300,100,"A");
delay(2000);
outtextxy(200,170,"PROJECT ON");
delay(2000);
outtextxy(95,240,"REPORT CARD MAKING");
delay(2000);
for(int i=0;i<=360;i++)
{
ellipse(320,240,0,i,300,200);
delay(12);
}
closegraph();
terms();
}
OUTPUT
1. WELCOME SCREEN
2. CHOICE SCREEN
3. SELECT ED Ist TERM
4. TO MAKE REPORT CARD
5. TO APPEND NAMES
6. TO SORT NAMES
7. TO SEARCH A NAME
8. VIEW REPORT CARD
9. LIST OF FAILURES
10. EXIT SCREEN
BIBLIOGRAPHY
INTERNET
ComputerScienceTextBook
(BySumitaAroraforclass XII)
TogetherwithComputerScience
(Publishedby RachnaSagarPVTLTD.)
Practicals&ProjectsInC++
(Published by DhanpatRai&CO.)

Weitere ähnliche Inhalte

Was ist angesagt?

C++ COMPUTER SCIENCE PROJECT
C++ COMPUTER SCIENCE PROJECTC++ COMPUTER SCIENCE PROJECT
C++ COMPUTER SCIENCE PROJECTAbhishek Shukla
 
computer science with python project for class 12 cbse
computer science with python project for class 12 cbsecomputer science with python project for class 12 cbse
computer science with python project for class 12 cbsemanishjain598
 
Computer science class 12 project on Super Market Billing
Computer science class 12 project on Super Market BillingComputer science class 12 project on Super Market Billing
Computer science class 12 project on Super Market BillingHarsh Kumar
 
Informatics Practices/ Information Practices Project (IP Project Class 12)
Informatics Practices/ Information Practices Project (IP Project Class 12)Informatics Practices/ Information Practices Project (IP Project Class 12)
Informatics Practices/ Information Practices Project (IP Project Class 12)KushShah65
 
CBSE Class 12 Computer practical Python Programs and MYSQL
CBSE Class 12 Computer practical Python Programs and MYSQL CBSE Class 12 Computer practical Python Programs and MYSQL
CBSE Class 12 Computer practical Python Programs and MYSQL Rishabh-Rawat
 
Computer Project for class 12 CBSE on school management
Computer Project for class 12 CBSE on school managementComputer Project for class 12 CBSE on school management
Computer Project for class 12 CBSE on school managementRemaDeosiSundi
 
Computer Science Investigatory Project Class 12
Computer Science Investigatory Project Class 12Computer Science Investigatory Project Class 12
Computer Science Investigatory Project Class 12Self-employed
 
12th CBSE Practical File
12th CBSE Practical File12th CBSE Practical File
12th CBSE Practical FileAshwin Francis
 
Informatics Practice Practical for 12th class
Informatics Practice Practical for 12th classInformatics Practice Practical for 12th class
Informatics Practice Practical for 12th classphultoosks876
 
Computer science project on Online Banking System class 12
Computer science project on Online Banking System class 12Computer science project on Online Banking System class 12
Computer science project on Online Banking System class 12OmRanjan2
 
IP Project for Class 12th CBSE
IP Project for Class 12th CBSEIP Project for Class 12th CBSE
IP Project for Class 12th CBSESylvester Correya
 
cbse 12 computer science investigatory project
cbse 12 computer science investigatory project  cbse 12 computer science investigatory project
cbse 12 computer science investigatory project D. j Vicky
 
Computer science project work
Computer science project workComputer science project work
Computer science project workrahulchamp2345
 
BANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12TH
BANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12THBANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12TH
BANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12THSHAJUS5
 
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
 
Computer Science Investigatory Project
Computer Science Investigatory ProjectComputer Science Investigatory Project
Computer Science Investigatory ProjectPrakhar Seth
 
PYTHON PROJECT ON CARSHOP SYSTEM
PYTHON PROJECT ON CARSHOP SYSTEMPYTHON PROJECT ON CARSHOP SYSTEM
PYTHON PROJECT ON CARSHOP SYSTEMvikram mahendra
 
Computer science project.pdf
Computer science project.pdfComputer science project.pdf
Computer science project.pdfHarshitSachdeva17
 

Was ist angesagt? (20)

C++ COMPUTER SCIENCE PROJECT
C++ COMPUTER SCIENCE PROJECTC++ COMPUTER SCIENCE PROJECT
C++ COMPUTER SCIENCE PROJECT
 
Ip project
Ip projectIp project
Ip project
 
computer science with python project for class 12 cbse
computer science with python project for class 12 cbsecomputer science with python project for class 12 cbse
computer science with python project for class 12 cbse
 
Computer science class 12 project on Super Market Billing
Computer science class 12 project on Super Market BillingComputer science class 12 project on Super Market Billing
Computer science class 12 project on Super Market Billing
 
Informatics Practices/ Information Practices Project (IP Project Class 12)
Informatics Practices/ Information Practices Project (IP Project Class 12)Informatics Practices/ Information Practices Project (IP Project Class 12)
Informatics Practices/ Information Practices Project (IP Project Class 12)
 
CBSE Class 12 Computer practical Python Programs and MYSQL
CBSE Class 12 Computer practical Python Programs and MYSQL CBSE Class 12 Computer practical Python Programs and MYSQL
CBSE Class 12 Computer practical Python Programs and MYSQL
 
Computer Project for class 12 CBSE on school management
Computer Project for class 12 CBSE on school managementComputer Project for class 12 CBSE on school management
Computer Project for class 12 CBSE on school management
 
Computer Science Investigatory Project Class 12
Computer Science Investigatory Project Class 12Computer Science Investigatory Project Class 12
Computer Science Investigatory Project Class 12
 
12th CBSE Practical File
12th CBSE Practical File12th CBSE Practical File
12th CBSE Practical File
 
Informatics Practice Practical for 12th class
Informatics Practice Practical for 12th classInformatics Practice Practical for 12th class
Informatics Practice Practical for 12th class
 
Computer science project on Online Banking System class 12
Computer science project on Online Banking System class 12Computer science project on Online Banking System class 12
Computer science project on Online Banking System class 12
 
IP Project for Class 12th CBSE
IP Project for Class 12th CBSEIP Project for Class 12th CBSE
IP Project for Class 12th CBSE
 
cbse 12 computer science investigatory project
cbse 12 computer science investigatory project  cbse 12 computer science investigatory project
cbse 12 computer science investigatory project
 
Computer science project work
Computer science project workComputer science project work
Computer science project work
 
BANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12TH
BANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12THBANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12TH
BANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12TH
 
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)
 
Computer Science Investigatory Project
Computer Science Investigatory ProjectComputer Science Investigatory Project
Computer Science Investigatory Project
 
Computer Investgatort Project (HOTEL MANAGEMENT SYSTEM)
Computer Investgatort Project (HOTEL MANAGEMENT SYSTEM)Computer Investgatort Project (HOTEL MANAGEMENT SYSTEM)
Computer Investgatort Project (HOTEL MANAGEMENT SYSTEM)
 
PYTHON PROJECT ON CARSHOP SYSTEM
PYTHON PROJECT ON CARSHOP SYSTEMPYTHON PROJECT ON CARSHOP SYSTEM
PYTHON PROJECT ON CARSHOP SYSTEM
 
Computer science project.pdf
Computer science project.pdfComputer science project.pdf
Computer science project.pdf
 

Andere mochten auch

Andere mochten auch (7)

Students report card for C++ project..
Students report card for C++ project..Students report card for C++ project..
Students report card for C++ project..
 
~ Project-student report-card.cpp[1]
~ Project-student report-card.cpp[1]~ Project-student report-card.cpp[1]
~ Project-student report-card.cpp[1]
 
Project report card
Project report cardProject report card
Project report card
 
Student management system project report c++
Student management system project report c++Student management system project report c++
Student management system project report c++
 
Student result mamagement
Student result mamagementStudent result mamagement
Student result mamagement
 
Attendance Management System
Attendance Management SystemAttendance Management System
Attendance Management System
 
Student Attendance System
Student Attendance SystemStudent Attendance System
Student Attendance System
 

Ähnlich wie Report Card making BY Mitul Patel

The railway ticket service c++ project class 12
The railway ticket service c++ project class 12The railway ticket service c++ project class 12
The railway ticket service c++ project class 12Sandeep Chandel
 
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
 
Computer science project
Computer science projectComputer science project
Computer science projectSandeep Yadav
 
Railway reservation(c++)
Railway reservation(c++)Railway reservation(c++)
Railway reservation(c++)Pusan Sen
 
computer science project class 12th
computer science project class 12thcomputer science project class 12th
computer science project class 12thNitesh Kushwaha
 
computerscience-170129081612.pdf
computerscience-170129081612.pdfcomputerscience-170129081612.pdf
computerscience-170129081612.pdfKiranKumari204016
 
cbse 12 computer science IP
cbse 12 computer science IPcbse 12 computer science IP
cbse 12 computer science IPD. j Vicky
 
STUDENT REPORT CARD GENERATE SYSTEM
STUDENT REPORT CARD GENERATE SYSTEMSTUDENT REPORT CARD GENERATE SYSTEM
STUDENT REPORT CARD GENERATE SYSTEMvikram mahendra
 
Telephonedirectory (1)
Telephonedirectory (1)Telephonedirectory (1)
Telephonedirectory (1)Abhay Modi
 
Computer science investigatory project- computer shop
Computer science investigatory project- computer shopComputer science investigatory project- computer shop
Computer science investigatory project- computer shopYash Panwar
 
Store management along with output
Store management along with outputStore management along with output
Store management along with outputAnavadya Shibu
 
hitter !!!!!!!!!!!!!!!!!!!!!!!!
hitter !!!!!!!!!!!!!!!!!!!!!!!!hitter !!!!!!!!!!!!!!!!!!!!!!!!
hitter !!!!!!!!!!!!!!!!!!!!!!!!hiteshborha
 
cbse 12 computer science investigatory project
cbse 12 computer science investigatory project  cbse 12 computer science investigatory project
cbse 12 computer science investigatory project D. j Vicky
 
Computer Project For Class XII Topic - The Snake Game
Computer Project For Class XII Topic - The Snake Game Computer Project For Class XII Topic - The Snake Game
Computer Project For Class XII Topic - The Snake Game Pritam Samanta
 
Railway reservation(c++ project)
Railway reservation(c++ project)Railway reservation(c++ project)
Railway reservation(c++ project)Debashis Rath
 

Ähnlich wie Report Card making BY Mitul Patel (20)

The railway ticket service c++ project class 12
The railway ticket service c++ project class 12The railway ticket service c++ project class 12
The railway ticket service c++ project class 12
 
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
 
Computer science project
Computer science projectComputer science project
Computer science project
 
Sunil
SunilSunil
Sunil
 
Opps manual final copy
Opps manual final   copyOpps manual final   copy
Opps manual final copy
 
OOPs manual final copy
OOPs manual final   copyOOPs manual final   copy
OOPs manual final copy
 
Railway reservation(c++)
Railway reservation(c++)Railway reservation(c++)
Railway reservation(c++)
 
Durgesh
DurgeshDurgesh
Durgesh
 
computer science project class 12th
computer science project class 12thcomputer science project class 12th
computer science project class 12th
 
computerscience-170129081612.pdf
computerscience-170129081612.pdfcomputerscience-170129081612.pdf
computerscience-170129081612.pdf
 
Computer
ComputerComputer
Computer
 
cbse 12 computer science IP
cbse 12 computer science IPcbse 12 computer science IP
cbse 12 computer science IP
 
STUDENT REPORT CARD GENERATE SYSTEM
STUDENT REPORT CARD GENERATE SYSTEMSTUDENT REPORT CARD GENERATE SYSTEM
STUDENT REPORT CARD GENERATE SYSTEM
 
Telephonedirectory (1)
Telephonedirectory (1)Telephonedirectory (1)
Telephonedirectory (1)
 
Computer science investigatory project- computer shop
Computer science investigatory project- computer shopComputer science investigatory project- computer shop
Computer science investigatory project- computer shop
 
Store management along with output
Store management along with outputStore management along with output
Store management along with output
 
hitter !!!!!!!!!!!!!!!!!!!!!!!!
hitter !!!!!!!!!!!!!!!!!!!!!!!!hitter !!!!!!!!!!!!!!!!!!!!!!!!
hitter !!!!!!!!!!!!!!!!!!!!!!!!
 
cbse 12 computer science investigatory project
cbse 12 computer science investigatory project  cbse 12 computer science investigatory project
cbse 12 computer science investigatory project
 
Computer Project For Class XII Topic - The Snake Game
Computer Project For Class XII Topic - The Snake Game Computer Project For Class XII Topic - The Snake Game
Computer Project For Class XII Topic - The Snake Game
 
Railway reservation(c++ project)
Railway reservation(c++ project)Railway reservation(c++ project)
Railway reservation(c++ project)
 

Kürzlich hochgeladen

situational leadership theory by Misba Fathima S
situational leadership theory by Misba Fathima Ssituational leadership theory by Misba Fathima S
situational leadership theory by Misba Fathima Smisbafathima9940
 
Dealing with Poor Performance - get the full picture from 3C Performance Mana...
Dealing with Poor Performance - get the full picture from 3C Performance Mana...Dealing with Poor Performance - get the full picture from 3C Performance Mana...
Dealing with Poor Performance - get the full picture from 3C Performance Mana...Hedda Bird
 
internal analysis on strategic management
internal analysis on strategic managementinternal analysis on strategic management
internal analysis on strategic managementharfimakarim
 
Continuous Improvement Posters for Learning
Continuous Improvement Posters for LearningContinuous Improvement Posters for Learning
Continuous Improvement Posters for LearningCIToolkit
 
Reviewing and summarization of university ranking system to.pptx
Reviewing and summarization of university ranking system  to.pptxReviewing and summarization of university ranking system  to.pptx
Reviewing and summarization of university ranking system to.pptxAss.Prof. Dr. Mogeeb Mosleh
 
GENUINE Babe,Call Girls IN Baderpur Delhi | +91-8377087607
GENUINE Babe,Call Girls IN Baderpur  Delhi | +91-8377087607GENUINE Babe,Call Girls IN Baderpur  Delhi | +91-8377087607
GENUINE Babe,Call Girls IN Baderpur Delhi | +91-8377087607dollysharma2066
 
BDSM⚡Call Girls in Sector 99 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 99 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 99 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 99 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
Call Now Pooja Mehta : 7738631006 Door Step Call Girls Rate 100% Satisfactio...
Call Now Pooja Mehta :  7738631006 Door Step Call Girls Rate 100% Satisfactio...Call Now Pooja Mehta :  7738631006 Door Step Call Girls Rate 100% Satisfactio...
Call Now Pooja Mehta : 7738631006 Door Step Call Girls Rate 100% Satisfactio...Pooja Nehwal
 
Agile Coaching Change Management Framework.pptx
Agile Coaching Change Management Framework.pptxAgile Coaching Change Management Framework.pptx
Agile Coaching Change Management Framework.pptxalinstan901
 
Call now : 9892124323 Nalasopara Beautiful Call Girls Vasai virar Best Call G...
Call now : 9892124323 Nalasopara Beautiful Call Girls Vasai virar Best Call G...Call now : 9892124323 Nalasopara Beautiful Call Girls Vasai virar Best Call G...
Call now : 9892124323 Nalasopara Beautiful Call Girls Vasai virar Best Call G...Pooja Nehwal
 
Continuous Improvement Infographics for Learning
Continuous Improvement Infographics for LearningContinuous Improvement Infographics for Learning
Continuous Improvement Infographics for LearningCIToolkit
 
Day 0- Bootcamp Roadmap for PLC Bootcamp
Day 0- Bootcamp Roadmap for PLC BootcampDay 0- Bootcamp Roadmap for PLC Bootcamp
Day 0- Bootcamp Roadmap for PLC BootcampPLCLeadershipDevelop
 

Kürzlich hochgeladen (20)

situational leadership theory by Misba Fathima S
situational leadership theory by Misba Fathima Ssituational leadership theory by Misba Fathima S
situational leadership theory by Misba Fathima S
 
Dealing with Poor Performance - get the full picture from 3C Performance Mana...
Dealing with Poor Performance - get the full picture from 3C Performance Mana...Dealing with Poor Performance - get the full picture from 3C Performance Mana...
Dealing with Poor Performance - get the full picture from 3C Performance Mana...
 
Unlocking the Future - Dr Max Blumberg, Founder of Blumberg Partnership
Unlocking the Future - Dr Max Blumberg, Founder of Blumberg PartnershipUnlocking the Future - Dr Max Blumberg, Founder of Blumberg Partnership
Unlocking the Future - Dr Max Blumberg, Founder of Blumberg Partnership
 
Empowering Local Government Frontline Services - Mo Baines.pdf
Empowering Local Government Frontline Services - Mo Baines.pdfEmpowering Local Government Frontline Services - Mo Baines.pdf
Empowering Local Government Frontline Services - Mo Baines.pdf
 
internal analysis on strategic management
internal analysis on strategic managementinternal analysis on strategic management
internal analysis on strategic management
 
Continuous Improvement Posters for Learning
Continuous Improvement Posters for LearningContinuous Improvement Posters for Learning
Continuous Improvement Posters for Learning
 
Intro_University_Ranking_Introduction.pptx
Intro_University_Ranking_Introduction.pptxIntro_University_Ranking_Introduction.pptx
Intro_University_Ranking_Introduction.pptx
 
Reviewing and summarization of university ranking system to.pptx
Reviewing and summarization of university ranking system  to.pptxReviewing and summarization of university ranking system  to.pptx
Reviewing and summarization of university ranking system to.pptx
 
GENUINE Babe,Call Girls IN Baderpur Delhi | +91-8377087607
GENUINE Babe,Call Girls IN Baderpur  Delhi | +91-8377087607GENUINE Babe,Call Girls IN Baderpur  Delhi | +91-8377087607
GENUINE Babe,Call Girls IN Baderpur Delhi | +91-8377087607
 
BDSM⚡Call Girls in Sector 99 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 99 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 99 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 99 Noida Escorts >༒8448380779 Escort Service
 
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTECAbortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
 
Imagine - Creating Healthy Workplaces - Anthony Montgomery.pdf
Imagine - Creating Healthy Workplaces - Anthony Montgomery.pdfImagine - Creating Healthy Workplaces - Anthony Montgomery.pdf
Imagine - Creating Healthy Workplaces - Anthony Montgomery.pdf
 
Leadership in Crisis - Helio Vogas, Risk & Leadership Keynote Speaker
Leadership in Crisis - Helio Vogas, Risk & Leadership Keynote SpeakerLeadership in Crisis - Helio Vogas, Risk & Leadership Keynote Speaker
Leadership in Crisis - Helio Vogas, Risk & Leadership Keynote Speaker
 
Call Now Pooja Mehta : 7738631006 Door Step Call Girls Rate 100% Satisfactio...
Call Now Pooja Mehta :  7738631006 Door Step Call Girls Rate 100% Satisfactio...Call Now Pooja Mehta :  7738631006 Door Step Call Girls Rate 100% Satisfactio...
Call Now Pooja Mehta : 7738631006 Door Step Call Girls Rate 100% Satisfactio...
 
Agile Coaching Change Management Framework.pptx
Agile Coaching Change Management Framework.pptxAgile Coaching Change Management Framework.pptx
Agile Coaching Change Management Framework.pptx
 
Call now : 9892124323 Nalasopara Beautiful Call Girls Vasai virar Best Call G...
Call now : 9892124323 Nalasopara Beautiful Call Girls Vasai virar Best Call G...Call now : 9892124323 Nalasopara Beautiful Call Girls Vasai virar Best Call G...
Call now : 9892124323 Nalasopara Beautiful Call Girls Vasai virar Best Call G...
 
Continuous Improvement Infographics for Learning
Continuous Improvement Infographics for LearningContinuous Improvement Infographics for Learning
Continuous Improvement Infographics for Learning
 
Peak Performance & Resilience - Dr Dorian Dugmore
Peak Performance & Resilience - Dr Dorian DugmorePeak Performance & Resilience - Dr Dorian Dugmore
Peak Performance & Resilience - Dr Dorian Dugmore
 
LoveLocalGov - Chris Twigg, Inner Circle
LoveLocalGov - Chris Twigg, Inner CircleLoveLocalGov - Chris Twigg, Inner Circle
LoveLocalGov - Chris Twigg, Inner Circle
 
Day 0- Bootcamp Roadmap for PLC Bootcamp
Day 0- Bootcamp Roadmap for PLC BootcampDay 0- Bootcamp Roadmap for PLC Bootcamp
Day 0- Bootcamp Roadmap for PLC Bootcamp
 

Report Card making BY Mitul Patel

  • 1. A Project Report On REPORT CARD MAKING Computer Science Investigatory Project AISSE2015-2016 Submitted By MITUL M PATEL Class : XII Under the Guidance of Mr. SANJAY PARMAR PGT (Computer Science) Department of Computer Science.
  • 2. Department of Computer Science C E R T I F I C A T E This is to certify that MITUL M PATEL Of Class XII has prepared the report on the Project entitled “Report Card Making”. The report is the result of his efforts & endeavors. The report is found worthy of acceptance as final project report for the subject Computer Science of Class XII. He has prepared the report under my guidance. (Mr. SANJAY PARMAR) PGT (Computer Science) Department of Computer Science.
  • 3. Department of Computer Science ceR TiFicaTe The project report entitled “ReportCardMaking”, Submitted by MITUL PATEL of Class XII for the CBSE Senior Secondary Examination class XII of Computer Science has been examined. SIGNATURE OF EXAMINER
  • 4. D E C L A R A T I O N I hereby declare that the project work entitled “Report Card Making”, submitted to Department of Computer Science, is prepared by me. All the coding are result of my personal efforts. MITUL PATEL Class XII
  • 5. A C K N O W L E D G E M E N T I would like to express a deep sense of thanks & gratitude to my project guide Mr. Sanjay Parmar Sir for guiding me immensely through the course of the project. He always evinced keen interest in my work. His constructive advice & constant motivation have been responsible for the successful completion of this project. My sincere thanks goes to Shri !!!!!!!!!!, Our principal sir, for his co-ordination in extending every possible support for the completion of this project. I also thanks to my parents for their motivation & support. I must thanks to my classmates for their timely help & support for compilation of this project. Last but not the least, I would like to thank all those who had helped directly or indirectly towards the completion of this project. MITUL PATEL Class: XII
  • 6. CONTENTS 1. HEADER FILESUSED. . . . . . . . . . . . . . . . . 2. FILES GENERATED. . . . . . . . . . . . . . . . . . . 3. WORKING DESCRIPTION. . . . . . . . . . . . . 4. CODING. . . . . . . . . .. . . . . . . . . . . . . . . . . 5. OUTPUT SCREENS. . . . . . . . . . . . . . . . . . . 6. CONCLUSION. . . . . . . . . . . . . . . . . . . . . . . . . . 7. BIBLIOGRAPHY. . . . . . . . . . . . . . . . . . . . . . . . .
  • 7. HEADER FILES USED 1. FSTREAM.H – for file handling, cin and cout 2. PROCESS.H – for exit() function 3. CONIO.H – for clrscr() and getch() functions 4. STDIO.H – for standard I/O operations 5. STRING.H – for string handling 6. MATH.H–for doing mathematical operations
  • 8. FILES GENERATED DATA FILES Report.DAT PROGRAM FILE Report Card Making.CPP OBJECT FILE Report.OBJ EXECUTION FILE Report.EXE
  • 9. WORKING DESCRIPTION This program consists of EIGHT options as follows 1. TO MAKE REPORT CARD 2. TO APPEND NAMES 3. SORT NAMES 4. TO SEARCH A NAME 5. TO UPDATE GRADE 6. VIEW REPORT CARD 7. LIST OF FAILURES 8. MAIN MANU
  • 10. HARDWARE AND SOFTWARE SPECIFICATION HardwareRequirement  Pentium (III-IV)Processor  64/128MB ofRAM  20/40GB HDD  3¼ FDD  CDRomDrive  Mouse,Keyboard & Printer  VGA/SVGA Software Requirement  Windows XP/2007  Borland C++ /Turbo C++/ VC4.5 Platform :- (WindowsXP) Operating system Win-xp was chosen as the platform for developing the project. The choice was because of the following features provided by it:-
  • 12. ADVANTAGES OF USING C++ Severaladvantages ofusing C++are:-  DataAbstraction& Encapsulation.  Datamodularity.  Reusability&transitive.  Polymorphism.  Inheritance. OPERATING INSTRUCTION This program has beenstored infile ProgramFile : officemg.cpp DataFile : empdl.dat To compileand run thisprogram:-  Firstgo to thedirectorythatcontain it.(CDprojectOFFICEMG.CPPs )  Open Turbo C++
  • 13.  Now openthefileprogress card and press Ctrl+f9 to compile and run it.  Now thewelcome screenappears. process as peryour choice
  • 14. CODING //Report Card Making #include<fstream.h> #include<stdlib.h> #include<stdio.h> #include<conio.h> #include<graphics.h> #include<dos.h> #include<string.h> #include<iomanip.h> ofstream r; ifstream t; void credits(); void menu1(); void menu2(); void menu3(); void terms(); class xii { public: int roll; char na[20]; int m1,m2,m3,m4,m5; char g[10]; int t; int p; void input() { gotoxy(1,5); cout<<"tENTER ROLL NUMBER OF THE STUDENT :"; cin>>roll; cout<<"tENTER NAME OF THE STUDENT :"; gets(na); cout<<"nntENTER MARKS OF THE 5 SUBJECTS OUT OF 100"; cout<<"n";
  • 15. cout<<"tENTER MARKS IN ENGLISH:"; cin>>m1; cout<<"n"; cout<<"tENTER MARKS IN MATHS:"; cin>>m2; cout<<"n"; cout<<"tENTER MARKS IN PHYSICS:"; cin>>m3; cout<<"n"; cout<<"tENTER MARKS IN CHEMISTRY:"; cin>>m4; cout<<"n"; cout<<"tENTER MARKS IN COMPUTER:"; cin>>m5; cout<<"n"; cleardevice(); t=m1+m2+m3+m4+m5; p=t/5; gotoxy(1,1); } void output() { cout<<"n"; cout<<" "<<roll<<"t"<<" "<<na<<setw(10)<<"t"; cout<<" "<<m1<<","<<m2<<","<<m3<<","<<m4<<","<<m5<<"t"; cout<<" "<<p<<"%"<<"t"<<"t"<<""<<g<<"n"; cout<<"t"; } }s[30]; int i,n; void writes() { clrscr(); cleardevice(); cout<<"n"; cout<<"tENTER THE NUMBER OF RECORDS TO BE CREATED :"; cin>>n; cleardevice(); for(i=0;i<n ;i++)
  • 16. { s[i].input(); if(s[i].p>=95) strcpy(s[i].g,"A1"); if(s[i].p>=90 && s[i].p<=95) strcpy(s[i].g,"A2"); if(s[i].p>=80 && s[i].p<=90) strcpy(s[i].g,"B1"); if(s[i].p>=70 &&s[i].p<=80) strcpy(s[i].g,"B2"); if(s[i].p>=60 &&s[i].p<=70) strcpy(s[i].g,"C1"); if(s[i].p>=50 && s[i].p<=60) strcpy(s[i].g,"C2"); if(s[i].p>=40&&s[i].p<=50) strcpy(s[i].g,"D,1"); if(s[i].p<=40) strcpy(s[i].g,"D2"); r.write((char*)&s[i],sizeof(s[i])); } } void append() { clrscr(); cleardevice(); cout<<"n"; int k; cout<<"ttt*-----------*"<<"n"; cout<<"ttt| APPENDING |"<<"n"; cout<<"ttt*-----------*"<<"n"<<"n"; cout<<"tENTER THE NUMBER OF RECORDS TO BE APPENDED :"; cin>>k; for(i=0;i<k ;i++) { s[i].input(); if(s[i].p>=95) strcpy(s[i].g,"A1"); if(s[i].p>=90&&s[i].p<=95) strcpy(s[i].g,"A2"); if(s[i].p>=80&&s[i].p<=90) strcpy(s[i].g,"B1");
  • 17. if(s[i].p>=70&&s[i].p<=80) strcpy(s[i].g,"B2"); if(s[i].p>=60&&s[i].p<=70) strcpy(s[i].g,"C1"); if(s[i].p>=50&&s[i].p<=60) strcpy(s[i].g,"C2"); if(s[i].p>=40&&s[i].p<=50) strcpy(s[i].g,"D1"); if(s[i].p<=40) strcpy(s[i].g,"D2"); r.write((char*)&s[i],sizeof(s[i])); } getch(); n+=k; } void search() { clrscr(); cleardevice(); char name[20]; int flag=0; cout<<"n"; cout<<"ttt*-----------*"<<"n"; cout<<"ttt| SEARCHING |"<<"n"; cout<<"ttt*-----------*"<<"n"<<"n"; step: cout<<"ntENTER THE NAME TO BE SEARCHED :"; gets(name); cout<<"n"; cout<<"ROLL NAME MARKS PERCENTAGE GRADE"<<"n"; for(i=0;i<n;i++) { t.read((char *) &s[i],sizeof(s[i])); if(strcmp(name,s[i].na)==0) { flag=1; s[i].output(); break; }
  • 18. } if(flag==0) { cleardevice(); cout<<"tSORRYn"; cout<<"tTHENAME DOES NOT EXIST.n"; } getch(); } void update() { clrscr(); cleardevice(); cout<<"ttt*--------------*"<<"n"; cout<<"ttt| UPDATED LIST |"<<"n"; cout<<"ttt*--------------*"<<"n"<<"n"; cout<<"ROLL NAME MARKS PERCENTAGE GRADE"<<"n"; cout<<"-----------------------------------------------------------"<<"n"; for(i=0;i<n;i++) { if(s[i].p<=40.0) s[i].t=s[i].t+(s[i].t/10); s[i].p=s[i].t/5.0; if(s[i].p>=50.0&&s[i].p<=60.0) strcpy(s[i].g,"C2"); if(s[i].p>=40.0&&s[i].p<=50.0) strcpy(s[i].g,"D1"); if(s[i].p<=40.0) strcpy(s[i].g,"Failed"); r.write((char*)&s[i],sizeof(s[i])); s[i].output(); } getch(); } void sort() { clrscr(); cleardevice(); xii tp;
  • 19. cout<<"ttt*-------------*"<<"n"; cout<<"ttt| SORTEDLIST |"<<"n"; cout<<"ttt*-------------*"<<"n"<<"n"; cout<<"ROLL NAME MARKS PERCENTAGE GRADE"<<"n"; cout<<"---------------------------------------------------------"<<"n"; for(i=0;i<n;i++) { t.read((char *) &s[i],sizeof(s[i])); for(i=0;i<n-1;i++) { for(int j=i+1;j<n;j++) { if(strcmp(s[i].na,s[j].na)>0) { tp=s[i]; s[i]=s[j]; s[j]=tp; } } } for(i=0;i<n ;i++) s[i].output(); } getch(); } void failed() { cleardevice(); cout<<"t**----------------------------------------------------------**"<<"n"; cout<<"t|| THE LIST OF STUDENTS WHO FAILED IN MORE THAN ONE SUBJECT ||"<<"n"; cout<<"t**----------------------------------------------------------**nn"; cout<<"ROLL NAME MARKS PERCENTAGE GRADE"<<"n"; cout<<"-------------------------------------------------------"<<"n"; for(i=0;i<n;i++) { int c=0; t.read((char *) &s[i],sizeof(s[i])); if (s[i].m1<=40) c++;
  • 20. if (s[i].m2<=40) c++; if (s[i].m3<=40) c++; if (s[i].m4<=40) c++; if (s[i].m5<=40) c++; if(c>=2) { s[i].output(); } } getch(); } void reads() { clrscr(); cleardevice(); cout<<"n"; cout<<"t**------------------------------------------------**"<<"n"; cout<<"t|| THE REPORT CARD OF STUDENTS OF CLASS XII-B2 ||"<<"n"; cout<<"t**------------------------------------------------**"<<"n"<<"n"; cout<<"ROLL NAME MARKS PERCENTAGE GRADE"<<"n"; cout<<"--------------------------------------------------------"<<"n"; for(i=0;i<n;i++) { t.read((char *) &s[i],sizeof(s[i])); s[i].output(); } getch(); } void terms() { int gdriver = DETECT, gmode, errorcode; initgraph(&gdriver,&gmode,"turboc3bgi"); errorcode= graphresult(); if (errorcode!=grOk) /* an error codeoccurred */ {
  • 21. printf("Graphics error: %sn", grapherrormsg(errorcode)); printf("Press any key to halt:"); getch; exit(1); /* terminate with an error code*/ } char chc; rectangle(1,1,getmaxx(),getmaxy()); settextstyle(GOTHIC_FONT,VERT_DIR,5); settextjustify(LEFT_TEXT,CENTER_TEXT); //Was actually- settextjustify(LEFT_TEXT,CENTER_TEXT,5); outtextxy(50,240,"REPORT CARD"); settextstyle(SANS_SERIF_FONT,HORIZ_DIR,5); outtextxy(240,50,"SELECT A TERM"); outtextxy(240,90,"OF YOUR CHOICE."); outtextxy(240,105," ......................................"); settextstyle(SANS_SERIF_FONT,HORIZ_DIR,4); setbkcolor(BLACK); outtextxy(300,170,"1.Ist TERM"); outtextxy(300,220,"2.IInd TERM"); outtextxy(300,270,"3.IIIrd TERM"); outtextxy(300,320,"4.EXIT"); settextstyle(SANS_SERIF_FONT,HORIZ_DIR,3); outtextxy(400,400,"ENTER CHOICE"); chc=getch(); switch(chc) { case '1':cleardevice(); menu1(); break; case '2':cleardevice(); menu2(); break; case '3':cleardevice(); menu3(); break; case '4':cleardevice(); credits(); exit(0); default :clrscr(); cleardevice();
  • 22. settextstyle(TRIPLEX_FONT,HORIZ_DIR,5); outtextxy(220,210,"WRONG CHOICE !"); outtextxy(170,270,"PLEASE TRY AGAIN."); sleep(2); cleardevice(); terms(); } closegraph(); } void credits() { cleardevice(); setbkcolor(4); gotoxy(33,6); cout<<"-:Created By:-"; for(int i=70;i>28;i--) { gotoxy(i,8); cout<<"Mitul Patel"<<endl; delay(70); } for(i=70;i>28;i--) { gotoxy(i,10); cout<<"mtlptl5@gmail.com"<<endl; delay(70); } gotoxy(28,25); cout<<"Pressany key to exit..."; getch(); exit(0); } /***********************************menu1********************** **************/
  • 23. void menu1() { cleardevice(); char ch; back: settextstyle(GOTHIC_FONT,VERT_DIR,5); settextjustify(LEFT_TEXT,CENTER_TEXT); outtextxy(50,240,"REPORT CARD"); settextstyle(SANS_SERIF_FONT,VERT_DIR,4); setbkcolor(BLACK); settextjustify(LEFT_TEXT,CENTER_TEXT); outtextxy(110,240,"Ist TERM"); settextstyle(SANS_SERIF_FONT,HORIZ_DIR,4); outtextxy(290,50,"1.MAKE REPORT CARD"); outtextxy(290,90,"2.APPEND NAMES"); outtextxy(290,130,"3.SORT NAMES"); outtextxy(290,170,"4.SEARCH A NAME"); outtextxy(290,210,"5.UPDATE GRADE"); outtextxy(290,250,"6.VIEW REPORT CARD"); outtextxy(290,290,"7.LIST OF FAILURES"); outtextxy(290,330,"8.MAIN MENU"); settextstyle(SANS_SERIF_FONT,HORIZ_DIR,3); outtextxy(400,420,"ENTER CHOICE"); ch=getch(); switch(ch) { case '1': r.open("report_1"); writes(); r.close(); cleardevice(); goto back; case '2': r.open("report_1",ios::app|ios::out); append(); r.close(); cleardevice(); goto back;
  • 24. case '3': t.open("report_1"); sort(); t.close(); cleardevice(); goto back; case '4': t.open("report_1"); search(); t.close(); cleardevice(); goto back; case '5': r.open("report_1",ios::end); update(); r.close(); cleardevice(); goto back; case '6': t.open("report_1"); reads(); t.close(); cleardevice(); goto back; case '7': t.open("report_1"); failed(); t.close(); cleardevice(); goto back; case '8': closegraph(); terms();
  • 25. default :clrscr(); cleardevice(); settextstyle(TRIPLEX_FONT,HORIZ_DIR,5); outtextxy(220,240,"WRONG CHOICE !"); outtextxy(190,280,"PLEASE TRY AGAIN."); sleep(2); cleardevice(); goto back; } } /***************************************menu2****************** **************************/ void menu2() { cleardevice(); char ch; back: settextstyle(GOTHIC_FONT,VERT_DIR,5); settextjustify(LEFT_TEXT,CENTER_TEXT); outtextxy(50,240,"REPORT CARD"); settextstyle(SANS_SERIF_FONT,VERT_DIR,4); setbkcolor(BLACK); settextjustify(LEFT_TEXT,CENTER_TEXT); outtextxy(110,240,"IInd TERM"); settextstyle(SANS_SERIF_FONT,HORIZ_DIR,4); outtextxy(290,50,"1.MAKE REPORT CARD"); outtextxy(290,90,"2.APPEND NAMES"); outtextxy(290,130,"3.SORT NAMES"); outtextxy(290,170,"4.SEARCH A NAME"); outtextxy(290,210,"5.UPDATE GRADE"); outtextxy(290,250,"6.VIEW REPORT CARD"); outtextxy(290,290,"7.LIST OF FAILURES"); outtextxy(290,330,"8.MAIN MENU"); settextstyle(SANS_SERIF_FONT,HORIZ_DIR,3); outtextxy(400,420,"ENTER CHOICE"); ch=getch();
  • 26. switch(ch) { case '1': r.open("report_2"); writes(); r.close(); cleardevice(); goto back; case '2': r.open("report_2",ios::app|ios::out); append(); r.close(); cleardevice(); goto back; case '3': t.open("report_2"); sort(); t.close(); cleardevice(); goto back; case '4': t.open("report_2"); search(); t.close(); cleardevice(); goto back; case '5': r.open("report_2",ios::end); update(); r.close(); cleardevice(); goto back;
  • 27. case '6': t.open("report_2"); reads(); t.close(); cleardevice(); goto back; case '7': t.open("report_2"); failed(); t.close(); cleardevice(); goto back; case '8': closegraph(); terms(); default :clrscr(); cleardevice(); settextstyle(TRIPLEX_FONT,HORIZ_DIR,5); outtextxy(220,240,"WRONG CHOICE !"); outtextxy(190,280,"PLEASE TRY AGAIN."); sleep(2); cleardevice(); goto back; } } /*********************************menu3************************ **************/ void menu3() { cleardevice(); char ch; back: settextstyle(GOTHIC_FONT,VERT_DIR,5); settextjustify(LEFT_TEXT,CENTER_TEXT);
  • 28. outtextxy(50,240,"REPORT CARD"); settextstyle(SANS_SERIF_FONT,VERT_DIR,4); setbkcolor(BLACK); settextjustify(LEFT_TEXT,CENTER_TEXT); outtextxy(110,240,"IIIrd TERM"); settextstyle(SANS_SERIF_FONT,0,4); outtextxy(290,50,"1.MAKE REPORT CARD"); outtextxy(290,90,"2.APPEND NAMES"); outtextxy(290,130,"3.SORT NAMES"); outtextxy(290,170,"4.SEARCH A NAME"); outtextxy(290,210,"5.UPDATE GRADE"); outtextxy(290,250,"6.VIEW REPORT CARD"); outtextxy(290,290,"7.LIST OF FAILURES"); outtextxy(290,330,"8.MAIN MENU"); settextstyle(SANS_SERIF_FONT,0,3); outtextxy(400,420,"ENTER CHOICE"); ch=getch(); switch(ch) { case '1': r.open("report_3"); writes(); r.close(); cleardevice(); goto back; case '2': r.open("report_3",ios::app|ios::out); append(); r.close(); cleardevice(); goto back; case '3': t.open("report_3"); sort(); t.close(); cleardevice(); goto back;
  • 29. case '4': t.open("report_3"); search(); t.close(); cleardevice(); goto back; case '5': r.open("report_3",ios::end); update(); r.close(); cleardevice(); goto back; case '6': t.open("report_3"); reads(); t.close(); cleardevice(); goto back; case '7': t.open("report_3"); failed(); t.close(); cleardevice(); goto back; case '8': closegraph(); terms(); default :clrscr(); cleardevice(); settextstyle(TRIPLEX_FONT,HORIZ_DIR,5); outtextxy(220,240,"WRONG CHOICE !"); outtextxy(190,280,"PLEASE TRY AGAIN."); sleep(2); cleardevice();
  • 30. goto back; } } /**********************************main************************* *************/ void main() { int gdriver = DETECT, gmode, errorcode; initgraph(&gdriver,&gmode,"turboc3bgi"); errorcode= graphresult(); if (errorcode != grOk) /*an error occurred*/ { printf("Graphics error: %sn", grapherrormsg(errorcode)); printf("Press any key to halt:"); getch; exit(1); /* terminate with an error code*/ } settextstyle(SANS_SERIF_FONT,HORIZ_DIR,5); rectangle(1,1,getmaxx(),getmaxy()); setbkcolor(9); outtextxy(300,100,"A"); delay(2000); outtextxy(200,170,"PROJECT ON"); delay(2000); outtextxy(95,240,"REPORT CARD MAKING"); delay(2000); for(int i=0;i<=360;i++) { ellipse(320,240,0,i,300,200); delay(12); } closegraph(); terms(); }
  • 32. 3. SELECT ED Ist TERM 4. TO MAKE REPORT CARD
  • 33. 5. TO APPEND NAMES 6. TO SORT NAMES 7. TO SEARCH A NAME
  • 34. 8. VIEW REPORT CARD 9. LIST OF FAILURES
  • 36.