Changes between Version 6 and Version 7 of UseCase2001Implementation
- Timestamp:
- 06/25/26 15:40:37 (13 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UseCase2001Implementation
v6 v7 1 = UseCase2001Implementation – Assign Grade to Student1 == UC2001 – Assign Grade to Student Implementation == 2 2 3 **Initiating actor:** Professor 3 '''Initiating actor:''' Professor 4 '''Other actors:''' None 4 5 5 **Other actors:** None 6 '''Description:''' 7 Professor inputs and records final grades for students enrolled in specific subject course instances using the console interface. 6 8 7 **Description:** Professor assigns final grades to students enrolled in their course instances. 8 9 **Scenario:** 10 11 1. System displays Professor Menu. 12 13 2. Professor selects Assign Grade. 14 15 3. System prompts the professor to enter their Professor ID. 16 17 4. System lists all unique subjects where this professor is assigned to students: 9 '''Scenario:''' 10 1. System displays the Professor Menu interface. 11 2. Professor selects the option to "Assign Grade to Student". 12 3. System prompts the professor to input their unique Professor ID. 13 4. System retrieves and lists all unique subjects where this professor has active student enrollments: 18 14 {{{ 19 15 SELECT DISTINCT s.Id, s.Name … … 22 18 WHERE ss.Professor_Id = ?; 23 19 }}} 24 Professor selects a Subject ID.20 Professor inputs a target Subject ID from the displayed list. 25 21 26 5. System lists students enrolled in that specific subject under this professor:22 5. System lists all students currently enrolled in that chosen subject under this professor's instruction: 27 23 {{{ 28 24 SELECT st.Id, st.Name, st.Surname … … 31 27 WHERE ss.Subject_Id = ? AND ss.Professor_Id = ?; 32 28 }}} 33 Professor selects aStudent ID.29 Professor inputs the target Student ID. 34 30 35 6. System prompts for the final grade (6–10). 36 37 7. System executes SQL to update the student's grade and status: 31 6. System prompts the professor to provide a valid final grade value (constrained between 6 and 10). 32 7. System executes the parameterized SQL statement to persist the final grade and modify the completion status: 38 33 {{{ 39 34 UPDATE Student_Subject … … 41 36 WHERE Student_Id = ? AND Subject_Id = ? AND Professor_Id = ?; 42 37 }}} 38 8. System displays a confirmation text message indicating that the grade was successfully assigned. 43 39 44 8. System confirms grade assignment successfully. 45 40 == Implementation Screenshots == 46 41 [[Image(assignGrade1.png, 800px)]] 47 42 [[Image(assignGrade2.png, 800px)]]
