Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Assignment

You are required to write a program to simulate queueing system in the cinema with the following requirements:

1. There are two type of customers to be served which are: VIP member and non-member customers.

2. The number of tickets wanted to be bought by the customer are vary in a range of 1 to 10 tickets.

3. There must be at least 2 queue (you can have more than 2 queues) in the queueing system. Of all the queues, there must be one priority queue which only allow VIP member to queue up.

4. There are 4 service counters in the queueing system. The service rate of the sales worker are as below:

o Counter 01: Required 10 seconds to sell 1 ticket.
o Counter 02: Required 15 seconds to sell 1 ticket.
o Counter 03: Required 30 seconds to sell 1 ticket.
o Counter 04: Required 15 seconds to sell 1 ticket.

When a customer arrive at the cinema, he/she will go to the queue. If the customer is a VIP member, he/she will go to the priority queue, or else if he/she is a non-member, he/she will go to the normal queue. VIP member customer must be served before any non-member customer.

Whenever there are customers waiting in the queue, the available service counters has to call the next customer and serve them. There should not be any idle service counter except there is no more customer to serve.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92799600

Have any Question?


Related Questions in Computer Engineering

Can you help to identify a firm with which an organization

Can you help to identify a firm with which an organization does business and can you help explain if the firm is: perfectly competitive; monopolistic competitive; oligopoly; or pure monopoly?

Suppose our task is to distinguish between humans and

Suppose our task is to distinguish between humans and non-human objects in an image, which classifier would you choose and why? Decision trees, perceptrons or neural nets.

One state lottery has 1100 prizes of 1 145 prizes of 10 20

One state lottery has 1,100 prizes of $1; 145 prizes of $10; 20 prizes of $75; 5 prizes of $285; 2 prizes of $1,080; and 1 prize of $2,300. Assume that 24,000 lottery tickets are issued and sold for $1. 1)  What is the l ...

Does bmw have a guided missile corporate culture and

Does BMW have a guided missile corporate culture, and incubator corporate culture, a family corporate culture, or an Eiffel tower corporate culture?

When using todays digital cameras file sizes are often

When using today's digital cameras file sizes are often saved in a format that is well over 1 Megabyte. This may be great for high definition photo reproductions but is a disaster for uploading to the web. Images on your ...

Assignmentthe rebel alliance has secretly been linking

Assignment The Rebel Alliance has secretly been linking planets together via a series of unstable wormholes to enable escape from the Imperial Fleet. The following table lists the wormholes together with the number of pe ...

Assignmentsuppose you are asked to write a program to count

Assignment Suppose you are asked to write a program to count the frequency of occurrence of each word in a document. Describe how you would implement your program using: 1. A hash table to store words and their frequenci ...

You get hired as a machine learning expert at moviescom

You get hired as a Machine learning expert at movies.com. Your task on day one is to improve the performance of a classifier. You divide the data into 2 parts training, and testing. You learn a model from the training da ...

How do you calculate the number of peaks and mass when

How do you calculate the number of peaks and mass when Bromine with two isotopes and phosphate with one isotope are put through a mass spectrometer? The formula is PBr3

Tell us about the starbucks corp what it does and makes

Tell us about the Starbucks Corp. what it does, and makes; publically traded or privately owned; how big, etc. 'what' is; it is exposition. Although who is the founders and history of the company; and its sense of social ...

  • 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