Tuesday, August 25, 2020

Ethical Challenges for Non-Profits Research Paper

Moral Challenges for Non-Profits - Research Paper Example These associations play out an indispensable capacity and in many cases subject just the direction of their promoters. Their laborers battle numerous fronts, in assorted fields, for example, taking out racial segregation, destitution, sicknesses, hunger and political mistreatment, for instance. They offer a significant assistance which is frequently not a lot of refreshing and in numerous examples, disregarded in light of the fact that they work absent a lot of show. A genuine model are strict associations which give food or soup kitchens, helping vagrants get a warm dinner in winter. Their endeavors can't be belittled for they fill in the holes where the administration and the private parts bomb on occasion. By working and helping the minimized parts of society, they give expectation and significance to numerous lives. There are numerous entanglements and advantages to free enterprise however one of the most shocking disappointments is that sure parts of society can get left out. Gl obalization has been expanding because of the huge developments in interchanges and innovation which helped move individuals, merchandise and enterprises a lot simpler around the world, as appeared by higher progressions of capital in outside direct speculations (FDI) yet one disadvantage is that in certain examples, a few people wound up more unfortunate as opposed to being more extravagant. Individuals with still, small voice are appropriately worried about this imbalance and this offered ascend to corporate social obligation (CSR) and this paper investigates one part of this issue. Conversation Corporate social obligation had become a popular expression in business segments since it is currently viewed as a piece of working together; it is one structure how a monetary element offers back to the network which has supported it and is presently commonly surrendered a piece of proceeding with progress. A decent number of enormous or worldwide associations have received CSR as a piece of their plan of action. It is presently an essential piece of working together, and in this association, a large number of them had built up their own models of doing as such. The grandiose objectives of CSR advanced from its own endeavors of having a decent code of morals in the wake of some beforehand faulty strategic approaches; the objectives are expected to make an organization consistent with lawful guidelines, moral and good principles, and a decent method to practice and grasp by and large acknowledged global standards of working together. The pervasiveness of CSR today had been mostly because of the dynamic supports of philanthropic gatherings in the earlier years which are presently bearing the products of their work just today. A decent CSR strategy set up guides the firm in settling on the best choices for all partners included. A business firm can select a few modes in how to approach actualizing its CSR yet three structures have been recommended inside the setting of this issue where there are some pestering worries on how best to execute a CSR strategy taking into account their benefit thought processes with respect to benefit firms. A key issue included is one of expenses, in which assets and assets committed to this approach can be assessed as far as their proficiency and viability. Exercises and assets identified with CSR must be amplified and the three choices are to contribute (providing for magnanimous or charitable gatherings), to team up (by working intently and banding together with a picked philanthropic association) or in conclusion, to simply develop an in-house program

Saturday, August 22, 2020

Homologous and Analogous Structures Whats the Difference

Homologous and Analogous Structures What's the Difference SAT/ACT Prep Online Guides and Tips Have you at any point considered how various types of creatures have body parts that work in comparable manners? Like bats and honey bees? The two animals have wings - despite the fact that their bodies are organized in an unexpected way. The way to understanding these distinctions lies in recognizing what homologous and similar to structures are. In this article, we'll talk about each kind of structure and examine the likenesses and contrasts between them. What Are Homologous Structures? Homologous structures are comparative structures in related living beings. The most significant thing to recollect about homologous structures is that they share normal family line. At the end of the day, just life forms that are by one way or another identified with one another can have homologous structures. For instance, a chimpanzee’s arm and a human’s arm are homologous structures. The two arrangements of arms have a comparative structure and use and chimpanzees and people share a typical precursor. What Are Analogous Structures? Closely resembling structures are comparative structures in disconnected living beings. These structures are comparable in light of the fact that they do a similar activity, not on the grounds that they share basic parentage. For instance, dolphins and sharks both have balances, despite the fact that they aren’t related. The two species created balances in light of how (and where) they live. What’s the Difference Between Homologous and Analogous Structures? Homologous and comparable to structures have a few key contrasts. Let’s investigate them: Homologous Structures Practically equivalent to Structures Mutual family line Comparative inward structure May appear to be unique remotely No mutual family line Comparative capacity May seem to be comparative remotely Homologous Structures Example An extraordinary case of homologous structures are the wings of a bat and the arms of a human. Bats and people are the two well evolved creatures, so they share a typical lineage. Both a bat’s wing and a human’s arm share a comparative inward bone structure, despite the fact that they look altogether different remotely. The wing and the arm additionally perform various capacities - wings help bats fly, while arms assist people with communicating with their reality in an altogether different manner. Similar to Structures Example An incredible case of closely resembling structures are a bat’s wing and a bee’s wing. Bats and honey bees don't share basic heritage, so the structures can't be homologous. Both bat wings and honey bee wings fill a typical need - helping bats and honey bees fly! The structures seem to be comparable outwardly, as well. Be that as it may, their inside structures are totally different - bat wings have a hard structure with muscles, while honey bee wings are membranous expansions. Homologous and Analogous Structures - Key Takeaways Numerous creatures have body parts that seem to be comparative, despite the fact that they don’t share normal usefulness. Different creatures have body parts that look entirely unexpected, however have a mutual foundation. Here’s the contrast among homologous and comparable to structures: Homologous structures will be structures that may look or capacity uniquely in contrast to related life forms. Practically equivalent to structures will be structures that look and capacity also from random living beings. What’s Next? As of now taking Biology and need assistance with other bio themes? Find out about photosynthesis, proteins, cell hypothesis, and what and how the cell layer and endoplasmic reticulum work. Are youconsideringtaking the SAT subject testsin a subject like science? Ensure you get within data onthe testbefore you settle on your choice. On the off chance that you’re a first year recruit, sophomore, or junior, you should think about adding AP classes to your calendar. Here’s a total rundown of AP courses and tests to assist you with picking classes that are ideal for you. Need to realize the quickest and most effortless approaches to change over among Fahrenheit and Celsius? We have you covered!Check out our manual for the most ideal approaches to change over Celsius to Fahrenheit (or the other way around).

Monday, August 10, 2020

Essay on he Effect of Globalization on Biodiversity

Essay on he Effect of Globalization on Biodiversity The Effect of Globalization on Biodiversity May 16, 2019 in Ecology Abstract The emergence of negative globalization effects on biodiversity was detected in the 1970s. It was displayed in the overuse and overexploitation of resources of the environment due to the increased demand for the products and services. in an effort to accommodate the ever expanding population the increased deforestation has led to the extinction of habitats and various plant and animal species. Human activity is the biggest culprit to the loss of biodiversity. Corporations have become profit oriented and are showing little concern for the destructive nature that their plans of action are having on the environment. Governments have come up with various measures to ensure the conservation of the environment, the protection of the remaining plant and wildlife and has stiff penalties for corporations that are seen to manipulate the system by taking short cuts and eventually having disastrous results. Introduction Globalization is a term that has in the past decade received a lot of attention especially on the political fields and in the media. Many are not aware of the meaning of the word globalization. Primarily, it is a term used to flow in commerce, communication, technologies and so forth that are binding the countries on an international level. The movement of goods and services creates a situation in which the economies of different countries are connected. This has been going on for years but in recent times the magnitude at which the movement has been seen to grow is of enormous proportions. It has changed what was meant as a mean to create a market for goods and services on an international level. Industrialized countries continue to thrive at the expense of the developing countries that have become dependent on the market created by these central markets. Globalization has far reaching consequences, it links even the furthest of locations in a way that it can shape the happenings in one place based on events taking place thousands of miles away, and the reverse is true (Giddens, 1990).

Saturday, May 23, 2020

Sustainability Within The Business Context - 1580 Words

Sustainability, within the business context, has transitioned from a pecuniary model to an ecological modernised ideology. However, such dynamic perspective from external and internal stakeholders, refurbished the sustainable development of businesses, incorporating a more intricate measure of economic, social and ecological perspective. Therefore, management has refurbished practices, incorporating the dimensional homogenisation of the Triple Bottom line theory through a model aspect to a practical development. In contrast, economic models solely incorporated in â€Å"special events† are noted as valid by governments. However, discussion from Sherwood, Jago, and Derry (2016: pg 16) suggest government reporting consist of â€Å"deceptiveness.† Thus,†¦show more content†¦Despiting, consumers recognition of the capitalisation of resources has heightened the understanding of the impact of businesses practices and operations as well as their reluctance to change. A lternatively, without the necessary modifications, the world’s economy, natural resources and society as a whole will be at a deficit for the near generation (A. Jackson; K. Boswell; D. Davis, 2011). As a result, business withstanding external changes will view themselves at a loss in achieving sustainable development, through the lack of maintenance and balance of the lines. Comparably, the triple bottom line conjured by Elkington (1994) serves as a foundation of sustainability, in which he advocated the â€Å"social† line is vital for the completion of the framework of the TBL, however, is often â€Å"overlooked.† Therefore by broadening the social and ecological ideals since â€Å"maintaining financial certainty†¦will not be enough,† will help achieve sustainability (Mitchell, Curtis and Davidson 2007: pg 271). In addition, the TBL will act as an estimation of the companies interaction between the dimensions helping them to analyse its operations accurately, determining their performance against each bottom line. Thus, this mandatory TBL report will identify areas of improvements, objectives, and issues, keeping stakeholders informed to elevate transparency and concerns based onShow MoreRelatedNational Culture And Corporate Social Responsibility Reporting1676 Words   |  7 Pagesinform you that your revised manuscript, â€Å"National Culture and Corporate Social Responsibility Reporting† is being rejected. We have completed an evaluation of your paper by sending it to two experts who assessed the overall potential contribution to business ethics research. Unfortunately, based on their feedback there are concerns with the research problem and its significance, the interpretations, and the overall contribution of the research. In order to assist you in improving your work for possibleRead MoreEssay on Making Sustainability Work in the Business World989 Words   |  4 Pagesfirms are beginning to realize that corporate sustainability can prove to be a win win. There are multiple benefits of sustainability linked to costs, revenues, community relations, and more. The decision to strive for sustainability is obvious, but this process is easier said than done. Developing a sustainability strategy is difficult in itself, but the most challenging factor is the actual implementation. Marc J. Esptein, the author of Making Sustainability Work: Best Practices in Managing and MeasuringRead MoreA Market Based Approach For Community Development Essay1400 Words   |  6 PagesCommunity is established locally but community development is a process that includes actors from inside and outside of the community to achieve sustainability. My previous essays have addressed the progression of community development from place -based attachment, organizing and advocacy to addressing the need and effect of government involvement. The final stop on the continuum of the community development is to analyze market-based approaches to community development. This paper will look atRead MorePublic Discourse Surrounding Conceptions Of Sustainability Definitions And How That Impedes The Development Of A Sustainable Society1651 Words   |  7 Pages Public Discourse Surrounding Conceptions of Sustainability Definitions and how that Impedes the Development of a Sustainable Society Nicholas Dawson 9/14/2015 University of Southern Queensland Student Number: W0025726 â€Æ' The definition of sustainability varies widely depending on the context in which the concept of sustainability is used. As Herman Daly (1996) put it, â€Å"Sustainable development is a term that everyone likes, but nobody is sure of what it means. The term rose to the prominenceRead MoreEthics and Values in Business Sustainability789 Words   |  3 Pagesbe described as very important to business sustainability. There are ethics which are individual moral principles that govern or influence a person’s behaviour and there are business ethics which are written or unwritten codes of principles or values that govern decisions and actions within an organisation. Values are the context within which an organisation or a society’s norms are established and justified. All these aspects are important to the sustainability of an organization. Theses aspectsRead MoreIndividual Theme Exposition Essay1011 Words   |  5 PagesInnovation has become one of the most important issues in modern culture, these days not only in the context of business and technology but also in environmental and climate changes. The changes in the environment impacts economies, populations, governments and cultures at a local level (Woerd 2002). Woerd (2002) also mentions that changes at a local level contribute to changes at a national and global level. All organisations worldwide are suffering with the environmental impacts that are placesRead More2. There Is No One Best Way to Make Change in an Organisation. How Does This Inform Your Understanding of Organisational Change Towards Greater Sustainability? Discuss1320 Words   |  6 Pagesgreater sustainability? Discuss Introduction Organisations are faced with new changes constantly. In order to remain successful and respected, it is important that they respond to changing situations appropriately (Waddel, Cummings and Worley, C 2011). There are many factors that influence an organisation to change; the one that this piece will review is sustainability. Sustainability is a current trend in which organisations are being pushed to move towards a more green approach of business activityRead MoreForget Moral Imperatives781 Words   |  4 PagesForget moral imperatives. Leading for sustainability has become good business. Indeed, managers are facing increasing pressures from shareholders to justify the ‘business case’ for why organisations should â€Å"accept and advance† corporate sustainability initiatives (Carroll Shabana 2010, p.1; Salzmann et al.2005). On the surface, there is nothing strange about this ‘logic’. According to this rationale, managers operate within a business context and are responsible for their company’s economic successRead MoreEssay on Business Sustainability1064 Words   |  5 Pagesfacing companies that integrate environmental (green) sustainability in product innovation. In these studies, Bansal and Roth (2000) and Dangelico and Pujari (2010) apply theoretical sampling of 53 various firms in UK and Japan and in-depth interviews in 12 manufacturing firms in Canada and Italy respectively to develop conclusions on the contextual factors that induce ecological responsiveness and the integration of ecological sustainability into product innovation. Going green signifies engagingRead MoreEnvironmental Sustainability And Global Warming1249 Words   |  5 Pages Sustainability ‘Sustainability’ and all its connotations have become the term of the millennium thus far, although it was an idea introduced in the 1980’s. It encompasses many interpretations, and has taken on a very loaded and preconceived meaning. Many have a vision of green initiatives and global warming-based issues, but what does it mean to the in today’s society? Even when narrowed to the disciplines of architecture and planning, it is a multifaceted and loaded concept. Kenny and Meadowcroft

Tuesday, May 12, 2020

The Story of the Greek Titan Atlas

The expression to carry the weight of the world on ones shoulders comes from the Greek myth of Atlas, who was part of the second generation of the Titans, the oldest gods of Greek mythology. However, Atlas did not actually carry the weight of the world; instead, he carried the celestial sphere (the sky). The Earth and celestial sphere are both spherical in shape, which may account for the confusion. Atlas in Greek Mythology Atlas was one of four sons of the Titan Iapoetos and the Okeanid Klymene: his brothers were Prometheus, Epimetheus, and Menoitios. The earliest of the traditions say simply that it was Atlas responsibility to hold up the sky. Later reports say that as one of the Titans, Atlas and his brother Menoitios took part in the Titanomachy, a war between the Titans and their offspring the Olympians. Fighting against the Titans were Olympians Zeus, Prometheus, and Hades. When the Olympians won the war, they punished their enemies. Menoitios was sent to Tartarus in the underworld. Atlas, however, was condemned to stand at the western edge of the Earth and hold the sky on his shoulders. Holding Up the Sky Different sources vary in their descriptions of how Atlas held up the sky. In Hesiods Theogony, Atlas stands at the western edge of the earth near the Hesperides, supporting the sky on his head and hands. The Odyssey describes Atlas standing in the sea holding the pillars that keep the earth and sky apart—in this version, he is the father of Calypso. Herodotus was the first to suggest that the sky rested atop Mount Atlas in the western part of northern Africa, and later traditions still report that Atlas was a man who metamorphosed into the mountain. The Story of Atlas and Hercules Perhaps the most famous myth involving Atlas is his role in one of the celebrated twelve labors of Hercules, the main version of which is found in Apollodorus of Athenss Library. In this legend, Hercules was required by Eurystheus to fetch the golden apples from the fabled gardens of the Hesperides, which were sacred to  Hera  and guarded by the fearsome hundred-headed dragon Ladon. Following the advice of Prometheus, Hercules asked Atlas (in some versions the father of the Hesperides) to get him the apples while he, with the help of  Athena, took the sky onto his own shoulders for a while, giving the Titan a welcome respite. Perhaps understandably, when returning with the golden apples, Atlas was reluctant to resume the burden of carrying the sky. However, the wily Hercules tricked the god into swapping places temporarily while the hero got himself some cushions to more easily bear the tremendous weight. Of course, as soon as Atlas was back holding the heavens, Hercules and his golden booty hot-footed back to  Mycenae. Sources Hard, Robin. The Routledge Handbook of Greek Mythology. London: Routledge, 2003. Print.Smith, William, and G.E. Marindon, eds. Dictionary of Greek and Roman Biography and Mythology. London: John Murray, 1904. Print.

Wednesday, May 6, 2020

Balancing Chemical Equations Free Essays

Balancing chemical equations 1. Complete the following sentences, using the words or groups of words in the box below. You may use some words more than once. We will write a custom essay sample on Balancing Chemical Equations or any similar topic only for you Order Now †¢ as small as possible |†¢ decrease |†¢ molecules |†¢ quantities | |†¢ balance |†¢ different |†¢ nature |†¢ rearranging | |†¢ bonds |†¢ equal |†¢ never |†¢ release of a gas | |†¢ characteristic properties |†¢ heat |†¢ new elements |†¢ rules | |†¢ check |†¢ increase |†¢ nuclear |†¢ signs | |†¢ chemical |†¢ law of conservation |†¢ nucleus |†¢ state | |†¢ chemical equation |of mass |†¢ physical |†¢ stoichiometry | |†¢ coefficient |†¢ mass of products |†¢ precipitate |†¢ subscript symbols | |†¢ colour |†¢ mass of reactants |†¢ products |†¢ transformed | |†¢ counting |†¢ molar mass |†¢ proportions |†¢ whole numbers | a)There are three types of changes in matter: ________________________ changes, chemical changes and ________________________ changes. b)A physical change occurs when the form or th e ________________________ of a substance is changed. For example, when liquid water is cooled, it becomes ice. Whether water is in liquid form or in the form of ice, the ________________________ that form water remain the same. The ________________________ of water do not change. c)A ________________________ change alters the ________________________ of a substance. The very nature of the ________________________ is altered: they are no longer the same after the change. This transformation involves ________________________ the bonds between the atoms and forming new molecules. d)A ________________________ transformation involves changes that occur in the ________________________ of the atom. The transformation causes the atoms to split and form ________________________. ) Chemical changes occur when the ________________________ between reactants (initial substances) are broken to form new ________________________ (final substances), whose characteristic properties are ________________________. During this process, the quantities of reactants ________________________, and the quantities of pro ducts ________________________. f) We can recognize that a chemical change has taken place by certain ________________________: the ________________________, the emission or absorption of ________________________, the emission of light, a change in ________________________, and the formation of a ________________________. ) A chemical change, or chemical reaction, can be represented by a ________________________, which shows how the change took place. It is useful to identify the ________________________ of the substances (solid, liquid, gas or aqueous solution) with ________________________ in parentheses to the right of the substance. h) The scientist Antoine Laurent de Lavoisier made this famous statement that explains the________________________: â€Å"Nothing is lost; nothing is created; everthing is ________________________. † This means that the ________________________ before the chemical reaction is equal to the ________________________ after the reaction. ) To follo w the law of conservation of mass, we must ________________________ chemical equations by ________________________ the number of atoms of each element on the reactants side and on the products side of the equation. The appropriate ________________________ must be placed in front of each substance so that the number of atoms on each side of the equation is ________________________. j) Certain ________________________ must be followed when balancing a chemical equation. The coefficients must be ________________________, and they must be ________________________. New substances must ________________________ be added, nor existing substances removed. Subscripts in chemical formulas must ________________________ be changed. Finally, we must ________________________ the equation by comparing the number of atoms of each element on either side. k) When a chemical equation is properly balanced, we can find the ________________________ of reactants needed for a reaction and predict the resulting quantities of products. ________________________ is the study of these proportions. It is essential to maintain the ________________________ of the substances throughout the reaction. We can use ________________________ to convert moles into grams. 2. What kind of change is described by each of the following examples? |a) a worn tire | | | |b) limewater that turns white | | | |c) a bracelet that tarnishes | | | |d) the fission of a uranium nucleus | | | |e) rusting iron | | | |f) mercury that expands in hot weather | | | |g) the fusion of the nuclei of several atoms | | | |h) food being transformed into energy | | | |i) salt dissolving in water | | | |j) radium emitting radiation | | 3. For each of the following examples, name at least one sign that a chemical change is occurring. a) A match burns. | | | b) A yellow substance appears when NaI is mixed with Pb(NO3)2. | | | c) Bubbles form when chalk is mixed with hydrochloric acid. | | | d) A bright light appears when a piece of magnesium is burned. | | 4. Write a chemical formula to represent the following situation. Aluminum oxide (AlO), commonly called alumina, is formed by the reaction between aluminum (Al) and oxygen (O2). Balance the equation. | | | | | | 5. Balance each of the following chemical equations by indicating the number of atoms in each molecule involved in the reaction. a) C(s)+ H2(g) + O2(g) ( CH3OH(g) | | | | | | | | | | | | | | | | | | | | | b)Al(s) + O2 (g) ( Al2O3(s) | | | | | | | | | | | | | | | | | | | | | c)C(s) + Cl2(g) + H2(g) ( CHCl3(g) | | | | | | | | | | | | | | | | | 6. The decomposition of 10 g of copper oxide is represented by the following equation: 2 CuO(s) ( 2 Cu(s) + O2(g) If you obtain 8 g of copper, what amount of oxygen was released? Explain your answer. | | | | | | | | | | | | 7. Calculate the mass and the number of moles of silver produced if you make 10  mol of zinc react with sufficient silver nitrate. (The equation is not balanced. Zn(s) + AgNO3(aq) ( Ag(s) + Zn(NO3)2 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8. What mass of glucose will be formed if you make 32  mol of hydrochloric acid react with sufficient carbon? (The equation is not balanced. ) HCl(l) + C(s) ( C10H16(aq) + Cl2(g) | | | | | | | | | | | | | | | | | | | | | | | | | 9. Given the reaction for the synthesis of ammonia: N2(g) + 3 H2(g) ( 2 NH3(g) How many moles of hydrogen are needed to produce 50  g of ammonia? | | | | | | | | | | | | | | | 10. Given the following equation: 2 Na(s) + 2 H2O(l) ( 2 NaOH(aq) + H2(g) How many moles of hydrogen will be produced by the complete reaction of 75  g of sodium? | | | | | | | | | | | | | | | | | ———————– Support activities – Second Year of Secondary Cycle Two |EST | | student BOOK: Chapter 4, pages 108–113 | | Related Handout: Concept review 15 | ACTIVITY 15 EST EST EST EST EST ———————–  ©ERPI Reproduction and adaptation permitted solely for classroom use with Observatory. Observatory / Guide 11129-B How to cite Balancing Chemical Equations, Papers

Saturday, May 2, 2020

C++ Programming with Data Structures

Question: Explain a Programming by C++ with Data Structures? Answer: The Command Line #include #include #include #include #include #define MAX_WORD 32 #define MAX_TEXT_LENGTH 10000 typedef struct word { char *str; int freq; struct word *pNext; } Word; //the code is provides with the counter to calculate frequency and line numbers// int getNextWord(FILE *fp, char *buf, int bufsize); void addWord(char *pWord); void show(Word *pWordcounter); Word* createWordCounter(char *word); Word *pStart = NULL; int totalcount = 0; int uniquecount = 0; //loading of words from the file in a binary search tree struct Node{ string data; Node* left; Node* right; }; Node* GetNewNode(string data){ Node* newNode = new Node(); newNode-data=data; newNode-left = newNode-right = NULL; } Node* Insert(Node* rootPtr,string data){ if(rootPtr == NULL){ rootPtr = GetNewNode(data); return rootPtr; } else if(data= rootPtr-data){ rootPtr-left = Insert(rootPtr-left,data); } else { rootPtr-right = Insert(rootPtr-right,data); } return rootPtr; } int main() { string word; ifstream inFile; Node* rootPtr = NULL; // Pointer to the root node inFile.open("wordtracker.txt"); if (!inFile) { cout "Unable to open text file"; } while (inFile word) { rootPtr = Insert(rootPtr,word.substr(0,10)); if (word == "#") break; } //an exception arises when a word is not find in the file// try { FILE * fp; fp = fopen(wordtracker.txt","r"); // opening the file if(!file.good()) throw 56; else { while (getline(file,s)) { if (false) { return true; } } // to find the searched word in the text file// cout "Enter the word you want to search for: "; cin SearchWord; cout "nn"; cout "Enter the name of file you want to open: "; cin FileName; ifstream FileSearch(FileName); // to search and print the the line number of the word found in file while(!FileSearch.eof()) { co++; string temp; FileSearch temp; if(temp == SearchWord) { cout SearchWord " found on line: " co "nn"; else coutWord not found; break; } } //comparing all the words in the file to sort it alphabetically for (list *i = first; i != NULL; i = i-next) { cout i-s " "; } cout endl; bool ok = false; while (!ok) { ok = true; prev-next = first; for (list *i = first; i != last; i = i-next) { if (i-s.compare(i-next-s) 0) { prev-next = i-next; i-next = i-next-next; prev-next-next = i; ok = false; } prev = prev-next; } } cout "Sorted List: n"; for (list *i = first; i != NULL; i = i-next) { cout i-s " "; } cout endl; } } // to calculate the frequency of each word found in the file char buf[MAX_WORD]; int size = MAX_TEXT_LENGTH; Word *pCounter = NULL; while (getNextWord(fp, buf, size)) { addWord(buf); totalcount++; return false; } } pCounter = pStart; while(pCounter != NULL) { uniquecount++; pCounter = pCounter-pNext; } printf("nSUMMARY:nn"); printf(" %d wordsn", totalcount); /* Print total words */ printf(" %d unique wordsn", uniquecount); /* Print unique words */ pCounter = pStart; while(pCounter != NULL) { show(pCounter); pCounter = pCounter-pNext; } printf("n"); pCounter = pStart; while(pCounter != NULL) { free(pCounter-str); pStart = pCounter; pCounter = pCounter-pNext; free(pStart); } fclose(fp); catch(int e) { cout"Error number " } } return 0; } void show(Word *pWordcounter) { printf("n%-30s %5d", pWordcounter-str,pWordcounter-freq); } void addWord(char *word) { Word *pCounter = NULL; Word *pLast = NULL; if(pStart == NULL) { pStart = createWordCounter(word); return; } pCounter = pStart; while(pCounter != NULL) { if(strcmp(word, pCounter-str) == 0) { ++pCounter-freq; return; } pLast = pCounter; pCounter = pCounter-pNext; } pLast-pNext = createWordCounter(word); } Word* createWordCounter(char *word) { Word *pCounter = NULL; pCounter = (Word*)malloc(sizeof(Word)); pCounter-str = (char*)malloc(strlen(word)+1); strcpy(pCounter-str, word); pCounter-freq = 1; pCounter-pNext = NULL; return pCounter; } int getNextWord(FILE *fp, char *buf, int bufsize) { char *p = buf; char c; do { c = fgetc(fp); if (c == EOF) return 0; } while (!isalpha(c)); do { if (p - buf bufsize - 1) *p++ = tolower(c); c = fgetc(fp); } while (isalpha(c)); *p = 'à ¯Ã‚ ¿Ã‚ ½'; return 1; } Preparing a report of the file To open the file using a link list comment To load the words of the file in a binary search tree To search for a word in the file To display the line numbers of words in the file To raise an exception if the word ID not found in file To sort the words in the given file alphabetically To calculate the word frequency of each words in the file. References Gilberg, R. and Forouzan, B. (2001).Data structures. Pacific Grove, CA: Brooks/Cole. Smith, P. (2004).Applied data structures with C++. Sudbury, Mass.: Jones and Bartlett Publishers.