Software Engineering Experiment-Object-Oriented Requirement Analysis Method

Experiment-Object-Oriented Requirement Analysis Method

1. The purpose of the experiment

1) Master the characteristics, operating environment and acquisition methods of Visio (or Rational Rose);
2) Master the basic usage of Visio (or Rational Rose);
3) Master the use of Visio (or Rational Rose) to draw use case diagrams, class diagrams and activity diagrams A step of;

2. Experimental environment and equipment

Hardware environment: 1 computer.
Software Environment: Operating System: Windows; Modeling Tool: Visio or Rose; Database: MySQL (optional); Development Kit: JDK (optional); Development Environment: MyEclipse (optional); Web Server: Tomcat (optional) ); browser: IE (optional).

3. Preliminary knowledge

1. Master the basic knowledge of software engineering
2. Master the basic knowledge of object-oriented analysis and design
3. Master the general methods of building use case models and analysis models

Fourth, the experimental content

According to the "Simple Student Course Selection Management System" given in Annex 1, the use case model (use case diagram and course registration use case description) and analysis model of the system are given by the object-oriented analysis method.

Five, modeling ideas

5.1 Student roles

1. Students can inquire about the courses to be offered in the new semester.
2. Students can inquire about the teaching teachers.
3. Students can choose the courses they want to study for "course registration"
. 4. Students can inquire about the transcripts;

5.2 Academic administrator role

1. Academic administrators can maintain teacher information, student information and course information
2. Academic administrators can open and close "course registration".

5.3 Teacher role

1. Teachers can inquire about the courses to be offered in the new semester
2. Teachers can inquire about the students who have enrolled in courses
3. Teachers can register transcripts;
4. All users who use the system need to log in.

5.4 Overall service process

After the academic administrator opens "Course Registration", students log in and enter the "Course Registration" use case to complete course selection. After entering, you will first get the course catalog for the semester. The course catalog lists all the information of each course, such as course name, hours, credits, basic information, starting teachers, starting departments and course selection conditions. Each student can choose no more than 3 elective courses from the list of courses. The maximum number of students in each course cannot exceed 30 people, and the minimum number of students cannot be less than 5 students. Courses with less than 5 students will be cancelled. During the course selection period, students are allowed to audition and change the registered courses, and the academic administrator will close the "course registration" after two weeks of school. Once the student registration process is closed, final course selection results are formed and published.

6. Build the model

6.1 Role use case diagram
insert image description here

6.2 Course Enrollment Use Case Activity Diagram
insert image description here

6.3 Analysis class diagram
insert image description here

6.4 Sequence diagram
insert image description here

7. Analysis of results

Experience
1. A preliminary understanding of the basic use of Visio software.
2. Learned and practiced the drawing method of role use case diagram and use case activity diagram
3. Basicly mastered the basic requirements of demand analysis in software engineering
4. Further deepened the understanding of software engineering requirements analysis methods and processes
5. Further deepened the understanding of software Understanding of various models in engineering with diagrams

Guess you like

Origin blog.csdn.net/david2000999/article/details/121840066