Chapter 1 problem solving concept question and answer
Q1. State the requirements for problem solving by computer.
Ans. To solve problems encountered in our daily lives, we use several algorithms. We do this automatically without thinking about complexity of the problem or the solution. Consider a situation where you have to reach collage and your vehicle tyre gets punctured. In your mind, you think about several option walking, taking the bus or train, calling up your friend etc. and evalute this option before making a choice. However, if the same task of choosing an option is to be given to a computer, the solution must be specified with a lot of detail and precision because the computer is not intelligent. It cannot analyz the problem, develop the procedure for solving the problem, and then tell the computer carry out the instructions. Hence there are two important requirments for solving problem using computer:
1.Depth of understanding.
Disigning effective computer algorithms require s a great depth of understanding which is greater than what we use to solve day to day problems. This is because the computer is a machine which is not intelligent. It has to be told exactly and precisely what to do and how to do it. This require the programmer to have a clear understanding of the problem and it's solution.
2.Data structure must be linked with the algorithms.
The way data is stored has a great impact on the performance of the algorithm. For example, if we have to search for a name in telephone directory, we do not start from the first name and search each name serially. Since the name are ordered, it is easy to locate the desired name. This is possible because the data is stored in a structured and sorted format. It affected the way the task is carried out
Q2 why We Do We Need Dept Of Understanding To Solve Problems Using computer?
Ans : Desining effective computer algorithms requires a great depth of undestanding which is greater than what we use to solve day to day problem. This is because computer is a machine which is not intelligent. It has to be told exactly and precisely what to do and how to do it. This requires the programmer to have a clear undestanding of the problem and it's solution. That the reason we need Depth of undestanding to solve problems using computer.
Q3 List the problem solving aspects.
1: Problem definition phase.
2: Getting started on a problem.
3:The use of specific examples.
4: Similarities among problem.
5:Working backwards from the solution.
6:Genral problem solving.
Q4 State the true or false.
1:In problem solving, the computer can analyz the problem.
Ans: False. Because it cannot analyz problem. The programmer must analyz the problem.
2: In the problem definition phase, we must identify how to solve a problem rather than what is the problem.
Ans: True
QB. Long answer questions
1: Explain the requirements for problem solving by computer.
Ans: Requirements. 1 Depth of undestanding : designing effective computer algorithm requires a greate depth of undestanding. Which is greater than what we use to solve day to day problem.
2 Data structure must be linked with algorithm : The way the data is stored has a great impact on the performance of the algorithm . Data is always stored in a structure, It affects the way the task is carried out eg. If we have to search for a name on telephone directory we do not start from first name we search name serially. Since the name is ordered it is easy to locate desire name.
Explain the problem solving aspects.
1:Problem definition phase -: Thi se phase involves undestanding of the problem . We must find out what is to be done rather than how is it to be done, if we do not understand what we are trying to solve the whole process will be useless.
2: Getting started on a problem-: The first step after the problem definition phase is to come up with an implementation - independent way to solve the problem without worrying about the details.
3: The use of specific examples similarities among problem working backwards from the solution.
Q2 Explain or solve the condition of requirements.
1 If we use the computer then user pass instructions to computer because computer is not intelligent. It can't analayz a problem and come up with a solution because of the programmer must analayz the problem.
2 develop the procedure for solving the problem and then tell the computer carry out the instructions
Comments
Post a Comment