SlideShare uma empresa Scribd logo
1 de 28
Baixar para ler offline
Computer
Science
Project
2014-2015
Ashwin Francis
1. Bona fide Certificate
2. Declaration
3. Acknowledgement
4. Introduction to c++
5. Introduction to Project
6. Codings
7. Outputs
8. Bibliography
This is to certify that the project entitled “STUDENT
MANAGEMENT” is a record of bonafide work
carried out by “Ashwin Francis 12th
A,Nikunj 12th
A,Shubham Negi 12th
A”.In partial fulfilment of the
requirements in COMPUTER SCIENCE prescribed by
CBSE for CBSE BOARD 2014-2015 in the school
Kendriya Vidyalaya Gole Market,New Delhi 110001.
DATE PRINCIPAL
INTERNAL EXTERNAL
EXAMINER EXAMINER
We hereby declare that the project work entitled
“STUDENT MANAGEMENT“. Submitted to
KENDRIYA VIDYALAYA GOLE MARKET, NEW DELHI for
the Subject of “COMPUTER SCIENCE“. Under the
guidance of Mrs.Neera Singhal, PGT(Comp. Sc.), Is a
record of original work done by us.We further Declare
that this project record or any part of this has not been
Submitted elsewhere for any other class.
DATE MEMBERS
PLACE
We wish to express our sincere thanks to
Mr.DHEER SINGH Principal,Kendriya Vidyalaya
Gole Market, New Delhi for guiding us to cause
the successful outcome of this project work.
We wish to express our deep & profound sense of
gratitude to our guide/teacher Mrs.Neera Singhal,
PGT(Comp. Sc.), For her expert help &valuable
guidance, comments and suggestions.
We also place on record, our sincere Gratitude to
one and all who ,Directly or Indirectly ,Have Lent
their helping hand in this venture.
:- It is designed with a bias toward system programming (e.g., for use
in embedded systems or operating system kernels), with performance,
efficiency and flexibility of use as its design requirements. C++ has also been
found useful in many other contexts, including desktop applications, servers
(e.g. e-commerce, web search or SQL servers), performance-critical
applications (e.g. telephone switches or space probes), and entertainment
software.[3]
C++ is a compiled language, with implementations of it available on
many platforms and provided by various organizations, including
the FSF, LLVM, Microsoft and Intel.
:- C++ is standardized by the International Organization for
Standardization (ISO), with the latest (and current) standard version ratified
and published by ISO in September 2011 as ISO/IEC 14882:2011 (informally
known as C++11).[4]
The C++ programming language was initially standardised
in 1998 as ISO/IEC 14882:1998, which was then amended by the
C++03, ISO/IEC 14882:2003, standard. The current C++11 standard supersedes
these, with new features and an enlarged standard library. Before the initial
standardization in 1998, C++ was developed by Bjarne Stroustrup at Bell Labs,
starting in 1979, who wanted an efficient flexible language (like the C
language), which also provided high-level features for program organization.
Function:- A function is a group of statements that together perform a task.
Every C++ program has at least one function, which is main(), and all the most
trivial programs can define additional functions.
A function declaration tells the compiler about a function's name, return type,
and parameters. A functiondefinition provides the actual body of the function.
The C++ standard library provides numerous built-in functions that your
program can call. For example, function strcat() to concatenate two strings,
function memcpy() to copy one memory location to another location and
many more functions.
Class:- A class is a user defined type or data structure declared with
keyword class that has data and functions (also called methods) as its
members whose access is governed by the three access
specifiers private, protected or public (by default access to members of a class
is private). A class (declared with keyword class) in C++ differs from a structure
(declared with keyword struct) as by default, members are private in a class
while they are public in a structure. The private members are not accessible
outside the class; they can be accessed only through methods of the class.
Data FILE HANDLING:- The fstream library predefines a set of
operations for handling file related input and output. It defines
certain classes that help one perform file input and output. For ex,
ifstream class ties a file to the program for input ; ofstream class ties
a file to the program for output ; and fstream class ties a file to the
program for both input and output.
Every School needs to maintain Data bases of the students .The data
base on the students is required for general purpose like collection
fees Using this Software, under the Office module, the database on
the students can be created,modified. The same can be used to
verify whether any student is due for payment of term fees etc.
It is designed to introduce a conducive and structured information
exchange environment for integrating students. It enable
educational institutions to supervise student-related activities.
They are designed with diverse application potentials ranging from
simple management of students’ records at school to management
of all student-related functions as well as administrative functions of
a university or a chain of educational establishments.This software is
useful to maintain updated and error free status of all thestudents.
The Motive of this software is to dilute the work of office staffs, and
toreduce the use of paper.
#include<iostream.h>
#include<fstream.h>
#include<conio.h>
#include<stdlib.h>
#include<stdio.h>
#include<string.h>
#include<ctype.h>
class stud
{
char name[50],ad[100];
long sid,ph;
int std,fees;
public:
void enter()
{ char ch;
cin.get(ch);
cout<<"ENTER STUDENT ID:n";
cin>>sid;
cout<<"ENTER STUDENT NAME:n";
gets(name);
cout<<"ENTER STUDENT CLASS:n";
cin>>std;
cout<<"ENTER STUDENT ADDRESS:n";
gets(ad);
cout<<"ENTER STUDENT PHONE NO.:n";
cin>>ph;
cout<<"ENTER STUDENT FEES:n";
cin>>fees;
}
void display()
{
cout<<"n"<<sid<<"t";
cout<<name<<"t";
cout<<"t"<<std<<"t";
cout<<ad;
cout<<"t"<<ph<<"t";
cout<<"t"<<fees;
}
long rsid()
{
return sid;
}
int password(char ch[4])
{
int n=0;
if(strcmp(ch,"kvgm")==0)
n=7;
return n;
}
char retname()
{
return name[50];
}
char retadd()
{
return ad[100];
}
};
int main()
{
int i,m,c,w;
char key[10],flag,flag1;
stud s1[100],s2;
fstream f,f1;
clrscr();
cout<<"tttSTUDENT MANAGEMENT PROGRAMnnnttt
CREATED BY nntttASHWIN FRANCISntttSHUBHAM
NEGIntttNIKUNJn";
cout<<"nENTER PASSWORD PLEASE:n";
gets(key);
m=s2.password(key);
if(m==0)
{
cout<<"nINVALID KEY PROGRAM TERMINATED";
getch();
return 1;
}
else
{
label:
clrscr();
cout<<"tttSTUDENT MANAGEMENT PROGRAMn";
cout<<"nSELECTION MENUn1.CREATE NEW DATABASEn2.DISPLAY
DATABASEn3.ADD TO DATABASEn4.DELETE FROM
DATABASEn5.SEARCHn6.EXITn";
cin>>c;
switch(c)
{
case 1:clrscr();
f.open("data.txt",ios::out);
cout<<"n-FILE HAS BEEN CREATED YOU CAN START
ENTERING DATA NOW-n";
char ch;
ch='y';
i=0;
while(ch=='y')
{
s1[i].enter();
f.write((char*)&s1[i],sizeof(s1[i]));
i++;
cout<<"nWANT TO ADD MORE DATA?nENTER(y/n):n";
cin>>ch;
}
f.close();
goto label;
case 2:clrscr();
f.open("data.txt",ios::in);
cout<<"n-FILE HAS OPENED YOU CAN VIEW DATA NOW
n";
f.seekg(0);
i=0;
cout<<"nIDtNAMEttCLASStADDRESSttPHONEttFEES";
while(!f.eof())
{
f.read((char*)&s1[i],sizeof(s1[i]));
s1[i].display();
i++;
}
f.close();
cout<<"nPRESS ENTER TO CONTINUE";
getch();
goto label;
case 3:clrscr();
f.open("data.txt",ios::app);
cout<<"n-FILE HAS BEEN OPENED YOU CAN START
ENTERING DATA NOW-n";
ch='y';
i=0;
while(ch=='y')
{
s1[i].enter();
f.write((char*)&s1[i],sizeof(s1[i]));
i++;
cout<<"nRECORD ADDED TO FILE.nnWANT TO ADD
MORE DATA?ENTER(y/n):n";
cin>>ch;
}
f.close();
goto label;
case 4:clrscr();
int q;
char confirm='n';
flag='n';
f.open("data.txt",ios::in);
f1.open("temp.txt",ios::out);
cout<<"nENTER STUDENT ID WHOSE RECORD IS TO BE
DELETED";
cin>>q;
f.seekg(0);
i=0;
while(!f.eof())
{
f.read((char*)&s1[i],sizeof(s1[i]));
if(s1[i].rsid()==q)
{
s1[i].display();
flag='y';
cout<<"nWANT TO DELETE YHIS?(y/n)n";
cin>>confirm;
if(confirm=='n')
f1.write((char*)&s1[i],sizeof(s1[i]));
}
else
f1.write((char*)&s1[i],sizeof(s1[i]));
i++;
}
if(flag=='n')
{
cout<<"nRECORD NOT FOUNDn";
}
f.close();
f1.close();
remove("data.txt");
rename("temp.txt","data.txt");
cout<<"nRECORD HAS BEEN DELETEDn";
cout<<"nPRESS ENTER TO CONTINUE";
getch();
goto label;
case 5:clrscr();
f.open("data.txt",ios::in);
f.seekg(0);
flag1='n';
cout<<"nENTER STUDENT ID TO SEARCH:n";
cin>>w;
i=0;
while(!f.eof())
{
f.read((char*)&s1[i],sizeof(s1[i]));
if(s1[i].rsid()==w)
{
s2.display();
flag1='y';
break;
}
i++;
}
if(flag1=='n')
{
cout<<"nDATA NOT FOUNDn";
}
f.close();
cout<<"nPRESS ENTER TO CONTINUE";
getch();
goto label;
case 6:cout<<"YOU HAVE SELECTED TO TERMINATE THE
PROGRAMnPROGRAM TERMAINATING............";
getch();
clrscr();
cout<<"nntttTHANK YOU FOR USING THIS SOFTWAREnt THIS
SOFTWARE IS CREATED BY THE STUDENTS OF K. V. GOLE
MARKET.nttttPLEASE DONT COPY ";
getch();
return 1;
default:cout<<"WRONG CHOICE!!!";
getch();
cout<<"PRESS ENTER TO CONTINUE";
goto label;
}
}
}
12th CBSE Computer Science Project
HELP FROM INTERNET
INFORMATION FROM BOOKS
HELP FROM TEACHERS
12th CBSE Computer Science Project
12th CBSE Computer Science Project
12th CBSE Computer Science Project
12th CBSE Computer Science Project
12th CBSE Computer Science Project
12th CBSE Computer Science Project

Mais conteúdo relacionado

Mais procurados

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
 
Computer Science Investigatory Project Class XII CBSE(Latest Syllabus)(Python...
Computer Science Investigatory Project Class XII CBSE(Latest Syllabus)(Python...Computer Science Investigatory Project Class XII CBSE(Latest Syllabus)(Python...
Computer Science Investigatory Project Class XII CBSE(Latest Syllabus)(Python...ArkaSarkar23
 
Library Management Project (computer science) class 12
Library Management Project (computer science) class 12Library Management Project (computer science) class 12
Library Management Project (computer science) class 12RithuJ
 
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18HIMANSHU .
 
class 12th computer science project Employee Management System In Python
 class 12th computer science project Employee Management System In Python class 12th computer science project Employee Management System In Python
class 12th computer science project Employee Management System In PythonAbhishekKumarMorla
 
Computer science project on Online Banking System class 12
Computer science project on Online Banking System class 12Computer science project on Online Banking System class 12
Computer science project on Online Banking System class 12OmRanjan2
 
COMPUTER SCIENCE CLASS 12 PRACTICAL FILE
COMPUTER SCIENCE CLASS 12 PRACTICAL FILECOMPUTER SCIENCE CLASS 12 PRACTICAL FILE
COMPUTER SCIENCE CLASS 12 PRACTICAL FILEAnushka Rai
 
Computer science project.pdf
Computer science project.pdfComputer science project.pdf
Computer science project.pdfHarshitSachdeva17
 
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 Investigatory Project
Computer Science Investigatory ProjectComputer Science Investigatory Project
Computer Science Investigatory ProjectPrakhar Seth
 
Class 12 CBSE Computer Science Investigatory Project
Class 12 CBSE Computer Science Investigatory ProjectClass 12 CBSE Computer Science Investigatory Project
Class 12 CBSE Computer Science Investigatory ProjectNandanRamesh2
 
BOOK SHOP SYSTEM Project in Python
BOOK SHOP SYSTEM Project in PythonBOOK SHOP SYSTEM Project in Python
BOOK SHOP SYSTEM Project in Pythonvikram mahendra
 
Report Card making BY Mitul Patel
Report Card making BY Mitul PatelReport Card making BY Mitul Patel
Report Card making BY Mitul PatelMitul Patel
 
12th CBSE Computer Science Project
12th CBSE Computer Science Project  12th CBSE Computer Science Project
12th CBSE Computer Science Project Ashwin Francis
 
IP Project for Class 12th CBSE
IP Project for Class 12th CBSEIP Project for Class 12th CBSE
IP Project for Class 12th CBSESylvester Correya
 
Library Management Python, MySQL
Library Management Python, MySQLLibrary Management Python, MySQL
Library Management Python, MySQLDarshit Vaghasiya
 
computer science project for class 12 on telephone billing
computer science project for class 12 on telephone billingcomputer science project for class 12 on telephone billing
computer science project for class 12 on telephone billinganshi acharya
 
Computer Science investigatory project class 12
Computer Science investigatory project class 12Computer Science investigatory project class 12
Computer Science investigatory project class 12Raunak Yadav
 
Study of quantity of caesin present in different samples of milk
Study of quantity of caesin present in different samples of milkStudy of quantity of caesin present in different samples of milk
Study of quantity of caesin present in different samples of milkNeelanjyan Dutta
 
IP Final project 12th
IP Final project 12thIP Final project 12th
IP Final project 12thSantySS
 

Mais procurados (20)

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
 
Computer Science Investigatory Project Class XII CBSE(Latest Syllabus)(Python...
Computer Science Investigatory Project Class XII CBSE(Latest Syllabus)(Python...Computer Science Investigatory Project Class XII CBSE(Latest Syllabus)(Python...
Computer Science Investigatory Project Class XII CBSE(Latest Syllabus)(Python...
 
Library Management Project (computer science) class 12
Library Management Project (computer science) class 12Library Management Project (computer science) class 12
Library Management Project (computer science) class 12
 
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
COMPUTER SCIENCE INVESTIGATORY PROJECT 2017-18
 
class 12th computer science project Employee Management System In Python
 class 12th computer science project Employee Management System In Python class 12th computer science project Employee Management System In Python
class 12th computer science project Employee Management System In Python
 
Computer science project on Online Banking System class 12
Computer science project on Online Banking System class 12Computer science project on Online Banking System class 12
Computer science project on Online Banking System class 12
 
COMPUTER SCIENCE CLASS 12 PRACTICAL FILE
COMPUTER SCIENCE CLASS 12 PRACTICAL FILECOMPUTER SCIENCE CLASS 12 PRACTICAL FILE
COMPUTER SCIENCE CLASS 12 PRACTICAL FILE
 
Computer science project.pdf
Computer science project.pdfComputer science project.pdf
Computer science project.pdf
 
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 Investigatory Project
Computer Science Investigatory ProjectComputer Science Investigatory Project
Computer Science Investigatory Project
 
Class 12 CBSE Computer Science Investigatory Project
Class 12 CBSE Computer Science Investigatory ProjectClass 12 CBSE Computer Science Investigatory Project
Class 12 CBSE Computer Science Investigatory Project
 
BOOK SHOP SYSTEM Project in Python
BOOK SHOP SYSTEM Project in PythonBOOK SHOP SYSTEM Project in Python
BOOK SHOP SYSTEM Project in Python
 
Report Card making BY Mitul Patel
Report Card making BY Mitul PatelReport Card making BY Mitul Patel
Report Card making BY Mitul Patel
 
12th CBSE Computer Science Project
12th CBSE Computer Science Project  12th CBSE Computer Science Project
12th CBSE Computer Science Project
 
IP Project for Class 12th CBSE
IP Project for Class 12th CBSEIP Project for Class 12th CBSE
IP Project for Class 12th CBSE
 
Library Management Python, MySQL
Library Management Python, MySQLLibrary Management Python, MySQL
Library Management Python, MySQL
 
computer science project for class 12 on telephone billing
computer science project for class 12 on telephone billingcomputer science project for class 12 on telephone billing
computer science project for class 12 on telephone billing
 
Computer Science investigatory project class 12
Computer Science investigatory project class 12Computer Science investigatory project class 12
Computer Science investigatory project class 12
 
Study of quantity of caesin present in different samples of milk
Study of quantity of caesin present in different samples of milkStudy of quantity of caesin present in different samples of milk
Study of quantity of caesin present in different samples of milk
 
IP Final project 12th
IP Final project 12thIP Final project 12th
IP Final project 12th
 

Destaque

Student Management System Project Abstract
Student Management System Project AbstractStudent Management System Project Abstract
Student Management System Project AbstractUdhayyagethan Mano
 
Employee Management System Project Propsal
Employee Management System Project Propsal Employee Management System Project Propsal
Employee Management System Project Propsal Syed Junaid
 
Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )
Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )
Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )Vidhi Kishor
 
srs for railway reservation system
 srs for railway reservation system srs for railway reservation system
srs for railway reservation systemkhushi kalaria
 
C++ coding for Banking System program
C++ coding for Banking System programC++ coding for Banking System program
C++ coding for Banking System programHarsh Solanki
 
Presentation on Railway Reservation System
Presentation on Railway Reservation SystemPresentation on Railway Reservation System
Presentation on Railway Reservation SystemPriyanka Sharma
 
C++ project on police station software
C++ project on police station softwareC++ project on police station software
C++ project on police station softwaredharmenderlodhi021
 
c++ project on restaurant billing
c++ project on restaurant billing c++ project on restaurant billing
c++ project on restaurant billing Swakriti Rathore
 
Hotel Management system in C++
Hotel Management system in C++ Hotel Management system in C++
Hotel Management system in C++ Prince Kumar
 
12th CBSE Practical File
12th CBSE Practical File12th CBSE Practical File
12th CBSE Practical FileAshwin Francis
 

Destaque (14)

Student Management System Project Abstract
Student Management System Project AbstractStudent Management System Project Abstract
Student Management System Project Abstract
 
Employee Management System Project Propsal
Employee Management System Project Propsal Employee Management System Project Propsal
Employee Management System Project Propsal
 
Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )
Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )
Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )
 
srs for railway reservation system
 srs for railway reservation system srs for railway reservation system
srs for railway reservation system
 
C++ coding for Banking System program
C++ coding for Banking System programC++ coding for Banking System program
C++ coding for Banking System program
 
Presentation on Railway Reservation System
Presentation on Railway Reservation SystemPresentation on Railway Reservation System
Presentation on Railway Reservation System
 
C++ project on police station software
C++ project on police station softwareC++ project on police station software
C++ project on police station software
 
School Management (c++)
School Management (c++) School Management (c++)
School Management (c++)
 
c++ project on restaurant billing
c++ project on restaurant billing c++ project on restaurant billing
c++ project on restaurant billing
 
practical file for class 12
practical file for class 12practical file for class 12
practical file for class 12
 
Project report
Project reportProject report
Project report
 
Hotel Management system in C++
Hotel Management system in C++ Hotel Management system in C++
Hotel Management system in C++
 
12th CBSE Practical File
12th CBSE Practical File12th CBSE Practical File
12th CBSE Practical File
 
Transformer(Class 12 Investigatory Project)
Transformer(Class 12 Investigatory Project)Transformer(Class 12 Investigatory Project)
Transformer(Class 12 Investigatory Project)
 

Semelhante a 12th CBSE Computer Science Project

Documentation project of college management [1]
Documentation project of college management [1]Documentation project of college management [1]
Documentation project of college management [1]Priyaranjan Verma
 
Smart document sharing application presentation(stufac connect)
Smart document sharing application presentation(stufac connect)Smart document sharing application presentation(stufac connect)
Smart document sharing application presentation(stufac connect)priyanka747
 
Summer Training Project.pptx
Summer Training Project.pptxSummer Training Project.pptx
Summer Training Project.pptxAmanadvani3
 
Oop concept in c++ by MUhammed Thanveer Melayi
Oop concept in c++ by MUhammed Thanveer MelayiOop concept in c++ by MUhammed Thanveer Melayi
Oop concept in c++ by MUhammed Thanveer MelayiMuhammed Thanveer M
 
Student database management system
Student database management systemStudent database management system
Student database management systemSnehal Raut
 
student-data-management-1-2.doc
student-data-management-1-2.docstudent-data-management-1-2.doc
student-data-management-1-2.docJagaBehera1
 
C++ student management system
C++ student management systemC++ student management system
C++ student management systemABHIJITPATRA23
 
Programming in c
Programming in cProgramming in c
Programming in cedudivya
 
Project for Student Result System
Project for Student Result SystemProject for Student Result System
Project for Student Result SystemKuMaR AnAnD
 
IRJET- Online Programming Assessment and Evaluation Platform in Education System
IRJET- Online Programming Assessment and Evaluation Platform in Education SystemIRJET- Online Programming Assessment and Evaluation Platform in Education System
IRJET- Online Programming Assessment and Evaluation Platform in Education SystemIRJET Journal
 
Medical store management system
Medical store management systemMedical store management system
Medical store management systemUpendra Sengar
 
Synopsis of online Attendance System
Synopsis of online Attendance SystemSynopsis of online Attendance System
Synopsis of online Attendance SystemShyam Sundar Pandey
 
COLLEGE PHONE BOOK Final documentation
COLLEGE PHONE BOOK Final documentationCOLLEGE PHONE BOOK Final documentation
COLLEGE PHONE BOOK Final documentationBhadra Gowdra
 
Adhyyan presentation.pptx
Adhyyan presentation.pptxAdhyyan presentation.pptx
Adhyyan presentation.pptxRashmiM58
 

Semelhante a 12th CBSE Computer Science Project (20)

Documentation project of college management [1]
Documentation project of college management [1]Documentation project of college management [1]
Documentation project of college management [1]
 
Bright
BrightBright
Bright
 
Smart document sharing application presentation(stufac connect)
Smart document sharing application presentation(stufac connect)Smart document sharing application presentation(stufac connect)
Smart document sharing application presentation(stufac connect)
 
Summer Training Project.pptx
Summer Training Project.pptxSummer Training Project.pptx
Summer Training Project.pptx
 
SurajResume
SurajResumeSurajResume
SurajResume
 
Oop concept in c++ by MUhammed Thanveer Melayi
Oop concept in c++ by MUhammed Thanveer MelayiOop concept in c++ by MUhammed Thanveer Melayi
Oop concept in c++ by MUhammed Thanveer Melayi
 
Student database management system
Student database management systemStudent database management system
Student database management system
 
Student record
Student recordStudent record
Student record
 
student-data-management-1-2.doc
student-data-management-1-2.docstudent-data-management-1-2.doc
student-data-management-1-2.doc
 
Bright copy
Bright   copyBright   copy
Bright copy
 
C++ student management system
C++ student management systemC++ student management system
C++ student management system
 
Programming in c
Programming in cProgramming in c
Programming in c
 
Project for Student Result System
Project for Student Result SystemProject for Student Result System
Project for Student Result System
 
Resume
ResumeResume
Resume
 
IRJET- Online Programming Assessment and Evaluation Platform in Education System
IRJET- Online Programming Assessment and Evaluation Platform in Education SystemIRJET- Online Programming Assessment and Evaluation Platform in Education System
IRJET- Online Programming Assessment and Evaluation Platform in Education System
 
Medical store management system
Medical store management systemMedical store management system
Medical store management system
 
Synopsis of online Attendance System
Synopsis of online Attendance SystemSynopsis of online Attendance System
Synopsis of online Attendance System
 
PORT FOLIO
PORT FOLIOPORT FOLIO
PORT FOLIO
 
COLLEGE PHONE BOOK Final documentation
COLLEGE PHONE BOOK Final documentationCOLLEGE PHONE BOOK Final documentation
COLLEGE PHONE BOOK Final documentation
 
Adhyyan presentation.pptx
Adhyyan presentation.pptxAdhyyan presentation.pptx
Adhyyan presentation.pptx
 

Último

Patterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptxPatterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptxMYDA ANGELICA SUAN
 
How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17Celine George
 
UKCGE Parental Leave Discussion March 2024
UKCGE Parental Leave Discussion March 2024UKCGE Parental Leave Discussion March 2024
UKCGE Parental Leave Discussion March 2024UKCGE
 
How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17Celine George
 
Easter in the USA presentation by Chloe.
Easter in the USA presentation by Chloe.Easter in the USA presentation by Chloe.
Easter in the USA presentation by Chloe.EnglishCEIPdeSigeiro
 
How to Manage Cross-Selling in Odoo 17 Sales
How to Manage Cross-Selling in Odoo 17 SalesHow to Manage Cross-Selling in Odoo 17 Sales
How to Manage Cross-Selling in Odoo 17 SalesCeline George
 
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdfP4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdfYu Kanazawa / Osaka University
 
Benefits & Challenges of Inclusive Education
Benefits & Challenges of Inclusive EducationBenefits & Challenges of Inclusive Education
Benefits & Challenges of Inclusive EducationMJDuyan
 
Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.raviapr7
 
How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17Celine George
 
5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...CaraSkikne1
 
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptxPISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptxEduSkills OECD
 
How to Solve Singleton Error in the Odoo 17
How to Solve Singleton Error in the  Odoo 17How to Solve Singleton Error in the  Odoo 17
How to Solve Singleton Error in the Odoo 17Celine George
 
Presentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a ParagraphPresentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a ParagraphNetziValdelomar1
 
3.21.24 The Origins of Black Power.pptx
3.21.24  The Origins of Black Power.pptx3.21.24  The Origins of Black Power.pptx
3.21.24 The Origins of Black Power.pptxmary850239
 
Ultra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxUltra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxDr. Asif Anas
 
The Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George WellsThe Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George WellsEugene Lysak
 
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptxSandy Millin
 

Último (20)

Patterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptxPatterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptx
 
Prelims of Kant get Marx 2.0: a general politics quiz
Prelims of Kant get Marx 2.0: a general politics quizPrelims of Kant get Marx 2.0: a general politics quiz
Prelims of Kant get Marx 2.0: a general politics quiz
 
How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17
 
UKCGE Parental Leave Discussion March 2024
UKCGE Parental Leave Discussion March 2024UKCGE Parental Leave Discussion March 2024
UKCGE Parental Leave Discussion March 2024
 
How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17
 
Finals of Kant get Marx 2.0 : a general politics quiz
Finals of Kant get Marx 2.0 : a general politics quizFinals of Kant get Marx 2.0 : a general politics quiz
Finals of Kant get Marx 2.0 : a general politics quiz
 
Easter in the USA presentation by Chloe.
Easter in the USA presentation by Chloe.Easter in the USA presentation by Chloe.
Easter in the USA presentation by Chloe.
 
How to Manage Cross-Selling in Odoo 17 Sales
How to Manage Cross-Selling in Odoo 17 SalesHow to Manage Cross-Selling in Odoo 17 Sales
How to Manage Cross-Selling in Odoo 17 Sales
 
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdfP4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
 
Benefits & Challenges of Inclusive Education
Benefits & Challenges of Inclusive EducationBenefits & Challenges of Inclusive Education
Benefits & Challenges of Inclusive Education
 
Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.
 
How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17
 
5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...
 
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptxPISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
 
How to Solve Singleton Error in the Odoo 17
How to Solve Singleton Error in the  Odoo 17How to Solve Singleton Error in the  Odoo 17
How to Solve Singleton Error in the Odoo 17
 
Presentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a ParagraphPresentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a Paragraph
 
3.21.24 The Origins of Black Power.pptx
3.21.24  The Origins of Black Power.pptx3.21.24  The Origins of Black Power.pptx
3.21.24 The Origins of Black Power.pptx
 
Ultra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxUltra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptx
 
The Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George WellsThe Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George Wells
 
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
 

12th CBSE Computer Science Project

  • 2. 1. Bona fide Certificate 2. Declaration 3. Acknowledgement 4. Introduction to c++ 5. Introduction to Project 6. Codings 7. Outputs 8. Bibliography
  • 3. This is to certify that the project entitled “STUDENT MANAGEMENT” is a record of bonafide work carried out by “Ashwin Francis 12th A,Nikunj 12th A,Shubham Negi 12th A”.In partial fulfilment of the requirements in COMPUTER SCIENCE prescribed by CBSE for CBSE BOARD 2014-2015 in the school Kendriya Vidyalaya Gole Market,New Delhi 110001. DATE PRINCIPAL INTERNAL EXTERNAL EXAMINER EXAMINER
  • 4. We hereby declare that the project work entitled “STUDENT MANAGEMENT“. Submitted to KENDRIYA VIDYALAYA GOLE MARKET, NEW DELHI for the Subject of “COMPUTER SCIENCE“. Under the guidance of Mrs.Neera Singhal, PGT(Comp. Sc.), Is a record of original work done by us.We further Declare that this project record or any part of this has not been Submitted elsewhere for any other class. DATE MEMBERS PLACE
  • 5. We wish to express our sincere thanks to Mr.DHEER SINGH Principal,Kendriya Vidyalaya Gole Market, New Delhi for guiding us to cause the successful outcome of this project work. We wish to express our deep & profound sense of gratitude to our guide/teacher Mrs.Neera Singhal, PGT(Comp. Sc.), For her expert help &valuable guidance, comments and suggestions. We also place on record, our sincere Gratitude to one and all who ,Directly or Indirectly ,Have Lent their helping hand in this venture.
  • 6. :- It is designed with a bias toward system programming (e.g., for use in embedded systems or operating system kernels), with performance, efficiency and flexibility of use as its design requirements. C++ has also been found useful in many other contexts, including desktop applications, servers (e.g. e-commerce, web search or SQL servers), performance-critical applications (e.g. telephone switches or space probes), and entertainment software.[3] C++ is a compiled language, with implementations of it available on many platforms and provided by various organizations, including the FSF, LLVM, Microsoft and Intel. :- C++ is standardized by the International Organization for Standardization (ISO), with the latest (and current) standard version ratified and published by ISO in September 2011 as ISO/IEC 14882:2011 (informally known as C++11).[4] The C++ programming language was initially standardised in 1998 as ISO/IEC 14882:1998, which was then amended by the C++03, ISO/IEC 14882:2003, standard. The current C++11 standard supersedes these, with new features and an enlarged standard library. Before the initial standardization in 1998, C++ was developed by Bjarne Stroustrup at Bell Labs, starting in 1979, who wanted an efficient flexible language (like the C language), which also provided high-level features for program organization. Function:- A function is a group of statements that together perform a task. Every C++ program has at least one function, which is main(), and all the most trivial programs can define additional functions. A function declaration tells the compiler about a function's name, return type, and parameters. A functiondefinition provides the actual body of the function. The C++ standard library provides numerous built-in functions that your program can call. For example, function strcat() to concatenate two strings, function memcpy() to copy one memory location to another location and many more functions.
  • 7. Class:- A class is a user defined type or data structure declared with keyword class that has data and functions (also called methods) as its members whose access is governed by the three access specifiers private, protected or public (by default access to members of a class is private). A class (declared with keyword class) in C++ differs from a structure (declared with keyword struct) as by default, members are private in a class while they are public in a structure. The private members are not accessible outside the class; they can be accessed only through methods of the class. Data FILE HANDLING:- The fstream library predefines a set of operations for handling file related input and output. It defines certain classes that help one perform file input and output. For ex, ifstream class ties a file to the program for input ; ofstream class ties a file to the program for output ; and fstream class ties a file to the program for both input and output.
  • 8. Every School needs to maintain Data bases of the students .The data base on the students is required for general purpose like collection fees Using this Software, under the Office module, the database on the students can be created,modified. The same can be used to verify whether any student is due for payment of term fees etc. It is designed to introduce a conducive and structured information exchange environment for integrating students. It enable educational institutions to supervise student-related activities. They are designed with diverse application potentials ranging from simple management of students’ records at school to management of all student-related functions as well as administrative functions of a university or a chain of educational establishments.This software is useful to maintain updated and error free status of all thestudents. The Motive of this software is to dilute the work of office staffs, and toreduce the use of paper.
  • 10. cin>>sid; cout<<"ENTER STUDENT NAME:n"; gets(name); cout<<"ENTER STUDENT CLASS:n"; cin>>std; cout<<"ENTER STUDENT ADDRESS:n"; gets(ad); cout<<"ENTER STUDENT PHONE NO.:n"; cin>>ph; cout<<"ENTER STUDENT FEES:n"; cin>>fees; } void display() { cout<<"n"<<sid<<"t"; cout<<name<<"t"; cout<<"t"<<std<<"t";
  • 11. cout<<ad; cout<<"t"<<ph<<"t"; cout<<"t"<<fees; } long rsid() { return sid; } int password(char ch[4]) { int n=0; if(strcmp(ch,"kvgm")==0) n=7; return n; }
  • 12. char retname() { return name[50]; } char retadd() { return ad[100]; } }; int main() { int i,m,c,w; char key[10],flag,flag1; stud s1[100],s2; fstream f,f1; clrscr(); cout<<"tttSTUDENT MANAGEMENT PROGRAMnnnttt CREATED BY nntttASHWIN FRANCISntttSHUBHAM NEGIntttNIKUNJn"; cout<<"nENTER PASSWORD PLEASE:n";
  • 13. gets(key); m=s2.password(key); if(m==0) { cout<<"nINVALID KEY PROGRAM TERMINATED"; getch(); return 1; } else { label: clrscr(); cout<<"tttSTUDENT MANAGEMENT PROGRAMn"; cout<<"nSELECTION MENUn1.CREATE NEW DATABASEn2.DISPLAY DATABASEn3.ADD TO DATABASEn4.DELETE FROM DATABASEn5.SEARCHn6.EXITn"; cin>>c; switch(c) {
  • 14. case 1:clrscr(); f.open("data.txt",ios::out); cout<<"n-FILE HAS BEEN CREATED YOU CAN START ENTERING DATA NOW-n"; char ch; ch='y'; i=0; while(ch=='y') { s1[i].enter(); f.write((char*)&s1[i],sizeof(s1[i])); i++; cout<<"nWANT TO ADD MORE DATA?nENTER(y/n):n"; cin>>ch; } f.close(); goto label; case 2:clrscr(); f.open("data.txt",ios::in);
  • 15. cout<<"n-FILE HAS OPENED YOU CAN VIEW DATA NOW n"; f.seekg(0); i=0; cout<<"nIDtNAMEttCLASStADDRESSttPHONEttFEES"; while(!f.eof()) { f.read((char*)&s1[i],sizeof(s1[i])); s1[i].display(); i++; } f.close(); cout<<"nPRESS ENTER TO CONTINUE"; getch(); goto label; case 3:clrscr(); f.open("data.txt",ios::app);
  • 16. cout<<"n-FILE HAS BEEN OPENED YOU CAN START ENTERING DATA NOW-n"; ch='y'; i=0; while(ch=='y') { s1[i].enter(); f.write((char*)&s1[i],sizeof(s1[i])); i++; cout<<"nRECORD ADDED TO FILE.nnWANT TO ADD MORE DATA?ENTER(y/n):n"; cin>>ch; } f.close(); goto label; case 4:clrscr(); int q; char confirm='n'; flag='n'; f.open("data.txt",ios::in);
  • 17. f1.open("temp.txt",ios::out); cout<<"nENTER STUDENT ID WHOSE RECORD IS TO BE DELETED"; cin>>q; f.seekg(0); i=0; while(!f.eof()) { f.read((char*)&s1[i],sizeof(s1[i])); if(s1[i].rsid()==q) { s1[i].display(); flag='y'; cout<<"nWANT TO DELETE YHIS?(y/n)n"; cin>>confirm; if(confirm=='n') f1.write((char*)&s1[i],sizeof(s1[i])); } else
  • 18. f1.write((char*)&s1[i],sizeof(s1[i])); i++; } if(flag=='n') { cout<<"nRECORD NOT FOUNDn"; } f.close(); f1.close(); remove("data.txt"); rename("temp.txt","data.txt"); cout<<"nRECORD HAS BEEN DELETEDn"; cout<<"nPRESS ENTER TO CONTINUE"; getch(); goto label; case 5:clrscr(); f.open("data.txt",ios::in); f.seekg(0);
  • 19. flag1='n'; cout<<"nENTER STUDENT ID TO SEARCH:n"; cin>>w; i=0; while(!f.eof()) { f.read((char*)&s1[i],sizeof(s1[i])); if(s1[i].rsid()==w) { s2.display(); flag1='y'; break; } i++; } if(flag1=='n') { cout<<"nDATA NOT FOUNDn"; } f.close();
  • 20. cout<<"nPRESS ENTER TO CONTINUE"; getch(); goto label; case 6:cout<<"YOU HAVE SELECTED TO TERMINATE THE PROGRAMnPROGRAM TERMAINATING............"; getch(); clrscr(); cout<<"nntttTHANK YOU FOR USING THIS SOFTWAREnt THIS SOFTWARE IS CREATED BY THE STUDENTS OF K. V. GOLE MARKET.nttttPLEASE DONT COPY "; getch(); return 1; default:cout<<"WRONG CHOICE!!!"; getch(); cout<<"PRESS ENTER TO CONTINUE"; goto label; } } }
  • 22. HELP FROM INTERNET INFORMATION FROM BOOKS HELP FROM TEACHERS