SWR302
Đề 1
Q1. (Dùng văn này chứ chẳng có gì khác để làm =)))
Software Requirements Specification
for
FU Lab Pratices website
Version 1.0 approved
Prepared by
Trần Xuân Tiến, SE161471
FPT University Campus Ho Chi Minh
Monday, July - 24 - 2023
Q2.
1. In this exam paper, the name of the rectangle is: FU Lab
Practices
2. The actor may be human, other software systems or devices. In
this exam paper, list the name of >= 4 actors is:
- Admin
- Student
- Teacher
- System
- Guest
3. In this exam paper, list the name of >= 5 use cases are:
- Lấy 5 cái từ đống use cases trên
4. The actors are inside or outside of the rectangle: Outside
5. The ovals represent the use cases are inside or outside of the
rectangle: Inside
6. The primary actor of the use case add course is: Administrator
7. The secondary actor of the use case add course: Student &
Teacher
[Link] on the fact you already used coursera. The use cases in
this exam paper may have relationship.
8.a List the name of two use cases that have extend relationship:
View Course List, View Course Details
8.b The name of base use case (in 8.a) is: View Course List
8.c The name of extends use case (in 8.a) is: View Course
Details
8.d The dashed line with an arrow that points to which use case:
View Course List (tự hiểu là mũi tên extends luôn trỏ về base use
case, không phải là extends nên đáp án là View Course List)
9. Based on the fact you already used Coursera, the use cases
in this exam paper may have relationship.
9.a List the name of two use cases that have include
relationship: Peer-review, Submit Review Comments
9.b The name of based use case (in 9.a) is: Peer-review
9.c The name of include use case (in 9s.a) is: Submit Review
Comments
9.d The dashed line with an arrow that points to which use case?
Submit Review Comments (tự hiểu là mũi tên includes luôn trỏ về
base use case, không phải là extends nên đáp án là View Course
List)
Q3.
ID and Name UC-1: Submit Project
Created by Nguyen Van Tu Cuong Date Created 12/11/2023
Primary Actor Teacher Secondary Actor Teacher
Description Students have the ability to utilise the FU Lab Practices platform to submit
their project to their teachers, categorised under relevant subjects such as
Java, Python, C#, and more. Subsequently, teachers can review the
submitted code and assess the students' results.
Trigger A student indicates to submit a project
Preconditions PRE1 - Student is logged in FU Lab Practices
PRE2 - The project is either stored on the student's local computer or has
already been uploaded to GitHub.
Postconditions POST1 - The status of the student submission is marked as "Done."
POST2 - The teacher is able to access and review the student's project.
Normal Flow 1.0. Submit project from local computer
1. Student clicks on Submit button (see 1.0 E1)
2. FU Lab Practices presents a modal that enables students to choose a
specific file path.
3. The student selects the project path (e.g., /D/Cuong/PRU211) and clicks
the Confirm button. (see 1.0 E2)
4. FU Lab Practices displays an alert to the student, asking for
confirmation.
5. The student clicks on "Yes."
6. The project is successfully submitted.
Alternative Flow 1.1. Submit project from GitHub
1. Student clicks on Submit button (see 1.0 E1)
2. FU Lab Practices presents a modal that enables students to input a
GiHub repository URL.
3. The student enters a URL that points to their project.
4. FU Lab Practices will find the repository, then display an alert to the
student, asking for confirmation.
5. Return to step 5 of normal flow.
Exceptions 1.0 E1: The deadline has passed.
1. FU Lab Practices will notify the student that they have missed the
deadline and are unable to submit.
1.0 E2: Project exceeds 10MB.
1. FU Lab Practices will inform the student that the file size exceeds 10MB
and submission is not possible.
2a. If the student cancels the submission process, the use case is
terminated.
2b. Otherwise, if the student requests another file, FU Lab Practices
restarts the use case.
Priority High
Business Rule BR-1. The project cannot exceed 10MB.
Other informations The student has the ability to cancel the upload process at any time of their
choosing.
Assumption The student's internet connection remains stable while uploading the file.
Q4. Viết 2 non functional thì coi docs ở đây
SWE201c
Chỉ từ A đến Z, non func có functional có nốt
Functional Requirements thì coi như 1 cái use case.
Non Func thì văn mẫu.