Techniques of Problem Solving in Computer Science Programming:

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 & outputs
f. necessary information
5. List assumptions and approximations involved in solving the problem. Question the assumptions and then state which ones are the most reasonable for your purposes.
6. 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.
7. Relate problem to similar problem or experience
8. Use an algorithm
9. Evaluate and examine and evaluate the answer to see it makes sense.


Mukesh Rajput

Mukesh Rajput

I am a Computer Engineer, a small amount of the programming tips as it’s my hobby, I love to travel and meet people so little about travel, a fashion lover and love to eat food, I am investing a good time to keep the body fit so little about fitness also..

Post A Comment:

0 comments: