Click here to load reader

Investigatory Project computer science

  • View
    101

  • Download
    6

Embed Size (px)

DESCRIPTION

12th cbse computer science

Text of Investigatory Project computer science

STUDENT REPORT-CARD MANAGEMENT SYSTEM

ABSTRACTThis C++ mini project on STUDENT REPORT CARD has student class with data members like roll no, name, marks and grade.Member functions in this class are used for accept / display details of students and a function to calculate grade based on marks obtained by student. Student Records are stored in binary file.This menu driven program illustrates read, write, search, modify and delete operations in binary file.

MINIMUM SYSTEM REQUIREMENTS

PROCESSOR :-Intel Pentium II /300 MHz

OPERATING SYSTEM (OS) :-Microsoft windows server 2003 (SP1)Microsoft windows XP professional (SP2)Windows 2000 professional (SP4)Windows 2000 server (SP4)

RAM-128 MB

CD-ROM or DVD-ROM drive

SVGA or higher-resolution monitor.

HEADER FILES USED

#include

#include

#include

#include

#include

source code//***************************************************************// HEADER FILE USED IN PROJECT//****************************************************************

#include#include#include#include

//***************************************************************// CLASS USED IN PROJECT//****************************************************************

class student{int rollno;char name[50];int p_marks, c_marks, m_marks, e_marks, cs_marks;float per;char grade;void calculate();//function to calculate gradepublic:void getdata();//function to accept data from uservoid showdata();//function to show data on screenvoid show_tabular();int retrollno();}; //class ends here

void student::calculate(){per=(p_marks+c_marks+m_marks+e_marks+cs_marks)/5.0;if(per>=60)grade='A';else if(per>=50)grade='B';else if(per>=33)grade='C';elsegrade='F';}

void student::getdata(){coutrollno;cout