Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

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.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91768057
  • Price:- $30

Priced at Now at $30, Verified Solution

Have any Question?


Related Questions in Computer Engineering

In this section you will write a program to show a rotating

In this section, you will write a program to show a rotating banner on the LCD screen. Every 300 milliseconds, the text "Microcontrollers are lots of fun!" should move one position to the left. This banner should repeat ...

Question suppose a process ie parent forks a child process

Question : Suppose a process (i.e., parent) forks a child process using resource sharing such that the parent and child share all resources. Does this include the Process Control Block and memory space or does the child ...

You are studying the number of defective parts produced

You are studying the number of defective parts produced each week by several machines to help adjust maintenance protocols. Assume the rows of matrix Def represent different machines and all columns except the last repre ...

Restaurant management database project the restaurant

Restaurant Management Database Project : The restaurant maintains the catalog for the list of food and beverage items that it provides. Apart from providing food facility at their own premises, the restaurant takes order ...

Sometimes during the manufacturing of an integrated circuit

Sometimes during the manufacturing of an integrated circuit, wires-including control signal wires-are accidentally connected to +V or GND, resulting in a control signal that is stuck-at-1 (when connected to +V) or stuck- ...

1 a university found that 10 of students withdraw from a

1. A university found that 10% of students withdraw from a math course. Assume 25 students are enrolled. a. Write the appropriate probability distribution function with the specific parameters for this problem. b. Comput ...

Question subject digital securitybriefly explain how

Question : Subject: Digital security Briefly explain how Android 3.0 and later versions encrypt file and user data, and how encryption keys are derived. The response must be typed, single spaced, must be in times new rom ...

If the probability that an individual suffers from a bad

If the probability that an individual suffers from a bad reaction from an injection of a given serum is 0.001, determine the probability that out of 2000 individuals (a) exactly 3, (b) more than 2 individuals will suffer ...

Suppose the probability density function for a random

Suppose the probability density function for a random variable X equals the following:  f(x) = cx 3  for {0 (a) Solve for the value of "c" that makes this a valid pdf. (Hint: please refer to the two necessary conditions ...

Round robin rr jobs are processed using a fixed time-slice

Round Robin (RR): Jobs are processed using a fixed time-slice. The jobs are initially kept in a queue based on the order of arrival. The job at the front of the queue is removed and served similar to the FIFO algorithm. ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As