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

Assignment 2 Use Case and Class Diagram For Student Module

Uploaded by

coding
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views3 pages

Assignment 2 Use Case and Class Diagram For Student Module

Uploaded by

coding
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Assignment: 2

Question 1: Draw Use-Case and Class


Diagram.

Sample: Use Case and Class Diagram for


student Module(remember: include,extend,
aggregation, association, and composition)
1. Use Case Diagram for Student Module
Actors:
• Student: Interacts with the system for various activities such as registration,
enrollment, checking attendance, exam results, and grades.
• Admin: Manages student records, course enrollments, attendance, results, and
grades.
• Faculty: Updates attendance and exam results.
Use Cases:
• Student Registration: Students register with their details.
• Course Enrollment: Students enroll in available courses.
• Check Attendance: Students check their attendance status.
• Check Exam Results: Students view their exam results.
• View Grades: Students check their grades.
• Manage Attendance: Faculty updates attendance records.
• Update Exam Results: Faculty uploads exam results and grades.

2. Class Diagram for Student Module


Key Classes:
1. Student
a. Attributes:
i. studentID: String
ii. name: String
iii. email: String
iv. enrollmentStatus: Boolean
v. attendance: List<AttendanceRecord>
vi. grades: List<Grade>
b. Methods:
i. registerStudent()
ii. enrollInCourse()
iii. checkAttendance()
iv. viewExamResults()
v. viewGrades()
2. Course
a. Attributes:
i. courseID: String
ii. courseName: String
iii. credits: Integer
iv. enrolledStudents: List<Student>
b. Methods:
i. enrollStudent()
ii. getCourseDetails()
3. AttendanceRecord
a. Attributes:
i. attendanceID: String
ii. student: Student
iii. course: Course
iv. attendancePercentage: Double
b. Methods:
i. updateAttendance()
ii. getAttendanceStatus()
4. ExamResult
a. Attributes:
i. resultID: String
ii. student: Student
iii. course: Course
iv. marks: Double
b. Methods:
i. updateMarks()
ii. getExamResults()
5. Grade
a. Attributes:
i. gradeID: String
ii. student: Student
iii. course: Course
iv. grade: String
b. Methods:
i. assignGrade()
ii. getGrade()
6. Admin
a. Attributes:
i. adminID: String
ii. name: String
b. Methods:
i. manageRegistration()
ii. manageCourses()
iii. updateAttendance()
iv. updateExamResults()
7. Faculty
a. Attributes:
i. facultyID: String
ii. name: String
iii. department: String
b. Methods:
i. updateAttendance()
ii. uploadExamResults()

Relationships:
• Student can register and enroll in Course.
• Faculty updates AttendanceRecord and ExamResult for the Student.
• Admin oversees Registration, Enrollment, Attendance, Exam Results, and
Grades management.
• Student can check their AttendanceRecord, ExamResult, and Grade.

Question 2: Implement Class Diagram with the


help of any OOPS Language.

You might also like