| Version 6 (modified by , 4 months 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 (2)
- edit_enrollment_form.png (27.1 KB ) - added by 3 weeks ago.
- enrollment_table.png (31.4 KB ) - added by 3 weeks ago.
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.
