THE ENRON SCANDAL Enron shocked the world from being “America’s most innovative company” to America’s biggest corporate bankruptcy at this time. At its peak, Enron was America’s seventh largest corporation. Enron gave the illusion that it was a steady company with good revenue but that was not the case, a large part of Enron’s profits were made of paper. This was made possible by masterfully designed accounting and morally questionable acts by traders and executives. Deep debt and surfacing information about hiding losses gave the company’s big problems and in the late 2001 Enron declared bankruptcy under Chapter 11 of the United States Bankruptcy Code. Kenneth Lay was one of the key spokesmen when it came to deregulation of the energy market, much because of his personal connection to the Bush family. In the early 1990’s the United States congress approved a legislation that deregulated the sale of natural gas. Not long before this Lay was one of the initiators that made it possible to sell electricity on the free market. This major deregulation in the energy market gave Enron the opportunity to sell their energy at higher prices, which equivalently lead to greater revenue. This was the start of Enron’s Journey from an energy company to a trading company. The focus went from energy markets to finding new ways of earning money. Large investments were made around the world to expand its business and open itself for new markets. Enron was named America’s most innovative company six years in a row by Fortune’s Most Admired Companies survey. This made the company attractive for top graduates out of the best universities across America, which gave the company more competence and a big urge to strive forward. The strive forward was the same as the aim to increase the stock price. Enron employees were partly paid in stocks so increasing the stock price became a main interest. In 1990, Jeffery Skilling joined Enron Corporation and in 1997, he was appointed as the company’s Chief Executive Officer. Skilling demanded to change Enron’s accounting system from a straightforward kind of accounting where Enron had listed actual revenue and costs of supplying and selling gas to the mark-to-market accounting system. The mark-to-market method requires estimations of future incomes when a long-term contract is signed. These estimations were based on the future net value of the cash flow, costs related to the contract were often hard to predict. This means that the estimated income from projects were included. In Enron’s accounting even though the money was not yet received and if there were any changes such as additional income or loss it would show up in subsequent periods. Investors were given misleading information because of the deviation in the estimations. Enron was the first non-financial company to use the mark-to-market method. The U.S. Securities and Exchange Commission gave Enron their approval to use the method on January 30, 1992. Special purpose entities are legal entities that are created only to carry out a specific or temporary task. The purposes are to handle assets either by funding or by risk management. A sponsor creates the entities but the funding comes from investors. The financial reporting has many rules about if the entity is separated from the sponsor. In Enron’s case the special purpose entities were not only used to dodge the traditional accounting conventions but also so they could hide debts. The entities made it possible for Enron to underestimate, hide its debts and overestimate its equity. Enron was by 1992 the largest seller of natural gas in North America, their earnings before interest and taxes was $122 million. To grow further, Enron followed a differentiation strategy that were based on that the company owned and operated a variety of assets, pipelines, broadband services, paper plants, water plants and electricity plants. Enron did not only make on its assets, it also traded actively with contracts of the products and services it provided, making further revenue. This made Enron a favorite among investors and between 1990 and end of 1998 Enron’s stock price increased 311%. The increase didn’t stop there, 1999 it increased 56% and 2000 it increased an additional 87%. The index for the market the same two years was +20% and -10%. Enron’s stock price was 83.13 dollars and its market value was just above 60 billion dollars the 31 December of 2000. The Commodity Futures Modernization Act Of 2000, which ensured the deregulation of over-the-counter derivatives, helped Enron with their derivatives business. One example was during the California electricity crisis (2000-2001) where they manipulated the California energy market and sent electricity prices surging by at least a factor of eight. During that time, the of natural gas was trading as much as $60 per thousand cubic feet in California (which was previously selling for about $3 per thousand cubic feet). This kind of manipulation increased Enron’s stock price and revenues. But this not so clever manipulation of Enron made itself a political target and accelerated the ruins of their finances. The use of mark-to-market accounting later backfired. The company’s aggressive accounting had corrupted Enron’s books and had allowed the company to be far too optimistic in its assumptions about the future profits. Cash is a necessity for any company to run and Enron mostly had paper revenue, so by the middle of 2001, they made to the conclusion that the cash crisis had struck them. In Enron, bonuses and incentives in form of cash or stock options came in bundles, only if you were good enough and if you were considered one of the moneymakers. This mentality made Enron a very competitive work place. Everyone was in a hurry to close deals (good or bad) because right after a closed deal, they got their bonuses regardless of the result of the deal. This became a problem since there were a lot of projects being made but no follow-ups. No one wanted to be responsible of a done deal, they just wanted to close it and get their bonus. Performance review committee was also a factor why employees in Enron were so aggressive. It created a culture within Enron that replaced cooperation with competition. The committee gave ratings from 1 to 5, 1 being the highest and in Enron, the 1 mark meant that you will get a good sum of bonus. If you were in the lowest 5 to 6 percent of this rankings, that meant that you are not good enough to stay in Enron and you had to pack your things because you will lose your job anytime soon. In order to hide loses and fabricate earnings, Andrew Fastow created multiple Special Purpose Entities (SPEs). Some SPE’s are Chewco, UM1, UM2 and Raptor. When news about the debt hiding surfaced, Enron’s stock began to fall and several SPEs began to collapse as a result of the drop of Enron’s stock price. For an SPE to be legal, they have to satisfy 3 requirements: (1) at least 3% of the equity had to come from outside investors (i.e. not-Enron), (2) the entity could not be controlled by Enron, and (3) Enron was not liable for any loans or other liabilities. Therefore, they had to be disclosed in Enron’s financial statements depressing earnings and Enron employees (i.e. LIM was run by Andy Fastow while ChewCo was run by Kopper). Enron was housed by bright and talented employees and everyone thinks they are so smart or Jeffery Skilling was the one responsible in implementing mark-to-market accounting in Enron. Under his management, Enron launched Enron Online, which is an internet based service where contracts on energy commodities could be traded with Enron. In the end, Enron could not cover the capital costs of their transactions, which is also one of the reasons that sent the company to bankruptcy. Andrew Fastow was the Chief Financial Officer of Enron, who was the mastermind of the Special Purpose Entities like UM1, M2, etc. in Enron. He made the complicated financial structures so that Enron could hide their losses and debts. Rebecca Mark was the head of the failed businesses of Enron, which were Enron International and Azurix. Some of the projects were the $3 billion power plant in Dabhol, India and the expensive acquisition of Wessex Water. She also used the Enron Jet with her trips around the world. One executive even mentioned that whenever Mark attends a meeting, it costs the company at least $60,000 (that would cover just her transportation). Of course, who could forget the contribution of the Chairman and CEO of Enron, Kenneth Lay, regarding Enron’s bankruptcy. Aside from staying away from the business because he was too busy socializing, he and his family misused the company assets. At one point, they were all using the company jets for personal travels. He was also involved in conspiracy and fraud in the company in order to hide its downfall. The bankruptcy affected at least the 21,000 Enron employees. During the four years before the declaration of bankruptcy where shareholders lost $74 billion, approximately $40-45 billion could be traced back to fraud. 20,000 former employees won a suit against Enron in May 2004 worth $85 million. This was the compensation for nearly $2 billion in pension funds that were lost. Not everything is about money, a lot of people lost their steady income, their security to feed their families and many people’s futures were shattered due to the loss of pension. VE PAST QUESTIONS Sarbanes-Oxley Act is a US federal law that came after the Enron scandal. The Act contains a set of standards that regulate public company boards, management and public accounting firms. Some of the main regulations is that all companies must have a majority of independent directors, nominating and compensation committee has to have independent directors also the audit committee should consist of members that are financially educated and one of the members have to been an expert. On January, 14, 2004, Andy Fastow and his wife Lea both pleaded guilty and got a highly unusual package deal. Andy was sentenced 10 years without parole in exchange of testifying against Lay, Skilling and other former Enron executives. Prosecutors were so impressed with his performance that his final sentence was shortened to 6 years. The jury in the Lay and Skilling trial returned its verdict on May 25, 2006, Lay was convicted to all 6 charges he faced (securities and wire fraud) and subject to a maximum of 45 years in prison. Forty-one days later, Ken Lay died in Aspen because of heart attack; that is even before his sentence was scheduled. On the other hand, Skilling was
Tag: Paper Writing
-
This test will assess your Grammar skills in English. Please choose the answer you…
This test will assess your Grammar skills in English. Please choose the answer you consider to be correct in terms of grammar, spelling and punctuation.
Please scroll to the bottom to answer the next available question.
Please select the correct answer.
I know we were supposed to meet today right after lunch, but I’m nervous I’m not going to be able to get together with you then. I know we were supposed to meet today right after lunch, but I’m afraid I’m not going to be able to get together with you then. I know we were supposed to meet today right after lunch, but I’m scared I’m not going to be able to get together with you then. I know we were supposed to meet today right after lunch, but I’m frightened I’m not going to be able to get together with you then.
Completed 14 ?of 24 -
“Mhat Does the Working Man Mant?” (1890), “he pokare by Samuel L. Gompers The…
“What Does the Working Man Want?” (1890), the speech by Samuel L. Gompers. The American Federation of Labor was founded in 1886. It organized only skilled workers in craft unions. Federation leaders felt that, since employers could easily replace unskilled workers during a strike, those workers would not have enough bargaining power to make them valuable union members. The union also excluded African Americans, women, and recent immigrants. Samuel L. Gompers, a cigar maker by trade, was the AFL’s president from 1886 to 1924. He was against militant unionism as a way to gain labor’s goals. During World War I, he directed the War Committee on Labor and did much to make unionism acceptable to the American public. In the following excerpt from a speech delivered in 1890, Gompers explains the goals of the AFL.
… Why, when you reduce the hours of labor, say an hour a day, just think what it means. Suppose men who work ten hours a day had the time lessened to nine, or men who work nine hours a day have it reduced to eight hours; what does it mean? It means millions of golden hours and opportunities for thought. Some men might say you will go to sleep. Well, some men might sleep sixteen hours a day; the ordinary man might try that, but he would soon find he could not do it long. He would have to do something. He would probably go to the theater one night, to a concert another night, but he could not do that every night. He would probably become interested in some study and the hours that have been taken from manual labor are devoted to mental labor, said that we will want more; that last year we got and the mental labor of one hour will produce for an advance of ten cents and now we want more. We do want more. You will find that a man generally wants more.
… You ask a workingman who is getting two dollars a day, and he will say that he wants ten cents more. Ask a man who gets five dollars a day and he will want fifty cents more. The man who receives five thousand dollars a year wants six thousand dollars a year, and the hundred fold, we insist that it has been brought to make it a million, while the man who has his about by the intelligence and energy of the millions will want everything he can by his hands workingmen, and while we find that it is now harder to live. We do want more, and when it becomes more, we shall still want more. And we shall never cease to demand more until we have received the results of our labor.
Now answer Numbers 1 through 8. Base your answers on the speech “What Does the Working Man Want?”
(1) Why were unskilled workers not allowed into craft unions?
A. They could not be relied upon to go on strike
B. They would not be helpful to the union in a strike
C. They were uneducated and could not speak English
D. They were largely made up of women and minorities(2) According to Gompers, how could “millions of golden hours” be created?
F. by allowing people to sleep as much as they want
G. by reducing the number of hours people must work
H. by increasing the opportunities for meaningful work
I. by using militant unionism to reach the union’s goals(3) Gompers believed that the greatest wealth is brought about by
A. long work hours.
B. hard physical work.
C. interesting mental work.
D. better working conditions.(4) Why were Gompers and the rest of the union workers accused of being selfish?
F. They let only skilled workers join the union
G. They would not allow poor people in their union
H. Once they got what they asked for, they always asked for more
L. Once they became rich, they would protest poor workers getting a raise(5) According to Gompers, who was responsible for the great wealth of the nineteenth century?
A. workers
B. inventors
C. businesspeople
D. union leaders(6) Gompers claimed that they would stop making demands when
F. the high costs of living went down.
G. they got what they deserved for their hard work.
H. modern inventions made working conditions better.
I. millionaires stopped protesting against pay raises for the poor.(7) What was the purpose of Gompers’s speech?
A. to persuade workers to join the labor union
B. to list the accomplishments made by the labor union
C. to explain why the workers were making their demands
D. to describe the contributions made by the workers(8) According to Gompers, how are all people ALIKE?
F. No matter what they achieve, they will always want more.
G. No matter how hard they work, they will never get what they deserve.
H. No matter how rich they are, they will never appreciate what they have.
I. No matter who they are, they will always prefer leisure time to working. -
Can Someone please help me with this question? this is due on Thursday night. The…
Can Someone please help me with this question? this is due on Thursday night.
The major assignment involves producing a Pacman style game in Clara Online.
Spring 2022> The Major Assignment > Pac-Man Game For your convenience, all important requirements specified in this brief are re-listed here: – Clara and the Ghosts must be able to move from one side of the game to the other with the “wrapAroundWorld()” method – Clara must be capable of being controlled with at least the arrow keys on the keyboard – Clara must not move in the game until after an arrow key pressed – Clara must stop before hitting trees or the ghost wall – Clara must be able to eat leaves, and play the appropriate sound when doing so – When all the leaves are eaten, the game must progress to the next level – When each level starts the intro sound must be played once for each level and Clara and the Ghosts must not be able to move until after the intro sound has completed playing – Ghosts must move slower than Clara when moving normally and when scared – Ghosts must stop before hitting trees – Ghosts must randomly decide on a direction to go in when they find themselves in an intersection – When Clara and a Ghost collide, and the Ghost is neither dead nor scared, she must die, and play the appropriate sound – When Clara is dead the player must not be able to continue controlling her – Clara must be able to eat mushrooms, and this must make the Ghosts scared – When the Ghosts are scared, they must run the appropriate animation – When Clara and a Ghost collide, and the Ghost is scared, the Ghost must die, play the appropriate sound and play the appropriate animation – When Ghosts are dead they must attempt to return to the Ghost Healer – When Ghosts collide with the Ghost Healer they must no longer be dead – You must make, at a minimum, one extra level – All files must compile and the game must run. While in the past you only had to work with one file, this time you will have to edit Ghost for all the logic related to the Ghosts as well as MyClara for all the Clara functionality. Important note 2 Do not let the following list of commands scare you, as they are further explained in the assignment brief and your tutors will help you to select those commands that you need for each task. Important note 3 For this assignment you should no longer have a main loop (for or while) inside act(). Instead you should rely on the act() method being executed repetitively (similar to how you did in Practical 2). The stop(); command MUST NOT be used in this assignment. Cnrineranon, Tho Maine Accirnmants Dar-MAan Famo Spring 2022> The Major Assignment > Pac-Man Game – down if Clara is getDirection() Gets which direction Clara is facing. Nothing. facing toward the bottom of the screen. right if Clara is facing to the right side of the screen. left if Clara is facing to the left side of the screen. – A String, which specifies which direction you want face. – “up” – face – Makes Clara face a specific direction. Spring 2022> The Major Assignment > Pac-Man Game – Makes Clara face a specific top of the Spring 2022> The Major Assignment > Pac-Man Game – For more information, see makeScared() the “isScared() function in Nothing. the Ghost’s vocabulary. Also see the section “Part 10 – Eating Mushrooms and Making Ghosts Eatable” Spring 2022> The Major Assignment > Pac-Man Game animateDead() For more information, see Nothin the section “Part 9 – Ghosts Colliding With Clara and Losing” – Nothing. – Will show an Spring 2022 > The Major Assignment > Pac-Man Game Spring 2022> The Major Assignment > Pac-Man Game An integer Spring 2022 > The Major Assignment > Pac-Man Game Spring 2022 > The Major Assignment > Pac-Man Game Note that this method is Ghost. relative to the screen, not Nothing. the Ghost. That is, regardless false if there is of the direction of the Ghost, not a below a tree that is below it, will the Ghost. always be below it. – Astring which represents the direction the Ghost is facing. “up” if the Ghost is facing up toward the top of the screen. “down” if the Ghost is facing toward the bottom of the screen. “right” if the Ghost is facing to the right side of the screen. “left” if the Ghost is facing to the left side of the screen. The Major Assignment > Pac-Man Game – Astring, which specifies which direction you want the Ghost to face. “up” if you want it to face toward the top of the screen. “down” if you want it to face Nothing. toward the bottom of the screen. “right” if you want it to face toward the right side of the screen. “left” if you want it to face Spring 2022> The Major Assignment > Pac-Man Game “left” if you want it to face toward the left side of the screen. Spring 2022 > The Major Assignment > Pac-Man Game – The Ghosts continues its death animation by one frame.
animateDead()
the more information, see “Part 10 – Eating
Mushrooms and Making
Ghosts Eatable”
?
Nothing.
– The Ghosts continues its scared animation by one frame. animateScared() For more information, see Nothing. Nothing. the section “Part 10 – Eating Mushrooms and Making Ghosts Eatable” – Gets Clara. Spring 2022> The Major Assignment > Pac-Man Game – Gets Clara. – Is to be used with the Is to be used with the getClara() “isAboveMe”, “isBelowMe”, Nothing. “isToMyLeft” and “isToMyRight” commands, explained below. – Gets the Ghost Healer. – Is to be used with the “isAboveMe” “isBelowMe”, Nothing. Ghost Healer. “isToMyLeft” and “isToMyRight” commands, explained below. – true if specified Spring 2022> The Major Assignment > Pac-Man Game ne Spring 2022> The Major Assignment > Pac-Man Game One of your first tasks – is to learn how to process keyboard input of the player by using Keyboard.isKeyDown(String) method. Try passing the movement constants defined inside MyClara.java as input for Keyboard.isKeyDown(String) and see what happens when you press the arrow keys. Try starting with using System.out.println() to print which of the keys was pressed to make yourself familiar with keyboard input. Next thing for you to do – is to make sure that Clara can be controlled with the arrow keys. You may add extra functionality, such as controls for left handed players, but that is not compulsory. You will need to use Clara’s “setDirection(String)” method, which can be sent one of the following commands; “up”, “down”, left” or “right” (a good idea is to use the same movement constants defined inside MyClara rather than using those String literals inside your code). Passing the aforementioned String values to setDirection(String) method will set Clara’s direction to the command you specify. Note that the “setDirection(String)” method will not change Clara to a specified direction if there is a tree in that direction. Once you’re able to process keyboard input and make Clara respond to it by turning in the right direction – now it’s time to make Clara move. In order to make Clara move, you will need to use the “move(int)” method. Note that it can be passed any integer, and that a bigger integer will make Clara move faster. The integer that it is passed will determine how fast Clara moves. It will be up to you to determine a suitable speed for Clara. Please note that it is not a good programming practice to arbitrarily pass numbers to methods, and that it is always a good idea to instead, make a constant that will hold the value that you wish to pass. Then you will need to somehow stop Clara from automatically moving at the start of the game, and only start continuously moving after a single key is pressed. Note that as per the original Pacman game, it is only necessary to stop Clara from moving before the initial key press, and that after that, it is perfectly acceptable to have Clara continuously move in the direction that was last selected. Once you have determined, and tested, a suitable speed, you might notice Clara disappearing off the edge of the world. It is important that Clara, and the Ghosts, at some point call the method “wrapAroundWorld()” to deal with this issue. This will enable them to reappear on the opposite side of the world that they disappear off. Part 2 – Animating Clara’s Movement In order to animate Clara, you will need to call the “animate()” method. You may notice, that if you just call the “animate()” method, that it cycles through Clara’s animation very quickly. This is because every time the method is called, it advances Clara’s animation to the next frame. You will need to figure out a way of not calling it every time the act method is run, but every so many times that the act method is run. HINT: If you are having trouble, try only calling “animate()” every second time the act method is called. Then try editing that attempt to work only every third time the act method is called. It will ultimately be up to you to determine what looks best. Part 3 – Clara Collisions with Trees and Ghost Walls Obviously, Clara really shouldn’t be floating through the world; she should stop before hitting trees. She will also need to stop before hitting the Ghost Wall, as only the Ghosts are allowed to pass through it. It will be up to you to figure out how to stop Clara from passing through either. HINT: You will need to use the “ghostWallFront()” method. Part 4 – Eating Leaves and Winning Clara will need to eat all of the leaves in order to win. First, she will need to be capable of eating leaves. If you Clara will need to eat all of the leaves in order to win. First, she will need to be capable of eating leaves. If you are unsure of how to do this, please revise practicals 1 and 2. Once you’ve got Clara eating leaves, you’ll need to play the right sound. To do so, you’ll need to call the method “playLeafEatenSound()” at an appropriate point in your code. When you have Clara happily eating leaves, you’ll need to check that all leaves have been eaten and progress to the next level. You will need to use the “allLeavesEaten()”, “advanceToLevel(char[][])” and “getCurrentLevelNumber()” methods. You will need to somehow check what the current level is, and either advance to the next available level, or, if there are no more available levels, advance back to the first level again. Note that if you wish to return back to the first level, all you need to do is send LEVEL_1 or null to the “advanceToLevel(char[][])” method. Please note that actually adding levels to the “advanceToNextLevel()” method is covered in “Part 12 – Making and Adding Levels”. Once you can advance to new levels, or return to the first level after player completes it, it’s time to play the famous Pacman intro music at the start of each level. Note that it is a requirement to not allow Clara or the Ghosts to move until after the intro music has finished playing and the intro music must only play once for each level. You will need to use the methods “playPacmanlntro()” and “isPacmanIntroStillPlaying()”. For now, just focus on stopping Clara from moving while it is playing. Note that after doing the above, you may wish to comment out the code that plays the intro music and prevents movement while testing the game, but remember to uncomment it and add it back in when you’re ready to submit. Part 5 – Moving Ghosts Making the Ghosts move is very similar to making Clara move, but all your corresponding code must now be placed inside Ghost.java. You will need to call the “move(int)” method and determine a suitable speed for Ghosts. Note that they should move slower than Clara at this point. It is also a good idea to add the code to stop them from moving when the intro is playing. You will need to use the method “isPacmanlntroStillPlaying()”. Don’t forget to call the “wrapAroundWorld()” method, so that Ghosts correctly move after reaching the edge of the world. Part 6 – Animating Ghosts’ Movement Making the Ghosts animated works in the similar way as animating Clara. The method you call is exactly the same. Just like Clara, you will need to figure out a way of calling the “animate()” method every so often that the act method is called, and that it is up to you to determine how often they should animate. Part 7 – Ghosts and Tree Collisions Making the Ghosts detect that a tree is in the way, and stop, is achieved in a similar way as making Clara do so, you will even need the same methods. Although, unlike Clara, there is no human player to tell the Ghosts where to go after they hit a tree. It is up to you to decide what they should generally do when they hit one. Note that telling the Ghosts where to face will involve using the “setDirection(string)” method, just like with Clara. It may assist your general Ghost logic if you use the “getDirection()” method, which returns a string just like you would send the “setDirection(string)” method, and that the string will be either “up”, “down”, “left” or “right”. It is not necessary to use the “getDirection()” method, but you may find it helpful while testing and Note that telling the Ghosts where to face will involve using the “setDirection(string)” method, just like with Clara. It may assist your general Ghost logic if you use the “getDirection()” method, which returns a string just like you would send the “setDirection(string)” method, and that the string will be either “up”, “down”, “left” or “right”. It is not necessary to use the “getDirection()” method, but you may find it helpful while testing and debugging your code. Note that, just like Clara, the “setDirection(string)” method will not change the Ghost to a specified direction if there is a tree in that direction. Part 8 – Al and Intersections An important part of making your Ghosts intelligent – is detecting an intersection and deciding which way to go. You should start with simply selecting a random direction at an intersection by using random numbers covered in the lectures. You will need to use the methods “treeAbove()”, “treeBelow()”, “treeToLeft()” and “treeToRight()” to detect an intersection. It should be noted that, unlike most sensor commands that you’ve used before, like “treeFront()” and “treeleft()”, these commands are not relative to the direction that the Ghost is facing, they are relative to the screen itself. This means that a tree that is above the Ghost, will always be above the ghost, regardless of which direction it is facing. This basic logic is true for all four aforementioned commands. Test them out in order to understand them. Drag one of the Ghosts around and see what is the result of calling those methods. It should be noted that, for the most part, an intersection can be defined as a location where there are three or more directions to go to. HINT: You might want to check to make sure the Ghost has passed the intersection it is currently at before running the code to choose a direction at an intersection. (Otherwise, it might just hang around the same intersection and not go anywhere). For more advanced students, use the “isAboveMe()”, “isBelowMe()”, “isToMyLeft()”, “isToMyRight()” and “getClara()” methods to give them a 50% chance of moving in the Clara’s direction at every intersection. Note that the “isAboveMe()”, “isBelowMe()”, “isToMyLeft()”, “isToMyRight()” methods are further explained in the “Part 11 – Ghosts and Regeneration”. Part 9 – Ghosts Colliding with Clara and Losing The Ghosts must pose a threat to Clara, and as such, they must kill her if they catch her. In order to do so, you will need to check if they have collided with Clara. To do so, you will need to use the methods “intersects(Actor)”, “getClara()” and “makeClaraDead()” inside the Ghost class. Clara will need to use the method “isClaraDead()” to signal that the game is over. It is important for the Ghosts to be continually checking whether they have caught Clara, and it is important for Clara to check whether she is dead to prevent further movement and animation. Once you have Clara capable of checking whether she is dead, you will need to show the appropriate death image, with Clara’s method “animateDead()” and play the appropriate sound with the method “playClaraDieSound()”. It is important that the method “playClaraDieSound()” is only called once. It is also important that you stop processing keyboard input from the player at the point of Clara’s death. Note that Clara’s “animateDead()” method only contains one frame, and so it is acceptable to run it every time the act method is called after Clara is dead. Part 10 – Eating Mushrooms and Making Ghosts Eatable Clara will need to able to eat mushrooms and get her super power. In order to do so, you will need to use methods “onMushroom()” and “removeMushroom()”. Then you will need to appropriately place the method “makeScared()” when Clara has eaten a mushroom. The Clara will need to able to eat mushrooms and get her super power. In order to do so, you will need to use methods “onMushroom()” and “removeMushroom()”. Then you will need to appropriately place the method “makeScared()” when Clara has eaten a mushroom. The Ghosts will need to check whether or not they should be scared, and switch to the appropriate animation when they are. You will need to use the methods “isScared()” and “animateScared()”. Note that the “animateScared()” method will need to be run every so many times that the act method is called, just like the “animate()” method. It is acceptable, but not compulsory to increase the Ghosts’ speed when they are scared, but they should be slower than Clara. You will then need to ensure that the Ghosts don’t kill Clara when they collide with her if they are scared, and instead, die themselves. It will be up to you to create your own variable that checks if the Ghosts are dead. You will need the “animateDead()”and “playGhostEatenSound()” methods. It is important to note that the Ghosts do not stop moving when they are dead, and that the Ghost’s “animateDead()” method will need to be run every so many times that the act method is called, just like the “animate()” method. It is also important that the Ghosts should not harm Clara when they are scared or when they are dead. Also note that the game will automatically decide how long the Ghosts should be scared for. Part 11 – Ghosts and Regeneration When a Ghost is dead, it will need to return to the Ghost Healer, which is the red object near where the Ghosts start. It will be up to you to decide how they should logically make their way back to the Ghost Healer object. You will need to use the “isAboveMe(Actor)”, “isBelowMe(Actor)”, “isToMyLeft(Actor)”, “isToMyRight(Actor)” and “getGhostHealer()” methods to make this happen. Note that the “isAboveMe(Actor)”, “isBelowMe(Actor)”, “isToMyLeft(Actor)”, “isToMyRight(Actor)” methods need to be sent an Actor, and that only two are available to you, through the “getGhostHealer()” and “getClara()” methods. You will need to send those ‘get’ methods to the ‘is’ methods in order to get an appropriate answer. An example of how to use the above functions is below: “isAboveMe( getGhostHealer() );” If the above example returns true, then the Ghost Healer is above the Ghost. When the Ghost returns to the Ghost Healer object, it will need to make itself no longer dead. You will need the “intersects(Actor)” and “getGhostHealer()” methods to make this work. Part 12 – Making and Adding Levels It’s time to understand how Clara’s world is designed in this game, and how to design and add your own levels. When you first opened up “MyClara”, you may have noticed the first level at the top of the code. This is the format you will need to use in order to create your own levels. See the image below for what you should roughly see when first opening up “MyClara”. You’ll notice that a level is simply an array of characters that visually represent the level that they make. The characters used are as follows: – ‘#’ represents a tree, which is an obstacle to both Clara and the Ghosts. – “. represents a leaf, which Clara needs to eat in order to progress to the next level. – ‘ ‘ represents nothing, which is essentially an empty tile. – ‘%’ represents a Ghost. At least one must be present in every level you make. – ‘?’ represents a Ghost Healer, which the Ghosts return to when eaten in order to come back to life. At least one must be present in every level you make. – ‘I’ represents a Ghost Wall, which is an obstacle that only Ghosts may pass through, and not Clara. It is connected to the group of trees that make up the initial room that the Ghosts start in. At least one must be present in every level you make. – ‘$’ represents a mushroom, which can be eaten by Clara in order to make the Ghosts scared and capable of being killed by Clara. – ‘@’ represents Clara, it is where she will start at the beginning of the level. Only one must be present in every level you make. The characters that make up the array of a level in Clara’s world are each surrounded by single quotes (‘) and the characters in a single row are separated by commas (,). A single row in a level is surrounded by curly braces({}), and the end of a row of a level, that is not the end of the whole level, is indicated by a comma after the closing curly brace (},). Now you should have a rough understanding of how Clara’s world is constructed. or peing Killea py Liara. – ‘@’ represents Clara, it is where she will start at the beginning of the level. Only one must be present in every level you make. The characters that make up the array of a level in Clara’s world are each surrounded by single quotes (‘) and the characters in a single row are separated by commas (,). A single row in a level is surrounded by curly braces({}), and the end of a row of a level, that is not the end of the whole level, is indicated by a comma after the closing curly brace (},). Now you should have a rough understanding of how Clara’s world is constructed. In order to build your own level, all you have to do is delete all of the streets of the level and write your own level in there, following the above rules in order to present it and write it properly. Then write your own level, in between the curly braces that are left after you delete what was highlighted. After you’re done, you’ll need to go to where you call the “advanceToLevel(char[][])” method and figure out a way of sending it “LEVEL_2” when the player has finished “LEVEL_1”. Now add a new level, and test it. To add another level, simply copy and paste “LEVEL_2” inside MyClara and change it to “LEVEL_3”, and modify it just like you did for level 2. Add as many levels as you want, although technically you are only required to add one more level. Part 13 – Life is Good Now tidy up your code, add more levels if you want, but be sure to properly comment what you’ve coded. You’re ready to hand in your assignment. Life is good!
Clara’s vocabulary
For this assignment, the following commands are available for Clara right from the start:
Ghost’s vocabulary
Making the Game -
1. Open the start file EX2019-Challenge Yourself-2-4-ALT. The file will be renamed…
1. Open the start file EX2019-Challenge Yourself-2-4-ALT. The file will be renamed automatically to include your name Change the project file name it directed to do so by your instructor, and save it 2. If the workbook opens in Protected View, click the Enable Editing button in the Message Bar at the top of the workbook so you can modify it 3. Center and merge the title across cells A1:41 4. Apply the Title cell style to the merged cells. 5. Merge and center the four section titles across the appropriate cells (Monthly Income Available income, Monthly Expenses and Preschool Expenses) 6. Apply cell styles to the section titles as follows: a. Monthly Income Accent b. Available income Accent2 cMonthly Expenses – Accent d. Preschool Expenses Accent1 7. Add the Green, Accent 6, Lighter 80% fill color to cells A4:B4. It is the last color in the second row under Theme Colors 8. Bold cells A4:34 9. Copy only the formatting of cells A4:B4 to the headers in the other sections (cells A12:B12, 04:E4, and D12:E12). 10. The line item for Transportation (cells A21:321) is in the wrong category. Cut the cells and insert them into cells D15:15 shifting the other cells down. Do not overwrite the existing data 11. Delete the empty cells A21:B21 shifting the other cells up. IMPORTANT: You must complete step 11 correctly in order to receive points for completing the next steps. Check your work carefully 12. Cell E7 has the wrong number format applied. Copy the formatting from cell E6 and apply it to cell E7 13. Apply conditional formatting to cells B13:B23 to display the 3 Arrows (gray) icon in each cell, 14. The text in cell A21 appears cutoff. Apply text wrapping to the cell, 15. Apply the default All Borders border style to the following cell ranges: A4:B7, 04:08 A12:824, and D12:E16 16. Save and close the workbook 17. Upload and save your project file 18. Submit project for grading A1 for Household Budget E G Amount $ 48,800.00 $ 28,240.00 $4,379.00 $ 16,181.00 B ? D 1 Household Budget 2 3 Monthly Income Available income 4 Income Source Amount Expense 5 Estimated monthly net incorr S 10,800.00 Monthly Income 6 Other income $ 1,400.00 Monthly expenses 7 Total $ 12,200.00 Preschool expenses 8 Difference 9 10 11 Monthly Expenses Preschool Expenses 12 Expense Amount Expense 13 Rent S 2,200.00 Tuition 14 Utilities $ 250.00 Other fees 15 Cellphone $ 200.00 Total 16 Groceries S 500.00 17 Auto expenses S 550.00 Preschool semester length (months) 18 Other loans S 19 Credit cards 2,000.00 20 Insurance 160.00 21 Transportation 200.00 22 Medical, dental, and vision ex $ 500.00 23 Entertainment S 250.00 24 Miscellaneous S 250.00 25 Total S 7,060.00 26 27 Amount $ 4,304.00 $ 75.00 $ 4,379.00 4
-
7. A coin pyramid is an arrangement of n coins in rows such that • Coins in each row…
7. A coin pyramid is an arrangement of n coins in rows such that • Coins in each row form a contiguous block • For k > 1, coins in the kth row touch exactly 2 coins from the row beneath it. Here is an example of a coin pyramid with 10 coins in the first row: Let an be the number of coin pyramids with n coins in the first row. We have ai = 1 and a2 = 2. = j=1 = a. The sequence satisfies an 1+1=l(n – j)a; for n > 1. Give a combinatorial proof of this recurrence. Note that this formula also holds for n=1 (which makes life easier for us) b. List all the coin pyramids for n = 1, 2, 3, 4. (You can figure out how many there are using the recurrence.) c. Let A(x) = {mo anx”, the ordinary generating function for coin pyramids. Starting with the recursion above, find a simple closed formula for A(x). .
-
Getting ready to write your personal memorable event story… Prewriting graphic…
Getting ready to write your personal memorable event story…
Prewriting graphic organizer. Brainstorm a list of ideas in the boxes based on your own experiences. You can choose any one of these options for describing your experiences.
Vacations or Trips…
? Challenges… First time doing something new…
Successes… Relationships… Growing up… ?
Mistakes or regrets… Celebrations… Decisions…
Choosing your story’s topic (focus, ?main idea). ?
Select one brainstormed idea that was/is important to you.
List & Choose: List specific things about this experience. Read through your ideas AND CHOOSE 1 ?to make the central idea of your personal story. CIRCLE this idea.
?
Important Details: Visualize what happened. List important details that focus on feelings, thoughts, and reactions. *Remember the 5 ?senses! ?
?
Significance: What is the significance of this event or experience FOR YOU!? What has been the effect on you then and/or now? -
Which of the following best describes presidential approval ratings over time? Group…
Which of the following best describes presidential approval ratings over time?
Group of answer choices
High moving to low at the end of the term
Low at the beginning and end and high in the middle of a term
High at the beginning and end of a term and low in the middle
Relatively constant throughout a term
Low moving to high at the end of a term -
QUESTION 1 In the song “Harlem Shake”, How many times does the change in feel occur??…
QUESTION 1
In the song “Harlem Shake”, How many times does the change in feel occur?
Choose one • 1 point
2
3
4
5
QUESTION 2
In the song “Harlem Shake”, How many sections are there to this form?
Choose one • 1 point
Two. Section A and Section B
Four. Sections A,B,C,D
Only one which repeats throughout the song.
Five. Intro, Verse, Pre Chorus, Chorus, Interlude
QUESTION 3
In the song “Harlem Shake”, Does it go into Half Time or Double time from the initial tempo?
Choose one • 1 point
Half Time 70 BPM
Double time 140 BPM
Half time 60 BPM
Half time 40 BPM
QUESTION 4
In the song “Harlem Shake”, What is the main or “initial” tempo of the song?
Choose one • 1 point
140 BPM
80 BPM
70 BPM
160 BPM
QUESTION 5
In the song “Good 4-U”, Does the song go into double time or half time?
Choose one • 1 point
Double Time at Choruses and Bridge 170 BPM
Half Time at Verses and Bridge 45 BPM
Half time at verses 77 BPM
Double time at verses and Bridge 240 BPM
QUESTION 6
In the song “Good 4-U”, What is the main or “initial” tempo of the song?
Choose one • 1 point
85 BPM
170 BPM
90 BPM
154 BPM
QUESTION 7
In the song “Every Little Thing She Does Is Magic”, What parts of the song form does the feel change into half or Double time?
Choose one • 1 point
Double Time at choruses and Bridge/Fade
Double Time at Verses
Half time at Verses
QUESTION 8
In the song “Every Little Thing She Does Is Magic”, Does the song go into Half time or Double time?
Choose one • 1 point
Half Time- 40 BPM
Double Time -160 BPM
Double time 240 BPM
Half Time 60 BPM
QUESTION 9
In the song “Every Little Thing She Does Is Magic”, What is the main or “initial” tempo of the song?
Choose one • 1 point
80 BPM
120 BPM
132 BPM -
1. B-pictures (also called “program pictures” or “programmers”) were often used by…
1. B-pictures (also called “program pictures” or “programmers”) were often used by the studios to:
A. Advertise for local businesses
B. Fulfill legal obligations to foreign governments
C. Recycle previously-used film stock
D. Remake hits from competitors
E. Test out untried stars and directors
2. True or False:
Christina Crawford’s memoir MOMMIE DEAREST argues that the studio system was complicit in the child abuse she suffered at the hands of her movie star mother Joan Crawford.
A. True
B. False
3. True or False:
Though the studios would try to keep their stars out of jail and out of the newspapers for drug crimes, when Robert Mitchum couldn’t avoid arrest and conviction on marijuana charges, his studio arranged to use his sentence to promote his rebellious image.
A. True
B. False
4. Though John Ford directed a wide variety of films, his name is often used synonymously to describe the classical period of which genre?
A. The Gangster Film
B. The Musical
C. The Romantic Comedy
D. The Social Problem Picture
E. The Western
5. Who is, by many measures, the biggest movie star of all time (even appearing in audience polls of favorite actors years after their death)?
A. John Carradine
B. Andy Devine
C. Thomas Mitchell
D. Claire Trevor
E. John Wayne
6. In STAGECOACH, which character is picked up partway through the cast’s journey, rather than starting with them in Tonto?
A. Buck
B. Dallas
C. Mrs. Mallory
D. Mr. Peacock
E. The Ringo Kid
7. What unexpected sound in the backroom of Chris’s inn and saloon are these characters reacting to?
A. An apache war song
B. A baby’s cry
C. Mr. Gatewood’s confession
D. Hatfield’s prayer
E. Morse code
8. Who stands up to Luke Plummer, demanding he leave his shotgun at the bar instead of unfairly using it in his duel?
A. Curly
B. Doc Boone
C. Mr. Gatewood
D. Hatfield
E. Mr. Peacock
9. True or False?
STAGECOACH uses characters like Mr. Hatfield and Mrs. Mallory to exemplify the particular values of the West.
A. True
B. False
10. Kynan argues that STAGECOACH uses what topic as a source of comedy to establish its racial hierarchy?
A. Birthright citizenship
B. Interracial marriage
C. Land ownership
D. Musical tastes
E. Weight
11. A scene from STAGECOACH that used what visual metaphor to represent a key turning point for Dallas?
A. A bridge
B. A cactus flower
C. A handkerchief
D. A key
E. A wheel well
12. Kynan argues that STAGECOACH uses Mrs. Mallory’s baby to serve many of the same functions as which Biblical figure?
A. Isaac
B. Jesus
C. Noah
D. Moses
E. Seth
13. While many silent careers were destroyed by the coming of the sound era, which actor successfully took a hiatus to retrain themselves in their previous stage acting background and work successfully as a sound-era star?
A. Louise Brooks
B. Greta Garbo
C. John Gilbert
D. Buster Keaton
E. Pola Negri
14. True or False:
Into the 1940s, white performers in musical theater and musical films were expected to have blackface or minstrel-show inspired routines as part of their repertoire.
A. True
B. False
15. True or False:
Kynan argues that, as in much Hollywood entertainment, IT HAPPENED ONE NIGHT and STAGECOACH reaffirms its audience’s existing moral values rather than challenging them.
A. True
B. False
16. American film pioneers borrowed distinct design features from blackface minstrel characters to solve the technical challenges involved in films starring:
A. Buster Keaton, Charlie Chaplin, and Fatty Arbuckle
B. Felix the Cat, Mickey Mouse, and Bugs Bunny
C. Mary Pickford, Douglas Fairbanks, and Tom Mix
D. Roy Rogers, Dale Evans, and Trigger the Horse
E. The Three Stooges
17. Which movie star’s untimely death at the height of their fame has influenced Hollywood culture’s interest in celebrity death?
A. Clara Bow
B. Al Jolson
C. Myrna Loy
D. Claire Trevor
E. Rudolph Valentino
18. Observers of the Production Code have argued that an unintended consequence of Hollywood self-censorship has been to disproportionately desensitize American audiences (compared to their European counterparts) to the consequences of:
A. Gun violence
B. Narcotics use
C. Premarital sex
D. Smoking cigarettes
E. Terrorism
19. Through Coded Cinema, filmmakers often worked around implicit Production Code bans to communicate to knowing audience members that certain characters were meant to be understood as:
A. Autobiographical
B. Communist
C. Imaginary
D. Religious Symbols
E. Queer
20. The Production Code ban on promotion of interracial relationships, instituted to placate Southerners’ fears of Black and Whites marrying, also affected the production of THE GOOD EARTH, possibly causing an Oscar-winning role to be denied to which actor, the biggest Asian-American star to that point in history?
A. Nancy Kwan
B. France Nuyen
C. Merle Oberon
D. Miyoshi Umeki
E. Anna May Wong