Академический Документы
Профессиональный Документы
Культура Документы
ISLAMABAD
Assignment No. 1:FUNDAMENTALS OF ALGORITHMIC PROBLEM SOLVING
Subject: Design and Analysis of Algorithm
Assignment Marks: --
Page 1
Page 2
Input Outpu
Correctness Generality
Input Outpu
Correctness Generality
Page 3
Page 4
get frustrated.
2. Be more active in the solution.
i.
Ponder over questions about the problem. Is this problem a routine one? What
data are missing? What equations can we use? Explore the problem.
ii.
iii.
Write equations.
iv.
ii.
iii.
6. Paraphrase. Re-describe the problem. Think of simpler ways to describe the problem
7. Look at extreme cases that could give insight and understanding. For instance, what
happens if x = 0, x = infinity?
Page 5
Page 6
*************************GOOD
LUCK *************************
Page 7