I need help with Part A and Part B: Part A - Order Tracking (15 points) In
Fantastic news! We've Found the answer you've been seeking!
Question:
I need help with Part A and Part B:
Transcribed Image Text:
Part A - Order Tracking (15 points) In this part we want to change the way our ordering system works. If you look at the constructor of the FastFoodKitchen class you will see that we have some starting orders hard coded, but this creates a situation where every time your FastFoodKitchen program is executed the operation is completely identical (i.e., every time we run the simulation we get the same output). In order to make this both more interesting and realistic, in this section you will be altering the execution of your FastFoodKitchen such that rather than using a fixed order list when run, the orders will be created by parsing through an external file at execution time. A simple way used to store tabular data, such as a spreadsheet or database, in a text file is using a format known as Comma Separated Values (CSV). In this format the comma in this format is a delimiter, which is a character that separates the columns of a table. Using the comma character to separate (or delimit) data is the most common, but sometimes we use other characters, like semicolons. This is important if the actual data contains commas since that will interfere with the file structure. For example, let's say you had a spreadsheet containing the following data we can create a CSV file using a text editor such as Notepad or TextEdit. Email Sample table of data Name John@company.com John Newman Marie@company.com Marie Robinson Cali@company.com Cali Williams Hometown Chicago San Francisco Seattle Part A - Order Tracking (15 points) In this part we want to change the way our ordering system works. If you look at the constructor of the FastFoodKitchen class you will see that we have some starting orders hard coded, but this creates a situation where every time your FastFoodKitchen program is executed the operation is completely identical (i.e., every time we run the simulation we get the same output). In order to make this both more interesting and realistic, in this section you will be altering the execution of your FastFoodKitchen such that rather than using a fixed order list when run, the orders will be created by parsing through an external file at execution time. A simple way used to store tabular data, such as a spreadsheet or database, in a text file is using a format known as Comma Separated Values (CSV). In this format the comma in this format is a delimiter, which is a character that separates the columns of a table. Using the comma character to separate (or delimit) data is the most common, but sometimes we use other characters, like semicolons. This is important if the actual data contains commas since that will interfere with the file structure. For example, let's say you had a spreadsheet containing the following data we can create a CSV file using a text editor such as Notepad or TextEdit. Email Sample table of data Name John@company.com John Newman Marie@company.com Marie Robinson Cali@company.com Cali Williams Hometown Chicago San Francisco Seattle
Expert Answer:
Answer rating: 100% (QA)
To implement the changes described in Part A and Part B you need to modify the code of your FastFood... View the full answer
Related Book For
Business Ethics A Stakeholder And Issues Management Approach
ISBN: 9781523091546
7th Edition
Authors: Joseph W. Weiss
Posted Date:
Students also viewed these programming questions
-
What type of business is S. G. Cowen? How is this firm different from the other financial firms? How systems and operations of financial firms are different from other types of businesses - say...
-
Read and answer the question below. EMBRACE DEMOGRAPHICS AND SOCIETAL CHANGES Using Differences to Drive Value Force 7: Demographics and Societal Changes. One of the most important forces that is...
-
"If nominal GDP rises, velocity must rise." Is this statement true, false, or uncertain? Explain your answer.
-
Several years ago, Health Services acquired a helicopter for use in emergency situations. Health Services incurred the following expenditures related to the helicopter delivery operations in 2012: 1....
-
Refer to the data for Lavage Rapide in Exercise 108. The actual operating results for August appear on the following page. Data from problem Exercise 10-8 Required: Prepare a report showing the...
-
P 46 Use the Standard Normal Table or technology to find the z-score that corresponds to the cumulative area or percentile. Table 4-Standard Normal Distribution Arca Z 0 Z .09 .08 .07 .06 .05 .04 .03...
-
Virginia Partners, Ltd. (Virginia Partners), a limited partnership organized under the laws of Florida, conducted business in Kentucky but failed to register as a foreign limited partnership, as...
-
Consumer Good Application The course spreadsheet located below contains an Assigned Consumer Good and a link to the Federal Reserve website...
-
Today is May 17, 2023, and you, CPA, are a Senior Tax Associate at Borden & Laurier LLP. Sylvie Condurache, Tax Manager, has called you into her office to discuss a long-time client: "I just got out...
-
Your friend, Wilma, has built a "mobile" to hang over her infant daughter's crib. She has built it as instructed - she thinks. However, it will not hang properly. (She purchased it from Ikea.) Check...
-
Today one full-time American farmer feeds about people ________.
-
Calculate the value of marginal product of labor and draw the value of marginal product curve. Wandas is a fish store that hires students to pack the fish. Students can pack the following amounts of...
-
What do you believe are the major ethical challenges faced by the employees of the company in which you work? What might be done to make people in your company behave more ethically?
-
If the town owns the river and taxes cotton growers so that the efficient quantity is grown, how much tax revenue does the town receive? Is the quantity of waste zero? Explain your answer. Suppose...
-
Most of the recessions since World War II lasted _________. a) less than 6 months d) 18 to 24 months b) 6 to 12 months e) 24 to 36 months c) 12 to 18 months
-
FM Co has in issue ordinary shares with a nominal value of K0-25 per share. These shares are traded on the Lusaka Stock Exchange (LUSE). It is now 2022 and the company has just paid a dividend of...
-
The following information is for Montreal Gloves Inc. for the year 2020: Manufacturing costs Number of gloves manufactured Beginning inventory $ 3,016,700 311,000 pairs 0 pairs Sales in 2020 were...
-
You are applying to a prestigious organization for an important, highly visible position. The application requires you to describe an ethical dilemma in your history and how you handled it. Describe...
-
Write a paragraph describing a situation from your experience in which you felt justified that you had cause to blow the whistle. Did you? Why or why not? Under what circumstances do you feel...
-
Select an employee right in the workplace from the chapter. Give an example, based on your own outside reading or experience, of a situation involving this right. Was it violated? How? What was the...
-
Consider the heat transfer to a falling film problem of Section 10.3. The mass transfer analog is the dissolution of a solid wall into the falling film. Assuming the solid wall is composed of salt,...
-
Consider a gas metal arc welding electrode as shown in Figure P10.29 where we are consuming the electrode as we weld ( rod velocity \(\left.=v_{o} ight)\). We are interested in the steady-state...
-
In Smoluchowski's Theory of Coagulation we focus on an individual sphere and assume that other like particles diffuse toward it. Once they reach the sphere, they collide and form a new spherical...
Study smarter with the SolutionInn App