Activity and use case diagram, Software Engineering

The Application

You should develop your program using incremental development. Develop your program a little bit at a time and keep testing it. Save a working version before making the next set of alterations. Then, if you run out of time, you can submit a program which provides some of the functionality. You will get very few marks for handing in lots of code that does not run correctly.

All code should be well-designed, well-laid out and commented.

Part One - UML Use case Diagram, Text description and Activity Diagram

You can draw these diagrams using any tool that you like - a UML tool, a drawing package, or by hand.

The scenario below is JUST for the use case and activity diagrams - the application that you are asked to write is a little simpler.

Draw a Use Case Diagram for the following scenario, and write a detailed description of the 'book-in' use case  - this is the numbered ideal scenario with alternatives (see slide 10 of Use case lecture). There are probably several equally correct interpretations of this scenario, so don't worry if you don't all have identical diagrams.

A campsite has a number of cabins which can be hired on a daily basis, and a number of grass plots for tents, caravans or motor homes. Cabins and plots will be referred to as 'locations'. Travellers aged under 18 are not allowed to stay on this campsite.

Travellers cannot book in advance at this campsite, they just turn up and, as long as there is a free location, they are allocated a cabin or plot. When they arrive, they fill in a 'visitor form' giving their personal details, and show their passport (which includes their date of birth). While they are doing this, the campsite staff fill in another form on the computer just entering the location id and the form number, and how many nights they are staying for.  The traveller must pay the cost of the location for one night when booking in. Then the traveller is shown where their location is.

If the traveller wishes to stay an extra night, he must pay for that in advance. This can be done either when booking in, or at a later stage.

The campsite has a manager and several assistants. All campsite staff can book in travellers, and handle payment. In addition, the manager can view various reports on occupancy and income.

Draw two activity diagrams: one for the book-in use case, and one for some coding involving decisions in your application, for example the getCost() method.

Posted Date: 2/22/2013 7:16:30 AM | Location : United States







Related Discussions:- Activity and use case diagram, Assignment Help, Ask Question on Activity and use case diagram, Get Answer, Expert's Help, Activity and use case diagram Discussions

Write discussion on Activity and use case diagram
Your posts are moderated
Related Questions
Q. How Abstraction used in stepwise refinement? Abstraction:- Abstraction permits one to concentrate on a problem at some level of generalization without regard to irrelevant l

Q. Explain about non-functional requirement for a software ? Ans) Nonfunctional requirements are the basic characteristics of the system which will not be expressed as function

what is the purpose of equivalence partitioning?

Define Verification &Validation. Verification : The set of actions that make sure software correctly implements a particular function. Validation : The set of actions that

Q. What do you mean by Encapsulation? Encapsulation:- An object is said to be encapsulate (hide) data and program. This signifies that the user cannot see the inside of the o

is there anyone can help with the assignment

A University has asked you to design and implement a simple database to store student and module details (including details of which school students belong to and which schools run

Q. Explain the relationship between Productivity and difficulty? Productivity refers to metrics as well as measures of output from production processes per unit of input. Pr

Load testing is testing an application under heavy loads, like the testing of a web site under a range of loads to verify at what point the system response time will degrade or fai

Q. Define Object in Software Engineering? Object:- An object is something which is capable of being seen, touched or sensed. Each object has certain distinctions or attributes