Free Essay

Uml Case Diagrams

In:

Submitted By scorpi27
Words 1128
Pages 5
UMUse case diagrams
Use case diagrams depict:


Use cases. A use case describes a sequence of actions that provide something of measurable value to an actor and is drawn as a horizontal ellipse.



Actors. An actor is a person, organization, or external system that plays a role in one or more interactions with your system. Actors are drawn as stick figures.



Associations. Associations between actors and use cases are indicated in use case diagrams by solid lines. An association exists whenever an actor is involved with an interaction described by a use case. Associations are modeled as lines connecting use cases and actors to one another, with an optional arrowhead on one end of the line. The arrowhead is often used to indicating the direction of the initial invocation of the relationship or to indicate the primary actor within the use case. The arrowheads are typically confused with data flow and as a result I avoid their use.



System boundary boxes (optional). You can draw a rectangle around the use cases, called the system boundary box, to indicates the scope of your system. Anything within the box represents functionality that is in scope and anything outside the box is not. System boundary boxes are rarely used, although on occasion I

have used them to identify which use cases will be delivered in each major release of a system. Figure 2 shows how this could be done.


Packages (optional). Packages are UML constructs that enable you to organize model elements (such as use cases) into groups. Packages are depicted as file folders and can be used on any of the UML diagrams, including both use case diagrams and class diagrams. I use packages only when my diagrams become unwieldy, which generally implies they cannot be printed on a single page, to organize a large diagram into smaller ones. Figure 3 depicts how Figure 1 could be reorganized with packages.

In the example depicted in Figure 1 students are enrolling in courses with the potential help of registrars. Professors input the marks students earn on assignments and registrars authorize the distribution of transcripts (report cards) to students. Note how for some use cases there is more than one actor involved. Moreover, note how some associations have arrowheadsany given use case association will have a zero or one arrowhead. The association between Student and Enroll in Seminar (in the version shown in Figure 4) indicates this use case is initially invoked by a student and not by a registrar (the Registrar actor is also involved with this use case). Understanding that associations don’t represent flows of information is important; they merely indicate an actor is somehow involved with a use case. Information is flowing back and forth between the actor and the use case, for example, students would need to indicate which seminars they want to enroll in and the system would need to indicate to the students whether they have been enrolled. However, use case diagrams don’t model this sort of information. Information flow can be modeled using UML activity

diagrams. The line between the Enroll in Seminar use case and the Registrar actor has no arrowhead, indicating it is not clear how the interaction between the system and registrars start. Perhaps a registrar may notice a student needs help and offers assistance, whereas other times, the student may request help from the registrar, important information that would be documented in the description of the use case. Actors are always involved with at least one use case and are always drawn on the outside edges of a use case diagram. Figure 1. System use case diagram.

Figure 2. Using System boundary boxes to indicate releases.

Figure 3. Applying packages to simplify use case diagrams.

Creating Use Case Diagrams

I like to start by identifying as many actors as possible. You should ask how the actors interact with the system to identify an initial set of use cases. Then, on the diagram, you connect the actors with the use cases with which they are involved. If an actor supplies information, initiates the use case, or receives any information as a result of the use case, then there should be an association between them. I generally don’t include arrowheads on the association lines because my experience is that people confuse them for indications of information flow, not initial invocation. As I begin to notice similarities between use cases, or between actors, I start modeling the appropriate relationships between them (see the Reuse Opportunities section). The preceding paragraph describes my general use case modeling style, an “actors first” approach. Others like to start by identifying one actor and the use cases that they’re involved with first and then evolve the model from there. Both approaches work. The important point is that different people take different approaches so you need to be flexible when you’re following AM’s practice of Model With Others. Reuse Opportunities Figure 4 shows the three types of relationships between use cases -- extends, includes, and inheritance -- as well as inheritance between actors. I like to think of extend relationships as the equivalent of a "hardware interrupt" because you don't know when or if the extending use case will be invoked (perhaps a better way to look at this is extending use cases are conditional). Include relationships as the equivalent of a procedure call. Inheritance is applied in the same way as

you would on UML class diagrams -- to model specialization of use cases or actors in this case. The essay Reuse in Use Case Models describes these relationships in greater detail. Figure 4. Use case reuse.

Remaining Agile So how can you keep use case modeling agile? First, focus on keeping it as simple as possible. Use simple, flexible tools to model with. I’ll typically create use case diagrams on a whiteboard, as you see in Figure 5 which is an example of an initial diagram that I would draw with my project stakeholders. AM tells us that Content is More Important Than

Representation so it isn’t a big issue that the diagram is hand drawn, it’s just barely good enough and that’s all that we need. It’s also perfectly okay that the diagram isn’t complete, there’s clearly more to a university than what is depicted, because we can always modify the diagram as we need to. Figure 5. Whiteboard sketch.

In parallel to creating the sketch I would also write a very brief description of each use case, often on a whiteboard as well. The goal is to record just enough information about the use case so that we understand what it is all about. If we need more details we can always add them later either as an essential/business use case or a system use case.

Similar Documents

Premium Essay

Change Management Strategy in the Organization

...Model–view–controller (MVC) is a software architectural pattern for implementing user interfaces. It divides a given software application into three interconnected parts, so as to separate internal representations of information from the ways that information is presented to or accepted from the user. The Model View ViewModel (MVVM) is an architectural pattern used in software engineering that originated from Microsoft as a specialization of the Presentation Model design pattern introduced by Martin Fowler.[1] Largely based on the model–view–controller pattern (MVC), MVVM is a specific implementation targeted at UI development platforms which support the event-driven programming in Windows Presentation Foundation (WPF) and Silverlight on the .NET platforms using XAML and .NET languages. Technically different, but similar, Presentation Model design patterns are available in HTML5 through AngularJS,[2][3] KnockoutJS, Ext JS,[4] Vue.js,[5] and for Java the ZK framework (Model-View-Binder). What is garbage collection? Garbage collection is a CLR feature which automatically manages memory. Programmers forget to release the objects while coding ..... Laziness (Remember in VB6 where one of the good practices is to set object to nothing). CLR automatically releases objects when they are no longer in use and refernced. CLR runs on non-deterministic to see the unused objects and cleans them. One side effect of this non-deterministic feature is that we cannot assume an object is destroyed...

Words: 1735 - Pages: 7

Premium Essay

Marks System Analysis

...STUDENT MARK ANALYZING SYSTEM AIM: To develop software for student marks analyzing system and also draw a different UML diagrams for that. DESCRIPTION: The main objective of our project is to develop a student mark analysis system for colleges. There are four phases such as analysis, design, implementation and testing. The student details can also be maintained using the software. It simply holds the various mark details of students and it creates the required, report, whenever needed. The use case diagrams drawn clearly define the user requirements and capture the goals of the user and the responsibility of the system to its users. The software is a solution to many recurring problems such as managing student mark list and generating reports. The future enhancements of the project can also be made based on the user requirements. STUDENT MARK ANALYZING SYSTEM Use case diagram: Class diagram: Sequence diagram: Collaboration diagram: Activity diagram: STUDENT MARK ANALYZING SYSTEM Codings: FORM:1 Private Sub Command1_Click() If Text1.Text = Text2.Text Then Form5.Show End If End Sub FORM:2 Private Sub Command1_Click() Data1.Recordset.AddNew End Sub Private Sub Command2_Click() Data1.Recordset.Update End Sub Private Sub Command3_Click() Data1.Recordset.Delete End Sub Private Sub Command4_Click() Form5.Show End Sub FORM:3 Private Sub Command1_Click() Text8.Text = (Val(Text2.Text) + Val(Text3.Text) + Val(Text4.Text) + Val(Text5.Text) + Val(Text6.Text) + Val(Text7...

Words: 333 - Pages: 2

Premium Essay

Computer

...Universiti Malaysia Pahang JUNE, 2012 vi ABSTRACT Hostel Management is an application developed to manage the various activities in hostel. The particular project is deal with the problems on managing the a hostel and avoids the problem occurs when carried out manually. Identification of the drawbacks of the existing system leads to the designing of computerized system that will be compatible to the existing system with the system which is more friendly and more GUI oriented. The objective of this project is to present a design of Hostel Management System for SMA Pahang. Our research is a comparative study of software design in development HMS for SMA Pahang. The study is focusly on fully utilize the OO Diagram and functional-based diagram. Our focus is comparing the utilization and significant of software design while developing the system using PHP for development of HMS. vii ABSTRAK Pengurusan asrama adalah satu aplikasi yang dibangunkan untuk menguruskan pelbagai aktiviti di asrama. Projek tertentu berurusan dengan masalah menguruskan asrama dan mengelakkan masalah ini berlaku apabila dijalankan secara manual. Pengenalan kelemahan system yang sedia ada membawa kepada mereka bentuk system berkomputer yang akan menjadi serasi dengan system yang sedia ada dengan system yang lebih mesra dan lebih berorientasikan GUI. Objektif projek ini adalah untuk membentangkan reka bentuk Sistem Pengurusan Asrama untuk SMA Pahang. Penyelidikan kami...

Words: 3646 - Pages: 15

Premium Essay

Outline Finacial

...On-Line Web Based E-Grade Exam Management System Introduction: This Aim of this project is to produce an On-Line Web Based Exam Management System to help in the exam marks submission and the generation of the final results. The system would also be used to aid in preparing course mark reports to be presented before the examination board meeting for discussion and approval. When module tutors have all marks ready, they submit the marks for the module components to the system. Once they are in the system and after ratification by the exam board, the marks may be made available for students for viewing below Functional requirements. Web-based Application Functional Requirements: * On-line EMS System deals with all kind of student details, academic related reports, course details, curriculum, batch details and other resource related details too. * This program can facilitate us explore all the activities happening in the college, even we can get to know which teacher / faculty is assigned to which batch, the current status of a batch, attendance percentage of a batch and upcoming requirements of a batch. * Different reports and Queries can be generated based of vast options related to students, batch, course, teacher / faculty, exams, semesters, certification and even for the entire college. * Extensive information is available at your fingertips through this System. Viewing student data, managing admission and reshuffling ,managing seats, quota, board, semester...

Words: 2508 - Pages: 11

Premium Essay

Srs Onliune Regisration

...Organization: This software is used by the software concern which conducts the examination for the recruitment of its employees. Scope: This is “Exam Registration” software, which is used to register for the examination of a software company. The advantage of E-registration over the application-form system is that, one can submit this form from the place they are in. It saves time as well as an efficient system that enables easy access. Assumptions: • The id generated to the enrolled candidates is unique. • The user has basic knowledge about working of computers and gives appropriate data for the required fields. 1.3 UML USE CASE MODEL A use-case diagram is a graph of actors, a set of use cases enclosed by a system boundary, communication associations between actors and the use cases and...

Words: 2528 - Pages: 11

Premium Essay

C# and Asp.Net Project by Shivprasad Koirala Sham Shaikh

...C# and ASP.NET Projects By Shivprasad Koirala Sham Shaikh Visit us http://www.questpond.com for free interview question e-book. Mail bpb@bol.net.in to buy the book Write to the author directly at shiv_koirala@yahoo.com The e-Book is free but below are the limitation of this free e-book:-- The book has only 5 projects which are far less than what the actual book contains. -- Practical Videos and code walkthrough of the projects is not available for download. -- The book also has lot of installations provided in CD even that is not available for Download. Finally hard copy is a hard copy if you are interested below are the ways you can buy the Book:• Buy directly from the Author call 09867628636. If you are buying from the Author You get a chance to meet him and believe us you will enjoy it. Please send DD of Rupees 300 in favor of (Please send us detail that you want a hard copy or E-book CD) Shivprasad Bist E – 8, Amar Nager , Hoechst Colony , Opposite ShreeRam towers Mulund West Mumbai 82. • Call your city book shop MUMBAI-22078296/97/022-22070989, KOLKATA22826518/19,HYDERABAD-24756967,24756400,BANGALORE25587923,25584641,AHMEDABAD-26421611, BHATINA(PUNJAB)2237387,CHENNAI-28410796,28550491,DELHI/NEWDELHI23254990/91,23325760,26415092,24691288 • Are you a Pakistani reader then contact M/s. Vanguard Books P Ltd, 45 The Mall, Lahore, Pakistan (Tel: 0092-427235767, 7243783 and 7243779 and Fax: 7245097) E- mail: vbl@brain.net.pk • If you are not from india or pakistan :- ...

Words: 16342 - Pages: 66

Premium Essay

Mraa

...Engineering Universiti Malaysia Pahang JUNE, 2012 vi ABSTRACT Hostel Management is an application developed to manage the various activities in hostel. The particular project is deal with the problems on managing the a hostel and avoids the problem occurs when carried out manually. Identification of the drawbacks of the existing system leads to the designing of computerized system that will be compatible to the existing system with the system which is more friendly and more GUI oriented. The objective of this project is to present a design of Hostel Management System for SMA Pahang. Our research is a comparative study of software design in development HMS for SMA Pahang. The study is focusly on fully utilize the OO Diagram and functional-based diagram. Our focus is comparing the utilization and significant of software design while developing the system using PHP for development of HMS. vii ABSTRAK Pengurusan asrama adalah satu aplikasi yang dibangunkan untuk menguruskan pelbagai aktiviti di asrama. Projek tertentu berurusan dengan masalah menguruskan asrama dan mengelakkan masalah ini berlaku apabila dijalankan secara manual. Pengenalan kelemahan system yang sedia ada membawa kepada mereka bentuk system berkomputer yang akan menjadi serasi dengan system yang sedia ada dengan system yang lebih mesra dan lebih berorientasikan GUI. Objektif projek ini adalah untuk membentangkan reka bentuk Sistem Pengurusan Asrama untuk SMA Pahang. Penyelidikan kami adalah satu...

Words: 3646 - Pages: 15

Free Essay

Can Brazil Become a Global Competitor in the Information Technology Outsourcing Business

...GUI Based Real Time Monitoring and Controlling Approach on Networking A Technical Project report Submitted in the partial fulfillment of the requirement For the award of the degree of BACHELOR OF TECHNOLOGY IN COMPUTER SCIENCE AND ENGINEERING Submitted By K.BHARGAVI CH.KOMALI (Regd. no: 11981A0528) (Regd. no: 11981A0537) K.L.V.S.SANKAR ANDE BINDU YATHISHA (Regd. no: 11981A0541) (Regd. no: 11981A0543) Under the esteemed guidance of Mr. B. SATHISH KUMAR Assistant Professor DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING [pic] RAGHU ENGINEERING COLLEGE (Affiliated to JNTU-KAKINADA) Dakamari, Bheemunipatnam Mandal,Visakhapatnam-531162 2014-2015 DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING RAGHU ENGINEERING COLLEGE (AFFILIATED TO JNTUK) BHEEMUNIPATNAM MANDAL VISAKHAPATNAM [pic] CERTIFICATE This is to certify that this Project Report Entitled “ GUI Based Real Time Monitoring and Controlling Approach on Networking” is the bonafide work carried out by K.Bhargavi(11981A0528),CH.Komli(11981A0537),K.L.V.S.Sankar(11981A0541),Ande Bindu Yathisha(11981A0543)of final year B.Tech, Computer Science Engineering, submitted in the partial fulfillment of the requirements for award of Degree of Bachelor of Technology during the...

Words: 12675 - Pages: 51

Premium Essay

Cis 339 Course Success Begins / Tutorialrank.Com

...CIS 339 iLab 1 System Requirements (DEVRY) CIS 339 iLab 2 of 7 (DEVRY) CIS 339 iLab 3 - Structural Modeling - Class Diagram and CRCs (DEVRY) CIS 339 iLab 4 - Sequence, Communication, and State Diagrams (DEVRY) CIS 339 iLab 5 - Package Diagrams (DEVRY) CIS 339 iLab 6 - CRCs, Contracts, and Method Specifications (DEVRY) CIS 339 iLab 7 - Object-Oriented Application Coding (DEVRY) ------------------------------------------------------------------ CIS 339 iLab 3 - Structural Modeling - Class Diagram and CRCs (DEVRY) For more course tutorials visit www.tutorialrank.com As the software architect for the SRS system, you are making good progress in your work. After finishing the Functional Modeling (activity diagram, use case diagram, and use case descriptions) of the SRS system, you are now ready to move on to its Structural Modeling. In this week, you will use the models of your Functional Modeling to determine and design your class diagram and complete a CRC card for each class. The Structural Modeling is very critical for the success of your project since it is the backbone upon which the entire project is built, so take the time to design and refine your class diagram and its corresponding CRC cards. Deliverables Class diagram for the SRS system CRC cards for each class in your class diagram STEP 2: Create the Class Diagram Download the CRC Card Template and use it for your deliverables this week. (Attached) Explain your work and the decisions...

Words: 1432 - Pages: 6

Free Essay

Oobd

...7.2.3. Class diagram key word:- Key Word | Definition | Cus.ID | Customer ID | Cus.NA | Customer Name | Cus.add | Customer Address | Cus.ph | Customer phone | Reg.No | Registration Number | Phone_num | Phone number | Vehicles_No | Vehicles Number | 7.3. Sequence Diagram:- 7.3.1. Sequence Diagram Description:- Sequence diagram will explain how the traveler will request for example (Taxi) from the system and how the system will check for available taxi after finding the taxi , system will ask user for payment then will book the tax for him. We use taxi for example to this Sequence diagram, it the same process for Buses and cars. Taxi Booking Taxi Process (TMS) Traveler Request a Taxi Taxi arability Payment Booking Details Booking Taxi Search for available car Page 6 7.4. Activity Diagram:- 7.4.1. Activity diagram description:- The activity diagram shows the various activities step by step with the carrying for both parallel and conditional behavior. An activity diagram is a modification of state diagram in which most of the states are activity state. The activity diagram of above UML class model is designed and given below. 7.4.2. Activity diagram model:- Entry Traveler request Traveler request process Viability of Taxi YES NO Payment Display message Taxi Booking EXIT ...

Words: 596 - Pages: 3

Premium Essay

Railway Reservation System

...|Ex.No:4 |ONLINE TICKET RESERVATION SYSTEM | | | | PROBLEM STATEMENT: The “Any Where Any Time Advance Reservation” system is the online ticket reserving system where the passengers can reserve the tickets for their travel, cancel the reserved ticket and they can view the status of the ticket before travelling. The passenger who is reserving the ticket in AWATAR unless they are the member of AWATAR .The passenger can reserve the ticket by giving the required detail in the form and submit it for the processing .They can reserve for at the max for five members and a single ticket is provided for them. The administrator the AWATAR can control the ticket reservation and the accounts of the passengers who are signing up in AWATAR. The administrator can reset the seats, fares of the tickets, and generates the PNR number for the ticket that are reserved. The sole control of the system is handled by the administrator. The printer prints the tickets that are reserved by the passenger. The passenger can sign-up for only one time and he can sign in for any number of times for reserving, cancelling and viewing the tickets. The AWATAR system provides flexibility for the persons based on the age, the passengers are fared based on the age and the place of travelling...

Words: 1039 - Pages: 5

Premium Essay

Oosad

...period.These employees are in temporary basis to work for special projects and to assist with their technical skill.Therefore a report discussed on the proposal about the Professional Temporary Staff Hiring System is developed for the Professional and Scientific Staff Management (PSSM), a temporary staffing agency. What the system can do is matching contract number, review the terms and conditions of the contract,checks the validity of the contract, searches for available professional and scientific staff in the database, change the status of the individual in the database, and generating bills.The main purpose of this report is to demonstrate on how is the system developed following the software methodology approach with the aids of UML diagrams to design the system structural design, gantt chart to show the process of work and a sample model of the system. 2.0 System Request 3.1 Project Sponsor Tan Sri Dato' Seri Vincent Tan Chee Yioun(Chief Executive Officer of Berjaya Corporation Berhad). 3.2 Business Needs This project is created to make the process of hiring temporary staff easier, and more efficiency. 3.3 Business Requirements By using the system, the staffs should be able to running the process of hiring temporary staff in an easier way and hence it is more efficient. Manager should be able to...

Words: 9372 - Pages: 38

Premium Essay

C Sharp Project

...C# and ASP.NET Projects By Shivprasad Koirala Sham Shaikh Visit us http://www.questpond.com for free interview question e-book. Mail bpb@bol.net.in to buy the book Write to the author directly at shiv_koirala@yahoo.com The e-Book is free but below are the limitation of this free e-book:-- The book has only 5 projects which are far less than what the actual book contains. -- Practical Videos and code walkthrough of the projects is not available for download. -- The book also has lot of installations provided in CD even that is not available for Download. Finally hard copy is a hard copy if you are interested below are the ways you can buy the Book:• Buy directly from the Author call 09867628636. If you are buying from the Author You get a chance to meet him and believe us you will enjoy it. Please send DD of Rupees 300 in favor of (Please send us detail that you want a hard copy or E-book CD) Shivprasad Bist E – 8, Amar Nager , Hoechst Colony , Opposite ShreeRam towers Mulund West Mumbai 82. • Call your city book shop MUMBAI-22078296/97/022-22070989, KOLKATA22826518/19,HYDERABAD-24756967,24756400,BANGALORE25587923,25584641,AHMEDABAD-26421611, BHATINA(PUNJAB)2237387,CHENNAI-28410796,28550491,DELHI/NEWDELHI23254990/91,23325760,26415092,24691288 • Are you a Pakistani reader then contact M/s. Vanguard Books P Ltd, 45 The Mall, Lahore, Pakistan (Tel: 0092-427235767, 7243783 and 7243779 and Fax: 7245097) E- mail: vbl@brain.net.pk • If you are not from india or pakistan :- ...

Words: 16342 - Pages: 66

Premium Essay

Cis 339 Apprentice Tutors - Snaptutorial.Com

...CIS 339 Entire Course For more classes visit www.snaptutorial.com CIS 339iLab 1 System Requirements CIS/339 iLab 2 of 7 CIS 339iLab 3 - Structural Modeling - Class Diagram and CRCs CIS 339iLab 4 - Sequence, Communication, and State Diagrams CIS 339iLab 5 - Package Diagrams CIS 339iLab 6 - CRCs, Contracts, and Method Specifications CIS 339iLab 7 - Object-Oriented Application Coding ---------------------------------------------------- CIS 339 iLab 1 System Requirements For more classes visit www.snaptutorial.com L A B O V E R V I E W Scenario and Summary You have been hired by the School of Prosperity (SoP) as a software architect to help the school plan, design, and implement a new online system called the Student Records System (SRS). The Student Records System (SRS), described in the SRS Preliminary Planning Overview document, is the 7-week-long project that you will work on throughout this course. You will be developing UML models and documents for the planning, design, and implementation phases of SRS development. In each week, you will be provided with the information you need to continue to develop your analysis and design UML models and documents for this project. In this very first week, you will develop the System Request document that articulates the business needs and values of the SRS. The Sop school is excited about this project and allowed you to ask them five questions to clarify project issues for you about the SRS project. You are...

Words: 1856 - Pages: 8

Free Essay

Report on Examination System

...A PROJECT REPORT ON Online Examination Submitted To UNIVERSITY OF PUNE In Partial Fulfillment of the Requirement Of MASTER OF COMPUTER APPLICATIONS (Semester – V) By Arvind Singh Niraj Shirke Kiran Shette Under The Guidance Of Prof. Rajesh Kanzade SINHGAD INSTITUTE OF BUSINESS ADMINISTRATION AND COMPUTER APPLICATION, LONAVALA- 410401 2009-2010 Sinhgad Technical Education Society’s SINHGAD INSTITUTE OF BUSINESS ADMINISTRATION & COMPUTER APPLICATION (SIBACA), Kusgaon (Bk.), Lonavala, Pune – 410 401 Certificate This is to certify that the mini project entitled ‘Online Examination’ being submitted by Mr. Arvind Singh (Roll. No. 58), Mr. Niraj Shirke (Roll. No. 57), Mr. Kiran Shette (Roll. No. 56) in partial fulfillment of the requirement for the award of degree of Master of Computer Applications of the University of Pune, is a record of bona fide work carried out by him under my supervision. Place : Lonavala Date : / /2008 Project Guide Project Coordinator Director Prof. Rajesh Kanzade Prof.Ashok Sabale Prof.Parag Kalkar Declaration We, the undersigned hereby declare that the Project report entitled Online Examination is designed, written and submitted by us in partial fulfillment of the requirement for the award of the degree of Master of Computer Applications is our original work. The empirical findings in this report are based on data collected by us through discussion with the project guide. We understand...

Words: 3570 - Pages: 15