DISCUSSION QUESTIONS How do the controls Newell uses fit its strategy??
In: Operations Management
Coke can be converted into CO—a fuel gas—in the reaction
CO2(g) + C(s) → 2CO(g)
A coke that contains 84.0% carbon by mass and the balance
noncombustible ash is fed to a reactor with a stoichiometric amount
of CO2.
The coke is fed at 77.0°F, and the CO2 enters at
400.0°F, heat is transferred to the reactor in the amount of 5559
Btu/lbm coke fed.
The gaseous products and the solid reactor effluent (the ash and
unburned carbon) leave the reactor at 1830°F.
The heat capacity of that solid is 0.240 Btu/(lbm
°F).
Calculate the percentage conversion of the carbon in the coke.
_______%
In: Other
java programming
Create a class named Money. It should have member variables
for
Member Variables
Store dollars and cents as members (both should be int). They
should be
accessible from only inside the class.
Methods
Write a default constructor that sets members to 0.
Write a two-parameter constructor that sets members to the
parameter
values.
Write get/set methods for the member variables.
Write an override method for toString. The returned string
should be
formatted as a normal money string. For example, if dollars is 2
and cents is
5 then it should return $2.05. If dollars is 3 and cents is 50 then
it should
return $3.50.
Write an override method for equals. It should return true if
both the
dollars and cents are equal and false otherwise. This means you
compare
the dollars in the current to the dollars in the other and you
compare the
cents in one to the cents in another.
Class – Main
The main method should be in this class.
Declare an array of Money in main. The array should have 20
elements.
Populate the array with data from a file. Use a loop to read data
from the
input file. Use the input file data given at the end of this
document.
Write a loop that will print all elements of the array on screen.
You should
have read all data from the input file before doing this.
Write a loop that will add up all the money in the array and
store the total
in another Money instance. After the loop print the total money on
screen
using the Money instance that has the total. You should use
toString to get
the formatted money string. The total money that gets print should
not
have a cents value over 99. For example, 7 dollars and 160 cents
should be
8 dollars and 60 cents. You should have read all data from the
input file
before doing this.
Add two calls to the Money equals override. One to demonstrate
that the
instances are equal and another to demonstrate that they are not
equal.
In: Computer Science
CASE ANALYSIS (30 Marks)
Mars Inc.: merger of the European food, pet care and confectionery divisions
Mars Inc. is a diversified multifunctional company whose primary products include foods, petcare, confectionery, electronics and drinks. Owned and controlled by the Mars family, this US giant is one of the world’s biggest private companies, but also one of the most secretive. Mars’ decision in January 2000 to merge its food, pet care and confectionery divisions across Europe – and eventually with headquarters in the UK – has split the marketing industry. The most well-known brands within the three divisions are:
Mars UK says the decision to pool the businesses was taken to strike at the company’s international competitors in food and confectionery, such as Nestlé and Unilever. The move also coincides with plans to create a single European market and highlights the company’s belief that its consumers’ needs are the same across the continent. However, the combination of food and confectionery with pet care is not clear to all industry observers. One industry analyst made the comment: Generally speaking, Mars is doing the right thing by merging divisions to squeeze profits out of them. Before the advent of the euro it was acceptable to run separate companies in different European countries but not anymore. Another analyst said: ‘I can’t imagine it marketing all three sides of the business together. They’re too different.’ The only visible benefit appears to be an improvement in distribution. Tastes across European markets are very different, whether you’re selling products for animals or people It’s all very well Mars saying it will tackle competitors such as Nestlé and Unilever, but they are only rivals in food and confectionery. If Mars starts laying down too many controls by merging all its businesses – and therefore also its marketing and management strategies – it may streamline communications, but could lose the creativity available in different regions.
Questions:
1. Discuss the two views of organizing Mars’ European activities.
2. Did Mars Inc. do the right thing in your opinion? (20 marks)
In: Operations Management
in C++
In the main function, declare a two-dimensional matrix array 5 by 5, read data from a file named “data.txt”. Suppose the data in the file are integers between 0 and 9. Write your main function to print out the left bottom below the diagonal of the matrix and keep the triangle shape. Note the numbers on the diagonal are not included in the output. An example is given as follows. (25 points)
Suppose the original matrix is
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
The output should be like as follows.
1
1 2
1 2 3
1 2 3 4
#include <iostream>
#include <iomanip>
#include <fstream>
using namespace std;
const int NUM = 5;
int main()
{
// I - Declaring a five by five array
/* II - Read data from data.txt and use them to create
the matrix in the previous step*/
/* III – print out the left bottom below the diagonal of the matrix and keep the triangle shape. Note the numbers on the diagonal are not included in the output.
read.close();
return 0;
}
In: Computer Science
discuss the full range of social responses to violence (from retaliation to the development of laws).
In: Psychology
In: Computer Science
legal and cultural considerations for human resources
for an international firm in India when hiring top level management
using the
Hofstedes Cultural dimensions
In: Operations Management
Identify a warehouse that you encounter in daily life, and describe the products, facilities and the material handling machines being served/used.
• Suppose the
manager wants you to help improve the warehouse operation
efficiency, what do you suggest?
• If you finally decided
to reallocate the warehouse layout, what information do you need
the manager to gather?
In: Operations Management
How would you change a typical tariff structure like in the Texas Electrical Provider market to take into account social considerations (e.g., favoring low‐income consumers)? (Remember that you are analyzing residential rates, which are generally separate from commercial consumers’ tariffs.) Explain your answer.
In: Economics
Suppose the original matrix is
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
The output should be like as follows.
1
1 2
1 2 3
1 2 3 4
#include <iostream>
#include <iomanip>
#include <fstream>
using namespace std;
const int NUM = 5;
int main()
{
// I - Declaring a five by five array
/* II - Read data from data.txt and use them to create
the matrix in the previous step*/
/* III – print out the left bottom below the diagonal of the matrix and keep the triangle shape. Note the numbers on the diagonal are not included in the output.
read.close();
return 0;
In: Computer Science
The goal of this assignment is to give you some experience writing code with control structures in Java.
You will create a number guessing game program. The program will randomly choose a number between 0 and 100 that the user will try to guess. The user will be given a maximum number of tries (10 max) to guess the number. The user wins only when they guess the randomly chosen number before the maximum number of tries expires. Otherwise, the user loses the game. During the course of playing the game, you need to let the user know whether the guess was too high or too low.
The program should display instructions on how to play the game, number of wins, losses, and the total number of guesses.
I want you to use the Java API or other online resources to find
out how to generate a random number.
In: Computer Science
Fast-fashion giant Zara is equipping its stores to also ship online purchases, betting that the move will boost sales of full-priced items that can be delivered to customers more quickly than from a warehouse. The rollout encompasses around 2,000 stores in 48 countries, including the U.S., making it one of the largest-scale attempts by an apparel company to repurpose downtown shops to help fulfill online orders.
Zara’s efforts are part of a broader push among retailers to rethink how they can better use their network of brick-and-mortar stores to compete with Amazon, whose dominance in the retail industry has depressed profits and set new standards for speed of delivery. While some have considered traditional retailers’ vast store networks costly and antiquated, industry executives are increasingly equipping them to fulfill online orders to quicken delivery times, cut delivery costs and lift sales. “There has been a trend lately to think of a store as a liability,” an industry expert said. “It’s an asset—but you need to learn to use it correctly.”
Traditionally, retailers shipped items from warehouses to downtown locations writes The Wall Street Journal (Aug. 1, 2018). (But warehouses on the outskirts of cities are not as close to consumers as stores are). As online shopping grew, many retailers created inventory lines specifically for internet orders. Retail companies including Zara have been working to merge their inventory for online and in-store purchases rather than keeping separate stocks, to minimize lost and discounted sales. ship-from-store initiatives are one pillar of efforts by Zara and others to tackle the far bigger problem of mismanaged inventory, which, by one estimate, cost retailers nearly $1.4 trillion in lost sales in 2017. While shipping online orders from downtown stores can lower delivery costs, some retailers have struggled to make it profitable because they lack the technology to track in-store and in-warehouse inventory accurately.
Classroom discussion questions:
In: Operations Management
Ex. 1.Create a Python script . Write a program that goes through a tupple of numbers representing the temperatures taken at regular intervals in a day, at least 6 of them. The program should store this tupple in a variable, and then computing the average temperature. For that, use a for loop going over the temperature and adding all the values to a variable sum, initialized as 0. Then at the end, divide the sum by their count, and output a message communicating what the average temperature was on that day.
Ex. 2. Password verification Write a program that inputs a string from the user representing a password, and checks its validity. A valid password must contain: At least 1 lowercase letter (between 'a' and 'z') and 1 uppercase letter (between 'A' and 'Z'). At least 1 digit (between '0' and '9' and not between 0 and 9). At least 1 special character (hint: use an else to count all the characters that are not letters or digits). A minimum length 6 characters. No spaces (hint: when you encounter a space, you can break out of the loop). The program should output a message saying that the password is valid, or if it isn't valid, saying why not. For example, if the password has a length of 5, the output should say "The password is too short; a minimum of 6 characters required" and so on.
In: Computer Science
I need solution for following question.
Self-Test Exercise 18 asked you to overload the operator >> and the operator << for a class Percent. Complete and test this exercise. Implement the default constructor and the constructor with one int parameter. Overload the + and − operators to add and subtract percents. Also, overload the * operator to allow multiplication of a percent by an integer.
Write a program to test all the member functions and overloaded operators in your class definition.
In: Computer Science