Use Case Template
Use Case Template
for
EDUNEXT
Version 1.0 approved
Prepared by Group 4
Fpt University
13,January 2025
Revision History
Copyright © 2013 by Karl Wiegers and Seilevel. Permission is granted to use and modify this document.
Use Cases for <edunext> Page 1
I.OverView
1. User Requirements
■ 1.1 Actors
# Actor Description
1 Admin This person is the user account and system settings manager.
The person who will create, manage courses and grade and evaluate
2 Teacher
students
3 Student This person will answer questions in each slot, different courses.
Use Cases for <edunext> Page 2
2. UseCase Diagram
■ 2.1 : Diagram
■ 2.2 : Descriptions
■ Relationships:
● <<include>> indicates that one use case is a mandatory part of another.
○ For example, "Sign In" includes "Sign In with Email."
● <<extend>> indicates optional or conditional functionality.
Use Cases for <edunext> Page 3
Description of alternative Step 4:If Authentication fails, the system displays an error
sequence : message:"Invalid data. Please re -enter email or password."The user
can re-enter the email and password.
Nonfunctional The system should validate login attempts within 2 seconds.
requirements :
Postcondition: POST-1: The user successfully logs into the system.
Outstanding questions: What measures are in place to handle repeated failed login attempts
(e.g., account lockout)?
Use Cases for <edunext> Page 4
Nonfunctional
requirements : ● The system should validate question submissions within 3
seconds.
Postcondition: POST-1: The question is successfully added to the slot. .
Nonfunctional The system should ensure changes are reflected within 3 seconds of
requirements : submission.
Postcondition: POST-1: The question is successfully updated and visible with the
modified details.
Outstanding questions: Should the system maintain a version history of question edits?
Use Cases for <edunext> Page 6
PRE1: Teacher has logged into the system with the authority to manage
Preconditions: tests and grades.
PRE2: Tests have been pre-created in the system (or tests can be
added) and are linked to specific classes.
PRE3: A list of students has been imported into the system.
1, The teacher selects their class for the semester and accesses the
Description of main Generate Report feature.
sequence: 2, The system shows the list of tests and classes the teacher manages.
3, The teacher selects a test to manage.
4, The system displays a list of students and test statuses.
6, The teacher performs operations:
7, Enter scores and comments.
Edit scores if needed.
Save data.
8, The system saves the scores and logs the operation.
STEP2: The system detects that the class has no students associated
Description of with it. Displays the message: "The student list is empty. Please check
alternative sequences: again."
The teacher enters an invalid score (e.g., it exceeds the 0-10 limit).
The system displays the error message: "Invalid score entry. Please
enter a value between 0 and 10."
N/A.
Outstanding
questions:
This use case allows teachers to create tests and manipulate student
Summary: scores.
Teacher
Actor: Secondar
y Actors:
Preconditions: PRE1: Teacher has logged into the system with the authority to manage
tests and grades.
PRE2: Tests have been pre-created in the system (or tests can be
added) and are linked to specific classes.
Description of main 1, The teacher selects their class for the semester.
sequence:
2, The teacher accesses the "Manage Assessment and Grading"
feature.
Use Cases for <edunext> Page 9
5, The system displays the student list and the student test status.
Teachers can export the student list and scores at this step.
Description of STEP5: The system detects that the class has no students associated
alternative sequences: with it. Displays the message: "The student list is empty. Please check
again."
STEP6: The teacher enters an invalid score (e.g., it exceeds the 0-100
limit). The system displays the error message: "Invalid score entry.
Please enter a value between 0 and 10."
Nonfunctional 1, All grade modifications must be traceable, including the original and
requirements: updated values, along with the user making the changes.
Postcondition: POST-1: The score and comments have been successfully saved to the
system.
Summary: This use case allows the user to send a problem that needs support.
Dependency: N/A.
Description of N/A
alternative sequences:
Nonfunctional 1, All support interactions (e.g., tickets, chats) must be logged, including
Use Cases for <edunext> Page 11
N/A.
Outstanding questions:
Teacher,
Actor: administrator Secondary
Actors:
6, Processes the valid file, imports student data, and updates the
database.
Description of STEP4: The user uploads a file in an unsupported format. The system
alternative sequences: displays an error and requests the correct file format.
STEP6: The system processes valid rows and skips rows with errors.
The system provides a detailed report highlighting successful imports
and failed rows.
Postcondition: POST1: All valid student records are added or updated in the database.
POST3: The system logs the import operation, including the user’s ID,
timestamp, and the number of records processed.
N/A.
Outstanding questions:
Notification None
Actor: System Secondar
y Actors:
None
Outstanding questions:
Use Cases for <edunext> Page 14
Administrator None
Actor: Secondary Actors:
Description of main 1, The administrator selects the "Manage User" option from the main
sequence: menu.
● Add User: The system collects required details and adds a new
user to the database.
● Edit User: The system retrieves existing user details, allows
modifications, and updates the database.
● Delete User: The system removes the user account after
confirmation.
4, The system confirms the operation and logs the changes for auditing
purposes.
Description of None
alternative sequences:
Nonfunctional 1, The user management interface should be responsive and load within
requirements: 2 seconds.
None
Outstanding questions:
This use case enables the administrator to add new user accounts by
Summary: entering required details such as name, email, and role into the
system.
Include Manage User
Dependency:
Administrator
Actor: Secondary Actors:
Description of None
alternative
sequences:
Nonfunctional 1, The system should validate and create the user account within 5
requirements: seconds.
2, User account data must be securely stored and comply with data
protection standards.
Postcondition: POST1: A new user account is successfully created and added to the
system.
None
Outstanding
questions:
Use Cases for <edunext> Page 17
Administrator None
Actor: Secondary Actors:
PRE1: The administrator is logged into the system with the necessary
Preconditions: permissions.
PRE2: The system has access to the user database.
1, The administrator selects the "Edit User" option from the menu.
Description of main
sequence: 2, The system displays a list of users or provides a search function to
locate the specific user.
Description of None
alternative
sequences:
Nonfunctional 1, The system should validate and save the updated details within 5
seconds.
Use Cases for <edunext> Page 18
requirements: 2, User account modifications must comply with data security and
integrity policies.
3, Audit logs must record the original and updated values of edited
fields.
Postcondition: POST1: The updated user details are successfully saved in the
system.
None
Outstanding
questions:
This use case enables the administrator to permanently delete a user account
Summary: from the system while ensuring the action is logged for auditing and critical
system integrity is maintained.
Include Manage User
Dependency:
Administrator None
Actor: Secondary Actors:
PRE1: The administrator is logged into the system with the necessary
Preconditions: permissions.
PRE2: The system has access to the user database.
1, The administrator selects the "Delete User" option.
Description of main
sequence: 2, The system displays a list of users or provides a search function to locate
Use Cases for <edunext> Page 19
6, The system checks if the user is associated with critical records and
requires reassignment of related data if necessary.
7, Upon successful validation, the system deletes the user account and logs
the action.
Description of None
alternative sequences:
Nonfunctional 1, The system should validate and complete the deletion process within 5
requirements: seconds.
2, Audit logs must include details of the deleted user account and the
administrator performing the action.
3, The system must maintain referential integrity for any associated data.
Postcondition: POST1: The user account is successfully deleted from the system.
None
Outstanding questions:
Administrator None
Actor: Secondary Actors:
PRE1: The administrator is logged into the system with the necessary
Preconditions: permissions.
PRE2: The system is operational and accessible.
1, The administrator selects the "System Settings" option from the admin
Description of main dashboard.
sequence:
2, The system displays the available configuration categories (e.g., user
roles, notifications, application preferences).
5, The system validates the input values and applies the changes.
Description of None
alternative sequences:
None
Outstanding questions:
Use Cases for <edunext> Page 21
This use case enables students to access the Q&A section, view
Summary: previously asked questions and their answers, search for specific
topics, and optionally submit new questions if relevant information is
unavailable.
1, The system must have a functional Q&A section with pre-existing
Dependency: content.
Description of 1, If the user cannot find relevant questions or answers, the system
alternative provides an option to submit a new question.
sequences:
2, If no questions exist for a given topic, the system displays a
message encouraging users to ask their question.
Nonfunctional 1, The system must display search results or filtered content within 3
requirements: seconds.
Use Cases for <edunext> Page 22
2, The Q&A section interface should be intuitive and responsive for all
device types.
Postcondition: POST1: The student successfully views the desired Q&A content.
None
Outstanding
questions:
Nonfunctional 1.0 The user guide should be easy to navigate, well-organized, and
requirements : clearly written.
2.0 The user guide should be readily available to all registered users
within the EduNext platform.
Postcondition: POST-1: The student has successfully accessed and viewed the
EduNext user guide.
Outstanding questions:
7. The system notifies the user that the course has been
successfully created.
Nonfunctional 1.0 The course creation process should be intuitive and require no
requirements : more than 5 steps.
Postcondition: POST-1: The course is successfully created and stored in the EduNext
database.
POST-2: The user is notified of the successful creation .
Outstanding questions: What specific user roles and permissions will be supported?
2.0 The system should load assignment details quickly and efficiently.
Postcondition: POST-1: The student has successfully viewed the details of the
selected assignment.
Outstanding questions:
sequence :
Nonfunctional The system should display the content of a slot within 3 seconds.
requirements :
Postcondition: POST-1: The user successfully views detailed information about the
selected course
Outstanding questions:
Description of alternative ALT-1: If the slot has no content, the “View Slot” section is not display
sequence :
Nonfunctional The system should display the content of the selected slot within 3
requirements : seconds.
Postcondition: POST-1: The user successfully views the content of the selected slot
Outstanding questions:
Description of alternative ALT-1: If no questions are associated with the slot, the system
sequence : displays a message: "This slot has no content"
Nonfunctional The system should load and display the questions within 2 seconds.
requirements :
Postcondition: POST-1: The user successfully views the list of questions of the
selected slot.
Outstanding questions:
N/A.
Dependency:
Teacher
Actor: Secondar
y Actors:
Preconditions: PRE1: Teacher has logged into the system with the authority
to manage tests and grades.
Description of main 1, The teacher selects their class for the semester.
sequence:
2, The teacher accesses the "Course Management" feature.
Description of alternative STEP2: The system detects that the class has no students
sequences: associated with it. Displays the message: "The student list is
empty. Please check again.
Nonfunctional N/A
requirements:
Outstanding questions:
Teacher None
Actor: Secondary
Actors:
Preconditions: PRE1: Teacher has logged into the system with the authority
Use Cases for <edunext> Page 31
PRE3: The course must exist in the system with at least one
slot available.
Description of alternative STEP3: If the question data entered by the teacher is invalid
sequences: (e.g., missing required fields, incorrect format), the system
displays an error message and prompts the teacher to correct
the input and resubmit the form.
Nonfunctional N/A
requirements:
Outstanding questions:
Use Cases for <edunext> Page 32
Use Cases for <edunext> Page 33
III.Diagram
1.Context Diagram
Use Cases for <edunext> Page 34
4.Deployment View(sua)
5.Dynamic View(s)
Use Cases for <edunext> Page 36
6.Structural View(s)
Use Cases for <edunext> Page 37
8.Communication Diagram