| Version 6 (modified by , 38 hours ago) ( diff ) |
|---|
UseCase2001Implementation – Assign Grade to Student
Initiating actor: Professor
Other actors: None
Description: Professor assigns final grades to students enrolled in their course instances.
Scenario:
- System displays Professor Menu.
- Professor selects Assign Grade.
- System prompts the professor to enter their Professor ID.
- System lists all unique subjects where this professor is assigned to students:
SELECT DISTINCT s.Id, s.Name FROM Subject s JOIN Student_Subject ss ON s.Id = ss.Subject_Id WHERE ss.Professor_Id = ?;
Professor selects a Subject ID.
- System lists students enrolled in that specific subject under this professor:
SELECT st.Id, st.Name, st.Surname FROM Student st JOIN Student_Subject ss ON st.Id = ss.Student_Id WHERE ss.Subject_Id = ? AND ss.Professor_Id = ?;
Professor selects a Student ID.
- System prompts for the final grade (6–10).
- System executes SQL to update the student's grade and status:
UPDATE Student_Subject SET Final_Grade = ?, Status = 'PASSED' WHERE Student_Id = ? AND Subject_Id = ? AND Professor_Id = ?;
- System confirms grade assignment successfully.
Attachments (7)
- assignGrade1.jpg (185.3 KB ) - added by 4 months ago.
- assignGrade2.jpg (145.2 KB ) - added by 4 months ago.
- assignGrade3.jpg (82.0 KB ) - added by 4 months ago.
- assignGrade1.png (84.5 KB ) - added by 38 hours ago.
- assignGrade2.png (171.6 KB ) - added by 38 hours ago.
- assignGrade3.png (134.1 KB ) - added by 38 hours ago.
- assignGrade4.png (143.8 KB ) - added by 38 hours ago.
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.




