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

  Research report on software design

Write a Research Report on software design and answer diffrent type of questions related to design. Report contain diffrent basic questions related to software design.

  A case study in c to java conversion and extensibility

A Case Study in C to Java Conversion and Extensibility

  Create a structural model

Structural modeling is a different view of the same system that you analyzed from a functional perspective. This model shows how data is organized within the system.

  Write an report on a significant software security

Write an report on a significant software security

  Development of a small software system

Analysis, design and development of a small software system.

  Systems analysis and design requirements

Systems Analysis and Design requirements

  Create a complete limited entry decision table

Create a complete limited entry decision table

  Explain flow boundaries map

Explain flow boundaries map the dfd into a software architecture using transform mapping.

  Frame diagrams

Prepare a frame diagram for the software systems.

  Identified systems and elements of the sap system

Identify computing devices, which could be used to support Your Improved Process

  Design a wireframe prototype

Design a wireframe prototype to meet the needs of the personas and requirements.

  Explain the characteristics of visual studio 2005

Explain the characteristics of Visual Studio 2005.

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