lecturenotes9_4 - ProblemSolvingandAlgorithms (notes)...

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

View Full Document Right Arrow Icon
Problem Solving and Algorithms (notes) September 4, 2008
Background image of page 1

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

View Full DocumentRight Arrow Icon
pic Summary Topic Summary . bs and exercises 1. Labs and exercises 2. Moodle Issues? uestionnaire (48/72 so far) 3. Questionnaire (48/72 so far) 4. Essential features of a program Gl Ah t Pb l Sl i 5. A General Approach to Problem Solving 6. Wind Power example 7. The Algorithm 8. Mini Task 1
Background image of page 2
ssential Features of a Program Essential Features of a Program orrect (solves the problem!) 1. Correct (solves the problem!) 2. Robust 3 .E a s e of Use 4. Portable 5. Fast/Efficient ructured (easy to understand/modify) 6. Structured (easy to understand/modify)
Background image of page 3

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

View Full DocumentRight Arrow Icon
lving the Problem Solving the Problem In order to make a program that is CORRECT, we need to solve the problem properly…a general approach 5 Basic Steps mmarize the problem clearly and concisely 1. Summarize the problem clearly and concisely 2. List and Describe inputs and output goals 3. Understand the steps and calculations to convert your inputs to the desired outputs 4. Develop a computer program to complete these lculations calculations 5. Test the solution with sample data (a sample calculation)
Background image of page 4
ample: Wind Power Example: Wind Power u are given some historical wind speed data You are given some historical wind speed data for a particular site and asked to calculate the otential wind power that could have been potential wind power that could have been generated at that site over the same time eriod period.
Background image of page 5

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

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

Page1 / 19

lecturenotes9_4 - ProblemSolvingandAlgorithms (notes)...

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