School Management System Class Diagram

Last modified on November 4th, 2020 Download This Tutorial in PDF

School Management System Class Diagram

Let us see the School Management System Class Diagram. We will show the attributes and functions of all the classes that are possible in this project.

School Management System Class Diagram

List of classes

  1. Admin
  2. Teacher
  3. Testpaper
  4. Student
  5. Class
  6. Subject
  7. Division

class (Admin)

Attributes/Variables of the class (Admin)

Private Attributes/Variables:

There are the following private attributes in the mentioned class diagram.

  1. – id: char
  2. -password: char

Public Attributes/Variables:

There are following public attributes in the mentioned class diagram.

+Name: char

Functions of the class (Admin)

  1. +login()
  2. +logout()
  3. +AddNewTeacher()
  4. +ModifyTeacher()
  5. +AddNewStudent()
  6. +ModifyStudent()
  7. +AddNewSubject()
  8. +ModifySubject()
  9. +AddNewClass()
  10. +ModifyClass()
  11. +AddNewDivision()
  12. +ModifyDivision()

class (Teacher)

Attributes/Variables of the class (Teacher)

Private Attributes/Variables:

We can assign private attributes/ values to this class, but suppose that currently, we are not willing to make the attributes private.

  1. -id: char
  2.  -TName: char
  3.  -TPhno: integer

Public Attributes/Variables:

There are following public attributes in the mentioned class diagram.

Nill

Functions of the class (Teacher)

There are the following functions in the mentioned class diagram.

  1. +prepareTestPaper()
  2.  +MarkAttendance()
  3.  +Checkpapers()
  4. +PrepareReportCards()
  5.  +DeclarResult()

class (TestPAper)

Attributes/Variables of the class (TestPaper)

Private Attributes/Variables:

We can assign private attributes/ values to this class, but suppose that currently, we are not willing to make the attributes private.

  1. -pid: char
  2. -pName:char
  3.  -pDuration: Float
  4. -pClassid: char

Public Attributes/Variables:

Nill

There are following public attributes in the mentioned class diagram.

Functions of the class (TestPAper)

There are the following functions in the mentioned class diagram.

  1. +viewTestpaper()
  2. +DeleteTestPaper()

class (Student)

Attributes/Variables of the class (Student)

Private Attributes/Variables:

We can assign private attributes/ values to this class, but suppose that currently, we are not willing to make the attributes private.

  1. -Sid: char
  2.  -SName: char
  3. -SPhno: integer
  4. -Address: char

Public Attributes/Variables:

There are following public attributes in the mentioned class diagram.

Nill

Functions of the class (Student)

There are the following functions in the mentioned class diagram.

  1. +Admissionform()
  2. +GetEnrolled()
  3. +WriteExam()

 

class (Class)

Attributes/Variables of the class (Class)

Private Attributes/Variables:

We can assign private attributes/ values to this class, but suppose that currently, we are not willing to make the attributes private.

  1. -id: char
  2. -Name: char
  3. -Division: char

Public Attributes/Variables:

There are following public attributes in the mentioned class diagram.

Nill

Functions of the class (Class)

There are the following functions in the mentioned class diagram.

+DisplayClass()

class (Division)

Attributes/Variables of the class (Division)

Private Attributes/Variables:

We can assign private attributes/ values to this class, but suppose that currently, we are not willing to make the attributes private.

-id: char

-Name: char

Public Attributes/Variables:

There are following public attributes in the mentioned class diagram.

Nill

Functions of the class (Division)

There are the following functions in the mentioned class diagram.

+DisplayClass()

class (Subject)

Attirbutes/Variables of the class (Subject)

Private Attirbutes/Variables:

We can assign private attributes/ values to this class, but suppose that currently, we are not willing to make the attributes private.

  1. -id: char
  2. -Name: char
  3. -Classid: char

Public Attirbutes/Variables:

There are following public attributes in the mentioned class diagram.

Nill

Functions of the class (Subject)

There are the following functions in the mentioned class diagram.

+DisplayClass()

Important Links for class diagram

  1. Tutorial: Class Diagram 
  2. Exercise: Class Diagram of Projects
  3. MCQs: Class Diagram

Subscribe for Friendship

Latest posts by Prof. Fazal Rehman Shamil (see all)