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

What problems arise if two modules have high coupling, Q. What problems ari...

Q. What problems arise if two modules have high coupling? Ans: Coupling signifies the interconnection of different modules with each other or we can say it tells about the in

What are the various types of coupling, What are the various types of coupl...

What are the various types of coupling? i. Data coupling - The data coupling is possible by parameter passing or data interaction. ii. Control coupling - The modules share r

Computer science, Write a report that explains the agile principles for rap...

Write a report that explains the agile principles for rapid software development, and recommend and justify an appropriate method for adoption.

Determine in detail about waterfall model, Determine in detail about Waterf...

Determine in detail about Waterfall model Waterfall model provides a sequential and systematic approach to software development and is better than build and fix approach. Howev

What is syntax, 1) The relationship between characters or groups of charact...

1) The relationship between characters or groups of characters independent of their meanings or the manner of their interpretation and use; 2) The formation of expressions in a

Define the associative memory, Associative Memory:- The time needed to ...

Associative Memory:- The time needed to find an item stored in memory can be decreased considerably if stored data can be identified for access by the content of the data itsel

Artificial intellegence, can yo do a project on Artificial Intelligence.The...

can yo do a project on Artificial Intelligence.The topic is L-system of flowers

Explain network switching subsystem in gsm, Question: (a) (i) What are...

Question: (a) (i) What are the main components of the Network Switching Subsystem in GSM? (ii) What are the main functions of the Network Switching Subsystem? (b) What

What is statement coverage, What is statement coverage? Statement cover...

What is statement coverage? Statement coverage is the testing to test each statement in the code has been executed at least once.

Function module can be called from a transaction screen, A function module ...

A function module can be called from a transaction screen outside an ABAP/4 program. Yes, a function module called from transaction screen.

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