Changes between Version 6 and Version 7 of UseCase2001Implementation


Ignore:
Timestamp:
06/25/26 15:40:37 (13 hours ago)
Author:
216009
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UseCase2001Implementation

    v6 v7  
    1 = UseCase2001Implementation – Assign Grade to Student
     1== UC2001 – Assign Grade to Student Implementation ==
    22
    3 **Initiating actor:** Professor
     3'''Initiating actor:''' Professor
     4'''Other actors:''' None
    45
    5 **Other actors:** None
     6'''Description:'''
     7Professor inputs and records final grades for students enrolled in specific subject course instances using the console interface.
    68
    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:'''
     101. System displays the Professor Menu interface.
     112. Professor selects the option to "Assign Grade to Student".
     123. System prompts the professor to input their unique Professor ID.
     134. System retrieves and lists all unique subjects where this professor has active student enrollments:
    1814{{{
    1915SELECT DISTINCT s.Id, s.Name
     
    2218WHERE ss.Professor_Id = ?;
    2319}}}
    24 Professor selects a Subject ID.
     20Professor inputs a target Subject ID from the displayed list.
    2521
    26 5. System lists students enrolled in that specific subject under this professor:
     225. System lists all students currently enrolled in that chosen subject under this professor's instruction:
    2723{{{
    2824SELECT st.Id, st.Name, st.Surname
     
    3127WHERE ss.Subject_Id = ? AND ss.Professor_Id = ?;
    3228}}}
    33 Professor selects a Student ID.
     29Professor inputs the target Student ID.
    3430
    35 6. System prompts for the final grade (6–10).
    36 
    37 7. System executes SQL to update the student's grade and status:
     316. System prompts the professor to provide a valid final grade value (constrained between 6 and 10).
     327. System executes the parameterized SQL statement to persist the final grade and modify the completion status:
    3833{{{
    3934UPDATE Student_Subject
     
    4136WHERE Student_Id = ? AND Subject_Id = ? AND Professor_Id = ?;
    4237}}}
     388. System displays a confirmation text message indicating that the grade was successfully assigned.
    4339
    44 8. System confirms grade assignment successfully.
    45 
     40== Implementation Screenshots ==
    4641[[Image(assignGrade1.png, 800px)]]
    4742[[Image(assignGrade2.png, 800px)]]