Monday, May 13, 2019

Problem Solving College Essay Example | Topics and Well Written Essays - 750 words

Problem Solving College - Es rate ExampleIn problem lick sensation should search all options one by one until you come across the best one. However, in general, as one gains experience in solving problems, one develops ones own techniques and strategies, though they are often intangible.The computer is non an intelligent machine. It does non have the ability to think more or less the solution of the problem. Our task is to provide a series of steps, which when create verbally in a programing language becomes a code. The computer runs the code for the solution. The near(a) part is that the computer can run the solution consistently, again and again once we have written the code, saving us from the tedious and boring work.Programs are written to solve problems posed by people. The hassle of writing the programs is driven by the difficulty of the problems. The difficulty of the problems is limited by the imagination of the people seance the problems. Now well see how problem solving by programming is difficult. Programming is a complex achievement that takes time to master. To solve a specific problem via programming, you need to understand the nature of the problem. Think about the solution of the problem. Then we testament choose a programming language. You need to have knowledge of the programming language you decide to use. ... Depending on the nature of the task problem solving can either be easy or difficult. Lets take a very simple example of finding the jumbost consequence from a given list of unsorted meter. We can easily solve this problem manually, provided the given list of amounts is not too big. If we have to solve the same problem using programming then it is not so easy .We will have to explain the computer all the steps one by one and code it for the compiler to run the solution. Similarly, if we have a list of numbers which is very big, say ten thousand numbers and we have to find the maximum one so it would be easier to bring out a code for the problem rather than going through the whole list. There are many an(prenominal) ways to find the maximum number in a given list of unsorted numbers. We will discuss one of the ways to solve it. Our first step would be to consider the first number as the largest. We will save that number in a temporary fix .Then we will differentiate it with all the other numbers in the list and if we encounter any number greater than the number stored in our temporary location, we will update our location. The last noted item in our memory location is the largest in the list when the process is complete. Hence, we can say that it depends on the nature of the task whether problem solving is difficult with programming or not.Similarly, we consider another example of a factorial generating program. We can easily calculate the factorial of a small number in our minds but think about a program that will return you the factorial of any number you want. It can be as large as you want because you dont have to worry about the computations. The computer is going to

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.