Changes between Initial Version and Version 1 of UC2001


Ignore:
Timestamp:
02/03/26 20:52:42 (3 weeks ago)
Author:
216009
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UC2001

    v1 v1  
     1= UseCase2001 – Assign Grade to Student
     2
     3**Initiating actor:** Professor
     4
     5**Other actors:** Student
     6
     7**Description:**
     8A professor records the final grade for a student enrolled in a subject.
     9
     10**Scenario:**
     11
     121. Professor logs in and selects “Enter Grades.”
     13
     142. System shows subjects the professor teaches:
     15{{{
     16SELECT sub.Id, sub.Name, st.Id AS Student_Id, st.Name, st.Surname
     17FROM Subject sub
     18JOIN Subject_Professor sp ON sp.Subject_Id = sub.Id
     19JOIN Student_Subject ss ON ss.Subject_Id = sub.Id
     20JOIN Student st ON st.Id = ss.Student_Id
     21WHERE sp.Professor_Id = :professor_id;
     22}}}
     23
     243. Professor selects a student and enters the final grade.
     25
     264. System updates the database:
     27{{{
     28UPDATE Student_Subject
     29SET Final_Grade = :grade, Status = 'COMPLETED'
     30WHERE Student_Id = :student_id AND Subject_Id = :subject_id;
     31}}}
     32
     335. System confirms the update and allows professor to continue for other students.