Monday, November 11, 2019
Object-oriented Programming and Data Member
Lab Task Q1: Create a class that includes a data member that holds a ââ¬Å"serial numberâ⬠for each object created from the class. That is, the first object created will be numbered 1, the second 2, and so on. To do this, youââ¬â¢ll need another data member that records a count of how many objects have been created so far. (This member should apply to the class as a whole; not to individual objects. What keyword specifies this? ) Then, as each object is created, its constructor can examine this count member variable to determine the appropriate serial number for the new object.Add a member function that permits an object to report its own serial number. Then write a main() program that creates three objects and queries each one about its serial number. They should respond I am object number 2, and so on. Use copy constructor for this task both deep and shallow copy. Q2: Create a class calculator. It would have two data members, both integer types. There would be four functio ns add(), sub(), mul() and div(). The mul() and div() functions would be friend functions. Create four objects of the class. Also use copy constructor both shallow and deep copy.There would be a static data member which would count the number of objects. Q3: Create a class GPACalculator. This class would have gpa, cgpa, sessionalMarks, midMarks and finalMarks data members. There would be two functions calculateGPA() and calculateCGPA(). calculateCGPA() would be friend function. You need to create an array of GPACalculator class. The array would be of 5. You also need to give the user option of whether he wants to calculate gpa or cgpa. The grades are as follows: 50 and 53 and 57 and 61 and 64 and 68 and 72 and 75 and 80 and 86 and
Friday, November 8, 2019
JFK Inaugural Address Essay Research Paper Example
JFK Inaugural Address Essay Research Paper Example JFK Inaugural Address Essay Paper JFK Inaugural Address Essay Paper John F. Kennedys in particular, was one of the most touching and inspiring inaugural addresses in our countrys history and it continues to be analyzed in classrooms, articles, and on television today. His words gained the peoples confidence that he had a positive future in store for America, and his moving statements kept the attention on him captivated. His uses of rhetorical strategies caused his arguments to be emphasized as well as considered, and he was able to say so such without boring those listening. He not only demonstrated the commitment that he was willing to make for the good of America, but he also encouraged citizens to join him in his effort. Regardless of the many methods Kennedy used to create his outstanding Address, the tone in which it was told is the most powerful one he used to win the crowd and earn their respect. His use of tone is effective in achieving his purpose- that those witnessing the speech desire to unite with Kennedy and overcome the common obstacles that faced their country together. Kennedy reached his audience on a personal level when he addressed myself as an equal to the people and stated We shall pay any price, bear any burden, meet any hardship, support any friend, and oppose any foe, in order to assure the survival and the success of liberty. As he said this, he related to the people by showing them that they were all suffering the same hardships, and his tone is made sincere, serious, and willing in that he will do what he must for his people. The use of parallelism through the statement Let both sides explore Let both sides seek And Let both sides unite Also emitted an inspiring feel that ensured the people that he was in the fight for improvement with them, and prepared to do what it took for a better tomorrow. As he did so, he was able to get his audience to favor his determination for change and to admire his positive attitude of what can be done to improve Americas problems. Through the statement ask not what your country can do for you-ask what you can do for your country and ask not what America will do for you, but what together we can do for the freedom of man, Kennedys tone of words appeal to Americans emotions and bring upon importance to the act of doing things for the benefit of your country. These simple but significant statements emend citizens that instead of expecting so much from the government and taking up our complaints as well as desires for our country, that we take action and seek what it is that we can do for our country ourselves. Through these statements Kennedy is able to outshine others who had given an inaugural address in the past by not only proving his willingness to produce a change, but by also inspiring other Americans to do the same. There is also notable truth in these statements, because in reality the citizens hold more power to be the change they wish to see in the world than our president does alone. Kennedy also discusses the importance of unity, and does so with the use of inversion when he says United there is little we cannot do. Divided, there is little we can do-for we dare not to meet a powerful challenge at odds and split asunder. His use of inversion creates emphasis on how we are powerful and capable of changing our country for the better, if we only do it together. His tone is encouraging and serves his purpose in causing those listening to acknowledge that united as a country we can clearly influence a much greater transformation than we can as a smaller crowd. Together we can prove our sire for change, because if we complain about what we dislike about our country yet do nothing, then we are proving that we do not care about its issues as much as we appear to. One of the most useful methods Kennedy uses to cause his argument to be truly contemplated Over is the use Of rhetorical questioning. Through his rhetorical questions citizens instantly reflect upon themselves and in a sense ask themselves What am I willing to do, or better yet- what have done for my country? The reflective tone of these thoughts is beneficial to Kennedys argument because it allows it to reach the hearts of millions and to be further Hough of. The rhetorical question Can we forge against these enemies a grand and global alliance, North and South, East and West, that can assure a more fruitful life for all mankind? Will you join that historical effort? Produces an effect that not only causes citizens to consider whether they will be a part of what influences a better America, but it also convinces them that they have the perfect leader to help them achieve this promising future. The tone in which John Kennedy delivered his Inaugural address was serious, insightful, logical, and inspiring all at once. His arguments were clear ND of plans symbolizing an end as well as a beginning-signifying renewal as well as change. He captivated the attention of those listening to him through his excellent use of rhetorical strategies that emphasized his every point and greatly helped to strengthen his argument. Several of his statements held grand importance and were something that the audience could relate to. John F. Kennedys Inaugural Address was well spoken and thoughtful. It was effective in reaching the audience and relatable to what America needed in a leader during this time period of war and poverty.
Wednesday, November 6, 2019
What Leadership Looks Like in Different Cultures Essays
What Leadership Looks Like in Different Cultures Essays What Leadership Looks Like in Different Cultures HYPERLINK "https://hbr.org/search?term=tomas+chamorro-premuzic" Tomas Chamorro- Premuzic Michael Sanger MAY 06, 2016 What makes a great leader? Although the core ingredients of leadership are universal (good judgment, integrity, and people skills), the full recipe for successful leadership requires culture-specific condiments. The main reason for this is that cultures differ in their implicit theories of leadership, the lay beliefs about the qualities that individuals need to display to be considered leaders. Depending on the cultural context, your typical style and behavioral tendencies may be an asset or a weakness. In other words, good leadership is largely personality in the right place . Research has shown that leaders' decision making , communication style, and dark-side tendencies are influenced by the geographical region in which they operate . Below we review six major leadership types that illustrate some of these findings. Decision Making The synchronized leader. Follow-through is key to being seen as leadership material in regions such asNortheast Asia (e.g., Mainland China, South Korea, and Japan), Indonesia, Thailand, the UAE, and much of Latin America (Mexico, Brazil, Colombia, Chile). In order to ascend the organizational ranks, such leaders must seek consensus on decisions and drive others through a keen process orientation.Business cycles can take longer as a result. But once all stakeholders are onboard, the deal needs to close fast or there is risk of jeopardizing the agreement. Synchronized leaders tend to be prudent and are more focused on potential threats than rewards. The opportunistic leader. Leaders who self-initiate and demonstrate flexibility on how to achieve a goal tend to be more desirable in Germanic and Nordic Europe (Germany, the Netherlands, Denmark, Norway), the UK, Western countries on which the UK had substantial cultural influence (the U.S., Australia, and New Zealand), and Asian countries that based their governing and economic institutions on theBritish model(India, Singapore, Malaysia, Hong Kong). More or less individualistic, these leaders thrive in ambiguity. However, checking in frequently with team members is advised to ensure others keep up with changing plans. Opportunistic leaders tend to be ambitious risk takers. Communication Style The straight-shooting leader. In some regions employees expect their leaders to confront issues straightforwardly . In Northeast Asia and countries like the Netherlands, excessive communication is less appealing in the leadership ranks people just want you to get to the point. Accordingly, task-oriented leaders are preferred. Impromptu performance review meetings with direct reports occur more commonly in these locations, and leaders address undesirable behaviors from team members as soon as they are observed.Straight-shooting leaders tend to be less interpersonally sensitive. The diplomatic leader. In certain countries communication finesse and careful messaging are important not only to getting along but also to getting ahead. In places like New Zealand, Sweden, Canada, and much of Latin America, employees prefer to work for bosses who are able to keep business conversations pleasant and friendly.Constructive confrontation needs to be handled with empathy. Leaders in these locations are expected to continuously gauge audience reactions during negotiations and meetings. These types of managers adjust their messaging to keep the discussion affable; direct communication is seen as unnecessarily harsh. Diplomatic leaders tend to be polite and agreeable. Dark-side tendencies The "kiss up/kick down" leader. When organizations emphasize rank, emerging leaders tend to develop unique coping skills. It is a leader's job to implement mandates from above with lower-level employees. If overused, this strength can lead to a "kiss up/kick down" leadership style, characterized by excessive deference or sudden attention to detail when reporting up, and issuing fiery directives or refusing to compromise when commanding subordinates. Though never a good thing, this derailer is tolerated more in certain countries, such as Western Asia (Turkey, India, UAE), Serbia, Greece, Kenya, and South Korea. "Kiss up/kick down" leaders tend to be diligent and dutiful with their bosses but intense and dominating with their reports. The passive-aggressive leader. Some leaders become cynical, mistrusting, and eventually covertly resistant, particularly under stress. These reactions usually occur when the individual is forced to pursue an objective or carry out a task without being won over or in theabsence of sound rationale. Though being overtly cooperative while maintaining a level of skepticism can be beneficial ingroup settings, these behaviors
Monday, November 4, 2019
Homeowners file a tort claim against a theme park Case Study
Homeowners file a tort claim against a theme park - Case Study Example to 7 p.m. There was nary a moment of peace for the village residents since then because of: Roads clogged with traffic. On opening day of the amusement park itself, roads to and from the village were impassable, such that the milk tanker that regularly picks up milk from the dairy farm of Farmer Green could not get in. When the tanker came the next day, the 1,500 liters of milk it was supposed to pick up the previous day was already spoiled, which translated to a big loss for Farmer Green. Noise. Screams from the Haunted House and rides at the park prevent Ms. Bourne, who works night shifts at hospital, from sleeping at home by day. Mr. Goode, who runs a wildlife sanctuary nearby, also says the noise causes distress to his animals. Carelessness in garbage disposal. The daily garbage from the theme park is collected in man-made waste bays placed alongside the road, which often contain more than the amount of garbage that they can hold. Such overloading caused one waste bay to fracture, spilling rotten food that pollutes Farmer Green's land. Errant water from a multi-level log-flume water ride. Water from this facility seeps through a crack and collects behind the wall separating the park from the railway tracks. As the water level increased, the pressure toppled the wall and caused a landslide that busted a sewer pipe owned by the local water company. Principles of Tort The tort law is characterized by a loose set of relatively abstract principles, which allow maximum discretion to be exercised by reference to common-sense values (Hocking & Smith, 1996).4 Thus, the judgment on whether the Ashenhurst Village residents...In criminal law, the state is portrayed as the bigger offended party than the plaintiff such that if a defendant is proven guilty the state metes out the appropriate punishment. It is different in tort cases, in which the plaintiff, whose more popular assignation now is ââ¬Å"claimant,â⬠is the victim of the alleged wrong. There seems no doubt that the management of the Ashenhurst amusement and theme park has a duty of care in seeing to it that its operations do not cause harm to the village residents, some of whom assume a ââ¬Å"sufficient relationship of proximity and neighborhoodâ⬠with the park. The main offenses for which the park could be held liable are the torts of negligence and nuisance as well as for intentional and statutory torts. The traffic and noise from the rides are forms of nuisance, whereas the water seepage from the water ride and the overflow of garbage from the park amount to acts of negligence. As for intentional tort, the law says the theme park management is liable for this offense if it acted the way it did although it could have reasonably foreseen the harm that it would cause (Barker & Padfield). Based on the Occupierââ¬â¢s Liability Act in UK, the park is also answerable for statutory tort if it never attempted to take health and safety measures to avoid causing harm to its neighbors. However, it has to be proven if the park management breached its duty of care as determined by the accepted tests and principles of tort.
Saturday, November 2, 2019
Advertisement Essay Example | Topics and Well Written Essays - 750 words - 3
Advertisement - Essay Example The first advertising phase effectively increases the target clientsââ¬â¢ knowledge of the productsââ¬â¢ benefits. The same advertising pattern is grounded on the understanding that the target clients have prior direct experiences on productsââ¬â¢ benefit. The target clients affirm that the main advertisement message is very convincing (cognition phase). The eye drops advertisements target a certain target market. The market is composed of current, future, and prior users of eye drops. The target clients know that eye drops will improve the eyesââ¬â¢ physical condition. Consequently, the target clients will accept (cognize) the advertisementââ¬â¢s message (Shimp & Andrew, 2013). Next, the muscle pain medicine convinces the advertisement viewers that the gel product will alleviate muscle pain. Again, the advertisement targets the current and prior users of muscle pain medicines. The same users are convinced that most muscle pain products successful improve the patientsââ¬â¢ muscle pain symptoms. The product targets customers having flu-related symptoms. Most of the patients diagnosed with the same symptoms accept (cognize) the advertisement is truthful, delivering what the company advertises (Shimp & Andrew, 2013). Finally, the arthritis advertisement targets customers who are currently patronizing arthritis and related pain medications. The advertisement easily convinces the arthritis patients that using the product will lessen the painful joint pains generated by arthritis. The target advertisement viewers know that the product will make the product users start living a more pain-absent life. Regarding the efficacy of the product, the target clients have no doubts (Shimp & Andrew, 2013). The second phase focuses adding convincing relevant knowledge to the advertisementsââ¬â¢ target clients. The three advertisements contribute additional beneficial knowledge to the target clients. The clients will know that there is a new competing product in the market. The
Thursday, October 31, 2019
Marketing 3000 Assignment Example | Topics and Well Written Essays - 500 words
Marketing 3000 - Assignment Example The company tried to capture new customers but forgot that their products were bought by their traditional customers. Once the Starbucks old buyers lost their feel, faith and the attachment with the company, their paths diverted. Starbucks now was no more a place to visit where customers could have a healthy talk. It became a place from where people could purchase items and move on. So, the Starbucks experience changed and with that changed the Starbuck customer. 3. A kid would get bored by playing with the same toy over and over again. Same phenomenon applies to the customers and the products they buy. People want something new and unique. This was an uphill task the company had to face in order to re attract their old customers and regain their present buyers. For this purpose, they gave a new look to their company, not by expanding the number of stores, rather by expanding, introducing and diversifying their products. They cheapened the prices of the coffee and worked to improve the quality of their items so that they could again reach the hearts of their customers. They realized that by not changing much of their terms and conditions, they could do a lot for the betterment of their consumers as well as for the company itself. 4. This is a question that can certainly take Starbucks to the peak since its emergence or can bring it to a halt for the years to come. The company has just faced a downfall and is again trying to get on their feet. If the owners and the responsible people take necessary steps to bind the company together, only then can it come out of the sorrows of defeat else the worst could be a complete shut down for the Starbucks company. Starbucks will not be able to enjoy the same comfort level and revenue from their costumers. Itââ¬â¢s simply because their quality has gone down, irrespective of the steps they are taking now, and because of the competition in the market. Their competitors are also here to
Monday, October 28, 2019
Franklin Roosevelts New Deal policies Essay Example for Free
Franklin Roosevelts New Deal policies Essay Franklin Roosevelts New Deal benefited the lives of most farmers in many different and powerful ways. The combination of the alphabet soup acts and the long lasting effects that they produced transformed the modern individual farmer of the late 1920s and the entire 1930s from the down and out, could barely survive Okie farmer, as depicted in John Steinbecks Grapes of Wrath, to a more uniform, government backed, stable farmer that still exists today. Many reasons as to why agricultural recovery and reform were put at such high priority have been suggested. In particular, there are two very compelling and logical reasons. One, farmers were the most in need as dust bowls were hovering over towns like the second coming of Jesus and droughts, especially in the south west, were becoming more devastatingly common. The second reason is that many believed that agriculture was the root of the United States economy. The idea being that the agricultural depression from the droughts and windstorms led to bank closures, business losses, increased unemployment, and other physical and emotional problems. As Franklin Roosevelt once said, if the farm population suffers, the people in the cites in every part of the country suffer with it. With the same thought of mind, the Democratic party believed, and Roosevelt emphasized through his fire-side chats that true prosperity would not return until farming was prosperous. So with this popular sense of importance and urgency spread from poor, rural, farm areas to the political capital of Washington, Congress expediently passed the Agricultural Adjustment Act on May 12, 1933. With this new law, which many critics deemed fascist, the government created enforced limits to how much of a certain crop a farmer could produce, and in many cases, even had farmers burn crops and slaughter livestock to waste. These new actions greatly benefited farmers economically as with every head of livestock and every bushel of crop wasted, farmers would receive subsidies from the government. These actions quickly solved the nations problem of crop surplus and propelled the price farmers had to charge for their goods from dangerously low to reasonable profitable. Of course, this led the consumers to suffer, and the US Supreme Court to raise an eyebrow. In the case of US vs. Butler, the court deemed the AAA unconstitutional because its processing of taxes went against the 10th Amendment. Later, a second AAA was createdà that relied on more general government taxes, and though renamed the Production and Marketing Administration, it still exists to this day. Secondly, the direct effects of the AAA and the indirect effects of the WPA, CCC, TVA, and most notoriously, the SSA, should be evaluated and considered along with WW2 as the means to which farmers escaped the depression. As they lined up to receive their AAA benefit checks, many were also enjoying the switch from kerosene to electricity for the first time thanks to the Tennessee Valley Authority. Furthermore, other close-to-home projects were being erected such as public schools and public housing due to the Civilian Conservation Corps. In fact, the only ones who werent powerfully effected by Roosevelts response to Black Tuesday were farmers who worked on margin, and who were also mostly black. Only 182,018 Negroes owned and operated farms and 700,911 were tenants. Tenants gained no government subsidies and never gained any real power or prosperity in their lives because they owned no actual land. Only the less than two sevenths of black farmers received immediate relief, and because most blacks were still farmers prior to the Great Migrations to the cites of Chicago and elsewhere, which actually didnt end until the 1960s, many blacks overall were looked over as a minority as was the case in many situations until the Civil Rights movement of coincidently, the 1960s. Part of the reason that ,overall, the effects of the New Deal for farmers were so substantial is because they were so willing to cooperate. As one civilian of the time, Leroy Hankel, remembers, most of them went [into the program]. There was just a few that wouldnt have anything to do with it. But, the majority of people, they all went into the program Those that didnt were the ones that feared a Roosevelt Executive Dictatorship and believed that Americas original idea of democracy was being conformed to something more similar to Mussolinis fascist principles. These critics concerns did hold merit as many of the ideas proposed by Roosevelts New Deal, particularly Social Security, do rely on complete government control which is exactly what a good proportion of the public feared during the Red Scare. Because of this fear, the kiss of death was laid on many of Roosevelts plans, both from the left and the right. Roosevelt knew that aà few in high power would not be willing to travel on his new and untrod path , but something bold had to be done as a means to save agriculture. In conclusion, farmers were rescued from the laissez faire attitude of Herbert Hoover by the can do, will do attitude of Franklin Roosevelt and his unprecedented New Deal promise to farmers and alike. The key distinction between Hoover and Roosevelt is that while both, in their adult life, were prestigious aristocrats, Roosevelt had a deep sense of understanding and compassion for the average blue-collar farmer. Stories like from Claude V. Dunnagan, that all sound very familiar of how the lawyers sold our farm and we had to move out illustrate the vastness of how much white-collar greed and deception was running wild. Obviously, relief, recovery, and reform movements were necessary and the only things short of a great war that could end the economic fear and greed that was suffocating 95 percent of the American populations, most painstakingly: farmers. Even though they never did reach back to the days of the Calvin Coolidge prosperity, without the New Deal, family farms would have be come a thing of mythology and Hoovervilles would have become just another element of everyday reality.
Subscribe to:
Posts (Atom)