Lecture6 Intro to Algos

Lecture6 Intro to Algos -...

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

View Full Document Right Arrow Icon
FAST, National University of Computer and Emerging Sciences, Islamabad Lecture 6:Problem Solving &  Algorithms- 1 Course: Programming For Engineers-1 Asma Ahmad
Background image of page 1

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

View Full DocumentRight Arrow Icon
Problem Solving Problem Solving is a key factor of human intelligence Consider the example
Background image of page 2
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. 
Background image of page 3

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

View Full DocumentRight Arrow Icon
Problem Solving How we give solution to a given problem? Algorithms
Background image of page 4
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. 
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 / 12

Lecture6 Intro to Algos -...

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