1.Problem Solving - Problem Solving How to solve a problem...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Problem Solving How to solve a problem ? Programming is a problem-solving activity. If you are a good problem solver, you could become a good programmer. Problem-solving methods are covered in many subject areas:- Business students learn to solve problems with a systems approach- Engineering and Science students use the engineering and science methods- Programmers use the Software Development Method Software Development Method To solve a problem using a computer, you need to: Think carefully about the problem & its solution- Analyze the problem- Specify the problem requirements Plan it out beforehand (write an algorithm ) Check it over to see that it addresses the problem Modify the solution if necessary Use the outlines to write a program that you can run on a computer Finally, the program is tested to verify that it behaves as intended. Introduction to Algorithms The algorithm is the abstract idea of solving a problem. An algorithm is a step-to-step problem solving process in which a solution is arrived at a finite amount of time. The algorithm is written in an algorithmic language (or a pseudo code). Algorithms vs. programs When an algorithm is coded using any programming language (e.g. C++), then it is called a program ....
View Full Document

Page1 / 21

1.Problem Solving - Problem Solving How to solve a problem...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online