Monday, April 13, 2020

Pascal programming Essay Essay Example

Pascal programming Essay Paper Pascal Programming Arieus Green Professor Gary Smith Sam Houston State University Pascal was designed in 1968, but was no published until the 1970 by the mind of a man named Niklaus Wirth. Niklaus Wirth was born in Winterthur, Switzerland in 1934 were he attended Swiss Federal Institute of Technology Zurich. Where he soon earns his degree in Electronic Engineering by the mid 1960s. Pascal was named based off the memory of the late Baise Pascal, a famous French Philosopher as well as a major mathematician (Bill Catambay). This particular language was inspired by Algol along with Simula 67. Although pascal resembles Algol, It far surpasses it in run precision and capabilities. Pascal was designed to be a straight forward block Structured programming. Pascal structurally sound functionality provided the way for several new languages we use today for example, Ada, Java, Modula and so many others. Pascal was design to farther educate the development of a systematically discipline construct. Pascal was initially designed to influence the practice of good or better program design. The language in particular is an imperative and procedural programming language (Bill Catambay). Imperative programming language simply describes the computation of each term as a statement. This important detail makes it easier to produce a programming code, it also has the capacity to use structure programming alongside with data structuring. All of these things take care of the clarity as well as the quality of each program written in pascal. By this time pascal has been at the top of its game being both reliable as well as efficient. Pascal is a strongly typed, block structure programming language (Bill Catambay). It has evolved with enough power to run home projects, commercial industries and many other entures. We will write a custom essay sample on Pascal programming Essay specifically for you for only $16.38 $13.9/page Order now We will write a custom essay sample on Pascal programming Essay specifically for you FOR ONLY $16.38 $13.9/page Hire Writer We will write a custom essay sample on Pascal programming Essay specifically for you FOR ONLY $16.38 $13.9/page Hire Writer Wirth was very particular when the designs were planned out. Much of the pascal language is similar to what we see in our C or Java languages. Some of its features make pascal easy to understand and maintain. The programming Structure of pascal consist of; program name, uses command type, declarations, Statements data object and or functions. Every Pascal program has a heading statement, a declaration and execution in that exact order. Basic syntax variable are placed in the beginning of a statement, followed by a definition of some sort. Declaring a variable s straight forward in the design of pascal. By using keywords like var allows the programmer a number of abilities. Which include declaring string, integers, records and other defining types. This is followed by the capability to use functions and procedures. In Pascal procedures are instructions to execute within the program with no return. Functions are similar in attributes with the exception of having a return value. Like Ada, Pascal is not case sensitive. Pascal Programs are generally formed by several statements. Every statement gives the program a Job by stating or defining xactly what that Job is. Each Job should consist of declarations, assignment, reading or writing data and taking logical statements. Similar to other languages, Pascal has words on reserved such as array, begin and end. These words you would not be allowed use as a variable and to declare any value. Pascal also has a number of different data types that include the standard, integer, real, Boolean and structured array records and file. These constants make it easier for the programmer to read. Pascal has the ability to use numerical, logical, string and character constants. Pascal as many other types, the enumerated type is a data type defined by the user. They give most value the qualification to be specified in a list. Pascal uses variable as a define storage space. Operators are used in every programming language in pascal uses as manipulations of mathematical or logical functionality. There is a list of operators used in pascal involving arithmetic, relations, Boolean, bit, set and string Operands. Each operand has a different responsibility and implementation. Pascal decision making is design for the programmer to specify all condition to evaluated and test by the program. All statements have to have a true or false result and or reroute to another statement of the programmers choice. Helping with these logic statement would me key words like if-then, if-then-else, nest-if statement and many more (Micheal Van Cannegt). These statements can lead one to a loop, where some code that is to be executed multiple times. A loop is usually executed in a specific order the first followed by the second and so on. Pascal also has loop control statement feature that will allow breaks which can call for the termination of a loop or any case statement that has out grown its parameter. Goto statements can transfer control but this feature is not often used. Programmer use a number of small sections of code called subprogram (Victor John Saliba). Every one of these subprograms preforms a particular task as modules. There are two kinds of subprograms function and procedure. Functions are small programs that have a single return value of some variety. Every pascal has to have as many as one function to call it a program and other smaller program to define added functionalities. Pascal functions usually consist of a header, the declaration and a body. The function eader has only two main objects, the keyword and the name of that function. There are many other part to a function, by which include the argument, this is often where the programmer calls the program and the formal parameters. The formal parameter could be an array, subprogram or structured variables. The declaration function simply speaks to the compiler giving it instructions on how to call that specific program it ultimately has the same attributes as the function subprogram. The difference being in the format of the keywords, which is procedure being one of them nstead of function. Pascal file handling capabilities are second to none and are very simple to generate. For instant, notice that there is not a word on reserve for the reading or writing to a file, the usual format to use is readln() or writeln(). When reading a file the base type could be an integer real, Boolean, enumerator, subrange, record, arrays each one but certain other file types. Pascal was a powerful language and tool in 1970s and has become a more advanced language over time. Pascal has been through a few update and changes to the language. In being this reliable and fficient Pascal will continue to be of use in the near future. References http://www. freepascal. org/advantage. var ftp://ftp. freepascal. org/pub/fpc/docs-pdf/ref. pdf, Reference guide for Free Pascal, version 2. 6. 2 Document version 2. 6. February 2013 http://www. pascal-central. com/ppl/chapter2. html. The Pascal Programming Language. Bill Catambay. 0 2001 Academic Press. http://pascal-programming. info/ index. php. pascal Programming. Victor John Saliba 2006. http://www. computerhistory. org/fellowawards/hall/bios/Niklaus,Wirth/ . Copyright 0 2013 Computer History Museum

Wednesday, March 11, 2020

Mexico and United States Foreign Policy Relations

Mexico and United States Foreign Policy Relations Mexico was originally the site of various Amerindian civilizations such as the Mayas and the Aztecs. The country was later invaded by Spain in 1519 which led to a prolonged colonial period that would last until the 19th century when the country finally gained its independence at the end of the war of independence. Mexican-American War The conflict was sparked when the U.S. annexed Texas and the Mexican government refused to recognize the secession of Texas which was the precursor to the annexation. The war, which began in 1846 and lasted for 2 years, was settled via the Treaty of Guadalupe Hidalgo which led to Mexico giving up even more of its land to the US, including California. Mexico further transferred some of its territories (southern Arizona and New Mexico) to the U.S. via the Gadsden Purchase in 1854. 1910 Revolution Lasting for 7 years, the 1910 revolution ended the rule of the dictator president Porfirio Diaz. The war was sparked when the U.S.-supported Diaz was proclaimed the winner of the 1910 elections despite mass popular support for his rival in the election Francisco Madero. After the war, the various groups that made up the revolutionary forces splintered as they lost the unifying goal of unseating Diaz - leading to a civil war. The U.S. intervened in the conflict including the involvement of the U.S. ambassador in the plotting of the 1913 coup dà ©tat which overthrew Madero. Immigration A major issue of contention between both countries is that of immigration from Mexico to the U.S. The September 11th attacks increased the fear of terrorists crossing over from Mexico leading to a tightening of immigration restrictions including a U.S. Senate bill, heavily criticized in Mexico, supporting the construction of a fence along the Mexican-American border. North American Free Trade Agreement (NAFTA) NAFTA led to the elimination of tariffs and other trade barriers between Mexico and the U.S. and serves as a multilateral platform for cooperation between both countries. The agreement increased trade volume and cooperation in both countries. NAFTA has come under attack from Mexican and American farmers and the political left claiming that it hurts the interest of local small farmers in both the U.S. and Mexico. Balance In Latin American politics, Mexico has acted as a counterweight to the policies of the new populist left characterized by Venezuela and Bolivia. This led to charges from some in Latin America that Mexico is blindly following U.S. commands. The biggest disagreements between the left and current Mexican leadership is whether to enlarge American-led trade regimes, which has been Mexicos traditional approach, versus a more regional approach favoring Latin American cooperation and empowerment.

Monday, February 24, 2020

Boost of Economic Prosperity Essay Example | Topics and Well Written Essays - 250 words

Boost of Economic Prosperity - Essay Example Every field demands effective decision making that enables the producers to conduct their business with the least amount of resources. It was Adam Smith’s theory of the â€Å"invisible hand† that facilitated the comprehension of the mechanics of a society in the simplest manner. The knowledge of economics not only benefits one professionally, it also helps to know the difference between right choices and wrong ones on a personal level. It facilitates the comprehension of the global ongoing activities in the economic sector and how everything affects the life of a common man. Specifically, the global depression has changed the world and has made the common man suffer due to few wrong choices by decision makers in the economic arena. I aspire to attain greater knowledge in the field of economics and acquire a Masters degree to comprehend economic activities to a greater extent and devise solutions to reduce the effect of wrong decisions. I shall be very grateful if you grant me the admission and help me pursue my dream of acquiring further education.

Friday, February 7, 2020

Perfume Essay Example | Topics and Well Written Essays - 750 words

Perfume - Essay Example Since then perfumes are widely applied in various settings of the sphere. Their role is enormous, ranging from the individual respective, as a consumer learning tool, in mood therapy, in foods, detergents among others (Bennett 49). The broad application of perfumes triggered the researcher to explore their relevance in determining the attitudes of the human organism. The survey used both survey and literature review. The literature review was employed to assist in ascertaining the gap that exists in the study of perfumes and how they elicit moods in humans. Further, the deduction of the literature was vital in determining the current state of affairs, its theories and the developments in the sector. The synthesis of the literature reveals that humans are wired in a way that their sense of smell leads them to automatic approach-avoidance Responses inclusive of general attitudes, emotion and actions. The resultant responses are either positive or negative. Human being search for pleasurable experiences, and they always aim to avoid any painful or negative experiences as per nature. Based on the categorization theory, the study realized that it is possible to break pleasures into forms involving sensory, emotional and social traits (Porcherot 939). The review showed that emotional preferences typically stem from aesthetic stimulation. For instance, the smell of roses can remind one of a pleasant childhood, which arouses good moods in the individual. Sensory pleasances are the simplest forms to comprehend since they involve the pleasures created by sensory contact with outside stimuli. He further argues that Social pleasures arise from contact and interaction with peers. The experiences of persons can involve one form or a mix of the described pleasure types though in the end, individual summaries the experience as a memory that falls into a single

Wednesday, January 29, 2020

Christmas carol Essay Example for Free

Christmas carol Essay In a Christmas carol by Charles Dickens, scrooge becomes a reformed character by the end of the story. Explain how effectively Dickens shows the extent of these character changes. The story tells of scrooge who is transported through time to the Christmas of his childhood, the present and the future. The following essay will take you through these time periods. At the beginning of the story scrooge is portrayed as a dull, bleak character. On the front cover for example we can see scrooge in a dark room on his own. The only light is from the small candle on his mantle piece. He has grey hair and a long pointy nose. Scrooges personality was very negative and dull. We know that his attitude is bad as when his nephew wishes him a merry Christmas he replies bah, humbug. scrooges nephew then again wishes scrooge a merry Christmas but again only gets a response of what reason have you to be merry, youre poor enough when scrooges nephew replies youre rich enough what reason have you to be dismissal scrooge has no answer to that question. As well as showing us scrooges negative personality it also shows us his attitude towards Christmas. Scrooge also has a negative attitude towards the poor. We learn about this as when the charity collectors come, one says at this time of year it is usually more than desirable that we should make some slight provision for the poor. Are there no prisons replied scrooge At hearing this, the inspector says yes plenty, but many cant go there and many would rather die. A cold hearted scrooge then replies well then they had better do it quick and decrease the surplus population. The collectors were astonished and after this they realised there would be no point in pursuing there point. The gentlemen left. After this incident a couple of carol singers called at scrooges house. As soon as scrooge opened the door he raised a large stick and the small boys fled. At the end of the story scrooge became a completely reformed character. He walked the streets with a smile on his face; he then also went to church and watched the people hurrying to and fro. He looked into kitchens of houses and found that anything could yield him pleasure. Earlier on in the story scrooge was invited to his nephews Christmas dinner. He rejected the invite. Later that afternoon he turned his steps towards the party. He walked in and said where is my love Hes in the dining room said the servant. Scrooge made his way to the dining room and when he walked in everyone looked at him bemused. Why bless my soul cried Fred whos that Its I, your uncle scrooge, I have come to dinner. Will you let me in Fred? Of course replied Fred. After the party instead of scrooges usual party pooper image he cried wonderful party, wonderful games, wonderful unanimity, wonderful happiness. Scrooge was completely reformed. Another thing that proved scrooges reformation was when Bob Cratchit turned up late for work. He was pleading with scrooge not to fire him. Instead scrooge said a very merry Christmas and offered him a pay rise. The reader is kept interested by the ghosts that challenge scrooge each time. Once scrooge has past the first challenge the reader wants to stay and see if he passes the next one. Once he passes the second challenge the level of tension rises. After passing the third challenge scrooge remembers what he was like at the start of the story. Some of the words he used come back to haunt him. The overall message is that you dont have to be a scrooge if you consider others misfortunes and try to help out as much as possible. You will lead a much happier life if you are thoughtful and considerate. The story makes you wonder which side of scrooge you are most similar to. It leaves a clear question in your head. how could I change?

Tuesday, January 21, 2020

Confidence in the Federal Government and Voter Turnout Essay -- Resear

Confidence in the Federal Government and Voter Turnout Introduction Since the presidency of John F. Kennedy, there has been a decline in American confidence in the federal government (Walker, 2000). The importance of confidence in the American federal government is immense. Political participation can be defined as â€Å"Any activity that attempts to influence public policy or the selection of government officials† (Austin Community College). One hopes that Americans do not lack confidence in the federal government because they dislike this style of government. Democracy for many years has been trumpeted and hailed by many as the best way a government can truly reflect, respect and represent her citizens. Having a great deal of confidence and participating in governance can create a more patriotic spirit in citizens, which in turn might lead to more citizens participating politically, thereby making the country more democratic. It can be a propelling force behind a nation’s success, affecting all aspects of her citizens’ lives: education, business, government, families, and community organizations (McLagan & Nel, 1997). Since the 1970’s, the level of confidence in the federal government of America has drastically decreased. To illustrate the decline in confidence, the Cable News Network (CNN) Broadcasting Company recently conducted polls on confidence of the American public. Among their results were that â€Å"4 out of 5 [American adults] lack confidence in government† (Kyoko, 1997). This is approximately 153,600,000 million Americans! According to the CNN polls, â€Å"when asked to name two or three government successes of the past 30 years, 42 percent of the respondents could not even name one† (Kyoko, 1997).... ...1985, August). Religion and political change: The impacts of institutional connectedness and religious imagery. (Bib01414). Paper presented to the American Political Science Association. New Orleans, LA. Keystone Research Center. http://keystoneresearch.org/ 90 Ihuegbu Honors College Review 2001 press.releases/pademocracy.html Kyoko, A. (1997, March 21). Four of 5 Americans lack confi dence in government. Cable News Network [On-line]. Available: http://www.cnn.com/us/9703/21/govt.poll/ McLagan, P., & Nel, C. (1997). San Francisco: Berrett-Koehler Publishers. ReadersNdex Archive [On-line]. Available: http://www.readersndex.com/imprint/000001n/00001cj/ 0000†¦/title.htm Walker, D. (2000, April 25). Improving government perfor mance and building trust. John C. Whitehead Forum [On-line]. Available: http://www.excelgov.org/whitehead/ walker_speech.htm

Monday, January 13, 2020

Something Precious

I have earned recently that sometimes we lose something to gain something. I have experienced a hurt that was so deep that it was my belief that it would never end. I recently was blessed to have a brand new grandchild a girl. This little girl could not have come at a better time in my life. Brianna Scott was born on November 30. 2010 at 8:14 pm. This could not have been better timing. Three years ago one of my grandsons’s hung himself and now lives in a vegetative state. I lost all joy around the holidays, because this little boy always wanted to be with me during the holidays. I lost the holiday spirit after this tragedy happened I found myself in a deep depression state. There was days when I did not want to do anything but cry. I prayed to no end for a miracle to happen. I finally had to accept that here would be no miracle this time. I experienced so many different emotions on a daily basis and for the life of me I could not get a grip on any of my emotions. I begin to question whether or not I could have done something to prevent this tragedy. It took intense therapy to find my way out of this hole. There was nothing I could have done to prevent this tragedy. I was simply co-existing prior to Brianna being born. This little girl has no idea what her birth has brought into my life. I feel as if God has given me a new joy and a fresh breath into my life. I look at this little girl and my heart smiles again. When I talk to Brianna and tell her I love her she looks at me and smiles. I know that Brianna is only six weeks old but I truly believe she understands me when I tell her that I love her. I sometimes catch myself wondering if my grandson would be jealous of her. I believe that I knew this little boy better than his own parents. He would not have been jealous but instead embraced her. Chances are I would have had to ask him to move over and let me have some time with Brianna. I do indeed believe that Brianna is something precious sent to me by God to ease the pain that I have been forced to live with. If you could see this little girl you too would believe that she understands when you tell her that you love her. I always tell her how precious she is and that she has brought unspeakable joy to my life. I wish that I could put into words how much this little girl has done for me emotionally. I have joy once again and believe it or not I actually celebrated the holidays. I did not have a sad moment for a change and took the time to thank God for such a precious gift. This is the gift that keeps on giving. If someone had told me that when this little girl was born the pain I was enduring would ease up I would have called them a lie. I now can live with the pain and my heart doesn’t ache as much as it did prior to Brianna’s birth. I can get threw the day now without crying and feeling so empty. I look forward to keeping this bundle of joy now. Even though she has her day’s mixed up with her nights I would not change a thing about her. After all Brianna truly is something precious to my whole family.