Course FeedBack
Course FeedBack
Class Descriptions
Table: Feedback
Attributes:
feedbackId: Unique identifier for the feedback.
courseId: Identifier for the associated course.
studentId: Identifier for the student providing feedback.
rating: Numerical rating (e.g., 1 to 5).
comments: Text comments from the student.
submissionDate: Date and time the feedback was submitted.
Methods:
submitFeedback(): Allows submission of feedback.
editFeedback(): Allows editing existing feedback.
deleteFeedback(): Allows deletion of feedback.
Table: Course
Attributes:
courseId: Unique identifier for the course.
courseName: Name of the course.
instructor: Instructor's name.
description: Brief description of the course.
Methods:
addCourse(): Adds a new course.
updateCourse(): Updates course details.
removeCourse(): Removes a course.
getFeedbacks(): Retrieves feedback associated with the course
Table: Student
Attributes:
studentId: Unique identifier for the student.
name: Student's name.
email: Student's email address.
enrolledCourses: List of courses the student is enrolled in.
Methods:
register (): Registers a new student.
submitFeedback(): Submits feedback for a specific course.
viewFeedbacks(): Views feedback submitted by the student.
Table: FeedbackForm
Attributes:
formId: Unique identifier for the feedback form.
courseId: Identifier for the course the form is associated with.
studentId: Identifier for the student filling out the form.
questions: List of questions included in the feedback form.
Methods:
createForm(): Creates a new feedback form.
distributeForm(): Distributes the form to students.
collectResponses(): Collects and aggregates responses from students.
Relationships
Feedback: has a many-to-one relationship with Course and Student (multiple feedback entries can be
associated with one course or student).
Course: can have multiple Feedback entries.
Student: can provide feedback for multiple Courses.
FeedbackForm: can be associated with a Course and may be filled out by multiple Students.
This class diagram provides a structured view of the components involved in a Course Feedback
Collection system, facilitating better understanding and development of the application.