Saturday, August 24, 2019
Reading response Essay Example | Topics and Well Written Essays - 250 words - 26
Reading response - Essay Example This paper examines the components and elements of the Kennan Telegram. George Kennan was an advisor at the US embassy in Moscow and he had a critical review and analysis of the Soviet Union and how they sought to pursue their foreign policy against Capitalist nations and non-friendly nations. In his telegram, George Kennan stated that the Soviet Union sought to promote and export their Communist ideology and promote revolutions in Capitalist nations. He stated in his telegram that ââ¬Å"In course of further development of international revolution there will emerge two centers of world significance: a socialist center and drawing to itself the countries which tend toward socialism, and a capitalist center, drawing to itself the countries that incline toward capitalism.â⬠This was at the center of Trumanââ¬â¢s doctrine and later the presentation of the need to prevent the domino effect of Communism (Miscamble 54). This was central in shaping American Cold War ideology. The telegram also warned of the Soviet strategy of implanting Marxists in foreign nations to try to promote Marxism through spies. This formed the basis for the probing of various internal elements in the United States. This claim gained significance when the Soviet Union acquired nuclear weapons and there were accusations that US spies were involved in the process. This led to ââ¬Å"Macarthyismâ⬠which became a byword for the targeting and persecution of suspected Soviet spies (Lacey 211). Kennanââ¬â¢s telegram also sought to present an argument for the presentation of the Soviet Union as an aggressive nation that sought to exert its expansionist policy in various forms similar to the methods used in imperialist Russia (Lacey 211). This presented the Soviet Union as a threat to the American people and prompt action against the Soviet Union In conclusion, Kennanââ¬â¢s telegram was a strong and critical message that presented the Marxist and expansionist ideology of the Soviet Union to the US
Friday, August 23, 2019
SWOT analysis for Gymboree Essay Example | Topics and Well Written Essays - 500 words
SWOT analysis for Gymboree - Essay Example 1) Size of the Company: Gymboree Corporation runs more than 900 retail stores. This gives the firms an edge over its competitors and allows the company to operate on a large scale enjoying the economies of scale. 2) Multinational Operations: The firm is found to be present in more than one country. This means that the firm does not have all its eggs in one basket and it can weather the storm by offsetting a plummeting demand effect in one country against booming demand in another. 3) Not dependent on one large supplier: The firmââ¬â¢s supplies come from India, China, Indonesia and other countries. This saves the firm from relying heavily on one large supplier and hence suppliers cannot put unnecessary stress on the company. (Daft, 1994) 1) Heavy Dependence on One Major Buying Agent: One buying agent of the company manages 90% of the firmââ¬â¢s inventory purchases. This means that if some goes wrong with this buying agent, the entire business will suffer 2) Computer Dependence: The firmââ¬â¢s operations are highly mechanized. The firm is characterized by extensive use of computer. However, any computer failure can cost the firm dearly as the entire firmââ¬â¢s processes are dependent on computerized instructions. Improvement in Communication and Transportation Facilities: In the last few years, the improvement in the infrastructural facilities has helped the company to receive its supplies on time and instructions to the suppliers can now be made quickly due to ever improving communication facilities. E-Commerce: Improvement in information technology has helped the company to sell online. This is reflected in the companyââ¬â¢s financial statements which now show increase in the profits as compare to the last few years. It has helped the company to sell in countries where it is not physically present. (Chrystal and Lipsey, 2003) Economic
Thursday, August 22, 2019
Microeconomics Project Essay Example for Free
Microeconomics Project Essay An overview Facebook was realized on February 4, 2004 by an American computer programmer and Internet entrepreneur- Mark Elliot Zuckerberg. Facebook has said it will be valued at up to $96bn (à £59bn) when it sells shares to investors this month in a record-breaking flotation. The first investment from Peter Thiel was $500,000 into Facebook. Facebook has minted four billionaires: Mark Zuckerberg, Dustin Moskovitz, Eduardo Saverin and Sean Parker. The 27-year-old Zuckerbergs net worth was estimated at $17.5bn on the 2011 Forbes list of the wealthiest Americans. Moskovitz had a net worth of $3.5bn but pipped Zuckerberg for the title of worlds youngest billionaire, being eight days younger. The Brazilian-born Saverin, who left Facebook early on after a falling-out with Zuckerberg, had a net worth of $2bn. Parker, the Napster co-founder who briefly served as Facebooks president, had a net worth of $2.1bn On November 15, 2010, Facebook announced it had acquired the domain name fb.com from the American Farm Bureau Federation for an undisclosed amount. On January 11, 2011, the Farm Bureau disclosed $8.5 million in domain sales income, making the acquisition of FB.com one of the ten highest domain sales in history Nowadays, 1 in every 13 people on earth uses Facebook, more than 900m active users, with over 250 million of them who log in every day. The average user has about 130 friends, but that has expanded in. The core 18-24 year old segment is now growing the fastest at 74% year on year. Almost 72% of all US internet users are on now Facebook, while 70% of the entire user base is located outside of the US. (Source: Facebook) At the beginning, Facebook has 1 million users. In 2008, it increased to 100 million. In 2010 the number of users reached 400 million and up to 500 million within 5 months. Google- a web search engine, it is the companys most popular service. It began in January 1996 as a research project by Larry Page and Sergey Brin when they were both PhD students at Stanford University in California. Technology is enhancing us as human beings and the integrating of artificial intelligence is slowly being weaved and embedded into our activities and habits almost without us noticing. This reliance that is permeating our day to day existence even extends to a reported 60% plus of all buying decisions now starting with a Google search as we start our research online rather than walk the shop aisles and asking sales attendants questions. The first funding of $100,000 for Google was provided by Andy Bechtolsheim the co-founder of Sun Microsystems. Googles initial public offering (IPO) took place five years later on August 19, 2004. The stocks performance after the IPO went well, with shares hitting $700 for the first time on October 31, 2007. primarily because of strong sales and earnings in the online advertising market. In 2004: Gmail launched, Google IPO 8 billion pages indexed. They acquired YouTube in 2006 for $1.65 billion. Android was announced in 2007 and Google Chrome was launched in 2008. The 3 charts show the Revenue, Income and number of Employee in two companies. RIVAL PRODUCTION The big question is given, why a search engine like Google to be afraid of Facebook, a social network when the field of activities of these two different companies as far as they seem completely can live peacefully. Google is famous for its searching services, the key point lead to the huge success of Google. It links to billions of Web pages, so users can easily obtain the information they want through the keywords and the operators. Google also uses its search technology for many other search services, including Image Search (photos), Google News, interactive community Google Groups, Google Maps. They also launched variety kinds of services such as Gmail, Google Earth, Google Docs, Picasa, Google Desktop, Google talk, Google Chrome, Google Translate and Android. Facebook is a social networking website for free access with more than 600 million members worldwide with hundreds of millions of activities that occur every day. The amount of data produced in a day of Facebook occupies a huge part of Internet data. Users can communicate with others, make friends, send messages and update their personal profile. Facebook has several features that users can interact such as Wall, Pokes, Photos, Status, Tag (feature of imaging applications), Facebook Notes, Facebook Username, Facebook Messages, Voice Calls, Video Calling, Facebook Subscribe. Looking closely, using the Internet for social purpose has been increasing over the years. More and more people spend longer hours of socializing than browsing so the use of the internet had tilted more on the social side. Facebook has a strong impact to our society. The social circle will suggest what to read, what to check out, where to go to and what to see. These matters may seem not important, but for the business this is such a big deal. As a result, a vast number of companies had recently shifted their focus on socializing, this led to the competition Google versus F acebook. Google is stepping into the Facebook market. Google also has promoted the search function in social network (Social Search) combined between Facebook and search engine Bing with support in 19 languages. Google Social Search helps users to find the appropriate content from the online link on their social network such as websites, blogs, articles and other content created or shared by their friends. Moreover, through many failures of Orkut (social networking and discussion), Google Buzz and Google Wave, in 2010 Google also revealed their plan about new social networking called Google Me to compete Facebook. Google Me combines best features of these social networks having failed before such as allow users check how many visitors clicked, watched, or your missed updates, provide variety kinds of games and application, control the amount of friends who have connected with your friends, stop spreading wide for what was posted. Example, both Orkut and Facebook allow users to delete the share, but this feature of Orkut is much better. This means that if you share a picture for yourself, then you want to delete them, you are allowed to erase that image on your home page, and on top of all other friends.Facebook does not do this,so Google Me is expected as a more attractive version of social networking. In 2011, Google has officially announced the Google+project, a social networking service has the functionality looks very similar to Facebook such as update status, share links and upload photos. Google+allow users to communicate separately for each group. Instead of posting a content update for everyone, Google+ allows users to display that content to the particular group (called a circle), such as classmates, colleagues, family members. Recently, Facebook is actively improving its own search engine. Old founder of the Google Wave, Lars Rasmussen, has joined Facebook, is developing a version of the search engines social networking to develop a new version called ââ¬Å"search engines social networkingâ⬠. This system will be expected to compete with the search engine of Giant Google in the future. The main purpose of the project is to develop a better search engine that can help brows through the huge amount of content created by users on social networks, as the status updates, articles, video clips and other information. Facebook expects a new email service will help them overtake Google and dominate the social networking world. In 2010, Facebook unveiled the project Titan to compete with Gmail from text messages (SMS), instant messaging (IM), email to Facebook messages. The system will combine messaging via mobile phones, email and chat messages to send to the recipients and they can reply to messages in any way. Facebook uses this project likea special strategy for competition generally on the Internet and particularly on social network. This time, there is notjust the war on email. Facebook seems want to dominate in every field. Facebook is a best place to share photos, surpassing all other services from Flickr, Picasa to Twitter even though its image quality is not high. Facebook members posted 250 million photos per day and this is the function most users use in the social network. Therefore, the Facebook pay billions for the application only works on iPhone and Android also is understandable. Moreover, they also developed a tool Facebook camera similar to Instagram. BUSINESS MODEL To understand why Google and Facebook abominate each other, it is necessary to study their business model. Facebook is now one of the largest social networks while Google is believed as the most powerful searching engine. Each tech titans have been reaping significant success in their domain. However, they both seem have the same main source of revenue is advertising. ââ¬Å"Facebook has 901 million monthly active users (MAUs) as of March 31, 2012, an increase of 33% as compared to 680 million MAUs as of March 31, 2011. And 488 million MAUs used Facebook mobile products in March 2012â⬠-Facebook Amended S1. With great numbers of users, people are deeply impressed by Facebookââ¬â¢s growth. Nevertheless, Google has crossed the 1 billion user mark, while Facebook is not far behind at 900 million however, users spend a far greater amount of time on Facebook per day, approximately 7 times higher. Top 10 Web Brand for August 2011 (U.S., Total) Rank| Brand| Total Internet Audience(thousand)| Time per Person (hh:mm:ss)| 1| Google | 176,235| 1:47:42| 2| Facebook| 163,163| 7:45:49*| 3| Yahoo| 149,072| 2:12:08| 4| MSN/WindowsLive/Bing| 134,410| 1:43:45| Read as: During August 2011, 176.2 million unique U.S. people visited Googleââ¬â¢s websites(Source: Nielsen) In the term of valuation, after the most crucial event of Facebookââ¬â¢s timeline- IPO, going public, Facebook is known being in the position of Googleââ¬â¢s 2003. The table below indicates the comparison between Google (GOOG) and Facebook (FB) in different categories such as revenue, revenue growth, operating income and gross margin as they are in the public day. That means for Google, its first quarter is when they were in Q3, while Facebookââ¬â¢s would be Q1 2010 As the table shows, the growth of both companies over the time is almost equivalent as Google 19% and Facebook 16%. If taking into the specific, Google growth rate is arguably more stable than its counterpart social network. The primary reason causing such deviation is that Google was well-established. The following chart will present that point more clearly Source: GOOG data YCHARTS In comparison, Facebook had a dramatic variable number and especially it was negative in the last quarter, Q9 with -6%.Probably, the company has not decided which its business model is yet (Husky Financial, Facebook vs Google: what you need to know post-IPO). Besides, the other factor affects a volatile Facebookââ¬â¢s development is the dependence in Zynga. There is 15% of Facebook revenue from Zynga (Forbes, By the numbers: Facebook investor checklist). According to the S1, ââ¬Å"If Zynga does not maintain its level of engagement with our users or if we are unable to successfully maintain our relationship with Zynga, our financial results could be harmedâ⬠. The crucial income of two companies is generated from advertising. Google have recently proved their Google Adwords comes off well. Thousands of business could buy ads on Google and leads or sales with a proven positive ROI, return on investment. Advertising on Facebook shows much less convincing at this position. The stop in using Facebookââ¬â¢s ads is the forceful example. General Motors Co said on Tuesday (June 22) it will stop advertising on Facebook, even as the social networking website prepares to go public, with a source familiar with the matter saying the automaker had decided Facebooks ads had little impact on consumers (Reuters). When going to public in 2004, raising just under $2 billion with an initial market cap of le than $25 billion, less than a decade, Google is worth close to 10 times. The IPO gave needed capital to expand their business. This scenario maybe not actually happen to Facebook, according to the previously mention. CONCLUSION A famous Chinese quote ââ¬Å"One mountain cannot have two tigersâ⬠. Thus, a social media site or a search engine site will gain a victory? It has not exactly answered yet. However, according to several surveys and analysis in previous parts, Google has more strengthened than Facebook for some reasons: 1. We have many reasons to access Google but only a few reasons to login in Facebook. Most of us go Facebook for chatting , sharing your thoughts , seeing new update , seeing who liked our status, and sharing from our friend or using some applications and playing games . We are busy at looking the updates rather than ads on Facebook. Nobody logins in Facebook to check or to search when they can buy a cheap T shirt or which books are famous, so on. On the other hand, Google is more useful than Facebook. We can search to know any information that we need such as which college is the best or which food is good for health. When we all open up Google for the above mentioned purposes we click on various ads and indirectly generate revenue for Google. The more we search information the more revenue we will generate for Google. 2. People use Facebook less than they used to be A recent survey showed that 34% of users spend less time for Facebook over half a year ago. They assumed that Facebook is boring, not useful, not related and not safe to keep personal information. 20% users spend more time for Facebook, 1/3 users now do not login in Facebook, and nearly 50% of users login in Facebook that stay the same. In addition, a survey from 31/5 to 4/6 /2012 with 1.036 people in America by Reuters and market research company Ipsos presented that most of 80% users never buy product or service on Facebook. As a result, many advertising companies are disappointed and do not want to advertise on facebook anymore. For example: Early 2011, Facebook earned $3.7 billion through advertising. In 2012, this revenue is slowing. In fact, General Motors has recently regained about 10 million investments for advertising on Facebook because it was not effective. 3. Facebook will be forgotten Eric Jackson, founder of Ironfire Capital, said that in 5 to 8 years, Facebook would disappear the same way Yahoo now. Although Yahoo is still making money, still profitable, still has 13 thousand employees, but Yahoo is just 10% in value compared with their peak in 2000. Basically, Yahoo! has been considered as disappeared. Whether Google or Facebook win, users also have benefit. Both companies are fighting to capture the heart of users worldwide. The competition gets its benefit because it can prevent monopoly situation. As long as the two companies keep on fighting, users will continue to gain benefits because the two companies will continue to improve, change, and figure out new features to attract users. For example: Currently, Google has extra the Google Plus to attract users and many other existent features such as YouTube, Feedburner, Chat, Analytics, and Docs. Facebook has the latest new Facebook Timeline feature. The competition between Google and Facebook is just at the beginning stage. We will be seeing more actions and tricks from both sides in future. As the main goal is to gather as many users as possible, both parties will take any necessary steps to capture usersââ¬â¢ attention. In the future, users can get more benefit such as gifts, discounts, coupons, competition prize, lucky draws and many other events by just participating. Works Cited August 2011 Top US Web Brands. August 2011, Top US Web Brands. N.p., n.d. Web. 20 June 2012. http://blog.nielsen.com/nielsenwire/online_mobile/august-2011-top-us-web-brands. Facebook. Wikipedia. Wikimedia Foundation, 19 June 2012. Web. 20 June 2012. http://en.wikipedia.org/wiki/Facebook. Google Se Tao Ra Mang Xa Hoi Tot Hon Facebook. Http://www.pcworld.com.vn/articles/tin-tuc/tin-quoc-te/2010/08/1220500/google-se-tao-ra-mang-xa-hoi-tot-hon-facebook/. N.p., n.d. Web. 20 June 2012. http://www.pcworld.com.vn/articles/tin-tuc/tin-quoc-te/2010/08/1220500/google-se-tao-ra-mang-xa-hoi-tot-hon-facebook/. Google vs. Facebook. Netchunks. N.p., n.d. Web. 20 June 2012. http://www.netchunks.com/google-vs-facebook/. PGDE Scrapbook. Enter Website Address or Keywords to Cite. N.p., n.d. Web. 20 June 2012. http://pgde.tumblr.com/post/3289734065/enter-website-address-or-keywords-to-cite. Và ¬ Sao Google Lai Ghet Va so Facebook. TGDT. N.p., n.d. Web. 20 June 2012. http://genk.vn/c188n2011090408403182/vi-sao-google-lai-ghet-va-so-facebook.chn. ââ¬Å" 1/3 ngà °Ã¡ » i dung Ãâà £ ââ¬Å"ngá º ¥y ââ¬Å" Facebookâ⬠.vietnamnet.9 June 2012. Web . 14 June 2012. ââ¬Å"Google vs. Facebookâ⬠. netchunks.18 May 2012. Web. 14 June 2012 . ââ¬Å"The Competition Between Facebook and Google Which Might Benefits Usersâ⬠. toasteggme.24 September 2011. Web. 14 June 2012. ââ¬Å"Why Facebook still not equipped enough to compete with Googleâ⬠.aryaninfo.n.d.Web. 14 June 2012. Husky Financial. Facebook Vs. Google: What You Need To Know Post-IPO Seeking Alpha. Facebook Vs. Google: What You Need To Know Post-IPO Seeking Alpha. Seeking Alpha, 17 May 2012. Web. 4 June 2012. http://seekingalpha.com/article/598731-facebook-vs-google-what-you-need-to-know-post-ipo. Klayman, Ben, and Alexei Oreskovic. GM to Drop Facebook Ads Due to Low Consumer Impact. Reuters. Thomson Reuters, 15 May 2012. Web. 4 June 2012. http://www.reuters.com/article/2012/05/15/net-us-gm-facebook-idUSBRE84E1D420120515. Nielsenwire. August 2011- Top US Web Brands. August 2011 Top US Web Brands. N.p., 30 Sept. 2011. Web. 20 June 2012. http://blog.nielsen.com/nielsenwire/online_mobile/august-2011-top-us-web-brands. YChart. Google Price: 581.53. Google Price (GOOG). N.p., n.d. Web. 4 June 2012. http://ycharts.com/companies/GOOG/price. YCharts. By The Numbers:Facebook Investor Checklist. Forbes. Forbes Magazine, 18
Wednesday, August 21, 2019
Muhammad Ali Jinnah and Jinnah Briefly Essay Example for Free
Muhammad Ali Jinnah and Jinnah Briefly Essay Quaid-E-Azam Muhammad Ali Jinnah was born Mahomedali Jinnahbhai; 25 December 1876 ââ¬â 11 September 1948).He was a lawyer, politician, and the founder of Pakistan. Jinnah served as leader of the All-India Muslim League from 1913 until Pakistans independence on 14 August 1947, and as Pakistans first Governor-General from independence until his death. He is revered in Pakistan as Quaid-i-Azam (Great Leader) and Baba-i-Qaum (Father of the Nation). His birthday is observed as a national holiday. By 1940, Jinnah had come to believe that Indian Muslims should have their own state. In that year, the Muslim League, led by Jinnah, passed the Lahore Resolution, demanding a separate nation. During the Second World War, the League gained strength while leaders of the Congress were imprisoned, and in the elections held shortly after the war, it won most of the seats reserved for Muslims. Ultimately, the Congress and the Muslim League could not reach a power-sharing formula for a united India, leading all parties to agree to separate independence for a predominately Hindu India, and for a Muslim-majority state, to be called Pakistan. As the first Governor-General of Pakistan, Jinnah worked to establish the new nations government and policies, and to aid the millions of Muslim migrants who had emigrated from the new nation of India to Pakistan after the partition. As a boy, Jinnah lived for a time in Bombay with an aunt and may have attended the Gokal Das Tej Primary School. He gained his matriculation from Bombay University at the high school. In his later years and especially after his death, a large number of stories about the boyhood of Pakistans founder were circulated: that he spent all his spare time at the police court, listening to the proceedings, and that he studied his books by the glow of street lights for lack of other illumination. Soon after his arrival in London, Jinnah gave up the apprenticeship in order to study law, enraging his father, who had, before his departure, given him enough money to live for three years. The aspiring barrister joined Lincolns Inn, later stating that the reason he chose Lincolns over the other Inns of Court was that over the main entrance to Lincolns Inn were the names of the worlds great lawgivers, including Muhammad. During his student years in England, Jinnah was influenced by 19th-century British liberalism, like many other future Indian independence leaders. Dissatisfied with the law, Jinnah briefly embarked on a stage career with a Shakespearean company, but resigned after receiving a stern letter from his father. In 1895, at age 19, he became the youngest Indian to be called to the bar in England. Legal and early political career: Barrister: Aged twenty, Jinnah began his practice in Bombay; the only Muslim barrister in the city. English had become his principal language and would remain so throughout his life. His first three years in the law, from 1897 to 1900, brought him few briefs. In 1900, P. H. Dastoor, a Bombay presidency magistrate, left the post temporarily and Jinnah succeeded in getting the interim position. After his six-month appointment period, Jinnah was offered a permanent position on a 1,500 rupee per month salary. Jinnah politely declined the offer, stating that he planned to earn 1,500 rupees a dayââ¬âa huge sum at that timeââ¬âwhich he eventually did. As a lawyer, Jinnah gained fame for his skilled handling of the 1907 Caseâ⬠. One of Jinnahs fellow barristers from the Bombay High Court remembered that Jinnahs faith in him was incredible; he recalled that on being admonished by a judge with Mr. Jinnah, remember that you are not addressing a third-class magistrate Jinnah shot back My Lord, allow me to warn you that you are not addressing a third-class pleader. Another of his fellow barristers described him: He was what God made him, a great pleader. He had a sixth sense: he could see around corners. That is where his talents lay he was a very clear thinker But he drove his points homeââ¬âpoints chosen with exquisite selectionââ¬âslow delivery, word by word. Return to Politics: Jinnah (front, left) with the Working Committee of the Muslim League after a meeting in Luck now, October 1937. Beginning in 1933, Indian Muslims, especially from the United Provinces, began to urge Jinnah to return to India and take up again his leadership of the Muslim League, an organization which had fallen into inactivity. He remained titular president of the League, but declined to travel to India to preside over its 1933 session in April, writing that he could not possibly return there until the end of the year. Among those who met with Jinnah to seek his return was Liaquat Ali Khan, who would be a major political associate of Jinnah in the years to come and the first Prime Minister of Pakistan. At Jinnahs request, Liaquat discussed the return with a large number of Muslim politicians and confirmed his recommendation to Jinnah. In early 1934, Jinnah relocated to the subcontinent, though he shuttled between London and India on business for the next few years, selling his house in Hampstead and closing his legal practice in Britain. In the next two years, Jinnah worked to build support among Muslims for the League. He secured the right to speak for the Muslim-led Bengali and Punjabi provincial governments in the central government in New Delhi (the Centre). He worked to expand the league, reducing the cost of membership to two annas (ââ¦âº of a rupee), half of what it cost to join the Congress. He restructured the League along the lines of the Congress, putting most power in a Working Committee, which he appointed. By December 1939, Liaquat estimated that the League had three million two-Anna members.
Tuesday, August 20, 2019
The Basic Sorting Algorithms Computer Science Essay
The Basic Sorting Algorithms Computer Science Essay In the following scientific report, the basic sorting algorithms will be discussed and examined. Timing will be done on the different sorting algorithms and experiments will be done to see which of the different sorting algorithms are the most efficient. Assumptions will be made on which sorting algorithm is the most efficient and then compare the results to see if the right assumption were made. We will discuss the reasons why each sorting algorithm is efficient and under which conditions are efficient. A brief explanation of each sorting algorithm will be given to get the basic idea what its all about. Then a brief conclusion will be done to round of the scientific report Bubble sort is probably one of the most popular and simple sorting algorithm. It is often used as a programming exercise for beginners because it is relatively easy to grasp and understand. The problem though is that its not very efficient, therefore bubble sort only gets used once in a blue moon. There are more efficient sorting algorithms used in real application and that will be discussed in a later stage. It basically two steps that happen in bubble sort, which are: It compares each pair of adjacent elements from the start of the array and, if they are not in the right order, they get swapped If at least one swap has occurred the you repeat step one until no numbers gets swapped Heres a graphical example how Bubble Sort works. Bubble sort http://www.algolist.net/Al We going to sort an array {5, 1, 12, -5, and 16} using bubble sort. Selection sort just like bubble sort is one of the simplest of the sorting algorithms and it works very well with small files. The concept of this algorithm is quite simple. The array is said to be divided in two parts, a sorted part and an unsorted part. At the beginning the sorted part is empty while the unsorted part is the whole array. At every step the method/algorithm finds the smallest element in the unsorted part of the array and the ads it to the end of the sorted part of the array. When the unsorted part becomes empty the algorithm stops. Insertion Sort just like bubble and Selection is one of the most basic and most common sorting algorithms around. This sorting algorithm is more efficient than the other to because it has fewer comparisons than the other two, but this will be discussed in more detail later on. Think about how you sort a deck of cards. You start from the beginning and work through the deck and as you find cards that arent in the right order you remove them and place it in the right order, and you do the this until all the cards are in the right position and your deck is sorted This is the main idea behind Insertion sort. The Method Insertion sorts breaks up the array in two parts, sorted and unsorted. At the start the sorted part of the array only contains one element. Each step the algorithms runs, it expands the sorted part of the array by one and then places the first element of the unsorted region and places it in the right place in the sorted area. This will carry on till the whole array will be a sorted array. The illustration on the right hand side shows step by step how insertion sort works. Shell sort Shell sort algorithm is one of the eldest sorting algorithms out there and was invented by D.L Shell in 1959[3]. It is quite effective and easy to comprehend. The sorting algorithm follows two standard procedures: 1. It arranges the data into a two dimensional array 2. The columns of the array will then be sorted Once the procedure has been concluded, the resultant data sequence is placed into another two dimensional array, but with less columns. The columns are then sorted and the above procedure is repeated until a single sorted column is leftover [3]. MERGESORT The merge sort algorithm uses divide and conquer approach. The algorithm firstly divides the data sequence into two halves, sorts the two halves and then combines them together to form a sorted set of data sequences. [4] Figure 0-4 http://www.inf.fh-flensburg.de/lang/algorithmen/sortieren/merge/mergen.htm In the above figure it illustrates the basic merge sort process. It starts by dividing the unsorted data sequence a into to unsorted data sequences b and c. The data sequences b and c are then sorted with recursive calls to form b and c. Once the two halves are sorted, they are combined to form a sorted data sequence namely a [4]. Quick sort Quick sort is the fastest sorting algorithm when it comes to large elements in an array. Quick sort has to make use of recursion, because of the way quick sort, sorts the elements. The way quicksort works is that there are three pointers, namely a left, right and pivot pointer, the pivot pointer is the most important one. The Left pivot will point to the most left element in the array and the right to the most right element in the list. For the pivot any number can be chosen, but its normal practice to make the first element your pivot. The steps: Pivot and left pointer points to the 1st element in the list and right to the last element The pivot pointer will now compare the object that its pointing at with the one that the right pivot is pointing at. If the right pointer objects are smaller than the pivot then the two objects swap, it is important to note that the pivot will always point to one number, so if that number moves so does the pivot, the right and left pivot stays in its respectable place. If the right pointer object is not smaller that pivot, the right pivot will just move left until a smaller one is found Once the pivot swaps with the right pivot , the pivot and the right pointer will point to the same object, therefore the right pivot will not move anymore now the left pointer will move one right The left pointer and the pivot will now compare, and it the left pointer object is bigger than the pivot object then it will swap, and the pivot will now join the left pointer. This will then let the right pointer move one left This will carry on until all three pointers point to the same object, this means that the object is in its perfect position, to the left of this object no number will be bigger than it and to the left no number would be smaller. Once it found the first object in its perfect place, it will then move to the left hand side of that object It will follow all the above steps with the left side. Ones the left side is all sorted it will then go to right side of our first perfect number and sort the right hand side with the same procedure (To see a Illustrative example see Appendix A) Sorting Algorithms Figure -Sorting Algorithm Figure 1 above shows us the relationship of time (ms) and the number of objects the sorting algorithm has to sort. There are 5 sorting algorithms measured in this experiment namely Bubble sort, Insertion Sort, Selection Sort, Double Insertion and Double Selection sort. As can be noticed from the graph above s that all five sorting algorithms has the same trend but some just increases more than the other and sometimes by quite a substantial amount. First thing noticeable is that if we sort little objects, lets say less than 2000 objects, then it does not matter what algorithm we use all of them are at about the 0ms mark. Only when we get to about the 10000 objects mark, then only the sorting algorithms really shows who the best is. As we can see from the graph is that Bubble Sort is the least sorting Algorithm and is basically just used to explain the sorting procedure to new comers to the programming language. Bubble selection and Double selection are very similar when it comes to efficiency. The most efficient sorting algorithm by far is the Insertion Sorts. As can be seen by figure 1 Double insertion is the most efficient and it all works on how the sorting algorithm sorts the array which is discussed in the abstract portion of this report. Experimental Procedures What was needed to run the experiment The apparatuses needed for his experiment where a Computer, Visual studio C#, and a user that has been tutored for Sorting algorithms How experiment was executed Code where write for each sorting algorithm in a method in a specific program. A new timing class was created, to have something to time how fast or slow the different sorting algorithms gets sorted. Then the method for each 5 sorting algorithms gets executed and run five times to get an average, to eliminate errors that might have been caused. After all the data has been recorded, a graph was plottedà [1]à . This graph was then evaluated Problems that arise The main problem that happened was, each time the programme ran the results werent always constant. And if the programme was not a dedicated programme (i.e. the only programme running at the time) then the values went haywire. This problem was fixed by forcing the visual studio to run a garbage collector and collect all the garbage, to make sure that when programme runs all the processing power is used for the programme so the times will be more accurate. Conclusion In this report five different sorting algorithms where discussed. Each one was investigated and briefly explained how they work, and why each one is efficient in their own right. As the experiment when on it was noticed that some sorting algorithms are less efficient than others and that had all to do with how each sorting algorithm works. When figure-1 was examined, it was concluded that Bubble sort was the least efficient of the different sorting algorithms and that Double insertion Sort was the most efficient of all the sorting algorithms. From this we can conclude that Bubble sort is best used just to explain or introduce the sorting algorithm to a new student. As soon as you want to have an efficient sorting algorithm the Double will be the best because less time will be spent to sort the objects in the array References http://wiki.answershttp://www.c.happycodings.com/Sorting_Searching/code17.html http://stackoverflow.com/questions/832765/whats-a-bubble-sort http://www.inf.fh-flensburg.de/lang/algorithmen/sortieren/shell/shellen.htm http://www.inf.fh-flensburg.de/lang/algorithmen/sortieren/merge/mergen.htm http://www.algolist.net/Algorithms/Sorting/Bubble_sort http://www.algolist.net/Algorithms/Sorting/Selection_sort http://www.algolist.net/Algorithms/Sorting/Insertion_sort
Monday, August 19, 2019
Self-Interest on the International Stage Essay -- International Relati
Self-Interest on the International Stage A nationââ¬â¢s actions on the world stage can be played in many ways. Whether the role being played is unwanted meddler in other nationsââ¬â¢ affairs, supplier of money and aid to countries in despair, or just an ordinary nation trying to keep all of its proverbial ducks in a row, the motivation that drives the plot of international relations is self-interest. Whether the setting is these United States or across the world in the Peopleââ¬â¢s Republic of China, in the theocratic republic of Iran or the military controlled Central African Republic, is doesnââ¬â¢t pay to give something for nothing. Self-interest should not be confused with selfishness, as the two terms are neither interchangeable nor synonymous. Self-interest is ââ¬Å"concern for oneââ¬â¢s own advantage and well-being,â⬠and selfishness is extreme self-interest coupled with a disregard for others (Merriam-Webster). It comes in several forms, like economic and political, and is specialized according to each nation and its individual wants and needs. In fact, it is not only possible but actually c...
The Iliad of Homer Essay -- essays research papers
The Iliad of Homer Honor is something men and women have fought for century after century. Even now, thousands of American and British men are fighting in Iraq, near to where the Trojan War was to have taken place. These men fight for the greater good. They fight for those in Iraq who are unable to fight for or otherwise defend themselves. They fight for honor. The characters in the Iliad are motivated by their own form of honor, or arete, known similarly as the Homeric Code. And it is because of this code that the Trojan War began. The characters in this story are shown to possess arete, but some have different ideas as to how vastly and to what rate it should be respected. And because of this, many a manââ¬â¢s honor is disturbed. à à à à à The Homeric Code can be defined as ââ¬Å"unwritten rules that guide the conduct of the Homeric Heroes.â⬠For the Homeric Heroes, success means survival and greater honor; failure means death and removal from the struggle for honor. What the Heroic code means is that honor is more important than life itself. It is obvious throughout the books that the characters of high honor are the ones that ignore warnings to stay away from danger, battles, and the like. Courage, physical abilities, and social status are also important contributions to the Homeric code. To truly understand this code and the true dedication to it as told by Homer, means becoming accustom to the values kept by those in this story. à à à à  ...
Subscribe to:
Posts (Atom)