[go: up one dir, main page]

0% found this document useful (0 votes)
75 views3 pages

Student Attendance Calculation

This document summarizes a term paper on student attendance calculation using object oriented programming. It discusses the key datatypes used like integer, float, character, and string. It describes the student class which contains functions for tasks like calculating monthly attendance with the "month" function and total annual attendance with the "total" function. The document also covers access specifiers like public and private and includes an example class definition for the student class.

Uploaded by

LPU_RIDZ
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
75 views3 pages

Student Attendance Calculation

This document summarizes a term paper on student attendance calculation using object oriented programming. It discusses the key datatypes used like integer, float, character, and string. It describes the student class which contains functions for tasks like calculating monthly attendance with the "month" function and total annual attendance with the "total" function. The document also covers access specifiers like public and private and includes an example class definition for the student class.

Uploaded by

LPU_RIDZ
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

A term paper Of Object Oriented Programming ( CAP-202) on

Student Attendance Calculation.


Submitted to Lovely Professional University, Phagwara For partial fulfillment of the required award of MCA (Master in Computer Application) Session 2009-2012

Supervised By:Mr.Navdeep Faculty Lovely Professional University

Submitted By :Name- Ridham Roll No. RTB903A02 Reg No. 10905372

Initial Study 1. Introduction :- The project Student Attendance Calculation used for computerized
calculation of attendance of students for saving time and for maintain records for future use. By using this system we can calculate the monthly attendance of each student of different classes of different courses (subjects) ,overall attendance of all students of various classes so, that no need to maintain record in registers . 2. Various Datatype analysis for Term Paper :-The datatypes are the values used by the variables it may be integer,float,character,string,pointer etc. Scaler or Standard Datatype :-A scaler datatype is used for representing single value only.It is also called Simple data type.It is sub divided into four categories namely : Integer data type. Float datatype. Long float datatype. Character datatype. Structure Datatype :-Dervied datatype are derived from scaler datatype by adding some additional relationship with various element of primary datatype. Array and string Structure Unions User-defined datatype :-It allow to user to define a variable which is used for representation of existing datatype.It is also used for type definition like Salary s1,s2,s3; Void Datatype :-Void datatype is used in the user-defined function.These are used when the function sub-program returns nothing.It is also used when function sub-program have not any argument in it. Pointer Datatype :-Pointer datatype are used to handle the data at their memory address.It provide the means by which function can modify their calling arguments.It basically have address of the variable having some value, stored in the memory like:int *m; int * p,q=100; p =&q; The address of the memory variable can be accessed by using address operator (&). Now suppose q is a variable having value 280 and this variable is stored in the address at 6000.Then to represent address of the memory,we apply a variable p which is pointer or memory variable.We can also store the address of q variable in p pointer variable as by using & operator.

3. Working :- The class student which contain all the user defined function for performing particular task in the program like the month function will calculate the monthly wise attendance of students. The total function is used to calculate the overall attendance of student i.e annually in all courses. The objects related to these function must be created and will be accessed by using pointers and the dot operator. The roll no or registration number may be used as a private data members . Firstly, the various data input name of student, roll number ,date ,subjects of each class as a database for project. Whenever the teacher select the particular course according to class for marking attendance the month function works and at the end of the session the overall attendance will be calculated with the help of total function .The read and write functions will used to input the data like name of student and roll number where as the write is used to display the entered data. The fine of student will calculated on the basis of annual attendance. 4. Access Specifier used :- The various access specifier used in the Student attendance calculation for accessing data members and processing the member functions are public private, protected according to the requirement. 5. Class Defintion :- A definition of class is used to name a class like student in this project, to declare its data variables and the data function for performing interface operation of the class. The class declaration gives the information of the class name with its scope i.e where it is declared and whether hides any class , object ,function, variable or any other declaration. 6. Like :Class student { Private : Int rno; Char name[20]; Char class; Public : Void readdata(); Void writedata(); }; // end of class

You might also like