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 is stress testing and performance testing, What is stress testing and ...

What is stress testing and performance testing? A stress testing executes a system in a way that demands resources in abnormal quantity, volume or frequency. Performance te

Illustrate about the behavioural model, Illustrate about the Behavioural mo...

Illustrate about the Behavioural model Behavioural model defines: Data of proposed system. (i)  The internal functioning of proposed system,  (ii)  Inter-relationship

What are the elements of design model, What are the elements of design mode...

What are the elements of design model? i. Data design ii. Architectural design iii. Interface design iv. Component-level design

What is the test case, Test Case A test case is a unit level document d...

Test Case A test case is a unit level document describing the inputs, steps of implementation and the expected result of each test condition for each requirement from the BRD.

Distinguish between verification and validation, Distinguish between verifi...

Distinguish between verification and validation. Verification refers to the set of activities that make sure that software correctly executes a specific function. Validation re

Define data objects attributes and relationship, Define Data objects, attr...

Define Data objects, attributes & relationship. Data object: Illustration of any composite information that must be understood by a software. It can be any external entity. Att

Describe software maintenance and it types, Software Engineering 1. Giv...

Software Engineering 1. Give the two roles of the software process. 2. Describe software maintenance and it types. 3. What is RAD model and its phases? 4. What do you

Software Quality Assurance - Defect Amplification and Remova, Errors from p...

Errors from previous stage Errors passed through Amplified errors Newly generated errors Errors passed to next stage Testing phase of project-A 35 35 0 5 20 Testing phase of Projec

What are white-box and black-box, What are white-box, black-box and gray-bo...

What are white-box, black-box and gray-box testing? White Box (or glass box) testing is the METHOD of giving i/p to the system and checking how the system processes i/p to prod

Constructor, what is constructor overloading

what is constructor overloading

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