Professional Documents
Culture Documents
CS-402 Introduction of Algorithm
CS-402 Introduction of Algorithm
CS-402 Introduction of Algorithm
CS-402
2
Prerequisite for the Subject
• Discrete Mathematics - sets, functions, relations.
• Basic probability.
• Basic knowledge of Data Structure.
• Basic knowledge of programming like C,C++,Java.
CS-402
3
What is Algorithm ?
• Algorithm is any well-define computational procedure that takes some value, or
set of values as input and produce some value or set of values as output.
• A sequence of computational steps that transfer input into the output.
• Ex:
• Problem:- Addition of two number
• Solution:- It may be in any language.
Analysis Testing
CS-402
15
CS-402
16