Student Data

Download Here: Student Data

Author: Tabinda Shahid

 

 

Project Proposal

 

 

Submitted to: Sir Imran Rafique

Submitted by: Tabinda Shahid

Roll No: 345-BSCS-2013

Section: (C)

Group: 2nd

 


 

Project Proposal

Registration System for Teacher & Students

Overview:-

I made this project using the concepts of Registration system.

Classes Involved:-

Following classes are involved in this assignment.

 

Abstract class Person:-

This class is made for the purpose to be extended or inherited. All the other will extend this class to use its functionality. This class contains four protected variables.

Fields:-

  • Ø name : String
  • Ø email : String
  • Ø bloodgroup : String
  • Ø e : lifeevent
  • Ø p : Person

These are protected variables and can be used directly by the other classes that extend Person class.But person class just using LifeEvent class and LifeEvent is separate class which is not extend person class.

Methods:-

  • Ø getName : String
  • Ø getEmail : String
  • Ø getBloodgroup : String
  • Ø getEvent : LifeEvent
  • Ø abstract printDetail() : void

All the methods are accessors(getters) and mutators(setters) for the fields except abstract method.

Class Teacher:-

This class extends Abstract class person. This class has an extra field called private float pay that is used to get pay of teacher person. And also class has an extra field called private float id that is used to get id of teacher person. Also includes getters and setters for this field. This class implements the abstract methods printDetail() and withdraw methods of the super class. There is a constructor public Teacher(String email, String name, String blood ,float balance, int id ) that give  the detail of teacher.

 

Class Student:-

This class extends Abstract class person. This class has an extra field called private float roll that is used to get pay of teacher person. And also class has an extra field called private float gpa that is used to get roll number & gpa of students. Also includes getters and setters for this field. This class implements the abstract methods printDetail() and withdraw methods of the super class. There is a constructor public Student(String email, String name, String blood ,float gpa, int id ) that give  the detail of student.

LifeEvent:-

This class is related to the  person’s event with date. This class has an field called private String date that is used to get date of  event and also class has an field called private String event that is used for person event detail. Also includes getters and setters for this field. This class is used for enter event detail about person teacher or students. It is having one input method.

Main:-

 

This class uses the other classes to interact with the user. This class has only two public and five private member functions.

  • Ø Public Static main() : Our program starts here

In which main() & start() method called.

  • Ø Public Main() : Having arrayList  of person Type
  • Ø Public start () : void
  • Ø public  start() : void
  • Ø private register() : void
  • Ø private menu() : String
  • Ø private  print() : void
  • Ø private addLifeEvent() : void

Project Diagram

project diagram