Problem regarding the statechart diagram

Assignment Help Basic Computer Science
Reference no: EM131043617

Problem: Statechart Diagram

In this exercise you are asked to produce a statechart Diagram that implements the requirements for a restaurant reservation system. For that purpose, the broad specifications of the system are as follows:

  • The reservation system should operate through a PC or other portable device interface.
  • There are at least four steps in the reservation system: "Create account", "Search for free table", "Confirm table reservation" and "Cancel reservation".
  • A user must create an account the first time they are using the system, and their points are initialized to zero (0).
  • There are 20 different restaurants, each having 10 tables available for reservations.
  • The user can search the various restaurants and times to try and locate an available table.
  • Once the user finds a table of interest, then the system will hold a pending table reservation for 8 minutes while the user considers confirming the reservation; and, after the 8 minutes, the reservation is released to other potential requesters.
  • Once the user confirms the table reservation, the user is entitled to cancel the table without losing points if it is canceled more than 24 hours before the reservation time. Otherwise, the user's account is penalized 10 point s for reservations that were confirmed less than 24 hours before the reservation time.
  • A non-cancelled, missed reservation causes the user's account to be panelized 50 points.
  • Several people must be able to interact with system at the same time.
  • Two different users cannot reserve the same table simultaneously.
  • A user cannot reserve two different tables (at the same restaurant or different restaurants) simultaneously.
  • A user will 100 points once they have fulfilled a reservation.
  • If a user reserves a table less than 24 hours before the desired time, their account will be accredited 150 points if they fulfill the reservation.

You should use Harel Diagram to capture concurrency. Also, you are allowed to add some additional actions if you feel they are needed to better complete the diagram, but minimize your additions: Don't overwhelm your diagram with unnecessary states that are unrelated to these requirements.

Reference no: EM131043617

Questions Cloud

First electronic general purpose digital computer : The first electronic general purpose digital computer built by Mauchly and Eckert called ENIAC did not work on the stored program principle. How many numbers could it store in its internal memory?
Architecture and technologies that make up the pstn : Discuss the architecture and technologies that make up the PSTN (Public Switched Telephone Network). How has it evolved over the years? What are the network elements that facilitate telecommunications?
Role of the fcc in the telecommunications field : What is the role of the FCC in the Telecommunications field? What is the purpose for the creation of the governing statute for the regulation of telecommunications in the United States
What is the perception of the roles of teachers : How is the learning environment structured and does it facilitate your learning? (By 'learning environment I am referring to situations within which learning occurs, such as lectures, seminars, group work, individual work, learning by rote.)
Problem regarding the statechart diagram : In this exercise you are asked to produce a statechart Diagram that implements the requirements for a restaurant reservation system. For that purpose, the broad specifications of the system are as follows:
Ever a full member or a marginal member : Think of a group you NO LONGER belong to (employeed at a business? member of a school organization? etc.). (1) Describe the group. Tell me how and why you became a member.
How the hr system effectively contributes to the management : An overview of what a best practice talent attraction or performance management process would look like. Description of how the HR system effectively contributes to the management of human capital
Variety of characteristics for two potential vendors : As purchasing agent for Woolsey Enterprises in Golden, Colorado, you ask your buyer to provide you with a ranking of "excellent$ "good," "fair," or "poor" for a variety of characteristics for two potential vendors.
The dividend growth model : The dividend growth model cannot be used to compute the cost of equity for a firm that:

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Synthesis that relates to the types of raw materials

In this exercise you must create a program that deals with material information so as to calculate the supply need for raw materials and to organize( program ) the production of intermediate and final products in order to satisfy some orders. The ..

  Specific web or mobile application purpose

Describe a specific web or mobile application's purpose. How is it used? What changes has it brought about to its users? What are some likely future uses and enhancements?

  Write a few lines of code to create a timer in java

Write a few lines of code to create a timer in Java which fires an ActionEvent every 150 msec. Assume the existence of a TimerEventHandler class which needs to respond to timer events.

  A project plan to strategically integrate all systems

Currently the Chief Information Officer (CIO) for an innovative Internet-based company with gross revenues of more than $35 million dollars per year. During an executive leadership meeting, you were told that your company will be merging with a..

  Explain the controversial debate in strategic anagement

Explain the controversial debate in strategic anagement regarding how strategy can be formed or formulated, ie - how emergent strategy is different from deliberate strategy.

  What are some of the symptoms of a failing processor

What are some of the symptoms of a failing processor? What are some approaches that could be taken to ensure that it is for certain that the processor is failing?

  Aggregation of ip addresses

A router has just received the following new IP addresses: 57.6.96.0/21, 57.6.104.0/21, 57.6.112.0/21, and 57.6.120.0/21. If all of them use the same outgoing line, can they be done aggregated? If so, to what? If not, why not?

  The general linear demand for di-lithium crystals

The general linear demand for Di-lithium crystals is estimated to be: Q = 125,000 - 400P - 0.76M + 360PR where P is the price of Di-lithium crystals (per microgram),

  Whatdifference between a logical and physical connection

What is the difference between a logical connection and a physical connection

  A hotel salesperson enters sales in a text file

A hotel salesperson enters sales in a text file. Each line contains the following, separated by semicolons: The name of the client, the service sold (such as Dinner, Conference, Lodging, and so on), the amount of the sale, and the date of that event...

  Determine physical address that code byte fetched

Suppose the same code segment base what physical address will code byte be fetched from if instruction pointer contains 539CH?

  What will be the acknowledgement number

Suppose host A send two TCP segments back to back to host B over a TCP connection. The first segment has sequence number 90; the second has sequence number 110. a) How much data is in the first segment? b) Suppose that the first segment is lost but t..

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