Professional Documents
Culture Documents
ANALYSIS
LECTURE 10
Student Council Elections
Candidates have to visit the following link for details.
https://sks.uskudar.edu.tr/duyuru/ogrenci-temsilcisi-secim-duyurusu
HOMEWORK 2
It is essentially a flowchart
Showing flow of control from activity to activity
Purpose
Model business workflows
Model operations
Transitions
Objects
2. Transition
Activity1() Activity2()
1. Activities
When the action or activity of a state completes, flow of control passes immediately to
the next action or activity state
[x>0]
[x>0]
Activity1()
[x=0] [x=0]
[x<0] [x<0]
3. Decision Diamond
Decision
[lowPriority]
Open Allocate
Incident Resources
Notify
Police Chief
A branch may have one incoming transition and two or more outgoing ones
{AND}
{OR}
{XOR}
Use a synchronization bar to specify the forking and joining of parallel flows of control
A fork may have one incoming transitions and two or more outgoing transitions
each transition represents an independent flow of control
conceptually, the activities of each of outgoing transitions are concurrent (at the same time)
either truly concurrent (multiple nodes)
A join may have two or more incoming transitions and one outgoing transition
above the join, the activities associated with each of these paths continues in parallel
each waits until all incoming flows have reached the join, at which point one flow of control continues on
below the join
Document
Incident
The initial node indicates where the The diagram also contains an activity
execution of an activity begins. final node that represents the end of an
activity.
It does not have any incoming edges but
has at least one outgoing edge and is We will look at the activity final node,
noted as a solid black circle. noted by a solid black circle within
another circle
The example in Figure shows two concurrent subpaths of the activity Conduct lecture.
If the activity Conduct lecture is activated, a token is placed at each of the two initial nodes and thus both subpaths are activated.
One subpath relates to the actions of students and the other subpath refers to the actions performed by a lecturer.
In the action Write exam, both paths are merged. A token must be present at both incoming edges for the action Write exam to be
executed.
Application/Department/Group/Role Boundaries
Lecture Notes of Prof. M.E. Fayad
UML @ Classroom, An Introduction to Object-Oriented Modeling.
Martina Seidl, Marion Scholz, Christian Huemer, Gerti Kappel
SWIMLANES (1)
Figure shows an example of this. In this example, the institute employees Professor and Secretary are involved in
the execution of an exam.
An Approach for Generating Minimal Test Cases for Regression Testing, Sapna P G, Arunkumar Balakrishnan
EXAMPLE
concurrent flows
System Analysis and Design with UML 5th edition Dennis, Wixon and
Tegarden
EXAMPLE
System Analysis and Design with UML 5th edition Dennis, Wixon and
Tegarden
EXAMPLE
The borrowing activities are built around checking books out and returning books by borrowers.
There are three types of borrowers: students, faculty or staff, and guests.
Regardless of the type of borrower, the borrower must have a valid ID card.
o If the borrower is a student, having the system check with the registrar’s student database validates
the ID card.
o If the borrower is a faculty or staff member, having the system check with the personnel office’s
employee database validates the ID card.
o If the borrower is a guest, the ID card is checked against the library’s own borrower database.
If the ID card is valid, the system must also check to determine whether the borrower has any
overdue books or unpaid fines.
o If the ID card is invalid, the borrower has overdue books, or the borrower has unpaid fines, the
system must reject the borrower’s request to check out a book, otherwise the borrower’s request
should be honor
System Analysis and Design with UML 5th edition Dennis, Wixon and
Tegarden
(penalty)
System Analysis and Design with UML 5th edition Dennis, Wixon and
Tegarden
EXAMPLE
The system should enable the staff of each academic department to examine the courses offered by
their department, add and remove courses, and change the information about them (e.g., the maximum
number of students permitted).
It should permit students to examine currently available courses, add and drop courses to and from their
schedules, and examine the courses for which they are enrolled.
Department staff should be able to print a variety of reports about the courses and the students enrolled
in them.
The system should ensure that no student takes too many courses and that students who have any
unpaid fees are not permitted to register (assume that fees data are maintained by the university’s
financial office, which the registration system accesses but does not change).
System Analysis and Design with UML 5th edition Dennis, Wixon and
Tegarden
EXAMPLE
The system should enable the staff of each academic department to examine the courses offered by their
department, add and remove courses, and change the information about them (e.g., the maximum number
of students permitted).
It should permit students to examine currently available courses, add and drop courses to and from their
schedules, and examine the courses for which they are enrolled.
Department staff should be able to print a variety of reports about the courses and the students enrolled in
them.
The system should ensure that no student takes too many courses and that students who have any unpaid
fees are not permitted to register (assume that fees data are maintained by the university’s financial office,
which the registration system accesses but does not change).
System Analysis and Design with UML 5th edition Dennis, Wixon and
Tegarden
decision node
Merge
node
decision node
Merge
node
Merge
node
Merge
node
System Analysis and Design with UML 5th edition Dennis, Wixon and
Tegarden
REFERENCES