Q1_20250806074037.webp
T

Q1_20250806074037.webp

Business Scenario: The system needs to model the relationship between students, courses, and
Kizspy. me their grades. A Student can enroll in many Courses. A Course can have many Students
enrolled. When a Student completes a Course, a Grade Report is generated. This Grade Report
belongs to exactly one Student and one Course, and it contains the final grade (e.g., '5.0', '6.0',
'7.0', '8.0'). A Grade Report cannot exist without both a Student and a Course.
Task: Draw a Class Diagram that correctly models this scenario.
Zoom

Your diagram must show the classes Student, Course, and Grade Report.
.

Pay close attention to the nature of the relationship between Student and Course.
You must correctly model Grade Report as an Association Class, showing its
connections and attributes.
Question 2. (3.0 points)
Business Scenario: A student wants to register for a new course through the portal. The student
interacts with a Course Registration View (boundary object). This view sends the selected
course ID to a RegistrationController (control object). The controller first checks the student's
eligibility (e.g., have they met the prerequisites?) by calling a PrerequisiteService (service
object). If eligible, the controller then creates a new enrollment record using an
EnrollmentRepository (entity object).
Task: Choose the best UML diagram (Sequence or Communication) to clearly show the step-
by-step, time-ordered flow of messages for this registration process. Draw the diagram you
have chosen. You must label each object with its correct application logic stereotype
(«boundary». «<control». etc.).
+100%
Activate Windows
Go to Settings to activate Windows.
Close
Chưa có bình luận nào.

Thông tin

Category
SWD392
Thêm bởi
thanhtam76
Ngày thêm
Lượt xem
5,351
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom