wiki:UseCase3001Implementation

Version 2 (modified by 216009, 3 weeks ago) ( diff )

--

UseCase3001Implementation – Enroll in Subject

Initiating actor: Student

Other actors: None

Description: Student enrolls in a subject offered by their faculty.

Scenario:

  1. System displays Student Menu.
  1. Student selects Enroll in Subject.
  1. System lists students → selects student ID.
  1. System lists available subjects → selects subject.
  1. System checks enrollment:
    SELECT * FROM Student_Subject WHERE Student_Id = ? AND Subject_Id = ?;
    
  1. If not enrolled, system inserts:
    INSERT INTO Student_Subject(Student_Id, Subject_Id, Status, Enrollment_Date)
    VALUES (?, ?, 'ENROLLED', CURRENT_DATE);
    
  1. System confirms enrollment.

Attachments (2)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.