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

Decomposed the system into several subsystems, Question: (a) With refe...

Question: (a) With reference to component communication, explain the differences between interface oriented and message oriented communication in terms of communication method

What is regression testing, Regression testing It is the re-execution o...

Regression testing It is the re-execution of some subset of tests that have already been conducted to make sure the changes that have not been propagated unintended side effect

What are the approaches of integration testing, What are the approaches of ...

What are the approaches of integration testing? The integration testing may be performed using two approaches. 1. The non-incremental testing. 2. Incremental testing.

Define requirement engineering, Define Requirement Engineering. Require...

Define Requirement Engineering. Requirement Engineering is a process that includes all of the activities needed to create and maintain a system requirements document. The fo

Describe design walk throughs, Describe design walk throughs A design wa...

Describe design walk throughs A design walkthrough is a quality practice that allows designers to obtain an early validation of design decisions related to the development and t

Explain about data coupling, Q. Explain about Data coupling? The depend...

Q. Explain about Data coupling? The dependency among module A and B is said to be data coupled if their dependency is based on the fact they communicate by merely passing of da

Describe continual integration, Question 1 What is SSAD? Explain in detail...

Question 1 What is SSAD? Explain in detail Question 2 Explain any three limitations of the agile process Question 3 Describe continual integration Question

What are the types of static testing tools, What are the types of static te...

What are the types of static testing tools? There are three kinds of static testing tools.  Code based testing tools - These tools take source code as input and get test cases.

Give the procedure of the delphi method, Give the procedure of the Delphi m...

Give the procedure of the Delphi method. 1. The co-ordinator presents a specification and estimation form to all experts. 2. Co-ordinator calls a group meeting where the exp

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