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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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