Subject: Software Engineering Assignment

profileShiva117
QuesDoc051.docx

QUESTION1:- Develop a sequence diagram for each use case.

Use case 1: User Login:

Actor: Admin, Faculty, or Student

Basic Flow

1. User clicks the login link or enters the login URL into the browser.

2. The system displays login page.

3. User clicks login (Submit) button after entering the credentials and roles.

4. According to the role, the system retrieves a “User List”.

5. The system checks to see if the username exists in the “User List”.

6. If the account exists, the system compares the password.

7. If the input password is valid, based on the role provided, the system starts an authenticated session, retrieve Faculty List and displays View Faculty page (landing page).

Alternate Flow

Invalid username or password: The system checks to see if the username exists in the “Users”. If the username is not found, the system displays a message “Invalid username. Click on “OK” to try again.” The user clicks on the “OK” button. The system redisplays login page. User clicks on the forgot username link. The system asks user to enter his/her email address. User enters the email address associated with his/her account. The system displays a message ”Username was sent to your email.”

Activity Diagram for User Login.

/Users/lexxyungcarter/Downloads/Robust Analysis (1).jpg

Robust Analysis :-

/Users/lexxyungcarter/Downloads/Robust Analysis (2).jpg

Use Case 2: Admin Adds Student

s

Normal Flow:

1. Admin selects the “Students” tab in the “Admin home page”,

2. System retrieves Student list and displays “Student View” page.

3. Admin clicks “New Student” button.

4. System displays “Add student” page.

5. Admin Provides student details by selecting the institute name from dropdown box, enters student’s details

6. Admin clicks on “Save” button.

7. System validates the entered data;

8. System Save data to the database, if valid.

9. System displays successfully saved message on top of student list, which includes the new added student.

Activity Diagram for Admin Adds Student:-

/Users/lexxyungcarter/Downloads/Robust Analysis (3).jpg

Robust Analysis:-

/Users/lexxyungcarter/Downloads/Robust Analysis (4).jpg

Use case 3: Team Member Makes Comments on Assessment Done by other Members:

Basic Course:

1. Student clicks “Make a Comment” button on the “View Peer Assessment” Page.

2. The system checks the Session to make sure the student is logged in and then displays a Write Comment page with a multi-line Text box.

3. Student writes a comment on the comment box.

4. Student clicks on the “Save” button.

5. The system validates the comment (e.g. not too long, or too short).

6. If the comment validation is ok, the system displays a confirmation page, and send the comment to Instructor for approval.

States Machine for “comments on assessment”

Comments created by evaluate

Comments Approved by instructor

Comments displayed to students

Comments disapproved by instructor

Comments revised by evaluate

Alternate Course

Too long or short comment: The system displays a message “Comment length is out side the allowable range. Click on “OK” to try again.”

Activity Diagram:-

Robust%20Analysis%20(10).jpg

Robust Analysis:-

Robust%20Analysis%20(5).jpg

Use case 4: View and manage Classes Page

Normal Flow

1. The admin selects a school and a faculty. The system returns a list of classes based on the selection.

2. The admin indicates they wish to edit a class.

3. The system provides a form for editing the class.

4. The admin fills it appropriately and submits it.

5. The system saves the changes and returns the new information.

Alternate Flows

The admin selects a class from the list returned by the system. The system displays all courses for the class.

The admin indicates their wish to update the courses for that class. The system proceeds to save the changes and notifies the notifiable entities.

Activity Diagram:-

Robust%20Analysis%20(11).jpg

Robust Analysis:-

Robust%20Analysis%20(6).jpg

Use case 5: View and manage Rubrics Page

Normal Flow

1. The admin selects a school and a faculty.

2. The system returns a list of rubrics based on the selection.

3. The admin indicates they wish to update a Rubric’s details.

4. The system provides a form for editing the rubric.

5. The admin fills it appropriately and submits it.

6. The system saves the changes and returns a success message.

7. The system provides a form for adding a new faculty.

8. The admin fills it appropriately and submits it.

9. The system verifies the information and saves the changes.

Alternate Flows

The admin selects a school from the list returned by the system. The system displays all rubrics for the school.

The admin indicates their wish to remove a rubric from a faculty. The system proceeds to save the changes, and notifies the notifiable entities.

Activity Diagram:-

Robust%20Analysis%20(12).jpg

Robust Analysis:-

Robust%20Analysis%20(7).jpg

Use case 6: View and manage Faculty Page

Normal Flow

1. The admin fills in the login form and submits.

2. The system verifies their credentials and logs them in to their account.

3. The admin selects an option they wish to perform.

4. The system processes their requests and alerts the admin of either a success or failure status.

5. The admin indicates they wish to logout of the system.

6. The system securely logs them out of their session.

7. The system provides a form for adding a new faculty.

8. The admin fills it appropriately and submits it.

9. The system verifies the information and saves the changes.

Alternate Flows

None

Activity Diagram:-

Robust%20Analysis%20(13).jpg

Robust Analysis:-

Robust%20Analysis%20(8).jpg

Use case 7: View and manage Teams Page

Normal Flow

1. The admin selects a class.

2. The system then displays teams for the selected class.

3. The admin indicates their wish to update the list of team members.

4. The system saves the changes and returns a success message.

5. The admin selects a class.

6. The system then provides a form for creating a new team.

7. The admin fills out the form accordingly and submits it.

8. The system saves the changes and returns a success message.

Alternate Flows

None.

Robust Analysis:-

Robust%20Analysis%20(9).jpg

Salendri Udaysri Yadav

700700707