Thursday, January 30, 2020

Cis170 Essay Example for Free

Cis170 Essay using System. Collections. Generic; using System. Linq; using System. Text; namespace Lab5A { class Program { static void Main(string[] args) { string[] playerName = new string[100]; int[] playerScore = new int[100]; int c = 0; c=InputData(ref playerName, ref playerScore); double avg= CalculateAverageScore(ref playerScore,c); Console. WriteLine(Name Score); DisplayPlayerData(ref playerName, ref playerScore, c); Console. WriteLine(); Console. WriteLine(Average Score: + avg + ); Console. WriteLine(Players Who Scored Below Average); Console. WriteLine(Name Score); DisplayBelowAverage(avg, ref playerName, ref playerScore,c); } static int InputData(ref string[] player, ref int[] score) { int addName = 0,counter=0; do { Console. Write(Enter Players Name (Q to quit): ); player[counter] = Console. ReadLine(); if (player[counter] == q || player[counter] == Q) { addName = 1; } else { Console. Write(Enter score for {0}: , player[counter]); score[counter] = Convert. ToInt32(Console. ReadLine()); counter++; } } while (addName ! = 1); eturn counter; } static void DisplayPlayerData(ref string[] playerName, ref int[] playerScore,int counter) { for (int i = 0; i lt; counter; i++) { Console. WriteLine({0} {1}, playerName[i], playerScore[i]); } } static double CalculateAverageScore(ref int[] playerScore,int counter) { int total = 0, avg = 0; for (int i = 0; i lt; counter; ++i) { total += Convert. ToInt32(playerScore[i]); } if (playerScore. Length gt; 0) avg = total / counter; return avg; } static void DisplayBelowAverage(double avg, ref string[] playerName, ref int[] playerScore,int counter) { or (int i = 0; i lt; counter; i++) { if (playerScore[i] lt; avg) { Console. WriteLine({0} {1}, playerName[i], playerScore[i]); } } Console. ReadLine(); } } } Part B: using System; using System. Collections. Generic; using System. Linq; using System. Text; using System. Collections; namespace Week_5_iLab_Part_B { class Program { static void Main(string[] args) { string response = y; ArrayList LastNameAL = new ArrayList(); //Console. Write(Enter a last name: ); //LastNameAL. Add(Console. ReadLine()); //Console. Write(Keep Going? (Y/N) ); //response = Console. ReadLine(); while (response == y) { Console. Write(Enter a last name: ); LastNameAL. Add(Console. ReadLine()); Console. Write(Keep Going? (y/n) ); response = Console. ReadLine(); } Console. WriteLine(LastNameAL. Count + last names entered. ); Console. WriteLine(Last names in ascending order. ); LastNameAL. Sort(); foreach (string s in LastNameAL) { Console. WriteLine(s); } Console. WriteLine(Last names in descending order. ); LastNameAL. Reverse(); foreach (string s in LastNameAL) { Console. WriteLine(s); } Console. ReadLine(); } } }

Wednesday, January 22, 2020

Comparing Relationships in Raymond Carver’s Cathedral and Langston Hughes Mother To Son :: Comparison Compare Contrast Essays

Relationships in Raymond Carver’s Cathedral and Langston Hughes' Mother To Son My Idea of family honestly didn't begin until I agreed to marriage and children. Until that moment, in my laxity, I hadn't even considered the many aspects and values a family should consist of. My experience needless to say, laid in shattered pieces long before I took over the reins of raising myself and built a blockade fortress of stoicism. In all seriousness, I often considered never having a relationship, thinking I was incapable of possessing the experience it would take to pursue such an endeavor. Needless to say, I didn't say 'yes' the first time. In spite of this, I did marry; yet my idea of family was built without preconceived ideologies. I've done what I felt was nurturing and beneficial for my children both environmentally and educationally. All in all, my family is successful though we are a work in progress. I'm often overly diligent in their wellbeing out of my heightened need for them what I never had; the experience of a wonderful family that sets the basis for a su ccessful life when life beyond the days of a dreamy child are a hardship all their own. Family relationships, be it any form, is as always a work in progress, yet, with the fiction work of Cathedral by Raymond Carver and with Langston Hughes' poem Mother To Son, we see those with steadfast nerves and unwavering determination can succeed in this precious and challenging undertaking. When concentrating on the foundation of a promising family, being that of love in marriage in reference to the fiction "Cathedral," I come to see some semblance between my idea of an assuring affinity told by the husband, only referred to as "Bub." Although not blatantly apparent is the husband's love for his wife, he does show it with a bit of a jealous disposition. When referring to his wife's ex-husband, he purposely neglects to even give the guy a name as a result of his envious attitude jeering, "Her officer-why should he have a name? He was the childhood sweetheart, and what more does he want? (818). Besides jealousy, he also expresses many other emotions of a typical loving husband such as: protection, affection, consideration and hurt, with regards to his wife's relationship with her friend Robert, he pouts, I didn't want him (Robert) to think I'd left the room, and I didn't want her to think I was feeling left out.

Tuesday, January 14, 2020

Management Under Uncertainly Essay

I had been in Target as a temporary worker and one decision made by the manager left a deep impression on me. As one of the largest retail stores in Australia, Target can be found in the shopping centre of most area. The store I had worked is located in Leichhardt which had the expectancy was achieving a sales budget of $ 50,000 per day, and then the net profit would reach $6000. In order to make the expectation into reality, the manager of Target Leichhardt store from the point of view of cost savings decided to cut the shifts of employees. Originally, one shift had four cashiers, but now reduced to two cashiers. In addition, the manger made a decision to no longer use customer greeters. In Target store, the duty of greeter is not only greet customers into the store, but also check the bags of customers to avoid theft when they leave. The manager decided to reduce shift because he found this is a kind of waste when the store is not busy. On the other hand, he thought the customer greeter looks like a decoration because the phenomenon of pilferage was rarely. Although the manager made the adjustments, the result was still not satisfied and the outcome was the store has not achieved the budget. These decisions caused complaint from a lot of customers about the long queue when they went to the checkout. I had seen some customers drop off the commodities which they had selected because they do not like to wait for a long time. Beyond that, the two operators always feel tired and unfair when the store is very busy. Once they feel bored, they will not have enough energy and passion to serve customers. Furthermore, no longer use greeter also caused some negative effects. For example, tally clerk found that small and precious items had been lost regularly. Obviously, there were customers in the store for stealing and the action of theft reduced the budget seriously. Analysis of the Decision Teale, Dispenza, Flynn, & Currie (2003) pointed out that the bounded rational decision making is refer to there are many options, but the decision maker only consider some of these, or from the long term, that is not a best decision but the most suitable for the current situation. Here is an example, a lady fell down along the road and break her stiletto heel, and then she quickly goes into a cheap shoe store and bought a pair of lip-flops that she had never worn before. If it is in normal circumstances, the lady will buy a pair of shoes that she likes at ordinary times, but now she is in a hurry and can not wear the shoes with broken heels. So, buy a pair of shoes that does not like usually become an appropriate choice. This can be called â€Å"satisfying†. People in most cases do decision like this, because sometimes we do not consider all the possibilities in order to save time (Campling, Poole, Wiesner, Ang, Chan, Tan & Schermerhorn, 2008). Decision-makers always pick up the most useful one. In the Target Leichhardt store, because the manager chose the solution to reduce the costs in a short time, the decision can be defined as Satisfying. The decision of this store manager made just embodies the people’s bounded rationality in decision making process. The managers thought the store can increase budget by cutting costs. However, queuing for a long time can make customers have bad impression on the store. Finally, people thought for long lines when they mention this store, then they refuse to go to the store shopping instinctively. People should consider three processes that bounded rationality usually involve in. hey are simple search, simple stopping and simple decision rules. These three rules are also referred to as â€Å"heuristics†, it is used to describe â€Å"how normal people make decisions without calculating utilities and probabilities† (Gigerenzer & Todd, 2012). In this case, the manager made decision without calculating the chance of various results by using the optimal and maximizing outcome. . In this situation, the manager didn’t use the optimal or maximizing outcome to calculate the probability of outcome occurring, he didn’t use the utility to calculate the expected happiness. There are many factors that can cause bounded rationality, such as emotion, knowledge and culture. According to Teale et al (2003), bounded rationality can also be interpreted as non-rational decisions. This is because people have limited knowledge level and lack of training. The lack of knowledge and training make people with narrow horizons, and then can not take a panoramic view of the situation and do not have a long-term view. In this Target store, the manager did not investigate and understand the situation of the store from all aspects carefully; it also can say he was lack of practical experience in management of decision making. His decision can only satisfy the short-term interest if it goes well. However, it turns out he did not achieve the short-term goals. In terms of the long time interest, invoice for a long time and occasionally steal phenomenon caused bad effect on the company’s image. On the other hand, decision-maker do not communicate smoothly and actively with others can also affect the decision making (McKee, 2010). According to my observation, the manager lack basic understanding of the store and he seldom communicated with employees and customers. Sometimes, he just organized the regular meeting, and the aim of meeting is to decorate task without exchange views with others. When someone makes decision by himself without communicate with others, bounded rationality can get a higher frequency of occurrence. Lacks of communication not only lead to make decision unwise, because the decision maker is likely to be emotional to make a decision, but also make the decision maker overconfidence. In real life, we meet some people who always think they are right (Hanson, Hitt, Ireland & Hoskisson, 2011). Beyond that, environment can cause bounded rationality. Today’s general environment is complicated and changefully, people can obtain information from various channels and ways. Not all information is appropriate, sometimes wrong information mislead decision maker to make an irrational decision. In this case, the general environment is the customers and sales performance are different and the manager eager to prove his ability. So he made a non rational decision and this decision does not have any benefit for a long term operation. Reflection Mckee (2010) show us The Eight Stage Decision Making Process Model. If I were the manager in this case, I would use the above mentioned model to help me to make a rational decision. First of all, I would collect all possible information about the sale budget and net profit for five years before. For example, check the financial annual report, the daily turnover and the net profit report. Form these reports, I could analyze and assess which part of work we need to adjust and improve. Our goal is to increase earnings; we can start this goal from attracting more customers rather than reduce shifts and layoff greeters. There are many ways to attract potential customers and make them become returned customers at the same time. One effective way is issue voucher; we can offer a five dollar voucher when the customers purchase more than 50 dollars. By that analogy, we can give ten dollar voucher when the customers purchase more than 100 dollars. In this way, we can ensure customers keep coming. Another way to attract customers is to do some promotions, such as buy three same items for two items price. When I use The Eight Stage Decision Making Process Model to make a decision, I would consider more on one of the elements that is to list alternatives (Mckee, 2010). In this case, arrange employees to the most suitable area according to their own ability and personality is an alternative decision. For instance, a employee with personality of patience and enthusiasm, I would arrange he to be a customer assistance. Put myself in customer’s position, I hope to get a better shopping guide and help. Moreover, Tolbert and Hall (2008) pointed out that the more person involve the decision process, the decision is more rational. Due to the feasibility of this theory, I would be honest to analyze the whole store operating condition and the goals to other managers and employees. Then, I will encourage them to actively participate in discussion and give advices. If I were the manager I would continue to use customer greeters. In order to make them not as decoration, I will arrange them some to do things to attract customers. For example, greeters can pass flyers to passers so that they have a better concept about what product will have a discount in which day. The following step we need to carry out decision, along with this step there may have some obstacles impede our progress. But, these are not serious problems, as long as we step by step; we are able to make sensible decisions (Kramar, Bartram, De Cieri, Noe, Hollenbeck, Gerhart & Wright, 2011). This style of decision making can be described as the rational model. Only managers like a link, fasten all the employees together to make the decision, this decision can be good for long-term development of an organization.

Sunday, January 5, 2020

House Of Representatives Member, Phil Roe, Introduced A

House of Representatives member, Phil Roe, introduced a bill to amend the Food and Nutrition Act of 2008. The Healthy Food Choices Act of 2016 would require the participants of the Supplemental Nutrition Assistance Program to use their benefits to purchase items that meet the nutrition requirement proposed by the Special Supplemental Nutrition Program for Women, Infants and Children or WIC program (Roe, 2016). According to the United States Department of Agriculture (2016), there were 45,766,672 people participated in the Supplemental Nutrition Assistance Program in the 2015 fiscal year. This means that nearly forty-six million people will be affected by the passing of this act and would no longer be able to use SNAP to purchase sugary†¦show more content†¦1999). Sugar plays a huge role in the growing obesity levels. The largest source of added sugar in the US diet is sugary drinks. A recent study found that body weight significantly lowered when sugar intake was decreased. While an increased sugar intake led to a similar weight gain. This study also found that children whom consumed sugary drinks had a 55% higher risk of obesity (Hu, 2013). The progression of obesity, added sugar being a main cause, and the billions of US dollars being spent on obesity related healthcare; I believe this act will be supported by the public. The Healthy Food Choices Act of 2016 will restrict the types of drinks that can be purchased with SNAP benefits. Fruit drinks can be purchased if they are 100% concentrate, sugar free, and must contain 72 milligrams of Vitamin C per 8-fluid ounces. Snap participants can purchase milk, flavored milks, and milk substitutes such as almond milk as long as they contain 100 IUs per cup of Vitamin D and 500 IUs per cup of Vitamin A. However, under the new restrictions they would no longer be able to purchase low calorie sweetened beverages or any sports drink. Powerful interest groups like big candy and soda corporations will be important to appease for this act to be passed. Money and strong lobbying has been shown time and time again to control what legislation will be passed. A way to close the gap in the lossShow MoreRelatedStrategic Analysis of Nike Inc12147 Words   |  49 PagesShort-term Strategy ChartÂ…Â…Â…Â…Â…Â…Â…Â…Â…Â…Â…Â…Â…..p.37 Human Resources Short-term Strategy ChartÂ…Â…Â…Â…Â…Â…Â…Â…Â…Â…Â…Â…Â…Â…Â…Â…Â…...p.37 Finance Short-term Strategy Chart.Â…Â…Â…Â…Â…Â…Â…Â…Â…Â…Â…Â…Â…Â…Â…Â…Â…Â…Â…Â…Â…Â….p.38 EXECUTIVE SUMMARY Nike Inc. was founded in 1962 by Bill Bowerman and Phil Knight as a partnership under the name, Blue Ribbon Sports. Our modest goal then was to distribute low-cost, high-quality Japanese athletic shoes to American consumers in an attempt to break Germany s domination of the domestic industry. Today inRead MoreNike Strategy Analysis12215 Words   |  49 PagesStrategy Chart†¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦..p.37 13. Human Resources Short-term Strategy Chart†¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦...p.37 14. Finance Short-term Strategy Chart.†¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦.p.38 EXECUTIVE SUMMARY Nike Inc. was founded in 1962 by Bill Bowerman and Phil Knight as a partnership under the name, Blue Ribbon Sports. Our modest goal then was to distribute low-cost, high-quality Japanese athletic shoes to American consumers in an attempt to break Germany s domination of the domestic industry. Today inRead MoreDamodaran Book on Investment Valuation, 2nd Edition398423 Words   |  1594 Pagesthrough on valuations. Given the historic difficulty of beating the market, this is not an undesirable outcome. Myth 6: The product of valuation (i.e., the value) is what matters; The process of valuation is not important. As valuation models are introduced in this book, there is the risk of focusing exclusively on the outcome, i.e., the value of the company, and whether it is under or over valued, and missing some valuable insights that can be obtained from the process of the valuation. The processRead MoreStephen P. Robbins Timothy A. Judge (2011) Organizational Behaviour 15th Edition New Jersey : Prentice Hall393164 Words   |  1573 PagesShoot First? 362 12 Leadership 367 What Is Leadership? 368 Trait Theories 369 Behavioral Theories 370 Summary of Trait Theories and Behavioral Theories 372 Contingency Theories 372 The Fiedler Model 373 †¢ Other Contingency Theories 375 Leader–Member Exchange (LMX) Theory 377 Charismatic Leadership and Transformational Leadership 379 Charismatic Leadership 379 †¢ Transformational Leadership 382 Authentic Leadership: Ethics and Trust 386 What Is Authentic Leadership? 386 †¢ Ethics and LeadershipRead MoreInvestment and Economic Moats46074 Words   |  185 Pagesor warranties with respect to the accuracy or completeness of the contents of this book and speciï ¬ cally disclaim any implied warranties of merchantability or ï ¬ tness for a particular purpose. No warranty may be created or extended by sales representatives or written sales materials. The advice and strategies contained herein may not be suitable for your situation. You should consult with a professional where appropriate. Neither the publisher nor author shall be liable for any loss of proï ¬ t orRead MoreProject on Risk Management46558 Words   |  187 PagesVijaya Bank, Punjab National Bank, HDFC Bank, UTI Bank, ICICI Bank, Kotak Mahindra Bank, Centurion Bank of Punjab, Citibank, Standard, HSBC, ABN AMRO and American Express. Basel Norms II The World Trade Organization (WTO), of which India is a member nation, requires the countries like India to get their banking systems at par with the global standards in terms of financial health, safety and transparency, by implementing the Basel II Norms by 2009. Basel committee: The Basel Committee on BankingRead MoreMarketing and E-commerce Business65852 Words   |  264 PagesAmerican Life Project, Forrester Research, comScore, Gartner Research, and other industry sources. What’s New in E-commerce 2014 E-commerce today is greatly different from e-commerce only five years ago. The iPhone was introduced in 2007. The iPad tablet was first introduced in 2010 and has already gone through several generations! The smartphone and tablet devices have changed e-commerce into a social, local, and mobile experience. The 10th edition spotlights the following themes and content: Read MoreAnz Bank142091 Words   |  569 Pagesannual limits for the extraction of water from the Yarra River with which ANZ fully complies. The extraction of river water reduces reliance on the high‑quality potable water supply and is one of several environmental initiatives that ANZ has introduced at its Melbourne Head-Office building. The Group does not believe that its operations are subject to any particular and significant environmental regulation under a  law of the Commonwealth of Australia or of an Australian State or Territory