Professional Documents
Culture Documents
a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.
Origin
late 17th cent. (denoting the Arabic or decimal notation of numbers): variant (influenced by Greek arithmos number) of Middle English algorism, via Old French from medieval Latin algorismus . The Arabic source, al-wrizm the man of wrizm (now Khiva), was a name given to the 9th-cent. mathematician Ab Jafar Muhammad ibn Msa, author of widely translated works on algebra and arithmetic
Why we need the techniques for algorithm design and algorithm analysis?
Original Thinking
Boss Assigns a Task
# Given todays prices of Chicken, bread, Ketchup # Given constraints on what constitute a ZINGER # Makes the cheapest ZINGER!
With more suffocated software engineering job market, the demand for mundane programmer will diminish.
Course Content
A list of algorithms. Learn their code. Trace them until you are convinced that they work. Implement them.
Advantages of Algorithm
It is a step-by-step rep. of a solution to a given problem ,which is very easy to understand it has got a definite procedure. it easy to first develop an algorithm, &then convert it into a flowchart & then into a computer program. it is independent of programming language. it is easy to debug as every step is got its own logical sequence.
Dis-advantages of Algorithm
it is time consuming & cumbersome as an algorithm is developed first which is converted into flowchart &then into a computer program.
wheres,,, the term algorithm refers to the logic. it is step by step description how to arrive at the solution to the problem. algorithm is define as sequence of instruction that when executed in the specified sequence the desired results are obtained .
The set of rules that define how a particular problem can be solved in finite number of steps is known as algorithm.
A good algorithm help us to create a good program