Posts

Image
 Algorithm Meaning and Definition: The word “Algorithm, is a distortion of “al-khwauizmi”, a Persian mathematician who wrote an influential treatise about algebraic methods. But the algorithm is a Latin word called “algouismus” which means “calculation methods” An algorithm is a sequence of finite instructions often used for calculations and data processing.  It is a type of effective method in which a list of well-defined instructions for completing a task will, when given an initial state, proceed through a well-defined series of successive states, eventually terminating in an end state. When the user is telling the computer what to do, he also gets to choose how it is going to be done. To make a computer do anything, we have to write a computer program. To write a computer program, we must tell the computer, step by step, exactly what we want it to do. The computer then “exceeds the program, following each step mechanically, to accomplish the end goal”. An algor...

Steps in Problem Solving

Image
  Steps in Problem Solving Dr. Alok Pawar A logical computation firstly requires defining the problem, secondly, as per the end user requirement, it needs analyzing and designing the output format. After this one can start the actual coding that is followed by testing and maintenance the next section explains all these phases. Definition of the Problem: When a problem is to be solved, two questions arise, first, what to do, and second, how to do it? This phase answers the first question, here the programmer has to define the task precisely and check for completeness, there should not be any ambiguity. The imprecisely or arbitrary defined problem may result in the wrong analysis and design. For example: “Solve the quadratic equation” this problem itself is not complete because it is not specified whether to find the value of roots of the quadratic equation or to find the nature of roots of the quadratic equation or both. The different programmers may program this problem...

Introduction to Problem Solving

Image
Introduction to Problem Solving Dr. Alok Pawar   1.1    Problem Solving : A problem obstructs and hinders the progress or movement in achieving an objective. In our daily life, some problems are well understood and one might develop solutions to such problems but there are few which will pose challenges. For example, we have to make tea for three people of which one is a diabetic person. In that case, we make tea initially without sugar, once we serve that tea to the diabetic person then we add sugar into the tea and again boil. The nature of the problem depends on the situation. Is Problem-solving an Art or a Science? Problem Solving as a Science -   Problem Solving could be referred to as a science as it includes the essentials of science. Now problem-solving is a well-organized body of knowledge. There are underlying principles and theories available which can be used as guidelines for various tasks. Problem-solving includes special knowledge of the...