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

  1 analysis i mention the goals of the organization perhaps

1 analysis i mention the goals of the organization perhaps include a mission statement if available. then outline the

  Currency conversion event

Expand the Currency Conversion event to have a menu of 5-currencies that allows the user to choose which currency they wish to display in its equivalency to the United States dollars.

  What is configuration control in information systems

What is configuration control in information systems.

  Functional specifications for the software

When looking at a need for a change or improvement in a current system, what are two of the most important processes to examine and explain your answer.

  Use find to produce a long ls listing of all files

Use find to produce a long ls listing of all files in /usr/bin that are more than 750Kb long. Give all the arguments and options in the following command-line.

  Explanations on fixing c++ code errors

This technique takes an array of ints as a parameter and returns an array of Booleans. For each element in the parameter array whose value is 0,

  How the sequential and additive composition adaptors differ

Provide a real-life example of a software application that illustrates the different types of adaptors needed to support sequential composition and a real-life example of a software application.

  Draw entity relationship model for project management system

A consultant is not necessarily a project leader, but they can only be project leader for one project. Draw an entity relationship model for the project management System.

  Software projects are typically organized in one of four way

Software projects are typically organized in one of four ways. Name and briefly describe each one of these organizational structures.

  When implementing a new system there are many different

when implementing a new system there are many different models that a company can choose to follow sdlc rad prototyping

  Evaluate the effectiveness of a scrum approach

Evaluate the effectiveness of a Scrum approach compared to a plan-based approach based on the following factors: Planning the allocation of people to projects

  Describe and illustrate this law with examples

Describe and illustrate this law with examples. This law was published in 1965; is this law still valid today? Justify your answer with examples.

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