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
-
According to Bolman and Deal (2017), even smart managers are often clueless. What is being clueless, why does it occur, and what can be done to minimize or prevent cluelessness? Support your response...
-
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.
-
Following the initial Persian Gulf War, the Pentagon changed its logistics processes to be more corporate-like. The extravagant "just-in-case" mentality was replaced with "just-in-time" systems....
-
An object at rest explodes into three fragments. FIGURE EX11.32 shows the momentum vectors of two of the fragments. What is the momentum of the third fragment? Write your answer using unit vectors....
-
A spanning tree must be connected. a. True b. False
-
a. Prepare the general journal entries required to record the following transactions in the general ledgers of the state, the County General Fund, and the County Tax Agency Fund. You may omit formal...
-
Give a third degree polynomial that has zeros of 13, 5i, and -57, and has a value of -680 when c = 3. Write the polynomial in standard form ar" +be"-1 +
-
Consider the evaporator and control system in Figure 13.6. (a) Should each control valve be air-to-open (AO) or air-to-close (AC)? (b) Should each PI controller be direct-acting or reverse-acting?...
-
Imperial Jewelers manufactures and sells a gold bracelet for $406.00. The company's accounting system says that the unit product cost for this bracelet is $267.00 as shown below: Direct materials...
-
Distinguishing Characteristics: Explain the fundamental differences between for-profit and nonprofit organizations and how these distinctions impact the accounting principles applied in each sector....
-
Joe exchanged a business building with a basis of $ 3 6 0 , 0 0 0 and a FMV of $ 4 0 0 , 0 0 0 for a similar building worth $ 3 5 0 , 0 0 0 and $ 5 0 , 0 0 0 cash. What is Joe\'s recognized gain?
-
A bank offers a loan that will requires you to pay 8% interest compounded semiannually. What is the EAR charged by the bank?
-
Based on your reading about evolutionary and existential approaches, answer the following: Explain the above proposition given by evolutionary psychologists in your own words. You can be specific by...
-
PT ABC purchased new equipment that will be used to make computer processors. in the first year of operation of its new equipment, PT ABC will sell 1 billion worth of chips, with a gross profit...
-
Ivanhoe Corporation was formed five years ago through an initial public offering (IPO) of common shares. Daniel Brown, who owns 15% of the common shares, was one of the organizers of Ivanhoe and is...
-
Trade credit from suppliers is a very costly source of funds when discounts are lost. Explain why many firms rely on this source of funds to finance their temporary working capital.
-
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...
-
Bond Features Define the following terms related to bonds payable. Debenture bonds Secured bonds Convertible bonds Callable bonds Face value of the bonds Face rate of interest Issue price
-
Do you agree with this statement: All liabilities could be legally enforced in a court of law? (Appendix)
-
Effect of Bond Issuance A bond with a face value of $10,000 is issued at a discount of $800 on January 1, 2008. The face rate of interest on the bond is 7%. Required 1. Was the market rate at the...
Study smarter with the SolutionInn App