In software and systems engineering, a use case is a list of steps, typically defining interactions between a role and a system. From Wikipedia: http://en.wikipedia.org/wiki/Use_case
3
votes
1answer
106 views
Requirements for an hierarchy design in C++ for integer C types extension. Interface design problem
I'm trying to design a hierarchy classes that extends the integers C types. What I'm trying to achieve is basically the following:
I have a basic class called Integer this class is an abstract class, ...
1
vote
1answer
135 views
Should written use cases be consistent with use case diagram?
I'm developing a video web system like YouTube where users can upload, view, update and delete their own videos (CRUD operation). Original I drawn the use case diagram like this:
But I learned ...
1
vote
0answers
44 views
Should the developer help customer to write the user stories? [duplicate]
Recently, two guys contacted me and asked me to build their mobile app.
They have a brand new concept and want an app quickly.
I told them that I need some user stories and some specifications by ...
0
votes
1answer
45 views
In NodeJS/ExpressJS, how should one decide between using request params and query strings?
While I am starting to get a hold of NodeJS programming, I am a bit confused by when to use request params and how their practical use differs from using query strings.
In particular, I can do ...
1
vote
2answers
123 views
Does it make sense to internationalize logs?
I'm working on converting the logging API used by a web application from log4j to slf4j, and noticed that the interface used to abstract over the log4j implementation supports internationalization; I ...
0
votes
2answers
116 views
The right way to show the big use-case diagram
I have the big use-case diagram:
May I pack some use-cases in packages and then show diagram by the following way:
5
votes
1answer
64 views
UML use case diagram: Actors on left and right?
I'm currently drawing a use case diagram (using UML2.0) and it's getting quite large and unorganised.
So my question is, is it acceptable to place actors on both the left and right of the system ...
3
votes
1answer
50 views
Are exceptional/alternate scenarios use cases?
NB: For the purpose of this question, alternate scenarios are scenarios that aside from the main scenario also lead to the completion of the user goal; exceptional scenario are scenarios that do not ...
1
vote
1answer
80 views
Is it reasonable to assume a 1:1 relationship between user stories and use cases?
I am studying user stories and use cases, and I'm curious about ways to combine both these techniques. Basically it seems to me that there is a 1:1 relationship between user stories and use cases, ...
0
votes
1answer
84 views
Is there a standard for use case specifications?
I've been discussing about whether "logging in" is a use case and I've been wondering: is there some "official" standard where to look up the definition of a use case or what the point of a use case ...
2
votes
4answers
139 views
Question regarding actors in a Use Case diagram
OK, so I have this homework question whereby we are given a rather complex system description and need to create several UML diagrams that describe the system being described.
I'm having an issue ...
2
votes
0answers
132 views
How should I write the “Validation” parts of a FURPS+ document
Alistair Cockburn says in Writing Effective Use Cases, that validation requirements should not go into the use cases. However, even after reading the chapter on Missing Requirements (meaning the ...
0
votes
1answer
49 views
Use cases and multi service architecture [closed]
I've recently finished reading "writing effective use cases" by Alistair Cockburn.
I'm looking at building a web application that sits upon 2 web services. Should I have use cases for "web ...
3
votes
1answer
133 views
is this use case well structure? [closed]
I'm trying to create a use case that make sense, and i am a little bit confused with the alternate path i think i am doing it in the wrong way, the system should tell the admin when a shared playlist ...
2
votes
3answers
338 views
Is this a user story or a bug?
Consider the following user story(ies) for a manufacturing management system I am building:
As a shipper/receiver I need to be able to create work orders So that
we can begin tracking jobs ...
1
vote
2answers
732 views
Is MVC controller an use case controller?
In GRASP (http://en.wikipedia.org/wiki/GRASP_(object-oriented_design) ), a controller (use case controller) is defined as:
A use case controller should be used to deal with all system events of
...
1
vote
2answers
101 views
Forming heavy use case diagram
We have a use case diagram for our software engineering course project that we have many use cases in every system and about 5-6 actors. How should we separate this heavy diagram to light weight ...
3
votes
1answer
910 views
Notifications in Use-case Diagrams
I'm writing a use-case diagram in which an actor gets a notification. My question is similar to this one except that I'm not sure if my notification use-case is a crosscutting concern.
Suppose my ...
0
votes
1answer
139 views
Include system timer in use case diagram
Here in my use case diagram, an sms will be sent to a referenced person by the applicant automatically by the system when an applicant fills up and submits a form. Here as the SMS sending is performed ...
0
votes
1answer
192 views
When should I use a precondition and when to include another use-case to provide those conditions?
For example, suppose 'Borrwoing a book' a use case:
I can figure out two description for it:
Description one:
Precondition: The member to access this use-case should be already logged in.
OR EVEN ...
1
vote
2answers
1k views
Use Case Diagram. Can a system be its own actor?
Hello I got the definition below for an actor. That means the system cannot be an actor to itself. I was wondering what if the system is supposed to display certain elements on a screeen. In that case ...
0
votes
2answers
189 views
In what case a use case should be written
I am trying to figure out some questions to help me decide whether a use case should be written for that requirement or not. Is it neccesesary to have a use case for each requirement?
E.g I have ...
1
vote
1answer
240 views
When, if ever, should I draw the use-case diagram of the existing system?
When I want to design a software I usually think about the use-cases of my software, but I have heard some sort of analyzing the existing (non-automated) system is required.
To be specific, is ...
1
vote
1answer
241 views
Difference between the actors in the existing (non-automated) and the new (automated) system [closed]
I guess two main use-case diagrams in building an automated system (Software) from a non-automated system are:
Analysis of the existing system by a use-case diagram.
Mapping the current use-cases ...
8
votes
4answers
810 views
What exactly is a business rule? [duplicate]
I'm trying to better organize my application architecture, so I've been doing some reading, but I keep running into references to "Business Logic" and "Business Rules". I've never really understood ...
1
vote
1answer
151 views
Finding methods of classes from the use case
I know some nouns in the use case scenario are candidate to be class, for example member, customer, student ....
I can find such entities and some attributes of them, but my problem is that I can't ...
1
vote
2answers
321 views
Use case diagram : distingishing the actor of a use case
I know a system contains a set of use case diagrams and not one use case diagram, but anyway in the first step to find the system requirements or to analyze them I have problem in distinguishing the ...
0
votes
1answer
238 views
Use case diagram, which behaviours should be included?
I teach OOD&A course to some students. When I want to draw a use case diagram or write the scenario of them for a system, I don't know should I include everything (behavior) which is done in the ...
0
votes
3answers
2k views
Extension in use case diagram: Library management example?
I have problem to understand the extension relation in the use case diagrams, sometimes some relations seem extension.
For example in the library system, what is the relation between borrowing a ...
0
votes
1answer
157 views
Is this a specific pattern and what is its purpose? [closed]
I recently stumbled over the following C++ Code which confused me a bit:
class One {/*definition*/};
template<class Base > class Two : public Base {/*definition*/};
template<class Base > ...
1
vote
2answers
90 views
More requirements in a single use case - correct?
I have been arguying with a developer who insists that 1 functional request (FR) == 1 use case (UC). I think that is nonsense as there are requirements often describing situations arising from the ...
2
votes
3answers
626 views
Sequence diagrams and the Implementation
In the design phase we create UML Sequence diagrams (in OOD). My understanding is that after creating an Use Case diagram if we need to show further information in terms of time sequence of events of ...
1
vote
2answers
116 views
Are the following Use Case Levels determined correctly?
I am confused about use case levels. All I could understand was that use cases that are contained in another use case fall under the level which is below the level of the container use case.
I have ...
0
votes
1answer
45 views
How to measure the quality of my use cases?
When I'm coding something I know that there are many ways to see if my code is good or not. First is testing: I can do unit tests or even test the software by myself and see that it works or not. ...
1
vote
2answers
246 views
How to capture “Display advertisement” use case?
What kind of use case it would be for to "show ad in part of the view"? Who could be the actor to relate with? User or System? As user has no specific goal to see ads, i am wondering what is the best ...
1
vote
3answers
295 views
How to consider the login function collecting requirements of an application? is it a user requirement?
I am working on an application that expected to the user logs in when the application is started (as for example it is in Skype: the user open the application and appear to him a login mask when he ...
2
votes
1answer
113 views
Use cases sequentialy related, how to deal with this?
I'll express my doubt with an example. Suppose I have the following requirement:
The customer needs a page in his website that displays all the products he has with a quantity field on the side ...
2
votes
3answers
2k views
How to create a use case diagram for board game played on PC
I'm struggling with a task as I was given to practice UML and use cases. The problem is that I should model computer version of a board game so I am unsure about a few things. obviously it does not ...
1
vote
1answer
118 views
How much time should be spent with use cases?
I'm starting to work with agile iterative approach to software development and this question seems quite natural. After gathering the requirements I should write a few use cases to describe how the ...
2
votes
2answers
353 views
Is this a good use case?
I've been studying object oriented analysis and, so to get started with this in practice I've decided to first of all build my own management system to have my customers data and so on. Trying to ...
1
vote
2answers
155 views
How to deal with requirements and use cases in this kind of situation?
Recently I've started to work with object oriented analysis and design and it seemed very interesting to me as a way to get work done better. But I'm still in doubt with one kind of situation. If this ...
3
votes
2answers
1k views
Alternatives to Traditional Password Authentication [closed]
The third party login is excellent function that has come in recent years that relieves the load on a programmers mind so that I have to remember less useless passwords.
I don't use the same ...
0
votes
1answer
200 views
How to model optional use cases in UML
Let's say, I want to model an application which allows users to model class diagrams. The high level use case can be modelled as UC1:Model Class Diagram, which refines itself into UC11: Model Class, ...
0
votes
1answer
61 views
Is where a link goes part of a view use case?
Say I got a minimal use case such as "view home page" or "view banner ad". Should it be included or exluded in the use case actually following the link? What I mean is that whether it belongs to the ...
2
votes
1answer
755 views
Use case decomposition for class registration system
I am currently working on refactoring a summer camp registration system to include some new features and will also be using it as the basis for a new after-school class registration system.
For this ...
0
votes
3answers
2k views
Should I create a use case diagram for each screen?
In projects with many use cases, it's valid to create different use case diagrams, one for each screen? Or I shouldn't guide myself on the GUI of the software to make this, why?
As a clarification, ...
3
votes
2answers
1k views
How to show an “or includes” relationship - UML Use case diagram
I haven't come across this issue before and can't find it in my Schaum's Outline UML book and was wondering if someone here could help.
I'm making a use case diagram for e-commerce, and in it I want ...
2
votes
4answers
4k views
Applications of heapsort [closed]
Heapsort is a sorting algorithm that has a time complexity of O(nlogn), and performs sorting using O(1) space complexity. However, I know that because it's unstable, it doesn't find many applications (...
3
votes
3answers
540 views
What can be used in lieu of use cases to gather requirements?
I'm a programmer currently working in rounds of meetings along with BAs and PM to gather/describe modules and functionality of our case management system; after a few meetings I saw that using 'use ...
0
votes
1answer
470 views
Use Cases with respect to downstream systems
Use cases are primarily meant for interaction between user and a system. It could be used for interaction between system and another system. The actors are primarily roles.
It is easy to document ...