In: Operations Management
Write a pyhton program to read from a file the names and grades of a class of students, to calculate the class average, the maximum, and the minimum grades. The program should then write the names and grades on a new file identifying the students who passed and the students who failed. The program should consist of the following functions:
a) Develop a dataInput() function that reads data from a file and stores it and returns it as a dictionary. The function has one argument which is the name of the file where the data is entered. Each line on the file should contain the record of one student holding his or her name and the corresponding grade.
b) Write a second function dataStats() that iterates over the list or dictionary and determines the statistics on the average, minimum, and maximum of the grades and return these statistics as a list.
c) Write a third function dataEval() that will iterate over the dictionary or list and write on a new file named Class_Results.txt the names of students whose grades are greater or equal to 60, preceded by the message “Passing Students”. Then the names of students whose grades are lower than 60 should written on the file, preceded by the message “Failing Students”. Finally, the class statistics should be written on the file, also preceded by the message “Class Statistics”.
d) Write a main program that coordinates the operation of the three developed functions. The program should inform the user of what is its function and request from the user the name of the file where class names and grades are written. Form you own data file, Class_Data.txt that have the following entries : Galia, 96 -Elias, 81 -Hussein, 84 -Joseph, 80 -Tarek, 93 -Joe, 81 -Fidele, 71 -Shant, 95 -Ali, 67 -Firas, 70 -Giorgiou, 55 -Hashem, 72
In: Computer Science
Discuss the Hamiltion circuit 1) sequential algorithm; 2) parallel algorithm; 3) discuss its time complexity.
In: Computer Science
Financial statements for Askew Industries for 2021 are shown
below (in thousands):
2021 Income Statement | |||
Net sales | $ | 9,900 | |
Cost of goods sold | (6,525 | ) | |
Gross profit | 3,375 | ||
Operating expenses | (2,325 | ) | |
Interest expense | (290 | ) | |
Income tax expense | (304 | ) | |
Net income | $ | 456 | |
Comparative Balance Sheets | |||||||
Dec. 31 | |||||||
2021 | 2020 | ||||||
Assets | |||||||
Cash | $ | 690 | $ | 590 | |||
Accounts receivable | 690 | 490 | |||||
Inventory | 890 | 690 | |||||
Property, plant, and equipment (net) | 2,900 | 3,000 | |||||
$ | 5,170 | $ | 4,770 | ||||
Liabilities and Shareholders’ Equity | |||||||
Current liabilities | $ | 1,640 | $ | 1,390 | |||
Bonds payable | 1,850 | 1,850 | |||||
Common stock | 690 | 690 | |||||
Retained earnings | 990 | 840 | |||||
$ | 5,170 | $ | 4,770 | ||||
Required:
Calculate the following ratios for 2021. (Consider 365 days
a year. Do not round intermediate calculations and round your final
answers to 2 decimal places.)
1. inventory turn over ratio:________
2. Average days in inventory:_______ days
3. Receivables turnover rate:_______
4. Average collection period:________days
5. Asset turnover ratio:_________
6. Profit margin on sales:______%
7. Return on assets:__________%
8. Return on equity:________%
9. Equity multiplier:____________times
10. Return on equity (using the DuPoint framework):_________%
In: Accounting
CASE BACKGROUND
New Logistics Manager
Marcelo is the new logistics manager at BelAir LLC, a U.S.
manufacturing company based in the state of Georgia (U.S.A). It
provides abrasive surface preparation and spray painting equipment.
The company recently started selling equipment in Sri Lanka.
An International Customer Complains
To date, BelAir’s only customer in Sri Lanka is SnapGear.
SnapGear’s president, Dhruv Kumar, complained that products have
not been delivered on time. Dhruv was told in January that it would
take four weeks to have all the ordered products delivered to Sri
Lanka, but it is now March and he has only received some of the
equipment. He also noted that he had ordered electric motors that
were urgently needed for a client, but they have not yet arrived,
despite his flagging the order to the previous logistics manager.
Dhruv has also been waiting on BelAir to send a signed statement
certifying the country of origin of the products and that the
products were in accordance with the invoice. Dhruv advised Marcelo
that if BelAir did not fix its problems immediately, SnapGear would
begin using a Miami-based company that had recently approached
him.
Marcelo Investigates
Marcelo began investigating what type of equipment was being
shipped and where the bottleneck was. He reviewed the purchase
order and saw that SnapGear had ordered storage and blast cabinets,
vacuum equipment and a few smaller items including the electric
motors. With this information, he would determine how the products
were sent from the warehouse and then try to track the exact
location of the products on their way to Sri Lanka.
Status of Loading and Transport from
BelAir
In March, BelAir started to use the budget U.S. carrier Tempo
Logistics to transport larger products from the warehouse to the
shipping port in Charleston, South Carolina. The owners of Tempo
and BelAir were good friends. The companies had negotiated a new
two-year agreement in early March. Marcelo searched through emails
and files, but couldn’t find the contract from Tempo Logistics. He
had no idea what the carrier was supposed to do. He contacted Tempo
to get further details about the services it offered BelAir, but
was unable to reach anyone there.
Marcelo then went to the warehouse to speak with Gary, the shipping
manager, about the products shipped to SnapGear – particularly the
electric motors. He was surprised when Gary told him, “We thought
that the electric motors could go with the rest of the equipment,
so we packed them in the ocean container, too. You know, it might
save us some money. We ran out of filling material, but don’t
worry—we packed it in a way that nothing will happen to them.”
Marcelo knew that some of the larger equipment had protruding
parts, so he became concerned the smaller items would be damaged en
route.
Marcelo also realised that the blasting cabinet that SnapGear had
ordered was still in the warehouse. Gary said the light box
component had to be removed from the top of the blast cabinet in
order to meet the ocean container height regulations, and his staff
needed the company’s engineer to help make the modification before
the shipment could proceed. SnapGear was also waiting on the vacuum
equipment, which was found next to the blasting cabinet in the
warehouse. Gary and his staff had never sent vacuum equipment by
sea, and they needed a forty-foot container with an open top.
Someone had ordered a hard top container instead. If the open-top
container was not used, the container could not be loaded by crane
onto the cargo ship. Marcelo thought to himself, “How did we not
know this before?”
After Marcelo finished speaking with Gary, he went back to the
office and received a call from Bryan at Tempo Logistics. Bryan
advised that there was a verbal contract between Tempo and BelAir;
a written contract was still being prepared. He also said Tempo was
experiencing a shortage of truck drivers and could not come for
another four to five days to take containers to the port. Bryan
added that Marcelo would be very fortunate to find a company able
to assist in trucking, as finding new truck drivers to replace
those retiring had become a nationwide problem. Marcelo had to find
a solution to this, as he needed to get equipment moved not only
internationally, but in the U.S. as well.
CORRECTIVE ACTION
Marcelo called the freight forwarders that BelAir used, ABC Global
Express, which offered a full range of services, such as export
packing and containerization. To save costs, BelAir did not use
ABC’s U.S. pick-up service or any other packaged services. It used
ABC as shipping agents and customs brokers to arrange the export
customs clearance and to pay the export duties. Marcelo was used to
working with freight forwarders who offered door-to-door service,
so this would be an adjustment. However, ABC did offer satellite
tracking, so Marcelo used his smartphone to track BelAir’s latest
shipment to SnapGear through the mobile application. To Marcelo’s
disappointment, the latest shipment was in Sri Lanka, but delayed
due to customs clearance issues.
At the seaport in Colombo, Sri Lanka, goods are unloaded from the
ship and then inspected by customs and stored. The consignee has
four days to provide the required documents needed for customs
clearance and then remove the goods from the storage area. Dhruv
has been waiting for a missing document from BelAir to be able to
provide the complete set of documents to Sri Lankan customs. The
demurrage has been accumulating for the past two weeks.
Dhruv knew that the sales agreement with BelAir stated that
SnapGear was responsible for charges once the shipment arrived in
Sri Lanka, but as he believed the missing documentation was
BelAir’s fault, he wanted BelAir to pay for the demurrage. As a
part of the sales contract between BelAir and SnapGear, they
negotiated the following shipping delivery terms: “CFR, Port of
Colombo, Sri Lanka, Incoterms® 2020.” SnapGear had a solid
relationship with its own freight forwarders, located in Sri Lanka,
and were able to negotiate favourable freight rates. Keeping this
in mind, BelAir had already offered SnapGear a reduced price for
the equipment that it shipped.
Marcelo called Dhruv to explain the situation, and that he would be
getting all the outstanding equipment shipped, just as soon as
possible. He prepared the signed statement – which certified the
country of origin – and sent it by email to Dhruv, hoping the Sri
Lankan customs authorities would accept it while waiting for the
original document to arrive by courier in three days. Marcelo also
offered to pay for the extra demurrage incurred. Dhruv was still
not happy with the service offered by BelAir. He told Marcelo he
would not be purchasing equipment from BelAir again.
QUESTIONS
1. Identify, evaluate, and then describe six challenges faced by Marcelo with the shipping of products to SnapGear in Sri Lanka.
2. Explain clearly two ways that the truck driver shortage may affect BelAir and freight-forwarding companies generally?
In: Operations Management
What are the factors involved in the selection decision employees in multinational organizations? Which of these do you think is the most important? Why?
In: Operations Management
Write a pyhton program and to evaluate polynomials in general and test it on the following: ? 4 − 3? 3 − 39? 2 + 47? + 170 = 0
a) Develop and test a function named evalPoly() that evaluates a polynomial at a given value of the variable. The function receives two arguments: a list of the polynomial coefficients, and the value of the variable. It returns the result of the evaluation as a float. Use your function to evaluate the polynomial at ? = -5.2, -5.0, -1.8, -1.6, 2.6, 2.8, 7.0 and 7.2. What do you conclude about the solutions to the equation above?
b) Write a second function named solvePoly() that seeks a solution of the polynomial between two values of the variable where the function has changed sign. This function should receive the list of coefficients, the two values of the variable between which there is a solution. It should return the value of the variable at which a solution was found. This function may be based on an exhaustive search, a bisection search, or on Newton-Raphson’s method. Select a method with some justification.
In: Computer Science
13. The observation of what overall characteristic of the CMBR left, "... no real doubt we are seeing the residual radiation left behind from the hot, dense beginning of the early universe."
14. The tiny fluctuations in the early universe due to gravity
redshifts from concentrations of mass eventually led to
what?
16. List two processes or events that formed the elements
heavier than helium: a) those that make carbon, nitrogen, and
oxygen, and b) those that make iron, nickel, gold, and even heavier
elements.
17. The discovery of what aspect of the Universe restores
Einstein’s “biggest blunder” (his fudge factor in his equations) to
general relativity
In: Other
Write a python program to read from a file the names and grades of a class of students to calculate the class average, the maximum, and the minimum grades. The program should then write the names and grades on a new file identifying the students who passed and the students who failed. The program should consist of the following functions: a) Develop a gradesInput() function that reads data from a file and stores it and returns it as a dictionary. The function has one argument which is the name of the file where the data is entered. Each line on the file should contain the record of one student holding his or her name and the corresponding grade.
b) Write a second function gradesAssess() that iterates over the dictionary and determines the statistics on the average, minimum, and maximum of the grades and return these statistics as a list.
c) Write a third function gradesReport() that will iterate over the dictionary and write on a new file named Class_Results.txt the names of students whose grades are greater or equal to 60, preceded by the message “Passing Students”. Then the names of students whose grades are lower than 60 should be written on the file, preceded by the message “Failing Students”. Finally, the class statistics should be written on the file, also preceded by the message “Class Statistics”.
d) Write a main program that coordinates the operation of the three developed functions. The program should inform the user of what is its function and request from the user the name of the file where class names and grades are written. Form you own data file, Class_Data.txt that has the following entries : Raja, 90 Yahya, 50 Jad, 70 Hussein, 71 John, 97 Tony, 98 Nasser, 78 Maroun, 70 Pamela, 78 Maroun, 70 Ali, 74 Firas, 85
In: Computer Science
Write a program in python to calculate the value of cos(?) using its Taylor series expansion:
?2 ?4 ?6 ?8 cos(?)=1− + − + ...
The program should consist of the following functions:
a) Develop and test a cosCalc() function that receives as an argument, of type float, the value of the variable and returns the result as a float also. Include 20 terms maximum from the series, or until the value of a term is less than 1e-8. b) Write a main program to invoke the function and calculate and print the values of
2! 4! 6! 8!
?2?
cos (− ), cos(−?), and sin ( ).
In: Computer Science
With online instruction being implemented during COVID-19 outbreak, what approach(es) would you adopt to evaluate the performance of students if you were the professor of this HR class?
Please identify your approach(es) clearly and state your reasons why. (Hint: Comparative approach, Attribute approach, Behavioral approach, Results approach, and Quality approach).
In: Operations Management
what are Backstage activities for Personal Shopper
In: Operations Management
What do you think about using Social Media as a background check? Please use the 5 criteria (i.e., reliable, valid, generalizable, practical, and legal) to argue your position.
In: Operations Management
In: Operations Management
Consider the people you feel are the most competent communicators. They can be from your personal life or public figures.
Think about what makes them good communicators. What particular communication behaviors or skills do they use?
With these thoughts in mind:
Post at least 250 words answering the following:
List three competent communicators. These can be people you know personally or public figures.
What behaviors do these individuals employ that make them competent and why?
Which of these could you adopt, and how would that help you to reach your communication goals more effectively?
In: Psychology