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

  Find a customer relationship management application

Find a customer relationship management (CRM) application online, and describe the capabilities that it offers

  Describe the role of agile methods in software engineering

Evaluate the issues and challenges associated with software engineering

  Why it is important to use white box and black box testing

why it is important to use WHITE BOX AND BLACK BOX testing technique to evaluate a software module. This assignments needs to be at least 5 pages and no more than 10 pages.

  Penetration testing proposal using specific pen-testing tool

Write a 3-5 page penetration testing proposal using specific Pen-testing tools and based on a DoS scenario

  Develop employee registration system

I am currently working on an employee registration system that is similar to KRONOS timekeeping system. Use 3 to 4 diagrams to model a software system that you are familiar with

  What is the maximum number of paths through the graph

What is the maximum number of paths through the graph and what is the approximate minimum number of paths through the graph?

  What is the expected monetary value

Construct a Decision Tree for this problem and answer the following questions - Should you accept the wager and what is the Expected Monetary Value?

  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.

  1who start to introduce 4ps2who used 4ps3a lot of

1who start to introduce 4ps?2who used 4ps?3a lot of researches used 4ps44ps also being used in the education5start to

  Highlights of project development activities

Assume you have just been asked to take over an existing assignment and asked to make a few changes for new features.

  Discuss the culture and ethics in france analyze the

discuss the culture and ethics in france. analyze the differences and similarities between the united states and france

  Sketch entity-relationship diagram of database table

Convert table to 3NF. Represent your answer in DBDL. Give table name and fields. Underline primary key. Sketch entity-relationship diagram showing all relationships.

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