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

Encapsulation, Illustrate the use of the concept Encapsulation.

Illustrate the use of the concept Encapsulation.

One want record a data driven test then how will one do that, You want to r...

You want to record a data driven test. How will you do that? There are 3 ways to create a data-driven test: a.) By using data from a data table b.) By using data from a f

Produce a use case diagram, ZeroJet, a new low cost airline, wants a brand ...

ZeroJet, a new low cost airline, wants a brand new web-based system to allow people to book seats for flights on-line.  They want an automated check in system which has no staff.

Define white box testing, Define White box testing White box testing ...

Define White box testing White box testing method deals with the internal logic and structure of the code. White box testing also called as glass, structural, branches, paths

Define a class diagram with example, Q. Define a Class diagram with example...

Q. Define a Class diagram with example? Class diagram: A class diagram in the UML (Unified Modelling Language) is a type of static structure diagram that describes the struct

Explain automated testing, Automated testing is a formally specified and co...

Automated testing is a formally specified and controlled method of formal testing approach. or That part of software testing that is assisted with software tool(s) that does

Explain the design steps of the transform mapping, Explain the design steps...

Explain the design steps of the transform mapping. Review the fundamental model. Review and refine the DFD for the software. Verify whether the DFD has the transf

State the process of white box testing, State the process of White box test...

State the process of White box testing White box testing:   This method, also termed as glass box testing, is performed early in testing process.  By using this, software engi

What is walkthrough, What is Walkthrough? Ans) Usually, a step-by-step s...

What is Walkthrough? Ans) Usually, a step-by-step simulation of the implementation of a procedure, as when walking by code, line by line, with an imagined set of inputs. The wor

What are the different rapid prototyping techniques, What are the different...

What are the different Rapid prototyping techniques? i. Dynamic high level language development. ii. Database programming. iii. Component and application assembly.

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