Changes between Initial Version and Version 1 of UseCase3001Implementation


Ignore:
Timestamp:
02/05/26 19:24:47 (3 weeks ago)
Author:
216009
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UseCase3001Implementation

    v1 v1  
     1= UseCase3001Implementation – Enroll in Subject
     2
     3**Initiating actor:** Student
     4
     5**Other actors:** None
     6
     7**Description:** Student enrolls in a subject offered by their faculty.
     8
     9**Scenario:**
     10
     111. System displays Student Menu.
     12
     132. Student selects Enroll in Subject.
     14
     153. System lists students → selects student ID.
     16
     174. System lists available subjects → selects subject.
     18
     195. System checks enrollment:
     20{{{
     21SELECT * FROM Student_Subject WHERE Student_Id = ? AND Subject_Id = ?;
     22}}}
     23
     246. If not enrolled, system inserts:
     25{{{
     26INSERT INTO Student_Subject(Student_Id, Subject_Id, Status, Enrollment_Date)
     27VALUES (?, ?, 'ENROLLED', CURRENT_DATE);
     28}}}
     29
     307. System confirms enrollment.
     31[[Image()]]