Draw ACTIVITY DIAGRAM using the code below Start | v If user is not logged in | v Display Login Page | v User enters their credentials | v Validate user credentials | v If user is an Administrator | v Display Administrator Dashboard | v Administrator selects option (e.g. Manage Courses) | v Display Course Management Interface | v Administrator selects option (e.g. Add Course) | v Display Add Course Form | v Administrator enters course details | v Validate course details | v Add course to database | v Display confirmation message | v If user wants to perform another action | v Return to Course Management Interface | v If user wants to log out | v Terminate session and display login page | v If user is an Instructor | v Display Instructor Dashboard | v Instructor selects option (e.g. View Student Enrollments) | v Display Student Enrollment List | v Instructor selects student enrollment record | v Display Student Enrollment Details | v If instructor wants to update enrollment | v Display Update Enrollment Form | v Instructor updates enrollment details | v Validate updated details | v Update enrollment in database | v Display confirmation message | v If user wants to perform another action | v Return to Student Enrollment List | v If user wants to log out | v Terminate session and display login page | v If user is a Student | v Display Student Dashboard | v Student selects option (e.g. View Course List) | v Display Course List | v Student selects course | v Display Course Details | v Student selects option (e.g. Enroll in Course) | v Display Enroll in Course Form | v Student enters enrollment details | v Validate enrollment details | v Add enrollment to database | v Display confirmation message | v If user wants to perform another action | v Return to Course List | v If user wants to log out | v Terminate session and display login page | v End
Start
|
v
If user is not logged in
|
v
Display Login Page
|
v
User enters their credentials
|
v
Validate user credentials
|
v
If user is an Administrator
|
v
Display Administrator Dashboard
|
v
Administrator selects option (e.g. Manage Courses)
|
v
Display Course Management Interface
|
v
Administrator selects option (e.g. Add Course)
|
v
Display Add Course Form
|
v
Administrator enters course details
|
v
Validate course details
|
v
Add course to
|
v
Display confirmation message
|
v
If user wants to perform another action
|
v
Return to Course Management Interface
|
v
If user wants to log out
|
v
Terminate session and display login page
|
v
If user is an Instructor
|
v
Display Instructor Dashboard
|
v
Instructor selects option (e.g. View Student Enrollments)
|
v
Display Student Enrollment List
|
v
Instructor selects student enrollment record
|
v
Display Student Enrollment Details
|
v
If instructor wants to update enrollment
|
v
Display Update Enrollment Form
|
v
Instructor updates enrollment details
|
v
Validate updated details
|
v
Update enrollment in database
|
v
Display confirmation message
|
v
If user wants to perform another action
|
v
Return to Student Enrollment List
|
v
If user wants to log out
|
v
Terminate session and display login page
|
v
If user is a Student
|
v
Display Student Dashboard
|
v
Student selects option (e.g. View Course List)
|
v
Display Course List
|
v
Student selects course
|
v
Display Course Details
|
v
Student selects option (e.g. Enroll in Course)
|
v
Display Enroll in Course Form
|
v
Student enters enrollment details
|
v
Validate enrollment details
|
v
Add enrollment to database
|
v
Display confirmation message
|
v
If user wants to perform another action
|
v
Return to Course List
|
v
If user wants to log out
|
v
Terminate session and display login page
|
v
End
Step by step
Solved in 2 steps with 1 images