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.