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

  Find the least common multiple of the pairs of integers

Find the least common multiple (lcm) of the pairs of integers.

  Identify a performance problem in a business activity

Identify or select a performance problem in a business activity that you believe could be resolved or substantially improved by the acquisition of IT services performed by a contractor selected in open competition as a result of an RFP

  Why is the digital explosion happening

Why is the digital explosion happening?As more and more information including personal information gets digitized, why are computer professionals going to have even more moral and ethical decisions to make?

  Three physical locations distributed across the county

The Banana Tree Travel Agency is expanding from a single physical location to three physical locations distributed across the county to better serve the needs of their customers.

  Determine the output displayed when the button is clicked

Determine the output displayed when the button is clicked. Assume the five lines of the file Dates.txt contain the numbers 1492, 1776, 1812, 1929, and 1941 and the file is in the appropriate folder.

  Identify all related tasks and resources

Identify all related tasks and resources needed to complete the scenario.

  Margin of a digital logic gate

How to improve the noise margin of a digital logic gate implemented in CMOS? When does it make sense to use structural Verilog instead of behavioral Verilog?

  Design moduleaccept an integer store input in the reference

Design a module, using pseudocode, named getNumber, which uses a reference parameter variable to accept an Integer argument. The module should prompt the user to enter a number and then store the input in the reference paramter variable.

  Describe sso and vpn technology

Describe SSO and VPN technology

  Define homomorphism

Let ? = {a,b} and ? = {0,1}. Define homomorphism as h(a) = 01, h(b) =0

  Evaluate the natural settings of the test environment

Describe and assess the evaluation method being used by the testing company, i.e., nonvisual and verbal recording of browser activities and tester's vocal comments and evaluate the natural settings of the test environment for Web users

  Create an n by m array

Create an n by m array (n, m input by user). Initialize all cells in array to 0. The bug starts at cell 1,1. The bug can jump from its cell to any neighboring cell (left, right, up, down, diagonal) -- so there are at most 8 neighboring cells. Thou..

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