Problem
Solving
Problem solving is a process of identifying a problem and
finding the best solution for it. Problem solving is a skill that can be
developed by following a well-organized approach. We solve different problems
every day. Every problem is different in its nature. Some problems are very
difficult and require more attention to identify the solution. A problem may be
solve a different ways. One solution may be faster, less expensive and more
reliably than others. It is important to select the best suitable solution.
Different strategies, techniques and tools are used to solve
a problem. Computer are used to solve complex problem by developing computer
programs .computer programs executes these instruction to solve a problem. A
person can be good programmer. He has the skill of problem different problem
solving techniques are as follows
- · Program
- · Algorithm
- · Flowchart
1: Program
-
A set of instruction that tells a computer what to do is called program. A computer works according to the given instructions in the program. Computer program are written in programming language. A person who develops a program is called programmer .The programmer develops program to instruct the computer how to process data to convert into information. Programmer uses programming language or tools to write programAdvantage of computer programmingDifferent advantages of computer programming are as follows
- · A computer program can solve problems by giving instruction to computer
- · A computer program can be used to perform a task repeatedly and quickly
- · A program can process a large amount of data easily
- · It can display the result in different styles
- ·
Different types of program are used in different
fields to perform certain tasks2:
Algorithms & Pseudo Code
An Algorithm is a step by step to solve a problem. The process of solving a problem becomes simpler and easier with help of algorithm. It is better to write algorithm before writing the actual computer program
-
Properties of Algorithm
Following are some properties of an Algorithm
·
The Given problem should be broken down into
simple and meaningful steps.
·
The Step should be numbered Sequentially
·
The Steps should be descriptive and written in
simple English
Algorithm are written in a
language that is similar to simple English called pseudo code. There is no
standard to write pseudo code. It is used to specify program logic in an
English like manner that is independents of any particular programming
language.
1: Logic Design
In this part, the logic of the
program is designed. We specify different steps required to solve a problem and
the sequence of these steps
2: Coding
In this part the algorithm is
converted into a program. The Steps of algorithm translated into instruction of
any programming language
The use of pseudo code allows the
programmer to focus on the planning of the program. After the planning is
final, it can be written in any programming language.
No comments:
Post a Comment