Lecture6 Intro to Algos

# Lecture6 Intro to Algos -...

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

FAST, National University of Computer and Emerging Sciences, Islamabad Lecture 6:Problem Solving &  Algorithms- 1 Course: Programming For Engineers-1 Asma Ahmad

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

View Full Document
Problem Solving Problem Solving is a key factor of human intelligence Consider the example
Problem Solving From our daily life experience we know that the best way to  solve a  problem  is to divide it into  small steps , then to carry  out these steps one by one to achieve the desired goal. If look at a cheff following a recipe to make a meal we will  observe that he is following certain steps.

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

View Full Document
Problem Solving How we give solution to a given problem? Algorithms
An algorithm is a finite  ordered sequence  of  well- defined  and  effective  operations that when executed  will always produce a result and  terminate in finite  amount of time There are four key terms in the definition of Algorithm.

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.

{[ snackBarMessage ]}

### Page1 / 12

Lecture6 Intro to Algos -...

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

View Full Document
Ask a homework question - tutors are online