Friday, November 15, 2019

Modern Programming Tools And Techniques Computer Science Essay

Modern Programming Tools And Techniques Computer Science Essay Q:1 Define abstraction, encapsulation, modularity and hierarchy in your own terms. Ans:-AbstractionAbstraction denotes the essential characteristics of an Object that differ it from other objects, and thereby providing a boundary that is relative to the perspective of the viewer. Abstraction focuses on the outside-view of the Object, and helps separate its behavior from its implementation, Think of it this way, to you, your car is an utility that helps you commute, it has a steering wheel , brakes etcà ¢Ã¢â€š ¬Ã‚ ¦ but from an engineers point of view the very same car represents an entirely different view point, to the engineer the car is an entity that is composed of sub elements such and engine with a certain horse power, a certain cubic capacity, its power conversion ratio etc. It is the same car that we are talking about, but its behavior and properties have been encapsulated to the perspective of the viewer. This is what abstraction is. Encapsulation Encapsulation is breaking down the elements of an abstraction that constitute to its structure and behavior. Encapsulation serves as the interface between abstraction and its implementation. To understand encapsulation better, lets consider an animal such as a dog. We know that a dog barks, it is its behavior, a property that defines a dog, but what is hidden is , how it barks, its implementation, this is encapsulation. The hiding of the implementation details of a behavior that defines a property of an entity is Encapsulation. Modularity The art of partitioning a program into individual components so as to reduce its complexity to some degree can be termed as Modularity In addition to this, the division of the code into modules helps provide clear boundaries between different parts of the program, thereby allowing it to be better documented and defined. In other words Modularity is building abstraction into discrete units. The direct bearing of modularity in Java is the use of packages. Elements of Analysis and Design Hierarchy (Inheritance) Abstraction is good, but in most real world cases we find more abstractions than we can comprehend at one time, though Encapsulation will help us to hide the implementation, and modularity to crisply cluster logically related abstractions, at times, it just isnt enough. This is when Hierarchy comes into the picture, a set of Abstractions together form a Hierarchy, by identifying these hierarchies in our design; we greatly simplify our understanding of the problem. Single Inheritance Single Inheritance is the most important part of is a hierarchy. When a class shares thestructure of another class it is said to single inherit a base class. To understand the concept better, lets try this. Consider the base class Animal. To define a bear terms of and animal, we say a Bear is a kind of Animal. In simpler terms, the bear single inherits the structure of an animal. Multiple Inheritance Multiple Inheritance can be defined as a part of inheritance where the subclasses inherit the Behavior of more than one base type. Q:2 Sketch the object-oriented design or the Card game Black-Jack. What are the key objects? What are the properties and behaviours of these objects? How does the object interact Ans:-Blackjack Implementation It must write three new classes and link them with all of the previous classes in the project. The first class, DealerHand,implements the algorithm of playing Blackjack from the dealers perspective. The classcontains a field which keeps track of the current number of points in a hand, and a methodthat calls in a counter-controlled loop the method of the previous class GameDeck to deal cards one at a time from the top of the deck. As cards are being dealt, the current number of points in the hand is updated accordingly. Another method of GameDeck returns the value of the above field.The next class, PlayerHand, is a subclass of DealerHand. It overrides the method for dealing cards: the cards are still dealt in a loop, but the loop is sentinel- controlled this time, and the method incorporates interaction with the user. The third class, GameApp, contains the method main in which objects of DealerHand and PlayerHand are created. Methods for dealing cards are invoked on these objects. When these methods return, the winner of the game is determined according to the standard Blackjack algorithm. The specific details of the algorithms for calculating points in each hand and for determining the winner of the game are figured out by students with practically no assistance from the instructor. By this point in the course, the students are able to write this code independently, making use of the techniques, concepts, syntax and basic structures of the Java language that they have learned during the semester. While the application could be created using any development environment, Ibelieve that its success in my class is dependent upon the use of BlueJ. BlueJ enables this project in two ways: (1) as a very simple-to-use tool for writing and editing code, and (2) through the provided sample code that allows users to create images onscreen without any prior knowledge of Java graphics (e.g., the Swing API). Because BlueJ minimizes the hurdles associated with graphics programming, novice students are able to create an interesting and fun application, which helps them master the basics of the object-oriented approach in the earliest stages of their CS coursework.As an example, suppose you want to write a program that plays the card game,Blackjack.Youcan use the Card, Hand, and Deck classes developed. However, a hand in the game of Blackjack is a little different from a hand of cards in general, since it must be possible to compute the value of a Blackjack hand according to the rules of the game. The rules are as follows: The value of a hand is obtained by adding up the values of the cards in the hand. The value of a numeric card such as a three or a ten is its numerical value. The value of a Jack, Queen, or King is 10. The value of an Ace can be either 1 or 11. An Ace should be counted as 11 unless doing so would put the total value of the hand over 21. One way to handle this is to extend the existing Hand class by adding a method that computes the Blackjack value of the hand. Heres the definition of such a class: public class BlackjackHand extends Hand { public int getBlackjackValue() { // Returns the value of this hand for the // game of Blackjack. int val; // The value computed for the hand. boolean ace; // This will be set to true if the // hand contains an ace. int cards; // Number of cards in the hand. val = 0; ace = false; cards = getCardCount(); for ( int i = 0; i // Add the value of the i-th card in the hand. Card card; // The i-th card; int cardVal; // The blackjack value of the i-th card. card = getCard(i); cardVal = card.getValue(); // The normal value, 1 to 13. if (cardVal > 10) { cardVal = 10; // For a Jack, Queen, or King. } if (cardVal == 1) { ace = true; // There is at least one ace. } val = val + cardVal; } // Now, val is the value of the hand, counting any ace as 1. // If there is an ace, and if changing its value from 1 to // 11 would leave the score less than or equal to 21, // then do so by adding the extra 10 points to val. if ( ace == true val + 10 val = val + 10; return val; } // end getBlackjackValue() } // end class BlackjackHand Q:3 Sketch the object-oriented design of a system to control a Soda dispensing machine. What are the key objects? What are the properties and behaviours of these objects? How does the object interact? ANS:- The state machines interface is encapsulated in the wrapper class. The wrappee hierarchys interface mirrors the wrappers interface with the exception of one additional parameter. The extra parameter allows wrappee derived classes to call back to the wrapper class as necessary. Complexity that would otherwise drag down the wrapper class is neatly compartmented and encapsulated in a polymorphic hierarchy to which the wrapper object  delegates. Example The State pattern allows an object to change its behavior when its internal state changes. This pattern can be observed in a vending machine. Vending machines have states based on the inventory, amount of currency deposited, the ability to make change, the item selected, etc. When currency is deposited and a selection is made, a vending machine will either deliver a product and no change, deliver a product and change, deliver no product due to insufficient currency on deposit, or deliver no product due to inventory  depletion. Identify an existing class, or create a new class, that will serve as the state machine from the clients perspective. That class is the wrapper  class. Create a State base class that replicates the methods of the state machine interface. Each method takes one additional parameter: an instance of the wrapper class. The State base class specifies any useful default  behavior. Create a State derived class for each domain state. These derived classes only override the methods they need to  override. The wrapper class maintains a current State  object. All client requests to the wrapper class are simply delegated to the current State object, and the wrapper objects this pointer is  passed. The State methods change the current state in the wrapper object as  appropriate. . public class VendingMachine {               private double sales;               private int cans;               private int bottles;               public VendingMachine() {                           fillMachine();               }               public void fillMachine() {                           sales = 0;                           cans = 10;                        bottles = 5;               }            public int getCanCount() {return this.cans; }               public int getBottleCount() {return this.bottles; }               public double getSales() { return this.sales;}               public void vendCan() {                           if (this.cans==0) {                                       System.out.println(Sorry, out of cans.);                           } else {                                       this.cans -= 1;                                       this.sales += 0.6;                        }            }               public static void main(String[] argv) {                           VendingMachine machine = new VendingMachine();               }            } Part B Q:4 In an object oriented inheritance hierarchy, the objects at each level are more specialized than the objects at the higher levels. Give three real world examples of a hierarchy with this property. ANS:- Single Inheritance Java implements what is known as a single-inheritance model. A new class can subclass (extend, in Java terminology) only one other class. Ultimately, all classes eventually inherit from the Object class, forming a tree structure with Object as its root. This picture illustrates the class hierarchy of the classes in the Java utility package, java.util The HashTable class is a subclass of Dictionary, which in turn is a subclass of Object. Dictionary inherits all of Objects variables and methods (behavior), then adds new variables and behavior of its own. Similarly, HashTable inherits all of Objects variables and behavior, plus all of Dictionarys variables and behavior, and goes on to add its own variables and behavior. Then the Properties class subclasses HashTable in turn, inheriting all the variables and behavior of its class hierarchy. In a similar manner, Stack and ObserverList are subclasses of Vector, which in turn is a subclass of Object. The power of the object-oriented methodology is apparentnone of the subclasses needed to re-implement the basic functionality of their superclasses, but needed only add their own specialized behavior. However, the above diagram points out the minor weakness with the single-inheritance model. Notice that there are two different kinds of enumerator classes in the picture, both of which inherit from Object. An enumerator class implements behavior that iterates through a collection, obtaining the elements of that collection one by one. The enumerator classes define behavior that both HashTable and Vector find useful. Other, as yet undefined collection classes, such as list or queue, may also need the behavior of the enumeration classes. Unfortunately, they can inherit from only one superclass. A possible method to solve this problem would be to enhance some superclass in the hierarchy to add such useful behavior when it becomes apparent that many subclasses could use the behavior. Such an approach would lead to chaos and bloat. If every time some common useful behavior were required for all subsequent subclasses, a class such as Object would be undergoing constant modification, would grow to enormous size and complexity, and the specification of its behavior would be constantly changing. Such a solution is untenable. The elegant and workable solution to the problem is provided via Java interfaces, the subject of the next topic. Multiple inheritance Some object-oriented programming languages, such as C++, allow a class to extend two or more superclasses. This is called multiple inheritance. In the illustration below, for example, class E is shown as having both class A and class B as direct superclasses, while class F has three direct superclasses. Such multiple inheritance is not allowed in Java. The designers of Java wanted to keep the language reasonably simple, and felt that the benefits of multiple inheritance were not worth the cost in increased complexity. However, Java does have a feature that can be used to accomplish many of the same goals as multiple inheritance: interfaces. Class hierarchies Classes in Java form hierarchies. These hierarchies are similar in structure to many more familiar classification structures such as the organization of the biological world originally developed by the Swedish botanist Carl Linnaeus in the 18th century. Portions of this hierarchy are shown in the diagram . At the top of the chart is the universal category of all living things. That category is subdivided into several kingdoms, which are in turn broken down by phylum, class, order, family, genus, and species. At the bottom of the hierarchy is the type of creature that biologists name using the genus and species together. In this case, the bottom of the hierarchy is occupied by Iridomyrmex purpureus, which is a type of red ant. The individual red ants in the world correspond to the objects in a programming language. Thus, each of the individuals is an instance of the species purpureus. By virtue of the hierarchy, however, that individual is also an instance of the genus Iridomyrmex, the class Insecta, and the phylum Arthropoda. It is similarly, of course, both an animal and a living thing. Moreover, each red ant has the characteristics that pertain to each of its ancestor categories. For example, red ants have six legs, which is one of the defining characteristics of the class Insecta. Real example of hyrarchy Ques5 How do methods System.out.print() and System.out.println() differ? Define a java constant equal to 2.9979 X 108 that approximates the speed of light in meters per second. ANS:-1) public class Area{ public static void main(String[] args){ int length = 10; int width = 5; // calling the method or implementing it int theArea = calculateArea(); System.out.println(theArea); } // our declaration of the method public static int calculateArea(){ int methodArea = length * width; return methodArea; } } 2) public static void printHeader(){ System.out.println(Feral Production); System.out.println(For all your Forest Videos); System.out.println(427 Blackbutt Way); System.out.println(Chaelundi Forest); System.out.println(NSW 2473); System.out.println(Australia); } System.out.println(String argument) System.out.print(String argument) In the first case, the code fragment accesses the println() method of the object referred to by the class variable named out of the class named System. In the second case, the print() method is accessed instead of the println() method The difference between the two is that the println() method automatically inserts a newlineat the end of the string argument whereas the print() method leaves the display cursor at the end of the string argument Define a java constant equal to 2.9979 X 108 that approximates the speed of light in meters per second. Floating-point values can also be written in a special programmers style of scientific notation, in which the value is represented as a floating-point number multiplied by aintegral power of 10. To write a number using this style, you write a floating-point number in standard notation, followed immediately by the letter E and an integerexponent, optionally preceded by a + or sign. For example, the speed of light inmeters per second is approximately 2.9979 x 108 which can be written in Java as 2.9979E+8 where the E stands for the words times 10 to the power.Boolean constants and character constants also exist and are described in subsequent chapters along with their corresponding types. Q:6 Write a code segment that defines a Scanner variable stdin that is associated with System.in. The code segment should than define to int variables a and b, such that they are initialized with the next two input values from the standard input stream. Ans:- Import java.util.*; Public class mathfun { Public static void main(string[] args) { Scanner stdin=new scanner (system.in); System.out.print(enter a decimal number); Double x=stdin.nextdouble(); System.out.print(enter another decimalnumber); Double y=stdin.nextdouble(); Double squarerootx=math.sqrt(x); System.out.println(square root of +x+is+square rootx); } }   System.out.println(PersontHeighttShoe size);   System.out.println(=========================);   System.out.println(Hannaht51t7);   System.out.println(Jennat510t9);   System.out.println(JJt61t14);  Ã‚   Q:7 Separately identify the keywords, variables, classes, methods and parameters in the following definition: import java.util.*; public class test { public static void main(String[] args) { Scanner stdin = new Scanner(System.in); System.out.print(Number:); double n = stdin.nextDouble(); System.out.println(n + * + n + = + n * n); } } Ans:- public static void main(String[] args)-method double n = stdin.nextDouble();-variables public ,static, void ,-keywords stdin println-keyword test -class double-parameters

Wednesday, November 13, 2019

Essay --

As a part of my endeavor to pursue higher studies I humbly submit the Statement of Purpose. This statement would succinctly recapitulate my ambitions and credibility as a promising zealous student in your institution. First of all, I would like to introduce myself as Mr. Satyanarayana Shiva Mantravadi, an undergraduate B. tech Engineer with Electronics and Communication Engineering specialization from Koneru Lakshmiah University, one of the very distinguished and esteemed universities in our country. Right from my school, I was always fascinated by Mathematics, Science and Research in general. And then again in high school, it was this propensity which led me to take up Mathematics, Physics and Chemistry as my major subjects. This passion eventually made me to opt for Electronics and Communication Engineering as my field of expertise. I would like to present my past performance as the bona fides for my success in my future endeavors. My innate strength has always been my quantitative and analytical abilities, which instilled me with a penchant for Mathematics and Physics. I opted for the same in my 12th grade and secured a score of around 96% in core subjects. I was placed in the top 3% of five hundred thousand aspirants who took entrance examination for IITs. This performance helped me in getting admission into Koneru Lakshamiah University, Vijayawada, India. During the course of my preparation for this exam, I had realized that my interests lay in the broad principles of scienc e and its basic fundamentals and I ascertained Electronics and Communication Engineering to be the apt subject, catering my taste. It was the time when technology had slowly begun to repose the lives of the people. Electronics and Communication Engi... ...of academic excellence accompanied by proficient Faculty and research facilities. Moreover, your institution being the confluence of people from every race, religion and nationality provides the right kind of exposure needed for upbringing of one’s natural skill. I especially thank you for giving me the opportunity to express about myself. Hailing from an educated family, I am confident that I possess the required perseverance and commitment and am sure that I’ll cope with your expectations. It would be a great honor to my family and my country if I could attain remarkable achievements in my field. I assure you that I would keep up my diligence and good demeanor during the course. I hope you find my purpose definitive and I fit in to your image of a promising research student. I look forward to prove myself. ( Satyanarayana Shiva Mantravadi) Essay -- As a part of my endeavor to pursue higher studies I humbly submit the Statement of Purpose. This statement would succinctly recapitulate my ambitions and credibility as a promising zealous student in your institution. First of all, I would like to introduce myself as Mr. Satyanarayana Shiva Mantravadi, an undergraduate B. tech Engineer with Electronics and Communication Engineering specialization from Koneru Lakshmiah University, one of the very distinguished and esteemed universities in our country. Right from my school, I was always fascinated by Mathematics, Science and Research in general. And then again in high school, it was this propensity which led me to take up Mathematics, Physics and Chemistry as my major subjects. This passion eventually made me to opt for Electronics and Communication Engineering as my field of expertise. I would like to present my past performance as the bona fides for my success in my future endeavors. My innate strength has always been my quantitative and analytical abilities, which instilled me with a penchant for Mathematics and Physics. I opted for the same in my 12th grade and secured a score of around 96% in core subjects. I was placed in the top 3% of five hundred thousand aspirants who took entrance examination for IITs. This performance helped me in getting admission into Koneru Lakshamiah University, Vijayawada, India. During the course of my preparation for this exam, I had realized that my interests lay in the broad principles of scienc e and its basic fundamentals and I ascertained Electronics and Communication Engineering to be the apt subject, catering my taste. It was the time when technology had slowly begun to repose the lives of the people. Electronics and Communication Engi... ...of academic excellence accompanied by proficient Faculty and research facilities. Moreover, your institution being the confluence of people from every race, religion and nationality provides the right kind of exposure needed for upbringing of one’s natural skill. I especially thank you for giving me the opportunity to express about myself. Hailing from an educated family, I am confident that I possess the required perseverance and commitment and am sure that I’ll cope with your expectations. It would be a great honor to my family and my country if I could attain remarkable achievements in my field. I assure you that I would keep up my diligence and good demeanor during the course. I hope you find my purpose definitive and I fit in to your image of a promising research student. I look forward to prove myself. ( Satyanarayana Shiva Mantravadi)

Monday, November 11, 2019

Applications of Machiavelli Essay

There are many ideas people can learn from history’s great thinkers and achievers. The Renaissance Era had the fastest progress in history. During this era, many thinkers and achievers such as Niccolo Machiavelli, Leonardo Da Vinci and Michelangelo introduced new ideas and new forms of art. Niccolo Machiavelli was an Italian politician and diplomat. The reason his theories are advanced is that he is already used critical thinking while he lived in a country where most people explained things using God and religion. He was also a philosopher, and his many theories about managing a kingdom were quite innovative in Renaissance times. The Prince is a manual about how to manage a kingdom successfully. The Prince was written for Lorenzo de Medici of the Medici Family, which was the best known family in the Renaissance Era. Medici Family made great contributions to the culture because it traded and paid for many works of art in that period. The Medici Family was rich and powerful in Italy, and it was the Renaissance equivalent of a major corporation. Machiavelli lived hundreds of years before the major corporation of today, but The Prince can still be used as a guide to getting ahead in business, just as it is a guide for building a successful princedom. The Medici Family had existed for hundreds of years, and it was powerful and rich just like the Coca-Cola Company. The Coca-Cola Company may also last for hundreds of years since it has been successful for over a hundred years. The Prince tells readers how to use power correctly; it also tells readers how to sustain the kingdom’s power and prevent the kingdom’s  decay. More specifically, Machiavelli tells readers that what kind of personality and morality a successful prince should have. The Prince contains some of Machiavelli’s ideas which were very advanced for that period. These ideas are still useful now and can also equally be applied to the Coca-Cola Company. The Coca-Cola Company is the leader in the beverage industry, and it is a very successful global company. Managing the Coca-Cola Company is similar to managing a kingdom. Therefore, Some of Machiavelli’s theories could be used by the Coca-Cola Company. In the chapter â€Å"How princes should honor their word† and â€Å"The constitutional principality†, I found some appropriate ideas which may be helpful to The Coca-Cola Company. Thesis statement: Although Niccolo Machiavelli died hundreds of years ago, some of his ideas such as showing only the good qualities, keeping a good relationship with people, and making the product indispensable to people are helpful to the Coca-Cola Company. Honor the word: In The Prince, Machiavelli makes some recommendations to the king about how princes should to honor their word. The recommendations can also apply to the advertising of the Coca-Cola Company. Machiavelli said, â€Å"A prince, therefore, need not necessarily have all the good qualities I mentioned above, but he should certainly appear to have them.†(57) No one is perfect, including the prince. Machiavelli believes that a prince should show his good qualities, and hide his bad qualities. It is like the advertisements of the Coca-Cola Company. A good advertisement should show all the advantages of the products or services advertised, and hide the disadvantages. Furthermore, we use our genuineness to earn other people’s trust. However, Machiavelli has a unique perspective on how to earn the trust of people. In chapter eighteen of The Prince, â€Å"†¦princes who have achieved great things have been those who have given their word lightly, who have known how to trick men with their cunning, and who, in the end, have overcome those abiding by honest principles.† (56) If princes want to earn the trust of people, they need to use some type of scheme instead of being honest. This idea can also be used in advertising. A good advertisement is impressive, and it shows only the advantages to the customers instead of showing  everything about the product to the customers. According to Interbrand, Coca-Cola is the most valued brand in the world. Coca-Cola has good sales performance because it attaches great importance to its products’ advertisements. It placed advertisements in magazines, on TV, in websites, and on street signs. In China, the Coca-Cola Company hired a number of well-known Chinese movie stars and athletes to make commercials for Coke. Coke is a great drink for summer because it is thirst quenching and cool. One of the short commercials was very impressive. A group of teenagers was running on the street, and they were sweating hard. Everyone was tired and thirsty. At this time, a van with a Coca-Cola logo passed by. They recovered their energy by drinking Coke. The whole advertisement focused on the teenagers’ athletic bodies and their expressions of enjoyment. This advertisement showed the advantages of Coke, which are the wonderful taste and the cool refreshment; however, it did not show the disadvantages of Coke including high amounts of sugar, caffeine, and chemical additives. After watching the commercial, people have the desire to buy Coke. As Machiavelli advised, The Coca Cola Company is using cunning to trick customers into drinking their soft drinks by showing only the positive aspects of Coca Cola. Relationship with people: Machiavelli has written about the relationship between the prince and the people. â€Å"I shall only conclude that it is necessary for a prince to have the friendship of the people; otherwise he has no remedy in times of adversity†(34) If a prince does not have a good relationship with the people, he will soon lose his power. A prince brings peace and prosperity to the people, and the people give their support to the prince. The â€Å"people† in The Prince are similar to customers in modern society. If a company wants to hold a great market share in the industry, it must focus on its relationship with customers. The Coca-Cola Company has a positive image for customers. The product is shown as â€Å"energetic and youthful†. When people visit the Coca-Cola Company’s official website, they can feel the company’s enthusiasm. The Coca-Cola Company has a short film on its home page which shows polar bears. This film is about the happy life of polar bears. The bears in the film are really cute and kind, and they are enjoying Coca Cola. It definitely leaves a good impression on the customers. Also, the Coca-Cola  Company has successful marketing strategies. The Coca-Cola Company has a great amount of loyal customers because it serves more than 200 countries in the world; customers can buy their products everywhere because they have the most advanced distribution channel. As a result, Coca-Cola is the most valued brand in the world; it has held about a 48% market share of the beverage industry. The Coca-Cola Company is the leader in the industry because it has a good relationship with customers. Make products indispensable: According to The Prince, â€Å"Therefore a wise prince must devise ways by which his citizens are always and in all circumstances dependent on him and on his authority; and then they will always be faithful to him.†Ã¯ ¼Ë†35) That is to say, If a prince wants the people always be faithful to him, he should make people dependent on him. The Coca-Cola Company has a similar idea. When it was introduced, Coca-Cola contained cocaine, and this is the origin of the name â€Å"Coca Cola†. Cocaine is a stimulant from the leaves of the coca plant. People become addicted to cocaine by the long-term use of it. After cocaine was prohibited, The Coca-Cola Company put caffeine in Coke instead of cocaine. However, caffeine still can make people become addicted to Coke, thus, they become dependent upon having Coca Cola for the unique flavor and for the caffeine. One of the most important people in the Coca-Cola Company’s history is Robert W. Woodruff. He was the CEO of the Coca-Cola Company in 1923. Woodruff had the same idea as Machiavelli, which is making customers â€Å"dependent† on Coke. He mentioned that if the customers could not get Coke immediately when they were thirsty, Coca-Cola would lose in the competitive marketplace. The first vending machine was invented, and the Coca Cola Company began to sell coke in retail stores and convenience stores. Woodruff’s idea was to satisfy all the customers no matter when and where the customers wanted Coca Cola. The Coca-Cola Company made a very successful commercial in 1937, which was groundbreaking for that period because the theme was lifestyle. In this commercial, The Coca-Cola Company highlighted the importance of Coke in life instead of the attributes or ingredients of Coke. The most famous advertising slogan from this commercial is â€Å"The Pause That Refreshes†. Woodruff spent a lot of money and time on promoting Coke, but it was well worth the effort. The Coca-Cola  Company still spends lots of money on advertising even in nowadays. In 2012, the Coca-Cola Company spent more than three billion dollars on their advertising and increased the sales of firm and brand recognition. The Coca-Cola Company now has many loyal customers, and Coke plays an important role in our daily lives. Conclusion: Machiavelli wrote The Prince for the Medici family. The Medici family was like the big corporations of today. Because of this, Machiavelli’s ideas are just as important now as they were during the Renaissance era. As Machiavelli advised, princes should only show their good qualities and hide the bad qualities. Through its advertising, the Coca-Cola Company is using cunning to trick customers into drinking its soft drinks by showing only the positive aspects of Coke. Moreover, Machiavelli believes that if princes have a good relationship with people, people will always support them. In modern society, the Coca-Cola Company has many loyal customers because it has a good relationship with them. Furthermore, Machiavelli advised that people will always be faithful to a prince if people are dependent on him. The Coca-Cola Company is using caffeine in its products, so when people drink Coca Cola, they become addicted. Also, the Coca-Cola Company spent a lot of time and money promotin g its products. As a result, the Coca-Cola Company has a great number of loyal customers. All in all, many of the ideas in The Prince are similar to the ideas of the Coca-Cola Company, although The Prince was written during The Renaissance hundreds of years before Coca Cola was introduced. Works Cited Machiavelli, Niccolo. â€Å"The Prince.† Machiavelli, Niccolo. The Prince. London: Penguin Group, 1961. 106.

Friday, November 8, 2019

How to Write an Analytical Essay on Macbeth

How to Write an Analytical Essay on Macbeth Writing an Analytical Essay on Macbeth Why write about Macbeth Beginning an analytical essay on Macbeth How to write an outline How to write a thesis for an analytical essay on Macbeth How to write an introduction Tips on how to write an introduction and thesis Writing body paragraphs Tips on body writing How to finish an analytical essay on Macbeth Tips on conclusion writing Tips on revision Analytical essay on Macbeth Why write about Macbeth The centrality of writing about Macbeth is to exhibit how an unconstrained desire can be a destructive force. Writing about Macbeth outlines how ruinous over-ambition or ambition can be. Macbeth, seemingly an aristocrat, is driven to actions and thoughts which are inherently averse to his nature and in the end causes his destruction alongside Lady Macbeth, his wife. ‘Macbeth’ deals with power and kingship and the accountability brought with power. Writing about Macbeth is fundamental in that as it demonstrates that when appropriately established power is ousted by noxious means, appalling penalties can follow. Beginning an analytical essay on Macbeth To start an analytical essay on Macbeth, the author needs to present some form of claim or argument about what he/she is dissecting. Analytical essays typically focus on how the poem or book was composed, for example, how specific topics in the story present themselves or how the utilization of metaphor or similitude brings about a precise meaning to the story. In short, analytical essays require one to examine the smaller sections of the piece to explain the larger picture. To write an analytical essay on Macbeth, the writer needs to review any thought or fact: connections that can be linked, thus formulating concepts and utilizing events to support it. How to write an outline A ‘plan’ or ‘blueprint’ for your essay is called an outline. An outline aids in sorting one’s arguments and thoughts. An appealing outline makes conducting research and later writing your essay somewhat simpler. Your outline page is comprised of: Paper Title Thesis Statement Major arguments/points shown by Roman numerals Supporting your key points, shown in Arabic numerals The Roman number I is the writer’s ‘Introduction.’ In the paper’s introduction section, tell the reader your paper’s purpose and what it intends on proving (your thesis). The final roman number is the conclusion; there one summarizes information presented to the reader. Sample Outline I. Introduction A. Sentence to catch the reader’s attention B. One-two sentence proclamation (thesis statement) II. Body A. First Paragraph B. Second Paragraph C. Third Paragraph III. Conclusion A. Thesis Restatement B. Insightful sentence closing How to write a thesis for an analytical essay on Macbeth To do it correctly, the essay writer should sum their idea into one sentence or two. The thesis statement should display the paper’s topic and show the reader what the article is about and thus aiding in keeping the argument focused and guides the writer. How to write an introduction The introduction is designed to grab the reader’s attention along with giving an idea of the essay’s focus. Start with a redherring/attention grabber. This includes: Surprising information which must be provable and correct. Dialogue which does not substantially have to identify the speakers; however, the reader must understand points made. Anecdotes which are stories that illustrate a point. Summary information; one to three sentences expounding your topic. Tips on writing an introduction and thesis Be as specific and exact as possible. Indicate your paper’s purpose, however, evade sentence structures like â€Å"my essay’s purpose is†¦Ã¢â‚¬  Avoid burying your thesis statement late in the paper. Avoid clichà ©s. Provide relevant and helpful information. Convince the reader your essay is worth reading and their time. Writing body paragraphs Naturally, body paragraphs develop the paper’s main idea in a series of sections. When writing body paragraphs, the writer’s chosen topic must be outlined, explained, and argued. All main ideas written in the outline make the body paragraph. Tips on body writing Begin by writing down your key ideas in sentence form Write down your supporting points for your chief idea that is, paraphrases and quotations from sources and facts (findings and statistics from conducted studies) Ensure you tie the facts you state back to the paragraph’s main idea (Analysis) Your transition from paragraph to paragraph should be fluid Explain your argument’s importance How to finish an analytical essay on Macbeth Finishing the analytical essay is simple once the framework is known. To conclude, three main sectors are taken into consideration. They are a transition from the body’s last paragraph, a rundown of the essay’s points and thesis statement, and finally, a closing statement that wraps everything up. Tips on conclusion writing Make it short. Answer the ‘So what’ question showing your readers the substance of your essay; show your reader the meaningfulness of your essay. Redirect your readers this is done by giving them something to think about. Synthesize rather than summarizing; don’t repeat things stated in your thesis. Challenge the reader by posing a question. Tips on revision Utilize your grammar check, spell-check, and check your spelling. Keep your format simple. Include clear transitions, markers, and citations. Include evidence and support for all main points. Ensure the essay’s intent is shown not told. Analytical essay on Macbeth I. Introduction ‘Macbeth’ is a play highlighting a breakdown in relationships between individuals Lady Macbeth and Macbeth. Lady Macbeth and Macbeth start the play showing an alluring relationship, however, as the plot advances; Macbeth’s aspirations drive him to commit regicide alongside other murders hence their relationship weakens and dissolves. This breakdown drastically impacts the play. Lady Macbeth’s longing for power prompts her enthusiasm in controlling Macbeth’s activities. Conversely, she loses control which ends in her tragedy. II. Discussion Ambition is typically what drives most towards progress, however, in Macbeth, it drives Macbeth towards his ruin. Ambition is a quality craved by many; however, through Macbeth, it is shown as an attribute that isn’t so positive. Macbeth proves that aspiration was a noteworthy constituent in his demise. Macbeth made it so effortless for the witches to help annihilate him. The witches noted his ambition was his weakness thus making it effortless for them to plan Macbeth’s destruction. Macbeth’s desire to have the witches stay on and continue with their prophecy shows his ambition and strives for power which the witches instantly spotted. Initially, Macbeth and Lady Macbeth adored each other: when Macbeth writes Lady Macbeth a letter naming her his â€Å"dearest partner in greatness,† this signifies that he views her as her equal. Lady Macbeth’s mind starts working after reading Macbeth’s letter. Lady Macbeth’s statement ‘shalt be’ uncannily mirrors the Witches prophecy. The breakdown of Macbeth and Lady Macbeth’s relationship results from various deeds, most obviously King Duncan’s murder. Macbeth and Lady Macbeth respond differently. Macbeth is overcome with regret and remorse he knows sleep no more. He has interrupted sleep showing how tense he is with the crime. The guilt he experiences shows disallows him to sleep. Contrary, Lady Macbeth reacts differently. She is practical and calm, instructing him to rinse his hands. She openly says â€Å"water will clear us off this deed† showing her buoyancy that the water will drain away the guilt. Lady Macbeth calls the shots in their relationship since Macbeth is too weak. Lady Macbeth questions Macbeth’s manhood and bravery, and affection between them diminishes. The mental suffering Macbeth and Lady Macbeth go through following the murder is another factor that adds on to their relationship’s breakdown. After being crowned king, Macbeth makes known his discontent. â€Å"To be thus is nothing, but being safely thus.† Macbeth has the idea that Banquo will be crowned and dreads its fulfillment. Similarly, Lady Macbeth is equally disappointed when she expresses that their desire has gone without content. Still, the pair is uncommunicative at this point. III. Conclusion From act one, Lady Macbeth persuaded Macbeth to complete a detestable deed that led to what his alleged fate was, even though none said King Duncan had to be murdered for the prophecy to manifest. After that inhuman deed, victims of Macbeth’s paranoid personality typically followed. Macbeths ambitions mainly driven by greed, insecurity, and hopelessness greatly impacted Macbeth fate toward death. Macbeth’s ambitions drove him downwards as being a deplorable hero in Shakespeare’s enthralling play.

Wednesday, November 6, 2019

Assembly Line of Hyundai India Essay Example

Assembly Line of Hyundai India Essay Example Assembly Line of Hyundai India Essay Assembly Line of Hyundai India Essay The production management processes at Hyundai Motor India are overlayed with an organization-wide implementation of manufacturing best practices like Just-in-time inventory management, Kaizen, TPM and TQM, that help us in making the worlds best cars, right here in India. The Press Shop A computer controlled line that converts sheet metal to body panels of high dimensional accuracy and consistency. The Body Shop A hi-tech line that builds full body shells from panels. Automated robotic arms are used for intricate welding operations that ensure superior and consistent build quality. After arriving by electro-monorails from the Press Shop, welding and sealing material and converting stamped steel into vehicles by complete automation. Automation prevents possible damage to the steel and helps ensure quality and consistency. The Paint Shop This is one of the most modern paint shops in the country and uses the environment friendly water based process for superior and lasting exteriors. A unique process management system followed here helps us deliver the most extensive colour range, independent of minimum batch requirements, helping customers get their preferred colour anytime. In the Paint Shop, each vehicle body is thoroughly cleaned and a zinc-phosphate coating is applied. This coating allows the water-based electrocoat to adhere to the car body. The body is submerged in a cathode dip bath to provide corrosion resistance, and then rotated 360 degrees through each tank (completing twelve full rotations throughout the entire system) to eliminate any air bubbles in body cavities. The vehicle is primed and then painted with a topcoat, which is the final color of the vehicle. With the help of high-speed atomizers and electrostatic charges, the body is given the smoothest finish possible. Final phases of the paint process include application of a final clearcoat (which gives the vehicle its shine and gloss), passage through a drying oven, and inspection under intense lighting to ensure there are no imperfections in the finish. One hundred percent of the actual paint application is automated and all paint is waterbased, which is safer for the environment. The Aluminum Fondry Forges the engine cylinder blocks for our cars to exacting design specifications. The Engine and Transmission Shop One of the biggest engine shops in the country, this unit is equipped with the most modern tooling and testing facilities to make a wide range of engines inhouse. The Plastic Extrusion Unit Moulds the dashes, bumpers and other plastic components to perfect fit and finish. The Plastic Paint Shop One of the very few manufacturing units in India to have this facility in-house, Hyundais plastic paint shop delivers a high grade finish on exterior plastic components. The Test Track With comprehensive performance testing facilities like rattle testing and ABS brake testing, this track is designed to meet pre-delivery (PDI) certification standards to exacting Euro specifications The Final Evaluation area includes a roll test, a high-pressure water test booth and a 2. 3 mile test track with a variety of road surfaces to ensure every vehicle is built and performs to meet Hyundai’s high quality standards. The General Assembly area includes more than 7,000 feet of state-of-the-art conveyors that adjust to the height of each individual team member to allow for optimum position for installation and reduction of physical fatigue. This also improves quality, as parts are easier to install.

Monday, November 4, 2019

Las Vegas Essay Example | Topics and Well Written Essays - 1000 words

Las Vegas - Essay Example As the research stresses constantly updated society has become an icon of the American modern metropolitan experience that demonstrates, through its complex combination of theme park and city, how the spaces and practices of the metropolis have consistently shaped our modern experiences and culture. This paper declares that to remain a national attraction to the greatest possible number of consumers, hotels are quickly changed from one form of entertainment to another, from the glamorous settings of the gangster era to the family-oriented theme-hotels of the 1980s to the more sophisticated flair of the latest ideas represented in the Bellagio, an entire hotel devoted to luxury and the pampering of the cultured adult. This concentration on the new helps visitors to the city buy further into the concept of consumer spending, insisting they must participate in the latest events, gamble at the latest hotel/casino and be seen in the latest locations. It is this rapidly changing climate, as well, that Simmel suggests creates an atmosphere in which man must â€Å"react with his head instead of his heart† as the only means by which he can survive the constant sudden shifts in impressions. That the surrounding culture has bought into this concept of constant change and adaptation is evidenced in the speed with which individuals, including superstars like Brittany Spears, make life-changing decisions.

Saturday, November 2, 2019

Can we identify a compound that could be added to spermatozoa in vitro Assignment - 1

Can we identify a compound that could be added to spermatozoa in vitro to enhance their motility - Assignment Example In particular, sperm motility is an important parameter because it indicates the integrity of the sperm tail and axoneme structures as well as the status of mitochondrial metabolic machinery (Saharkhiz et al., 2013). The World Health Organization uses a 40% cut off as the lower limit of progressive sperm motility. Although the exact cause of asthenospermia is not clear, there is growing evidence that it may arise due to hyper-viscosity of semen, varicoceles, autoimmunity of the sperm cell, and necrospermia resulting from immotile cilia (Kartagener) syndrome (Saharkhiz et al., 2013). Overall, reduced sperm motility indicates epididymal or testicular failure that can be caused by various factors. Currently, treatment of male infertility has focused mainly on the traditional in vitro fertilization (IVF) approach and newer interventions such as micro-epididymal sperm aspirations and microsurgical fertilization. However, these techniques are uncommon in andrological practice. Current research efforts in this area focus on the use of chemical stimulation of spermatozoa. A number of chemicals can stimulate sperm motility including the addition of compounds known to exhibit phosphodiesterase inhibition (PDEI) activity to enhance sperm motility in vitro without compromising sperm morphology and function. PDEIs are a class of related compounds such as pentoxifylline (PTX) that selectively catalyze the hydrolysis of 3’ phosphate bond in cyclic Adenosine Monophosphate (cAMP) phosphate or cyclic Guanosine Monophosphate (cGMP). In one of the pioneering studies on in vitro stimulation of sperm motility, Shen (1991) demonstrated that Pentoxifylline (PTX) increases motility (velocit y) of ejaculated human spermertozoa both in in vitro aesthenozoospermic samples in oral therapy. Related studies have shown that PTX added in sperm suspensions increases sperm motion within 10 days with the motility characteristics persisting