Programming
To solve a
computing problem, its solution must be specified in terms of sequence of
computational steps such that they are effectively solved by a human agent or
by a digital computer.
Programming Language
1)
The specification of the sequence of computational
steps in a particular programming language is termed as a program
2)
The task of developing programs is called programming
Techniques
of Problem Solving
Problem solving
an art in that it requires enormous intuitive power & a science for it
takes a pragmatic approach.
Here a rough
outline of a general problem solving approach.
1)
Write out the problem statement include information on
what you are to solve & consider why you need to solve the problem
2)
Make sure you are solving the real problem as opposed
to the perceived problem. To check to see that you define & solve the real
problem
3)
Draw & label a sketch. Define & name all
variables and /or symbols. Show numerical values of variables, if known.
4)
Identify & Name
a.
relevant principles, theories & equations
b.
system & subsystems
c.
dependent & independent variables
d.
known & unknowns
e.
inputs & outputsf.
necessary information
1)
List assumptions and approximations involved in solving
the problem. Question the assumptions and then state which ones are the most
reasonable for your purposes.
2)
Check to see if the problem is either under-specified, figure
out how to find the missing information. If over-specified, identify the extra information
that is not needed.
3)
Relate problem to similar problem or experience
4)
Use an algorithm
5)
Evaluate and examine and evaluate the answer to see it
makes sense.
Social Plugin