Activity and use case diagram, Software Engineering

Assignment Help:

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.


Related Discussions:- Activity and use case diagram

Evaluate mccabes cyclomatic complexity, Q. For the flow graph showed in fig...

Q. For the flow graph showed in figure compute McCabe's Cyclomatic Complexity. Ans: In this flow graph Number of regions are 5 hence the Cyclomatic complexity is = 5

What are the different levels of cmm, Different levels of CMM: 1) Initi...

Different levels of CMM: 1) Initial (maturity level 1) 2) Repeatable (maturity level 2) 3) Defined (maturity level 3) 4)  Managed (maturity level 4) 5) Optimizing (

What is compatibility testing, What is Compatibility testing - It's a n...

What is Compatibility testing - It's a non-functional test performed on a software system or component for checking its compatibility with the other parts in computing environm

Network Technology, How can you create a file named -i? Which techniques do...

How can you create a file named -i? Which techniques do not work, and why do they not work? How can you remove the file named -i?

State about the data flow diagrams, Data Flow Diagrams (DFD) It's a gr...

Data Flow Diagrams (DFD) It's a graphical representation of flow of data through a system. It pictures a system like a network of functional processes. The foundation of DFD i

Relationship between people and effort, Ask question #Minimumreal time exam...

Ask question #Minimumreal time example 100 words accepted#

What is data dictionary, Q. What is Data Dictionary? Ans Data dicti...

Q. What is Data Dictionary? Ans Data dictionary is a stockroom of data giving information about data. It is a list of terms as well as their definition for all data items a

Explain the sauers model, Question 1: a) Describe the various activitie...

Question 1: a) Describe the various activities and or processes related to the development of Information systems. b) Using a diagram, show the several development processes

Elaborate on the characteristics of a good team player, Question 1: In ...

Question 1: In his book Tales of a New America, Robert Reich describes the importance of teamwork in an increasingly technological age: Rarely do even Big Ideas emerge any l

Importance of a document type definition in xml, Question: (a) Describe...

Question: (a) Describe the purpose and importance of a Document Type Definition in XML. (b) Describe the difference between PCDATA and CDATA with respect to a DTD. (c)

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd