What is commonly seen on a real ticket machine

Assignment Help Software Engineering
Reference no: EM13881507

Purpose of this assignment

This assignment is concerned with:

• use of context machines machine and SEES;
• consolidation of the understanding of invariant;
• consolidation of the understanding of guards;
• expansion of general knowledge of and experience with Event-B;
• specifying events;
• experience with refinement, including data refinement.
• using proof obligations to find problems in developments.
• using the animator to check the understanding and capture of requirements;

This assignment is concerned with the modelling of a simple ticket dispensing machine.

The modelling is to be done in three stages:

Atomic the first stage in which the purchase of tickets is an indivisible event.

Algorithmic refinement the second stage in which the purchase of tickets is distributed across a number of events with actions that are typical of what is commonly seen on a real ticket machine.

In this refinement, payment is made using coins, but the refinement is algorithmic refinement.

Aata refinement: refinement of the second stage is expressed totally in terms of coins.

Additions to Requirements

1. Animation should be used to provide a check on requirements. Animation can be used to discover weak or contradictory requirements. In AnimB, an important check is to critically examine the possible animation options at each step in the animation. This can be more valuable than simply following your animation scenario.

2. List_ctxis intended to model a first-in, first-out data-structure. It should not be modified to suit this assignment if that modification breaks the first-in, first-out discipline. List_ctxhas already been sent to all in the class, but will be sent again.

3. List_ctxcan be installed as follows:
o open Rodin
o select File/Import
o select General/Archive File
o select Next
o locate List_ctx.zip; Rodin will do a search to find the file
o follow remaining instructions
Overview of assignment
This assignment extends a simple library. The stages are:
1. LibraryR0: a simple library with:
o registed members
o books: each book is unique - there are no copies
o no borrowing limit
o no borrowing expirty date
2. LibraryR1
o addition of a borrowing limit;

Don't create the refinement from scratch by hand

You want to refine and then choose Refine from the options. Fill in the name of the refinement machine and Rodin will create a base for your refinement with all events being extended.

In some cases you will not want an extension, for example when you want to modify the guards of an event, not simply add more guards. In such cases you will want to turn off extension for such events.

Reference no: EM13881507

Questions Cloud

Write down assembly program that calculates grade of student : Given a numeric score of a student, write down an assembly program that calculates the grade of the student as follows: if Score >= 90 then Grade = 1 else if Score >= 80 then Grade = 2 else Grade = 3 Program
The cortland bonds have a stated interest rate : 1.On January 1, 2013, Ithaca Corp. purchases Cortland Inc. bonds that have a face value of $150,000.
The president of gentiva health services : The president of Gentiva Health Services is considering increasing her number of Medicare patients served next year. However, to do so she must begin to use RNs for client visits, which Medicare reimburses at $45 per visit. An RN costs $35 per hour v..
First law of thermodynamics : A species in an ecosystem that plays a central role in the health of that ecosystem, and whose removal may cause the collapse of the ecosystem, is called a(n)
What is commonly seen on a real ticket machine : Algorithmic refinement the second stage in which the purchase of tickets is distributed across a number of events with actions that are typical of what is commonly seen on a real ticket machine.
Write a project on risk allocation in construction contract : Write a project on Risk Allocation in Construction contract.In the project, involve parties either provide their own labor or the labor of others in order to carry out different operations related with a construction project carried out at a large sc..
What is the capital structure weight of the firm''s preferred : Smith and Weston has 55,000 shares of common stock outstanding at a price of $31 a share. It also has 3,000 shares of preferred stock outstanding at a price of $62 a share. The firm has 8 percent, 12-year bonds outstanding with a total face value of ..
Explain role of access controls in implementing a security : Explain the role of access controls in implementing a security policy.
Prepare a statement of retained earnings for the year ended : Assume that you are the president of High Power Corporation. At the end of the first year of operations (December 31), the following financial data for the company are available: Prepare an income statement for the year ended December 31. Prepare a s..

Reviews

Write a Review

Software Engineering Questions & Answers

  Question about discrete mathmatics

Define and explain a relation D on the set of all people in the following way: x D y if and only if x = y or x is a descendent of y. Determine which of the properties does this relation have?

  The president of a company that manufactures car seats has

the president of a company that manufactures car seats has been concerned about the number and cost of machine

  Develop a design for a gui interface to support the ccrd

Develop a design for a GUI interface to support the CCRD use case used in Part B. Use a standard set of graphical ‘widgets' such as those supported in .NET or Java Swing.

  Find various life cycle models

In software engineering, one can find various life cycle models. Some examples include the waterfall model, agile processes, and iterative and incremental models. Research at least five (5) current and representative life cycle models

  Company salamander energyuse a variety of sources of

company salamander energyuse a variety of sources of information the company website and annualperiodic reports for

  Key to managing change in projects

What do you think is the key to managing change in projects? Why do you think this is the key?

  Importance of framing a problem

A program that tells a bus rider which buses to take to get from one location to another, arriving by a specified time.

  Why is the definition of the system logistics and

answer the module review questions listed below. these questions were chosen to demonstrate your understanding and help

  Business to business portals

As more businesses launch and depend on e-commerce and business-to-business portals, the importance of security will continue to increase. Research and discuss what you believe are the largest threats against network security, and what measures s..

  Develop an activity diagram for the use case

Develop an Activity Diagram for the use case chosen in part A and develop a System Sequence Diagram (SSD) for the complete overall system and a Sequence Diagram (SD) for your selected use case.

  Prepare a business case for project

Business Case - Using the information that you compiled in the project proposal, prepare a Business Case for this project.

  Create the architectural context diagram

Describe the interface and component-level design for the Auto rental shop software. Create the Architectural Context Diagram.

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