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

SYSTEM ANALAYSIS AND DESIGN , #questionHomes R Us is a group of large depar...

#questionHomes R Us is a group of large department stores who wish to improve the customer service they decide they need a database to capture and store information relating to cus

What is equivalence partitioning, Q. What is Equivalence Partitioning? ...

Q. What is Equivalence Partitioning? Equivalence Partitioning:-Equivalence partitioning is black box testing method that divides the input domain of a program into classes of d

Evaluate the usefulness of roce, Present an evaluation of the current perfo...

Present an evaluation of the current performance of your chosen company using ROCE, RI, EVA and SVA.  (All figures employed should be up to date , clearly explained / justified an

Describe software development life cycle activities, Question: (a) Des...

Question: (a) Describe with a pictorial representation ISO 12207 software development life cycle activities. (b) A public library is considering the implementation of

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.

Test-driven software development, A) What is test-driven software developme...

A) What is test-driven software development? Why test-driven software development is significant in agile development approach?   B) Explain how the following software develo

V-model and spiral model, Question 1 V-Model and Spiral Model, Waterfall M...

Question 1 V-Model and Spiral Model, Waterfall Model are of the software development processes. Companies are using these models to have a systematic and defined approach in softw

What is non-intrusive testing, What is Non-intrusive Testing? Testing th...

What is Non-intrusive Testing? Testing that is transparent to the software under test; i.e., testing that does not alter the timing or processing characteristics of the software

What is failure-directed testing, What is Failure-directed Testing Ans) ...

What is Failure-directed Testing Ans) Testing based on the information of the types of errors made in the earlier period that are likely for the system under test.

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