# Lec26 - Problem Solving and Loop Verification Problem...

This preview shows pages 1–4. Sign up to view the full content.

13 Mar 2006 1 Problem Solving and Loop Verification Problem Solving Top Down Design Iterative Construct in Programs Loop initialization Loop invariance Loop termination Examples of loop invariance

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

View Full Document
13 Mar 2006 2 The problem solving It is a creative process Defines as systematization and mechanization There is no universal method Different strategies to work for different people. Problem definition phase What must be done? Extract a set of precisely defined tasks from the problem statement Ex: Finding the square root of an integer
Mar 2006 3 The use of specific examples Some times it happens that we don’t have any idea, how to start on the problem, even after the problem definition phase. Solution: Pick a specific example of the general problem. Ex: To find the maximum in the given set of numbers choose a particular set of numbers, and work out the mechanism. Some times this approach is useful to reach at general

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 05/07/2010 for the course CS&IS TA C162 taught by Professor Kavitha during the Spring '09 term at Birla Institute of Technology & Science.

### Page1 / 10

Lec26 - Problem Solving and Loop Verification Problem...

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

View Full Document
Ask a homework question - tutors are online