Write a program in a programming language

Assignment Help Basic Computer Science
Reference no: EM131956523

Grocery Store Queue Simulation

Write a program in a programming language of your choice that simulates customers shopping and waiting in line at a grocery store. Your program must use a Queue to represent the customers in line. A Customer class should be created and must use that class for the creation of your Customer objects. Customer activities are: Go into store, Select goods, Stand in line at the register, Pay a bill at the register, and Depart the store. The program should simulate 60 minutes of activity at the store. Each iteration of your program should represent one minute.The program should have a visual representation of the store similar to Chapter4.ppt page 15 and display all the activities while the simulation is in progress. The program at the end of the simulation must generate a simulation report including:

- λ: arrival rate,
- μ: service rate of one server,
- ρ: server utilization,
- An: interarrival time between customers n-1 and n (n = first five customers)
- Sn: service time of the nth arriving customer (n = first five customers)
- L(t): the number of customers in system at time t (t = all 60 minutes)
- LQ(t): the number of customers in queue at time t (t = all 60 minutes)
- L: long-run time-average number of customers in system
- LQ: long-run time-average number of customers in queue
- w: long-run average time spent in system per customer
- wQ: long-run average time spent in queue per customer

With your team, based on your simulation scenario, submit your final formal report. For this part of the project, you will also need to prepare a presentation that should contain and be supported with substantial detail and explanation. You may submit the report and any additional materials for the presentation on Blackboard.

In the report you are expected to present a compelling argument and evaluation relevant to your group project(Objective 1). In order to demonstrate the validity of your simulation model you will be required to cite published material regarding the various issues you will discuss (Objective 2). The final portion of the report should include much more detail and evaluation compared to previous phases.

The report should span over different domains (simulation study, simulation model, your application, scenarios, animation model, etc) in order to include multiple perspectives on the subject being discussed (Objective 5).The paper should not just function as an introduction or generalized overviewof the problem, but should analyze each identified problem thoroughly and from different perspectives (Objective 3). As this project is a group effort, the overall product will demonstrate a cohesive synergy among all group members to produce a work with a logical thread that is well developed and connected (Objective 4).

Each group member will contribute equally towards the project, either to the program or the paper. Typical final reports should range between 3-5 pages. The paper should be formatted with 1" margins all around, 1.5-space between lines, and font 12 for the body of the text. The headings of the sections may be set up to font 16. Sources need to follow MLA citation style. Use parenthetical in-text citations with the page (for printed sources) or paragraph numbers (for electronic sources). There MUST be a 100% match between the items listed in the Works Cited to match the in-text citations and vise versa.The use of charts, images, tables, graphs and large citations will not be counted towards page length. The reference page, table of contents (if included) and cover page also do not count toward the overall page count). Keep in mind that just because you reach the minimum page length, doesn't mean that it's complete. Prepare for the projects to be longer than the minimum. Be sure to proofread all work thoroughly and check for proper grammar and citation style.

Reference no: EM131956523

Questions Cloud

Issues that could arise from implementing new policy : Identify potential ethical/moral issues that could arise from implementing this new policy - whether the policy is considered an ethical
Evaluate the level of responsibility of the company : Acc 564 accounting information system -Evaluate the level of responsibility of the company in terms of the effectiveness of the response to the security breach
How much would you be able to withdraw every year : How much would you be able to withdraw every year? how many years would you be able to make this exact withdrawal?
Nicholas would have to pay on convertible-callable bond : Which of the following most accurately describes the coupon rate that Nicholas would have to pay on the convertible, callable bond?
Write a program in a programming language : Write a program in a programming language of your choice that simulates customers shopping and waiting in line at a grocery store.
As the value of us current account deficit increases : As the value of US current account deficit increases, what is likely to happen to the value of US dollar? Explain.
What is the required average rate of return per year : What is the required average rate of return per year from this account necessary to achieve your goal?
How does compound interest differ from simple interest : What does it mean to compound interest? How does compound interest differ from simple interest?
Find information about power of diversification : Find information about Power of Diversification.

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