0% found this document useful (0 votes)
19 views

Student Management System UML

Uploaded by

ashiknakib34
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

Student Management System UML

Uploaded by

ashiknakib34
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Student Management System - UML and Explanation

UML Diagram Description:

1. Student:

- Attributes:

* studentId: int

* name: String

* email: String

* enrollments: List<Enrollment>

- Methods:

* addEnrollment(Enrollment): void

* getGPA(): double

2. Course:

- Attributes:

* courseId: int

* courseName: String

* credits: int

3. Enrollment:

- Attributes:

* course: Course

* grade: double

- Methods:

* setGrade(double): void
* getGrade(): double

4. StudentManagementSystem:

- Attributes:

* students: List<Student>

* courses: List<Course>

- Methods:

* addStudent(Student): void

* addCourse(Course): void

* searchStudent(int studentId): Student

* generateReport(int studentId): void

Explanation

The UML diagram describes the core components of the Student Management System:

- Student: Represents a student with personal details and enrollments.

- Course: Represents a course with details like ID, name, and credits.

- Enrollment: Links a student to a course and stores the grade achieved in that course.

- StudentManagementSystem: Manages lists of students and courses and provides functionality to

add students, add courses, search for students, and generate reports.

Code implements functionality for calculating GPA, adding enrollments, and ensuring modularity by

following OOP principles such as encapsulation and inheritance.

For the complete implementation, refer to the Java code provided.

You might also like